@charset "utf-8";

/* ── 1. 바탕 ── */
.main_bg {
    position: relative;
    background: var(--bg);
}

/* 배경 카드 */
.deco {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    container-type: inline-size;
}
/* 등장 — common.js 가 화면에 들어오면 .is_on 을 붙이고 나가면 뗀다 */
.deco_card {
    position: absolute;
    left: 50%;
    display: block;
    opacity: 0;
    transform: translateY(2.4rem);
    transition: opacity .6s ease var(--in, 0s), transform .6s ease var(--in, 0s);
}
.deco_card.is_on { opacity: 1; transform: translateY(0); }
/* 따라다님 — common.js 가 --py 를 넣는다. 등장(transform)과 겹치지 않게 translate 를 따로 쓴다 */
.deco_card { translate: 0 var(--py, 0px); }
/* 떠다님 — html.is_scroll(스크롤 중)일 때만 돈다 */
.deco_card em {
    display: block;
    width: 100%; height: 100%;
    background: no-repeat 50% 50% / contain;
    animation: deco_float var(--dur, 4s) ease var(--delay, 0s) infinite alternate;
    animation-play-state: paused;
    will-change: transform;
}
.is_scroll .deco_card em { animation-play-state: running; }

@keyframes deco_float {
    from { transform: translate(0, 0)                      rotate(0); }
    to   { transform: translate(var(--rx, 0), var(--ry))   rotate(var(--rot)); }
}
@media (prefers-reduced-motion: reduce) {
    .deco_card { opacity: 1; transform: none; transition: none; }
    .deco_card em { transform: none; }
}

.deco_card1 { margin-left: -106.5rem; top:  96.3rem; width: 28.1rem; height: 18.7rem; --follow: .3;  --in: 0s;  --dur: 3.4s; --delay: 0s;   --rx:  1.8rem; --ry: -9rem; --rot:  9deg; }
.deco_card2 { margin-left: -141.7rem; top: 135.1rem; width: 66rem; height: 38.9rem; --follow: .2;  --in: .2s; --dur: 2.8s; --delay: 1.5s; --rx: -2.2rem; --ry: -9.5rem; --rot: -8deg; }
.deco_card3 { margin-left:   76.5rem; top: 114.4rem; width: 47rem; height: 27.6rem; --follow: .25; --in: .4s; --dur: 3.6s; --delay: 1s;   --rx:  1.6rem; --ry: -7rem; --rot:  7deg; }
.deco_card1 em { background-image: url("https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/bg_main_card1.png"); }
.deco_card2 em { background-image: url("https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/bg_main_card2.png"); }
.deco_card3 em { background-image: url("https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/bg_main_card3.png"); }
.deco_card1 { margin-left: max(-106.5rem, calc(-50cqw - 14rem)); }
.deco_card2 { margin-left: max(-141.7rem, calc(-50cqw - 33rem)); }
.deco_card3 { margin-left: min(76.5rem, calc(50cqw - 23.5rem)); }
@container (max-width: 1705px) { .deco_card1 { display: none; } }
@container (max-width: 1895px) { .deco_card2 { display: none; } }
@container (max-width: 1705px) { .deco_card3 { display: none; } }

/* ── 2. 히어로 ── */

.hero {
    position: relative;
    z-index: 0;
}
/* 배너 */
.hero_wrap {
    position: relative;
    width: 100%;
    height: 95rem;
    overflow: hidden;
    background: #1226A1;
    touch-action: pan-y;
    user-select: none;
}
.hero_track { position: relative; }
.hero_slide {
    position: relative;
    opacity: 0;
    transition: opacity .5s;
    pointer-events: none;
}
.hero_slide.is_on { opacity: 1; pointer-events: auto; }

.hero_slide + .hero_slide { position: absolute; inset: 0; }

.hero_slide_bg { width: 100%; }
.hero_img_wrap { max-width: 192rem; margin: 0 auto; }

.hero_img { display: block; width: 100%; max-width: none; }

/* 영상 배너. 마크업에는 아직 없어 여기서 더한다(마크업에 들어오면 이 세 블록은 지운다).
 * iframe 은 고유 비율이 없으므로 이미지 배너(1920x950)와 같은 자리를 차지하게 묶어 둔다.
 * 16:9 영상은 그 안에서 위아래가 비는데, 그 여백은 유튜브가 검게 칠한다. */
.hero_video { display: block; width: 100%; aspect-ratio: 1920 / 950; border: 0; }

.hero_link {
    position: absolute;
    left: 50%; top: 0;
    z-index: 1;
    width: 128rem; height: 70.6%;
    margin-left: -64rem;
}

@media (min-width: 1280px) {
    .hero_img_wrap { overflow: hidden; max-width: none; }
    .hero_img { width: 192rem; margin: 0 0 0 calc(50% - 96rem); }
    .hero_video { width: 192rem; margin: 0 0 0 calc(50% - 96rem); }
}
@media (max-width: 1279px) {
    html:not(.is_pc) .hero_wrap { container-type: inline-size; height: auto; aspect-ratio: 360 / 183; }
    html:not(.is_pc) .hero_track, html:not(.is_pc) .hero_slide, html:not(.is_pc) .hero_slide_bg, html:not(.is_pc) .hero_img_wrap { height: 100%; }
    html:not(.is_pc) .hero_img_wrap { max-width: none; }
    html:not(.is_pc) .hero_img_wrap { position: relative; overflow: hidden; }
    html:not(.is_pc) .hero_img { position: absolute; left: 50%; top: 50%; width: max(166.38%, 166.1111cqw); max-width: none; height: auto; margin: 0; transform: translate(-50%, -43.26%); }
    /* 모바일은 배너 높이가 정해져 있다. 영상은 잘라내지 않고 그 칸을 그대로 채운다. */
    html:not(.is_pc) .hero_video { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; margin: 0; }
    html:not(.is_pc) .hero_fade { display: none; }
    html:not(.is_pc) .hero_link { left: 0; width: 100%; height: 100%; margin-left: 0; }
}

.hero_fade {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    height: 30.4%;
    pointer-events: none;
    background: linear-gradient(to bottom,
        rgba(229, 229, 229, 0)    0%,
        rgba(229, 229, 229, .28) 17%,
        rgba(229, 229, 229, .54) 30.5%,
        rgba(229, 229, 229, .78) 44.8%,
        rgba(229, 229, 229, .91) 58.3%,
        rgba(229, 229, 229, .96) 72.2%,
        var(--bg)                89.6%);
}

.header_wrap {
    position: absolute;
    left: 0; top: 0;
    z-index: 2;
    width: 100%;
    height: 12rem;
    overflow-x: clip;
    background: rgba(0, 0, 0, .2);
    box-shadow: inset 0 -.1rem 0 rgba(255, 255, 255, .2);
}
.header_wrap .wrap {
    position: relative;
    height: 100%;
}

.logo { position: absolute; left: 0; top: 0; height: 100%; margin: 0; }
.logo a { display: block; height: 100%; padding-top: 1.5rem; }
.logo img { display: block; width: 18rem; height: 7.9rem; }

.header_nav {
    position: absolute;
    left: calc(50% - 33.9rem); top: 0;
    height: 100%;
    display: flex;
    gap: 11.3rem;
    font-size: var(--fs-nav);
    font-weight: var(--fw-semibold);
    line-height: 1;
    color: #fff;
}
.header_nav a {
    flex: none;
    padding-top: 4.7rem;
    white-space: nowrap;
    transition: color .18s ease-out;
}
.header_nav a:not(.nav_hpt):hover,
.header_nav a:not(.nav_hpt):focus-visible { color: #FFF550; }
.header_nav a.nav_hpt {
    padding-top: 0;
    width: 15.3rem;
    background: no-repeat 0 4rem / 15.3rem 3.7rem url("https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/logo_hpt.png");
}
.header_nav a.nav_hpt:hover,
.header_nav a.nav_hpt:focus-visible { background-image: url("https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/logo_hpt_hover.png"); }

.menu_btn { display: none; }

.hero_nav {
    position: absolute;
    left: 50%; top: auto; bottom: 30.8rem;
    z-index: 2;
    display: flex;
    gap: 1.1rem;
    transform: translateX(-50%);
}
.hero_nav button {
    width: 1.2rem; height: 1.2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, .3);
}
.hero_nav button.on { background: #fff; }

/* ── 3. HPT 배너 · 게임 버튼 ── */

.content_wrap {
    position: relative;
    z-index: 2;
    margin-top: -27.7rem;
    /* 글로우가 상자보다 커서 좁은 폭에서 가로 스크롤이 생기지 않게 자른다 (clip 은 sticky 에 영향 없음) */
    overflow-x: clip;
}
.promo_wrap {
    display: flex;
    gap: 1.6rem;
}

.hpt_banner {
    position: relative;
    flex: 0 1 92.2rem;
    min-width: 0;
    display: block;
    height: 24.5rem;
    border: .1rem solid #7482A4;
    border-radius: var(--r-card);
    overflow: hidden;
}
.hpt_banner img { width: 100%; height: 100%; object-fit: cover; }
.hpt_banner .hpt_trophy {
    position: absolute;
    left: 14.3rem; top: 1.3rem;
    width: 28rem; height: 23rem;
}

.btn_hpt_detail {
    position: absolute;
    left: 51.4rem;
    top: 16.1rem;
    width: 30.3rem; height: 5.2rem;
    background: no-repeat 0 0 / 30.3rem 5.2rem url(https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/btn_main_hpt.png);
    transition: opacity .18s ease-out;
}
.hpt_banner:hover .btn_hpt_detail { background-image: url(https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/btn_main_hpt_hover.png); }

.game_btn_wrap {
    flex: 0 0 33.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}
.btn_game_download {
    width: 100%; height: 5.9rem;
    background: no-repeat 0 0 / 33.8rem 5.9rem url("https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/btn_mobile_download.png");
}
.btn_game_download:hover { background-image: url("https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/btn_mobile_download_hover.png"); }
.btn_game_start {
    position: relative;
    z-index: 1;
    width: 100%; height: 17.4rem;
    overflow: visible;
}
.btn_game_start::before {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 42.4rem; height: 24.6rem;
    background: no-repeat 0 0 / 42.4rem 24.6rem url("https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/btn_game_start.png");
    pointer-events: none;
}
.btn_game_start:hover::before { visibility: hidden; }
.btn_game_start_fx {
    display: none;
    position: absolute;
    left: -.1rem; top: -.1rem;
    width: 42.4rem; height: 24.6rem;
    max-width: none;
    pointer-events: none;
}
.btn_game_start:hover .btn_game_start_fx { display: block; }
/* 점검 중 */
.btn_maint {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%; height: 17.5rem;
    padding-top: 3.5rem;
    background: no-repeat 0 0 / 33.9rem 17.5rem url("https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/btn_maintenance.png");
    line-height: 1;
    color: #fff;
}
.maint_tit  { font-size: 3.8rem; font-weight: var(--fw-bold); }
.maint_time { margin-top: 1.7rem; font-size: 1.8rem; }
/* 소요시간 — common.js splitDuration 이 만든다 */
.maint_dur  { display: block; margin-top: .7rem; font-size: 2rem; font-weight: var(--fw-bold); color: #FFFC84; }

/* ── 4. 공지사항 ── */
.notice_wrap {
    position: relative;
    margin-top: 1.7rem;
    height: 7.8rem;
    border-radius: var(--r-card);
    background: var(--surface);
}
.notice_label {
    position: absolute;
    left: 2.6rem; top: 50%;
    transform: translateY(-50%);
    line-height: 1;
    font-size: 2rem;
    font-weight: var(--fw-bold);
    color: #101010;
}
.notice_roll {
    position: absolute;
    left: 13.2rem; right: 6.2rem; top: 0;
    height: 100%;
}
.notice_roll .swiper-wrapper { height: 100%; }
.notice_roll .swiper-slide { display: flex; align-items: center; height: 100%; }
.notice_tit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
    line-height: 1;
}
.notice_txt {
    font-weight: var(--fw-medium);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--fs-body);
    color: var(--ink-3);
}
.notice_date {
    flex: none;
    font-size: var(--fs-body);
    color: #A9A9A9;
}

.notice_more {
    position: absolute;
    right: 2.5rem; top: 50%;
    width: 1.7rem; height: 1.7rem;
    margin-top: -.8rem;
    background: no-repeat 50% 50% / contain url("https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/btn_notice_more.png");
}

/* ── 5. 본문 ── */
.column_wrap {
    display: flex;
    justify-content: space-between;
    gap: 1.6rem;
    margin-top: 1.8rem;
    padding-bottom: 20rem;
}
.tab_wrap {
    box-sizing: border-box;
    flex: 0 1 92.2rem;
    min-width: 0;
    height: 95.1rem;
    border: .1rem solid #D1D1D1;
    border-radius: var(--r-card);
    background: var(--surface);
    overflow: hidden;
}
.tab_wrap .tab_body { position: relative; }

/* ── 6. 탭 ── */
.tabs_nav {
    position: relative;
    margin: -.1rem -.1rem 0;
    height: 7.1rem;
    border-radius: var(--r-card) var(--r-card) 0 0;
    background: #2F3B63;
}
.tabs_nav .btn {
    position: absolute;
    top: 1.5rem;
    z-index: 0;
    width: 28.5rem; height: 5.6rem;
    border-radius: 0;
    background: none;
    --tab-fill: #46578F;
    font-size: var(--fs-title);
    font-weight: var(--fw-bold);
    color: #fff;
}
.tabs_nav .btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    clip-path: polygon(1.2rem 0, calc(100% - 1.2rem) 0, 100% 1.2rem, 100% 100%, 0 100%, 0 1.2rem);
    background-color: var(--tab-fill);
    transition: background-color .18s ease-out;
}
.tabs_nav .btn_faq::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 1.2rem;
    bottom: 0;
    z-index: -1;
    width: 1.2rem;
    clip-path: polygon(0 0, 1.2rem 100%, 0 100%);
    background: rgba(0, 0, 0, .16);
}

.tabs_nav .btn:not(.on):hover,
.tabs_nav .btn:not(.on):focus-visible { --tab-fill: #5F79CE; }
.tabs_nav .btn_tourney { left:  2.8rem; }
.tabs_nav .btn_how     { left: 31.9rem; }
.tabs_nav .btn_faq     { left: 61rem; }
/* 공지사항 탭은 화면에 없다 — 새창이 click() 으로만 쓴다 */
.tabs_nav .btn_notice  { display: none; }
.tabs_nav .btn.on {
    z-index: 1;
    height: 5.7rem;
    color: #2F3B63;
}
.tabs_nav .btn.on::before { --tab-fill: var(--surface); }

.tabs_nav .btn .txt {
    display: inline-flex;
    align-items: center;
    gap: .9rem;
}
.tabs_nav .btn .txt::before {
    content: "";
    flex: 0 0 auto;
    background: no-repeat 50% 50% / contain;
}

.tabs_nav .btn_tourney .txt::before { width: 2.1rem; height: 2.2rem; background-image: url("https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/ico_main_tab1.png"); }
.tabs_nav .btn_how     .txt::before { width: 2.9rem; height: 1.9rem; background-image: url("https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/ico_main_tab2.png"); }
.tabs_nav .btn_faq     .txt::before { width: 2.6rem; height: 2.5rem; background-image: url("https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/ico_main_tab3.png"); }
.tabs_nav .btn_tourney.on .txt::before { background-image: url("https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/ico_main_tab1_on.png"); }
.tabs_nav .btn_how.on     .txt::before { background-image: url("https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/ico_main_tab2_on.png"); }
.tabs_nav .btn_faq.on     .txt::before { background-image: url("https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/ico_main_tab3_on.png"); }

/* ── 7. 필터 ── */
/* 버튼은 받은 태그로 만든다(main.js) — 개수를 모르므로 표 폭을 넘으면 가로로 민다.
 * 막대는 감추고 휠·드래그로 민다(common.js '탭 밑줄' 모듈). 끝을 흐려 더 있다는 걸 알린다. */
.tourney_filter {
    position: relative;
    display: flex;
    gap: .9rem;
    width: 90rem;
    height: 3.2rem;
    margin: 2.8rem 0 0 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}
.tourney_filter::-webkit-scrollbar { display: none; }
.tourney_filter.is_fade_r { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 6rem), rgba(0,0,0,.2)); mask-image: linear-gradient(to right, #000 calc(100% - 6rem), rgba(0,0,0,.2)); }
.tourney_filter.is_fade_l { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 6rem), rgba(0,0,0,.2)); mask-image: linear-gradient(to left, #000 calc(100% - 6rem), rgba(0,0,0,.2)); }
.tourney_filter.is_fade_l.is_fade_r { -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.2), #000 6rem, #000 calc(100% - 6rem), rgba(0,0,0,.2)); mask-image: linear-gradient(to right, rgba(0,0,0,.2), #000 6rem, #000 calc(100% - 6rem), rgba(0,0,0,.2)); }
.tourney_filter .tourney_filter_btn {
    flex: none;          /* 넘칠 때 글자가 눌리지 않게 — 줄이지 말고 밀어낸다 */
    white-space: nowrap;
    height: 3.2rem;
    padding: 0 1.9rem;   /* 폭은 글자 + 좌우 여백 19 + 테두리 1 — 버튼마다 폭을 주지 않는다 */
    border: .1rem solid var(--c-tab-on);
    border-radius: 1.6rem;
    background: no-repeat left center / 0 100% linear-gradient(var(--c-tab-on), var(--c-tab-on));
    font-size: var(--fs-td);
    font-weight: var(--fw-medium);
    color: var(--c-tab-on);
}
@media (prefers-reduced-motion: reduce) {
    .tourney_filter .tourney_filter_btn.on { transition: none; }
}
.tourney_filter .tourney_filter_btn.on {
    background-size: 100% 100%;
    color: #fff;
    transition: background-size .45s cubic-bezier(.22, 1, .36, 1), color .3s ease-out;
}

/* ── 8. 표 ── */
.tourney_list {
    margin: 1.8rem 0 0 1.5rem;
    width: 90rem; height: 79.4rem;
    padding: 0 .4rem 1.9rem 0;
}
.tourney_table { width: 100%; table-layout: fixed; }
.col_date  { width:  6.7rem; }
.col_time  { width:  8.2rem; }
.col_name  { width: 35.7rem; }
.col_ppl   { width:  8.4rem; }
.col_buyin { width: 15rem; }
.col_prize { width: 15rem; }

.tourney_table th,
.tourney_table td {
    padding: 0 1rem;
    text-align: center;
    vertical-align: middle;
}
.tourney_table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    height: 2.6rem;
    background: #EDEFF5;
    font-size: var(--fs-th);
    font-weight: var(--fw-medium);
    color: #242424;
}
.tourney_table tbody td {
    height: 5.8rem;
    box-shadow: inset 0 -.1rem 0 #F0F0F0;
    font-size: var(--fs-td);
    font-weight: var(--fw-medium);
    color: var(--td-ink);
}

.tourney_table tbody .tourney_name {
    padding-left: 1.4rem;
    text-align: left;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.tourney_table tbody td + td { border-left: .1rem solid #E6E6E6; }

/* ── 9. 추천 상품 ── */
.product_wrap { flex: 0 0 33.8rem; min-width: 0; }
.prd {
    box-sizing: border-box;
    height: 47.6rem;
    border: .1rem solid #D2D2D2;
    border-radius: var(--r-card);
    background: var(--surface);
}
.prd_title {
    padding: 1.8rem 0 0;
    font-size: var(--fs-title);
    font-weight: var(--fw-bold);
    color: #101010;
    text-align: center;
}
.prd_title { position: relative; }
.prd_title::after {
    content: "";
    position: absolute;
    left: 50%; bottom: -1.8rem;
    width: 30.6rem; height: .1rem;
    margin-left: -15.3rem;
    background: #D7D9DF;
}
.prd_area { position: relative; }
.prd_card { display: block; text-align: center; }
/* 배지 — clip-path 는 같은 요소의 filter 까지 잘라서 도형은 ::before, 그림자는 부모에 건다 */
.prd_badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 13.4rem;
    height: 3.3rem;
    margin-top: 5.2rem;
    padding: 0 2.4rem .6rem;
    filter: drop-shadow(0 .1rem 0 rgba(0, 0, 0, .16))
            drop-shadow(0 .5rem 0 rgba(0, 0, 0, .07));
    font-size: var(--fs-td);
    font-style: normal;
    font-weight: var(--fw-bold);
    color: #000;
    white-space: nowrap;
}
.prd_badge::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    clip-path: polygon(
        1.2rem 0,
        calc(100% - 1.2rem) 0,
        100% 1.3rem,
        calc(100% - 1.2rem) 2.7rem,
        calc(50% + .4rem) 2.7rem,
        50% 3.3rem,
        calc(50% - .4rem) 2.7rem,
        1.2rem 2.7rem,
        0 1.3rem);
    background: #2DFFAD;
}
.prd_thumb { display: block; margin-top: 1.3rem; }
.prd_thumb img { width: 21.6rem; height: 12.8rem; }
.prd_name {
    display: block;
    margin-top: 1rem;
    font-size: var(--fs-body);
    font-weight: var(--fw-bold);
    color: var(--ink-3);
}
.prd_desc {
    display: block;
    width: 25.7rem;
    margin: 0 auto;
    font-size: var(--fs-td);
    line-height: 2.2rem;
    color: var(--ink-3);
}
.prd_price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19.4rem; height: 4.6rem;
    margin-top: 3.1rem;
    border-radius: var(--r-row);
    background: #2F6BF1;
    font-size: var(--fs-body);
    font-weight: var(--fw-bold);
    color: #fff;
    transition: background-color .18s ease-out, color .18s ease-out;
}
.prd_card:hover .prd_price {
    background: #fff;
    box-shadow: inset 0 0 0 .1rem #2F6BF1;
    color: #2F6BF1;
}

/* 화살표 — 뒤의 카드 링크가 눌리지 않게 클릭 영역을 44 로 넓힌다 */
.prd_nav {
    position: absolute;
    z-index: 2;
    top: 14rem;
    width: 4.4rem; height: 4.4rem;
    background: no-repeat 50% 50% / 1.4rem 2.1rem;
}
.prd_prev { left:  1.9rem; background-image: url("https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/btn_prd_prev.png"); }
.prd_next { right: 1.9rem; background-image: url("https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/btn_prd_next.png"); }

/* ── 10. FAQ ── */
.faq_search {
    display: flex;
    gap: .3rem;
    margin: 2.3rem 0 0 1.5rem;
    width: 89rem; height: 3.9rem;
}
.faq_search input {
    flex: 1 1 auto;
    min-width: 0;
    height: 3.9rem;
    padding: 0 1.2rem;
    border: .1rem solid #DBDBDB;
    background: var(--surface);
    font-size: 1.7rem;
    font-weight: var(--fw-medium);
    color: var(--ink);
}
.faq_search input::placeholder { color: #BBB; }
.faq_search .btn_search {
    flex: 0 0 auto;
    width: 11.8rem; height: 3.9rem;
    background: #455EDC;
    font-size: 1.7rem;
    font-weight: var(--fw-medium);
    color: #fff;
}

.faq_cate {
    position: relative;
    display: flex;
    gap: 3.4rem;
    margin: 1.4rem 0 0 1.5rem;
    width: 89rem;
    padding-bottom: 1.1rem;
    box-shadow: inset 0 -.1rem #E6E6E6;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}
.faq_cate::-webkit-scrollbar { display: none; }
.faq_cate.is_fade_r { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 6rem), rgba(0,0,0,.2)); mask-image: linear-gradient(to right, #000 calc(100% - 6rem), rgba(0,0,0,.2)); }
.faq_cate.is_fade_l { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 6rem), rgba(0,0,0,.2)); mask-image: linear-gradient(to left, #000 calc(100% - 6rem), rgba(0,0,0,.2)); }
.faq_cate.is_fade_l.is_fade_r { -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.2), #000 6rem, #000 calc(100% - 6rem), rgba(0,0,0,.2)); mask-image: linear-gradient(to right, rgba(0,0,0,.2), #000 6rem, #000 calc(100% - 6rem), rgba(0,0,0,.2)); }
.faq_cate button {
    flex: none;
    white-space: nowrap;
    position: relative;
    font-size: 1.4rem;
    font-weight: var(--fw-medium);
    line-height: 1;
    color: #3E3E3E;
}
.faq_cate button.on { color: var(--c-primary); font-weight: var(--fw-bold); }
.faq_cate::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: var(--bar-w, 0);
    height: .3rem;
    background: var(--c-primary);
    transform: translateX(var(--bar-x, 0));
    transition: transform .25s ease, width .25s ease;
}
@media (prefers-reduced-motion: reduce) {
    .faq_cate::after { transition: none; }
}

.faq_scroll {
    margin: .7rem 0 0 1.5rem;
    width: 90rem; height: 76.4rem;
}
.faq_list { padding: 0 .4rem 1.9rem 0; }
.faq_list li + li { margin-top: .4rem; }
.faq_list a {
    display: block;
    height: 6.4rem;
    padding: 1.1rem 1.1rem 0;
    line-height: 0;
    background: #F2F5FA;
}
.faq_hot {
    display: inline-block;
    vertical-align: top;
    min-width: 5.2rem; height: 1.9rem;
    padding: 0 .8rem;
    border-radius: var(--r-pill);
    background: var(--c-primary);
    font-size: 1.4rem;
    font-style: normal;
    font-weight: var(--fw-bold);
    line-height: 1.9rem;
    color: #fff;
    text-align: center;
}
.faq_cat {
    display: block;
    height: 1.9rem;
    font-size: 1.4rem;
    font-style: normal;
    font-weight: var(--fw-semibold);
    line-height: 1.9rem;
    color: var(--c-primary);
}
.faq_q {
    display: block;
    margin-top: .5rem;
    font-size: 1.7rem;
    font-weight: var(--fw-semibold);
    line-height: 1;
    letter-spacing: -.02em;
    color: #2A2A2A;
}

/* ── 10-2. 목록 공통 — 빈 결과 ── */
/* 0건이면 common.js 가 .is-empty 를 붙인다 */
.empty_msg {
    display: none;
    padding: 12rem 0;
    font-size: var(--fs-body);
    color: var(--ink-3);
    text-align: center;
}
.is-empty .tourney_table,
.is-empty .faq_list { display: none; }
.is-empty .empty_msg { display: block; }

/* 점검 중 상자 — 토너먼트 탭에서만 보인다 (탭 모듈이 루트에 남기는 data-tab-current) */
[data-tab-current]:not([data-tab-current="tourney"]) .maint { display: none; }

.search_field { position: relative; display: flex; flex: 1 1 auto; min-width: 0; }
.search_field input { flex: 1 1 auto; min-width: 0; padding-right: 4rem; }
.search_field input { font-family: inherit; }
.search_field input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search_clear {
    position: absolute; right: .8rem; top: 50%;
    width: 2.8rem; height: 2.8rem; margin-top: -1.4rem;
    background: no-repeat 50% 50% / 1.2rem 1.2rem url("https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/common/img/ico_pop_close_dark.png");
    opacity: .55;
}
.search_clear:hover { opacity: 1; }

/* 검색 결과 */
.search_result { margin: 1.8rem 0 0 1.5rem; font-size: 1.6rem; font-weight: var(--fw-bold); color: var(--ink); }
.faq_scroll .search_result { display: flex; align-items: center; height: 6.4rem; margin: 0 0 .4rem; }
.search_result em { font-style: normal; color: #455EDC; }
.search_none { display: none; padding: 15rem 2rem; text-align: center; }
.is_search_none .faq_list,
.is_search_none .noti_list,
.is_search_none .empty_msg { display: none; }
.is_search_none .search_none { display: block; }
.search_none_tit { font-size: 2.2rem; color: var(--ink); }
.search_none_txt { margin-top: 1.2rem; font-size: 1.4rem; color: #777; }
.search_none_txt a { color: #455EDC; text-decoration: underline; }
.search_none_back {
    margin-top: 2.6rem;
    width: 15.4rem; height: 5rem;
    border-radius: 2.5rem;
    background: #455EDC;
    font-size: 1.7rem; font-weight: var(--fw-medium); color: #fff;
}

/* ── 12. 모바일 다운로드 QR ── */
.pop.pop_qr {
    width: 43rem; height: 66rem;
    border: 0;
    background: no-repeat 0 0 / 43rem 66rem url("https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/bg_qr_layer.png");
}
.pop_qr .pop_x {
    top: 1.2rem; right: 1.2rem;
    width: 5rem; height: 5rem;
    margin-top: 0;
    background: none;
}
.qr_btn {
    position: absolute;
    width: 18rem; height: 6rem;
}
.qr_google   { left:  2.7rem; top: 16.3rem; }
.qr_apple    { left: 22.1rem; top: 16.3rem; }
.qr_onestore { left:  2.7rem; top: 23.3rem; }
.qr_galaxy   { left: 22.1rem; top: 23.3rem; }
.qr_store .on .qr_btn {
    border: .2rem solid #8FB1FB;
    border-radius: .8rem;
    background: no-repeat url("https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/bg_qr_store_on.png");
    background-size: 37.6rem 13.4rem;
}
.qr_store .on .qr_google   { background-position:   -.3rem  -.2rem; }
.qr_store .on .qr_apple    { background-position: -19.7rem  -.2rem; }
.qr_store .on .qr_onestore { background-position:   -.3rem -7.2rem; }
.qr_store .on .qr_galaxy   { background-position: -19.7rem -7.2rem; }

.qr_box {
    position: absolute;
    left: 50%; top: 31.6rem;
    width: 20rem; height: 20rem;
    margin-left: -10rem;
}
.qr_box img { width: 100%; height: 100%; }
.btn_qr_go {
    position: absolute;
    left: 50%; bottom: 3.6rem;
    width: 30rem; height: 8rem;
    margin-left: -15rem;
}

/* ── 11. 점검 중 · 점검 팝업 ── */
.pop {
    box-sizing: border-box;
    position: fixed;
    z-index: 100;
    left: 50%; top: 50%;
    width: 95.8rem;
    max-width: calc(100% - 3.2rem);
    max-height: calc(100% - 4.8rem);
    transform: translate(-50%, -50%);
    border: .1rem solid #000;
    background: var(--surface);
}

.pop_head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 9.1rem;
    background: #3D61B5;
}
.pop_title { font-size: 3.6rem; font-weight: var(--fw-bold); color: #fff; }
.pop_x {
    position: absolute;
    top: 50%; right: 2.2rem;
    width: 5rem; height: 5rem;
    margin-top: -2.5rem;
    background: no-repeat 50% 50% / 3.7rem 3.7rem url("https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/common/img/ico_pop_close.png");
}

/* 세로 flex — 세로가 모자라면 본문 박스가 줄어든다 (min-height: 0 필수) */
.pop_maint {
    display: flex;
    flex-direction: column;
}
.pop_maint::before {
    content: "";
    position: absolute;
    left: 50%; top: -16.4rem;
    width: 15rem; height: 16.4rem;
    margin-left: -7.5rem;
    background: no-repeat 0 0 / 15rem 16.4rem url("https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/common/img/bg_maint_char.png");
    animation: maint_char .45s ease-out both;
}
@keyframes maint_char {
    from { background-position: 0 16.4rem; }
    to   { background-position: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
    .pop_maint::before { animation: none; }
}
.pop_maint .pop_head,
.pop_maint .pop_desc { flex: none; }
.pop_maint .pop_body { flex: 0 1 auto; min-height: 0; }
.pop_desc {
    padding: 3.2rem 2.5rem 0;
    font-size: 2.7rem;
    font-weight: var(--fw-bold);
    line-height: 1;
    color: #004CE5;
    text-align: center;
}
.pop_body {
    margin: 3.9rem 2.5rem 2.5rem;
    height: 39.7rem;
    padding: 1.4rem 2rem 2rem;
    background: #F0F1F5;
    overflow-y: auto;
}
.pop_content {
    font-size: 2.4rem;
    line-height: 3.4rem;
    color: var(--ink);
    white-space: pre-line;
    word-break: keep-all;
}

/* 게임스타터 안내 팝업. 기획·마크업에 없어 공용 .pop 을 그대로 쓰고 본문만 두 버튼에 맞춘다.
 * 마크업에 들어오면 이 블록은 지운다. 게임 시작은 PC 전용이라(.game_btn_wrap 이 모바일에서 숨는다)
 * 모바일 대응은 두지 않는다. */
.pop_starter .pop_desc { line-height: 1.4; }
.pop_starter .pop_body {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    height: auto;
    padding: 0;
    background: none;
}
.pop_starter .pop_body a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 6.4rem;
    padding: 0 3rem;
    border-radius: .8rem;
    font-size: 2.4rem;
    font-weight: var(--fw-bold);
}
.pop_starter .btn_starter_down { background: #3D61B5; color: #fff; }
.pop_starter .btn_starter_help { border: .1rem solid #D1D1D1; color: var(--ink); }

/* 점검 중 화면 */
.maint {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .9rem;
    width: 89rem; height: 85rem;
    margin: 1.5rem 0 0 1.5rem;
    padding-bottom: .5rem;
    background: #EDEEF0;
    line-height: 1;
    text-align: center;
}
.maint strong {
    font-size: 2.8rem;
    font-weight: var(--fw-bold);
    letter-spacing: -.01em;
    color: #50545D;
}
.maint p {
    font-size: 2.2rem;
    font-weight: var(--fw-semibold);
    color: #5980DD;
}
.is-maintenance .tab_body[data-tab-panel="tourney"] { display: none; }

/* ═══ 모바일·태블릿 (~1279) : GNB · 헤더 메뉴 · 게임 버튼 ═══ */
@media (max-width: 1279px) {
    html:not(.is_pc) #hangame_gnb { display: none; }
    html:not(.is_pc) .header_nav { display: none; }
    html:not(.is_pc) .menu_btn { display: block; }

    html:not(.is_pc) .game_btn_wrap { display: none; }
}

/* ═══ 모바일·태블릿 (~1279) : 헤더 · 배너 · 공지 · 본문 ═══ */
@media (max-width: 1279px) {

    html:not(.is_pc) body { font-size: 1.2rem; }

    /* ── 헤더 ── */
    html:not(.is_pc) .hero { position: relative; display: flex; flex-direction: column; }
    html:not(.is_pc) .header_wrap { order: -1; }
    html:not(.is_pc) .header_wrap {
        position: relative;
        height: 6.2rem;
        background: #344AD1;
        box-shadow: none;
    }
    html:not(.is_pc) .header_wrap .wrap { padding: 0; max-width: none; }
    
    html:not(.is_pc) .content_wrap .wrap { padding: 0; max-width: none; }

    html:not(.is_pc) .logo { left: 50%; top: 0; margin-left: -3.8rem; }
    html:not(.is_pc) .logo a { padding-top: 1.7rem; }
    html:not(.is_pc) .logo img { width: 7.6rem; height: 3.1rem; }

    html:not(.is_pc) .menu_btn {
        position: absolute;
        right: 2.4rem; top: 2.15rem;
        width: 2.2rem; height: 2.2rem;
        background: no-repeat 0 0 / 100% 100% url("https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/ico_head_menu.png");
    }

    html:not(.is_pc) .hero_nav { top: auto; bottom: .7rem; gap: .5rem; }
    html:not(.is_pc) .hero_nav button { width: .6rem; height: .6rem; }
    html:not(.is_pc) .deco { display: none; }

    /* ── 공지사항 ── */
    html:not(.is_pc) .content_wrap { margin-top: 0; display: flex; flex-direction: column; }
    html:not(.is_pc) .promo_wrap { display: block; order: 2; }
    html:not(.is_pc) .content_wrap > .wrap:has(.notice_wrap) { order: 1; }
    html:not(.is_pc) .column_wrap { order: 3; }
    html:not(.is_pc) .hpt_banner { flex: none; width: auto; height: auto; aspect-ratio: 682 / 242; margin: 1.35rem .95rem 0; border: .05rem solid #7482A4; border-radius: .5rem; }
    html:not(.is_pc) .hpt_banner img { position: absolute; left: 0; top: 0; object-position: 74.1% 50%; }
    html:not(.is_pc) .hpt_banner .hpt_trophy { left: 4.14%; top: 4.5%; width: 41.57%; height: 96.23%; }
    html:not(.is_pc) .btn_hpt_detail { left: 50.59%; top: 62.40%; width: 42.38%; height: 20.25%; background-size: 100% 100%; }

    html:not(.is_pc) .notice_wrap {
        margin-top: 0;
        height: 3.85rem;
        border-radius: 0;
        background: #F5F5F7;
    }
    html:not(.is_pc) .notice_label { left: 1.4rem; font-size: 1.2rem; }
    html:not(.is_pc) .notice_roll  { left: 6.4rem; right: 3rem; }
    html:not(.is_pc) .notice_txt   { font-size: 1.1rem; }
    html:not(.is_pc) .notice_date  { display: none; }
    html:not(.is_pc) .notice_more  { right: 1.4rem; width: 1rem; height: 1rem; margin-top: -.5rem; background-size: 1rem 1rem; }

    /* ── 본문 ── */
    html:not(.is_pc) .column_wrap { display: block; margin-top: 1.6rem; }
    html:not(.is_pc) .tab_wrap { width: auto; border: 0; border-radius: 1.1rem 1.1rem 0 0; }
    html:not(.is_pc) .product_wrap { display: none; }

}

/* ═══ 모바일·태블릿 (~1279) : 표 ═══ */
@media (max-width: 1279px) {
    /* 표 — 6칸을 3칸 2줄로 접는다 */
    html:not(.is_pc) .tourney_list { width: auto; height: auto; margin: 1rem 0 0; padding: 0; overflow: visible; }
    html:not(.is_pc) .tourney_table { display: block; width: 100%; }
    html:not(.is_pc) .tourney_table colgroup { display: none; }
    html:not(.is_pc) .tourney_table thead, html:not(.is_pc) .tourney_table tbody { display: block; }
    html:not(.is_pc) .tourney_table thead tr, html:not(.is_pc) .tourney_table tbody tr {
        display: grid;
        position: relative;
        grid-template-columns: 16.86% 47.49% 35.65%;
        align-content: center;
        margin: 0 1.1rem;
        padding: 0;
    }
    html:not(.is_pc) .tourney_table thead tr {
        height: 1.6rem;
        background: #E5E8EF;
        font-size: .9rem;
    }
    html:not(.is_pc) .tourney_table thead th {
        display: block;
        height: auto;
        padding: 0;
        background: none;
        border: 0;
        font-size: .9rem;
        font-weight: var(--fw-medium);
        line-height: 1.6rem;
        color: #45496E;
        text-align: center;
        position: relative; top: .2rem;
    }
    /* 머리글 문구가 PC 와 달라 ::before 로 바꿔 넣는다 (마크업 두 벌 방지) */
    html:not(.is_pc) .tourney_table thead .tourney_date,
    html:not(.is_pc) .tourney_table thead .tourney_buyin { font-size: 0; }
    html:not(.is_pc) .tourney_table thead .tourney_date { grid-area: 1 / 1; }
    html:not(.is_pc) .tourney_table thead .tourney_date::before { content: "시작 시간"; font-size: .9rem; }
    html:not(.is_pc) .tourney_table thead .tourney_time { display: none; }
    html:not(.is_pc) .tourney_table thead .tourney_name { grid-area: 1 / 2; }
    html:not(.is_pc) .tourney_table thead .tourney_people { display: none; }
    html:not(.is_pc) .tourney_table thead .tourney_buyin { grid-area: 1 / 3; }
    html:not(.is_pc) .tourney_table thead .tourney_buyin::before { content: "바이인 / 상금"; font-size: .9rem; }
    html:not(.is_pc) .tourney_table thead .tourney_prize { display: none; }

    html:not(.is_pc) .tourney_table tbody tr {
        height: 4.5rem;
        padding-top: .2rem;
        background: linear-gradient(#EAEAEA, #EAEAEA) no-repeat 0 100% / 100% .1rem;
    }
    /* PC 의 칸 세로선(td + td)은 2줄로 접히면 어긋난다 — 행의 ::before/::after 로 대신한다 */
    html:not(.is_pc) .tourney_table tbody td + td { border-left: 0; }
    html:not(.is_pc) .tourney_table tbody tr::before,
    html:not(.is_pc) .tourney_table tbody tr::after {
        content: "";
        position: absolute;
        top: 0; bottom: 0;
        width: .1rem;
        background: #E6E6E6;
    }
    html:not(.is_pc) .tourney_table tbody tr::before { left: 16.86%; }
    html:not(.is_pc) .tourney_table tbody tr::after  { left: 64.35%; }
    html:not(.is_pc) .tourney_table tbody td {
        display: block;
        height: auto;
        padding: 0;
        border: 0;
        box-shadow: none;
        font-size: 1rem;
        line-height: 1.5rem;
        color: #101010;
    }
    html:not(.is_pc) .tourney_table tbody .tourney_date { grid-area: 1 / 1; text-align: center; }
    html:not(.is_pc) .tourney_table tbody .tourney_time { grid-area: 2 / 1; text-align: center; }
    html:not(.is_pc) .tourney_table tbody .tourney_name {
        grid-area: 1 / 2;
        padding-left: 1.2rem;
        padding-right: 1.2rem;
        text-align: left;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    html:not(.is_pc) .tourney_table tbody .tourney_people { grid-area: 2 / 2; text-align: left; color: #252525; }
    html:not(.is_pc) .tourney_table tbody .tourney_buyin { grid-area: 1 / 3; }
    html:not(.is_pc) .tourney_table tbody .tourney_prize { grid-area: 2 / 3; }
    html:not(.is_pc) .tourney_table tbody .tourney_buyin,
    html:not(.is_pc) .tourney_table tbody .tourney_prize {
        display: flex;
        justify-content: space-between;
        padding: 0 .8rem 0 1.1rem;
    }
    html:not(.is_pc) .tourney_table tbody .tourney_buyin::before { content: "바이인"; font-size: .9rem; color: #8D8D8D; }
    html:not(.is_pc) .tourney_table tbody .tourney_prize::before { content: "상금";   font-size: .9rem; color: #8D8D8D; }
    html:not(.is_pc) .tourney_table tbody .tourney_people {
        background: url(https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/ico_people.png) no-repeat 1.2rem 50% / .7rem .8rem;
        padding-left: 2.1rem;
    }
}

/* 게임 방법 서브탭 — 새창 */
.is_win .gm_nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    margin: 0 0 3.6rem;
}

.is_win .gm_nav .btn {
    min-width: 0;
    height: 6.1rem;
    padding: 0;
    border: .1rem solid #2b2c30;
    border-radius: 0;
    background: #fff;
    color: #2b2c30;
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
}

.is_win .gm_nav .btn.on {
    border-color: #2b2c30;
    background: #2b2c30;
    color: #fff;
}

/* ── 8-1. 게임 방법 ── */
.tab_body[data-tab-panel="how"] .gm > [data-tab-panel] {
    width: calc(100% + 2.9rem);
    padding-right: 2.4rem;
    max-height: 78.4rem;
    overflow: hidden auto;
    overscroll-behavior: contain;
}

.gm {
    word-break: keep-all;
    overflow-wrap: break-word;
    --row-bg: #e9eaee;
    --gap: 1.7rem;
    --step-h: 13.8rem;
    --step-pad: 2.7rem;
    --step-no-w: 5rem;
    --step-gap1: 2.3rem;
    --cards-w: 29.3rem;
    --step-gap2: 4.1rem;
    --cards-h: 7.4rem;
    --deal-h: 9.1rem;
    --act-h: 13.3rem;
    --act-chip: 9.6rem;
    --act-gap: 2.7rem;
    --act-pad: 2.7rem;
    --rank-h: 15.8rem;
    --rank-cards-h: 6.7rem;
    --wedge-w: 17.2rem;
    --badge: 9.6rem;
    --kind-gap: 2.6rem;
    --kind-pad: 2.8rem;
    --kind-h: 15.2rem;
}

.tab_wrap .gm { max-width: 85.3rem; margin-left: 3.7rem; }

.gm_sec:last-child { margin-bottom: 0; }

.gm_tit { margin: 0 0 .3rem; }
.gm_txt:last-of-type { margin-bottom: 0; }
.gm .gm_steps { margin-top: 1.3rem; }

.gm_step_cards,
.gm_rank_cards { display: flex; align-items: center; }

.cards { display: block; width: auto; height: var(--cards-h); }
.cards.is_deal { height: var(--deal-h); }

/* ── 텍사스 홀덤 규칙 — 진행 방법 ── */
.gm_steps { margin: 0; padding: 0; list-style: none; }

.gm_step {
    position: relative;
    display: grid;
    grid-template-columns:
        var(--step-no-w)          
        var(--step-gap1)          
        var(--cards-w)            
        var(--step-gap2)          
        minmax(0, 1fr);
    gap: 0;
    align-items: center;
    height: var(--step-h);
    padding: 0 var(--step-pad);
    border-radius: var(--r-row);
    background: var(--row-bg);
}


.gm_step + .gm_step::before {
    content: "";
    position: absolute; left: 4rem; top: -2.5rem;
    width: 2.4rem; height: 3.4rem;
    background: no-repeat 0 0 / 2.4rem 3.4rem url("https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/guide/ico_guide_arrow01.png");
}

.gm_step_no { grid-column: 1; font-weight: var(--fw-bold); font-style: italic; line-height: 1; text-align: center; }

.gm_step_cards { grid-column: 3; }

.gm_step_bd { grid-column: 5; }

.gm_step_bd b { margin-bottom: .7rem; }
.gm_step_bd p { margin: 0; }

/* ── 텍사스 홀덤 규칙 — 베팅 액션 ── */

.gm_act {
    grid-template-columns:
        var(--act-chip)           
        var(--act-gap)            
        minmax(0, 1fr);
    gap: 0;
    align-items: center;
    min-height: var(--act-h);
    border-radius: var(--r-row); background: var(--row-bg);
}

.gm_act_ico { grid-column: 1; display: flex; align-items: center; justify-content: center; }

.gm_act_chip { width: var(--act-chip); height: var(--act-chip); }

.gm_act_bd { grid-column: 3; }

.gm_act_bd b { margin-bottom: .7rem; }

.gm_desc { margin: 0; color: #5b6270; font-size: var(--fs-base); line-height: 2.6rem; }

/* ── 족보 설명 ── */


.gm_rank_bd { display: block; }

.gm_rank_item b { display: block; font-size: var(--fs-xl); line-height: 1; }
.gm_rank_desc { margin: .8rem 0 0; }
.gm_rank_item .cards { height: var(--rank-cards-h); }


.gm_legend { display: flex; justify-content: center; gap: 3rem; margin: 2rem 0 1.4rem; }

.gm_legend span { display: inline-flex; align-items: center; gap: 1.1rem; color: #5b6270; font-size: var(--fs-base); }

.gm_legend i { width: 2rem; height: 2rem; border-radius: var(--r-chip);
               background: #fff; border: .1rem solid #c6cad2; }

.gm_legend i.k { background: #d2d4d9; border-color: #c9ccd3; }

.gm_note { margin: 0; padding: 0; list-style: none; color: #6b7280; font-size: var(--fs-base); line-height: 2.8rem; }

.gm_note li { padding-left: 1.1rem; text-indent: -1.1rem; }

.gm_note li::before { content: "· "; position: static; }

/* ── 게임 모드 ── */
.gm_modes { display: grid; gap: var(--gap); margin: 0 0 2.6rem; }

.gm_mode {
    position: relative;
    display: grid;
    grid-template-columns: 14.9rem 14.4rem minmax(0, 1fr);
    align-items: center;
    height: var(--step-h);
    padding: 0; border: 0;
    border-radius: var(--r-row); background: var(--row-bg); overflow: hidden;
}

.gm_mode_wedge {
    position: absolute; left: 0; top: 0; bottom: 0;
    width: var(--wedge-w);
    background: #bbbcbe;
    -webkit-clip-path: polygon(0 0, 100% 0, 72.1% 100%, 0 100%);
            clip-path: polygon(0 0, 100% 0, 72.1% 100%, 0 100%);
}

.gm_mode_wedge::before {
    content: ""; position: absolute; inset: 0; background: #d4d5d9;
    -webkit-clip-path: polygon(0 0, 91.3% 0, 72.1% 100%, 0 100%);
            clip-path: polygon(0 0, 91.3% 0, 72.1% 100%, 0 100%);
}

.gm_mode_ico {
    position: absolute; left: 7.5rem; top: 50%;
    transform: translate(-50%, -50%);
    width: auto; height: auto;
    margin: 0; background: none;
}

.gm_mode_name { grid-column: 2; text-align: center; font-size: 2rem; font-weight: var(--fw-bold); }

.gm_mode_bd { grid-column: 3; padding-right: 2rem; }

.gm_mode_bd p { margin: 0; color: #5b6270; font-size: var(--fs-xl); line-height: 2.2rem; }


.gm_kind {
    display: grid;
    grid-template-columns:
        var(--badge)              
        var(--kind-gap)           
        minmax(0, 1fr);
    gap: 0;
    align-items: center;
    height: var(--kind-h);
    min-height: 0;
    padding: 0 2rem 0 var(--kind-pad);
    border: 0; border-radius: var(--r-row); background: var(--row-bg);
}

.gm_kind_ico { grid-column: 1; display: flex; align-items: center; justify-content: center;
                 width: auto; height: auto; border-radius: 0; background: none;
                 color: inherit; font-size: inherit; }

.gm_kind_badge { width: var(--badge); height: var(--badge); }

.gm_kind_bd { grid-column: 3; }

.gm_kind_bd b { display: block; margin-bottom: .5rem; padding-top: .4rem; font-size: var(--fs-xl); }

.gm_kind_bd p { margin: 0; color: #5b6270; font-size: var(--fs-base); line-height: 2.1rem; }

@media (max-width: 1279px) {
    
    html:not(.is_pc) .gm_nav .btn{ min-width: 0; }



    html:not(.is_pc) .gm_step_bd b{ margin-bottom: 0; }
    
    html:not(.is_pc) .gm_acts{ grid-template-columns: repeat(2, 1fr); }
    html:not(.is_pc) .gm_act{ padding: .8rem .7rem .8rem var(--act-pad); }
    html:not(.is_pc) .gm_act_bd b{ margin-bottom: 0; }
    html:not(.is_pc) .gm_desc{ font-size: 1.1rem; line-height: 1.3rem; }
    
    html:not(.is_pc) .gm_rank_item{ grid-template-columns: minmax(0, 1fr) auto;
        align-items: center; column-gap: 1rem;
    }
    html:not(.is_pc) .gm_rank_item b{ font-size: 1.3rem; line-height: 1.5rem; }
    html:not(.is_pc) .gm_rank_desc{ margin: 0; }
    
    html:not(.is_pc) .gm_mode{
        grid-template-columns: var(--wedge-w) minmax(0, 1fr);
        grid-template-areas: "ico name" "ico desc"; row-gap: .3rem;
    }
    html:not(.is_pc) .gm_mode_wedge{
        -webkit-clip-path: polygon(0 0, 100% 0, 66.9% 100%, 0 100%);
                clip-path: polygon(0 0, 100% 0, 66.9% 100%, 0 100%); }
    html:not(.is_pc) .gm_mode_wedge::before{ -webkit-clip-path: polygon(0 0, 86.6% 0, 69.4% 100%, 0 100%);
                                     clip-path: polygon(0 0, 86.6% 0, 69.4% 100%, 0 100%); }
    html:not(.is_pc) .gm_mode_name{ grid-area: name; align-self: end; }
    html:not(.is_pc) .gm_mode_bd{ grid-area: desc; align-self: start; }
    
    html:not(.is_pc) .gm_kinds{ grid-template-columns: repeat(2, 1fr); }
    html:not(.is_pc) .gm_kind{ padding: .8rem .8rem .8rem var(--kind-pad); }
}

/* ── 게임 방법 : 보정 ── */
.gm_nav {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 1.1rem;
    height: 3.2rem;
    margin: 2.8rem 0 2.4rem;
}
.gm_nav .btn {
    width: 15.7rem; min-width: 0; height: 3.2rem; min-height: 0; letter-spacing: -.02em;
    padding: 0;
    border: .1rem solid var(--c-tab-on);
    border-radius: 1.6rem;
    background: no-repeat left center / 0 100% linear-gradient(var(--c-tab-on), var(--c-tab-on));
    font-size: var(--fs-td);
    font-weight: var(--fw-medium);
    color: var(--c-tab-on);
}
.gm_nav .btn.on {
    border-color: var(--c-tab-on);
    background-size: 100% 100%;
    font-weight: var(--fw-medium);
    color: #fff;
    transition: background-size .45s cubic-bezier(.22, 1, .36, 1), color .3s ease-out;
}
@media (prefers-reduced-motion: reduce) {
    .gm_nav .btn.on { transition: none; }
}

.gm_sec { margin: 0; padding-top: 2.7rem; }
.gm_tit {
    padding-left: 0;
    font-size: var(--fs-body);
    font-weight: var(--fw-bold);
    line-height: 1;
    color: #1D1D1F;
}
.gm_txt {
    max-width: 48.1rem;
    margin: .9rem 0 0;
    font-size: 1.6rem;
    line-height: 2.2rem;
    color: var(--ink);
}
.gm_txt + .gm_txt { margin-top: 0; }

/* ── 게임 방법 : 단계 · 베팅 액션 보정 ── */
.gm_step_no {
    padding-top: 1.8rem;
    font-size: 3.9rem;
    color: var(--ink);
}
.gm_step_cards { justify-content: flex-start; padding-left: 2.3rem; }
.gm_step_bd { margin: 0; padding-top: 1.8rem; }
.gm_step_bd b {
    display: block;
    font-size: 1.8rem;
    font-weight: var(--fw-bold);
    line-height: 1;
    color: var(--ink);
}
.gm_step_bd p {
    max-width: 34rem;
    margin-top: 1.1rem;
    font-size: 1.6rem;
    line-height: 1.9rem;
    word-break: keep-all;
    color: var(--ink);
}

.gm_acts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
    margin: 2.7rem 0 0;
}
.gm_acts > * {
    position: relative;
    width: auto; height: 13.8rem;
    padding: 0;
    border: 0;
    border-radius: var(--r-row);
    background: var(--row-bg);
}

.gm_step + .gm_step { margin-top: 1.7rem; }

.gm_act { display: block; position: relative; padding: 0; }
.gm_act_ico {
    position: absolute;
    left: 2.8rem; top: 50%;
    width: 9.6rem; height: 9.6rem;
    margin-top: -4.8rem;
}
.gm_act_bd { padding: 4.2rem 0 0 15.1rem; }
.gm_act_bd b {
    display: block;
    font-size: 1.7rem;
    font-weight: var(--fw-medium);
    line-height: 1;
    color: var(--ink);
}
.gm_act_bd .gm_desc {
    margin-top: .7rem;
    font-size: 1.6rem;
    line-height: 2rem;
    color: var(--ink);
}
.gm_act_bd .gm_desc + .gm_desc { margin-top: 0; }

/* ── 게임 방법 : 족보 설명 보정 ── */
.gm_rank {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.7rem;
    margin: 2.7rem 0 0;
}
.gm_rank_item {
    position: relative;
    display: block;
    width: auto; height: 15.8rem;
    padding: 2.1rem 0 0 2.4rem;
    border: 0;
    border-radius: var(--r-row);
    background: var(--row-bg);
}
.gm_rank_bd b,
.gm_rank_bd strong {
    display: block;
    font-size: 1.8rem;
    font-weight: var(--fw-bold);
    line-height: 1;
    color: var(--ink);
}
.gm_rank_desc {
    display: block;
    margin-top: .8rem;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--ink);
}
.gm_rank_cards { display: block; margin-top: 1.4rem; }

/* ── 게임 방법 : PSD 재대조 ── */
@media (min-width: 1280px) {
    .tab_body[data-tab-panel="how"] .gm > [data-tab-panel] { max-height: 79.4rem; }   /* 스크롤 영역이 흰 카드 바닥까지 */
    .gm_nav { margin-bottom: 2.6rem; padding-right: .6rem; }   /* 시안 알약 줄이 본문 가운데보다 3 왼쪽 */
    .gm_sec { padding-top: 2.3rem; }
    .gm_txt { max-width: none; }   /* 481 로 막으면 브라우저 글자폭이 1~2px 넓어 줄이 꺾인다 — 문장마다 p 라 폭 제한이 필요 없다 */
    .gm .gm_steps { margin-top: 1.2rem; }
    /* 단계 박스 — 가운데 정렬이면 padding 을 바꿀 때 글자 묶음 높이가 같이 변해 위치가 같이 움직인다. 위 기준으로 놓는다 */
    .gm_step_no { align-self: start; position: relative; left: -.6rem; padding-top: 5rem; }
    .gm_step_cards { padding-left: 2.1rem; }
    .gm_step_bd { align-self: start; margin-left: -.5rem; padding-top: 3.7rem; }
    .gm_step_bd p { margin-top: .9rem; }
    .gm_step_bd p + p { margin-top: .2rem; }   /* 한 문단을 p 두 개로 나눴다 — 둘째 줄까지 margin 이 붙으면 줄 간격이 30 이 된다 */
    .gm .gm_steps { margin-bottom: .6rem; }
    .gm_acts { margin-top: 1.3rem; }
    .gm_acts > * { height: 13.6rem; }
    .gm_act_bd { padding-top: 3.7rem; }
    .gm_act_bd .gm_desc { margin-top: 1rem; }
    .gm_rank_cards { margin-top: 1rem; }   /* 카드 이미지 위에 투명 여백 4 가 있다 */
    .gm_mode_name { font-size: 2rem; color: var(--ink); }
    .gm_mode_bd p { line-height: 2.7rem; color: #4a4b4f; }
    .gm_kind_bd b,
    .gm_kind_bd p { color: var(--ink); }
    .gm_modes { margin-bottom: 1.1rem; }
    .gm_kinds { margin-top: 1.4rem; }
    .gm_kind_bd { padding-left: .2rem; }
    .gm_kind_bd b { font-size: 1.8rem; line-height: 2rem; }
    .gm_kind_bd p { line-height: 2.2rem; }
    #panel-mode { padding-bottom: 2.3rem; }
    .gm_legend { gap: 1.5rem; margin-bottom: 0; }
    .gm_legend span { gap: .6rem; font-size: 1.6rem; color: #797a7e; }
    .gm_legend i { width: 1.8rem; height: 2.4rem; border-radius: .3rem; border-color: #d2d3d5; }
    .gm_legend i.k { background: #e6e7ec; border-color: #cccdcf; }
    .gm_note { margin-top: 1.9rem; padding: 2.1rem 0 .3rem; border-top: .1rem solid #cecece; font-size: 1.6rem; line-height: 2.5rem; color: #2c2c30; }
}

.gm [data-tab-panel] > :first-child { margin-top: 0; }
.gm_sec:first-child { padding-top: 0; }
.gm [data-tab-panel] { padding-bottom: 1.9rem; }

/* ── 게임 방법 : 게임 모드 보정 ── */
.gm_kinds {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.7rem;
    margin: 1.6rem 0 0;
}
.gm_kinds > * {
    width: auto; height: 15.2rem;
    padding: 0 2rem 0 var(--kind-pad);
    border: 0;
    border-radius: var(--r-row);
    background: var(--row-bg);
    text-align: left;
}

/* ── 새창 모드 (main.html?win=) — 필요 없는 영역만 걷는다 ── */
.win_head { display: none; }
.is_win .win_head {
    display: block;
    flex: none;
    height: 5.8rem;
    padding-left: 2.5rem;
    background: #4B5366;
    font-size: 2.4rem;
    font-weight: var(--fw-bold);
    line-height: 5.8rem;
    color: #fff;
}
.is_win #hangame_gnb,
.is_win .deco,
.is_win .hero,
.is_win .promo_wrap,
.is_win .notice_wrap,
.is_win .product_wrap,
.is_win .tabs_nav,
.is_win .tourney_filter,
.is_win .btn_more,
.is_win .footer,
.is_win .goto_top { display: none; }

.is_win,
.is_win body { height: 100%; }
.is_win body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}
.is_win .content_wrap,
.is_win .column_wrap,
.is_win .tab_wrap,
.is_win .tab_wrap .tab_body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}
/* ⚠ tab_body 에 display 를 주면 [hidden] 을 덮어 안 쓰는 탭이 같이 보인다 */
.is_win .tab_wrap .tab_body[hidden] { display: none; }
.is_win .wrap { max-width: none; min-width: 0; padding: 0; }
.is_win .content_wrap { margin-top: 0; }
.is_win .column_wrap { margin-top: 0; padding-bottom: 0; }
.is_win .tab_wrap { width: auto; height: auto; border: 0; border-radius: 0; }

/* ── 공지사항 새창 ── */
.is_win .tab_wrap .tab_body[data-tab-panel="notice"] {
    padding: 2.1rem 3.1rem 0;
    overflow: hidden;
}
.view_wrap { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }

.noti_search { display: flex; flex: none; gap: .6rem; }
.noti_search input {
    flex: 1 1 auto;
    min-width: 0; height: 4.9rem;
    padding: 0 1.6rem;
    border: .1rem solid #D5D7E0;
    background: var(--surface);
    font-size: 2.1rem;
    color: var(--ink);
}
.noti_search input::placeholder { color: #BBB; }
.noti_search .btn {
    flex: 0 0 14.9rem;
    height: 4.9rem;
    background: #4260DC;
    font-size: 2.1rem;
    font-weight: var(--fw-semibold);
    color: #fff;
}

.noti_list {
    /* gap 으로 띄운다 — li+li 마진은 숨긴 항목까지 세어 페이지를 넘길 때마다 밀린다 */
    /* 새창 높이가 목록 6건 + 페이징에 딱 맞춰져 있어 남는 자리가 없다. 검색하면 "~에 대한 검색
       결과입니다" 줄이 위에 끼어들면서 그만큼 아래가 밀려 페이징이 창 밖으로 잘렸다(QA).
       줄어들 수 있는 칸이 목록뿐이라 여기서 받아 낸다. 늘어나지는 않게 두어 평소 모습은 그대로다. */
    flex: 0 1 auto;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.3rem;
}
/* 공지 목록 페이징 */
.noti_paging {
    flex: none;
    height: 3.4rem;
    margin: 3.2rem 0 2.6rem;
    gap: 6.2rem;
    font-size: 1.7rem;
}
.noti_paging button {
    gap: .8rem;
    width: 7.4rem; height: 3.4rem;
    border-color: #4B4B4B;
    font-size: 1.7rem;
    color: #4C4C4C;
}
.noti_paging .paging_now { width: 5.6rem; text-align: center; }

.noti_list a {
    display: block;
    height: 8.8rem;
    padding: 1.3rem 1.5rem 0;
    background: #F2F5FA;
}
.noti_badge {
    display: inline-block;
    width: 5.8rem; height: 2rem;
    border-radius: var(--r-pill);
    background: var(--c-primary);
    font-size: 1.6rem;
    font-weight: var(--fw-semibold);
    line-height: 2rem;
    color: #fff;
    text-align: center;
}
.noti_tit {
    display: block;
    margin-top: .3rem;
    line-height: 1;
    overflow: hidden;
    font-size: 1.8rem;
    font-weight: var(--fw-semibold);
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #2A2A2A;
}
.noti_day { display: block; margin-top: .6rem; font-size: 1.6rem; line-height: 1; color: #9A9A9A; }

/* 읽기 화면 — common.js 가 붙이는 .is_read 로 패널 좌우 패딩을 걷는다 */
.is_win .tab_wrap .tab_body.is_read { padding-left: 0; padding-right: 0; }
.view_body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0 3.1rem;
    overflow: hidden auto;
    overscroll-behavior: contain;
}
.view_cate { display: block; font-size: var(--fs-base); color: #3968EC; }
.view_tit {
    margin-top: .4rem;
    padding-bottom: 1.8rem;
    border-bottom: .1rem solid #E5E5E5;
    font-size: 2.2rem;
    font-weight: var(--fw-bold);
    color: #292A2E;
}
.view_txt {
    margin-top: 2rem;
    font-size: var(--fs-base);
    line-height: 3rem;
    white-space: pre-line;
    word-break: keep-all;
    color: #45464A;
}
.view_foot { display: none; }
.is_win .view_foot {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    height: 11.8rem;
    background: #EAEAEA;
}
.btn_back {
    width: 20.1rem; height: 6.2rem;
    border-radius: var(--r-chip);
    background: #455EDC;
    font-size: 2.2rem;
    font-weight: var(--fw-semibold);
    color: #fff;
}

/* ═══ 모바일·태블릿 (~1279) : 탭 ═══ */
@media (max-width: 1279px) {
    html:not(.is_pc) .tabs_nav { display: flex; height: 4.4rem; border-radius: 1.1rem 1.1rem 0 0; overflow: hidden; background: #fff; }
    html:not(.is_pc) .tabs_nav .btn { background: #fff; color: #5B6583; }
    html:not(.is_pc) .tabs_nav .btn.on { background: #4F5265; color: #fff; }
    html:not(.is_pc) .tabs_nav .btn,
    html:not(.is_pc) .tabs_nav .btn.on {
        position: static;
        left: auto;
        flex: 1 1 0;
        width: auto; height: 4.4rem;
        border-radius: 0;
        clip-path: none;
        font-size: 1.2rem;
    }
    /* PC 탭 모양(::before 흰 면)을 끈다 */
    html:not(.is_pc) .tabs_nav .btn::before { content: none; }
    html:not(.is_pc) .tabs_nav .btn { padding: .4rem 0 0; }
    html:not(.is_pc) .tabs_nav .btn:not(.on) { box-shadow: inset 0 -.05rem #B8BAC2; }
    html:not(.is_pc) .tabs_nav .btn .txt { gap: .5rem; }
    html:not(.is_pc) .tabs_nav .btn_tourney .txt::before { width: 1.2rem; height: 1.4rem; background-image: url("https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/ico_main_tab1_on.png"); }
    html:not(.is_pc) .tabs_nav .btn_how     .txt::before { width: 1.7rem; height: 1.1rem; background-image: url("https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/ico_main_tab2_on.png"); }
    html:not(.is_pc) .tabs_nav .btn_faq     .txt::before { width: 1.5rem; height: 1.5rem; background-image: url("https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/ico_main_tab3_on.png"); }
    html:not(.is_pc) .tabs_nav .btn_tourney.on .txt::before { background-image: url("https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/ico_main_tab1.png"); }
    html:not(.is_pc) .tabs_nav .btn_how.on     .txt::before { background-image: url("https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/ico_main_tab2.png"); }
    html:not(.is_pc) .tabs_nav .btn_faq.on     .txt::before { background-image: url("https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/ico_main_tab3.png"); }
    
    html:not(.is_pc) .tourney_filter { display: none; }
}

/* ═══ 모바일·태블릿 (~1279) 마무리 — PC 규칙보다 뒤에 둬야 이긴다. 값은 360 기준 ═══ */
@media (max-width: 1279px) {
    html:not(.is_pc) .tab_wrap { height: auto; padding-bottom: 2.55rem; }
    /* 탭 메뉴 고정 — overflow:hidden 은 sticky 를 막아 clip 을 쓴다 */
    html:not(.is_pc) .tab_wrap { overflow: clip; }
    /* 고정되면 크롬이 부모 overflow 로 자식을 깎지 않아 모서리는 버튼에 직접 준다 */
    html:not(.is_pc) .tabs_nav { position: sticky; top: 0; z-index: 5; }
    /* .on 의 radius 0 을 이기려고 .on 까지 적는다 */
    html:not(.is_pc) .tabs_nav .btn.btn_tourney,
    html:not(.is_pc) .tabs_nav .btn.btn_tourney.on { border-top-left-radius: 1.1rem; }
    html:not(.is_pc) .tabs_nav .btn.btn_faq,
    html:not(.is_pc) .tabs_nav .btn.btn_faq.on { border-top-right-radius: 1.1rem; }
    html.is_win:not(.is_pc) .tabs_nav { position: static; }
    html:not(.is_pc) .column_wrap { padding-bottom: 0; }
    html:not(.is_pc) .faq_scroll { height: auto; max-height: none; overflow: visible; padding-bottom: 0; }
    html:not(.is_pc) .faq_list { padding-bottom: 0; }

    /* ── 게임 방법 ── */
    html:not(.is_pc) .tab_wrap .gm { max-width: none; margin: 0; padding: 0 1.1rem; }
    html:not(.is_pc) .tab_wrap [data-tab-panel=how] .guide_wrap { padding: 0; }
    html:not(.is_pc) .tab_body[data-tab-panel="how"] .gm > [data-tab-panel] { width: auto; height: auto; max-height: none; overflow: visible; padding: 0; }

    html:not(.is_pc) .gm_nav { display: flex; justify-content: center; gap: .55rem; height: auto; margin: 1.55rem 0 1.95rem; }
    html:not(.is_pc) .gm_nav .btn {
        position: static;
        flex: none;
        width: 9.6rem; height: 1.9rem;
        padding: 0;
        border-width: .05rem;
        border-radius: .95rem;
        font-size: 1.05rem;
        line-height: 1.8rem;
    }

    html:not(.is_pc) .gm_sec { padding-top: 1.6rem; }
    html:not(.is_pc) .gm_sec:first-child { padding-top: 0; }
    html:not(.is_pc) .gm_tit { font-size: 1.15rem; line-height: 1; color: #1D1D1F; }
    html:not(.is_pc) .gm_txt { max-width: none; margin: .5rem 0 0; font-size: .95rem; line-height: 1.3rem; color: #2B2C30; }
    html:not(.is_pc) .gm_txt:last-of-type { margin-bottom: 0; }
    html:not(.is_pc) .gm_txt + .gm_txt { margin-top: 0; }

    html:not(.is_pc) .gm .gm_steps { margin-top: .75rem; }
    html:not(.is_pc) .gm_step {
        grid-template-columns: 4.3rem 12.6rem 1.75rem minmax(0, 1fr);
        height: 7.4rem; min-height: 0;
        padding: 0;
        border-radius: .5rem;
    }
    html:not(.is_pc) .gm_step + .gm_step { margin-top: 1rem; }
    html:not(.is_pc) .gm_step + .gm_step::before { left: 1.4rem; top: -1.5rem; width: 1.45rem; height: 2.1rem; background-size: 100% 100%; }
    html:not(.is_pc) .gm_step_no { grid-column: 1; padding: 0; text-align: center; font-size: 2.4rem; font-weight: 800; color: #2B2C30; }
    html:not(.is_pc) .gm_step_cards { grid-column: 2; padding: 0; }
    html:not(.is_pc) .gm_step .cards { width: 12.6rem; height: auto; }
    html:not(.is_pc) .gm_step .cards.is_deal { width: 10.2rem; margin-left: .95rem; }
    html:not(.is_pc) .gm_step_bd { grid-column: 4; padding: 0 1.2rem 0 0; }
    html:not(.is_pc) .gm_step_bd b { font-size: 1.05rem; line-height: 1; color: #2B2C30; }
    html:not(.is_pc) .gm_step_bd p { max-width: none; margin-top: .4rem; font-size: .95rem; line-height: 1.25rem; color: #2B2C30; }
    html:not(.is_pc) .gm_step_bd p + p { margin-top: 0; }

    html:not(.is_pc) .gm_acts { gap: 1rem 1.1rem; margin-top: .8rem; }
    html:not(.is_pc) .gm_acts > * { height: 7.4rem; min-height: 0; border-radius: .5rem; }
    html:not(.is_pc) .gm_act_ico { left: 1.15rem; width: 3.45rem; height: 3.45rem; margin-top: -1.75rem; }
    html:not(.is_pc) .gm_act_chip { width: 100%; height: 100%; }
    html:not(.is_pc) .gm_act_bd { position: absolute; left: 5.55rem; right: .6rem; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; padding: 0; }
    html:not(.is_pc) .gm_act_bd b { font-size: 1.05rem; font-weight: var(--fw-bold); line-height: 1; color: #2B2C30; }
    html:not(.is_pc) .gm_act_bd .gm_desc { margin-top: .45rem; font-size: .95rem; line-height: 1.25rem; color: #2B2C30; }
    html:not(.is_pc) .gm_act_bd .gm_desc + .gm_desc { margin-top: 0; }

    html:not(.is_pc) .gm_rank { grid-template-columns: 1fr; gap: 1rem; margin: 0; }
    html:not(.is_pc) .gm_rank_item { display: block; position: relative; height: 5.75rem; min-height: 0; padding: 1.6rem 0 0 1.3rem; border-radius: .5rem; }
    html:not(.is_pc) .gm_rank_bd b, html:not(.is_pc) .gm_rank_bd strong { font-size: 1.05rem; line-height: 1; color: #2B2C30; }
    html:not(.is_pc) .gm_rank_desc { margin-top: .5rem; font-size: .95rem; line-height: 1; color: #2B2C30; }
    html:not(.is_pc) .gm_rank_cards { position: absolute; right: 1.4rem; top: 50%; width: 13.45rem; margin: -1.7rem 0 0; }
    html:not(.is_pc) .gm_rank_cards .cards { width: 13.45rem; max-width: none; height: 3.4rem; }

    html:not(.is_pc) .gm_legend { gap: 1.5rem; margin: 1.7rem 0 0; }
    html:not(.is_pc) .gm_legend span { gap: .55rem; font-size: .95rem; font-weight: var(--fw-semibold); line-height: 1.3rem; color: #77787D; }
    html:not(.is_pc) .gm_legend i { width: 1rem; height: 1rem; border-radius: .2rem; border-width: .05rem; }
    html:not(.is_pc) .gm_note { margin: 1.65rem 0 0; padding-top: 1rem; border-top: .05rem solid #CECECE; font-size: .95rem; line-height: 1.25rem; color: #2B2C30; }
    html:not(.is_pc) .gm_note li { padding-left: .7rem; text-indent: -.7rem; }

    html:not(.is_pc) .gm_modes { gap: 1rem; margin: 0; }
    html:not(.is_pc) .gm_mode { display: block; align-content: start; height: auto; min-height: 8.35rem; padding: 1.9rem .6rem 1.4rem 8.15rem; border-radius: .5rem; }
    html:not(.is_pc) .gm_mode_wedge { position: absolute; left: 0; top: 0; bottom: 0; width: 7.75rem; }
    html:not(.is_pc) .gm_mode_ico { left: 3.15rem; width: auto; height: auto; max-width: none; }
    html:not(.is_pc) .gm_mode_ico[src*="mode01"] { width: 4.35rem; }
    html:not(.is_pc) .gm_mode_ico[src*="mode02"] { width: 4.8rem; }
    html:not(.is_pc) .gm_mode_ico[src*="mode03"] { width: 4.3rem; }
    html:not(.is_pc) .gm_mode_ico[src*="mode04"] { width: 4.4rem; }
    html:not(.is_pc) .gm_mode_name { display: block; padding: 0; text-align: left; font-size: 1.2rem; line-height: 1; color: #2B2C30; }
    html:not(.is_pc) .gm_mode_bd { padding: 0; margin-top: .4rem; }
    html:not(.is_pc) .gm_mode_bd p { font-size: 1.05rem; line-height: 1.7rem; color: #494A4E; }
    html:not(.is_pc) .gm_mode.is_tight .gm_mode_bd p { letter-spacing: -.03em; }

    html:not(.is_pc) .gm_modes + .gm_sec { padding-top: 2.1rem; }
    html:not(.is_pc) .gm_kinds { gap: .5rem 1.1rem; margin-top: .85rem; }
    html:not(.is_pc) .gm_kinds > * { position: relative; align-content: start; border-radius: .5rem; }
    html:not(.is_pc) .gm_kinds > * { display: flex; align-items: center; height: auto; min-height: 8.25rem; padding: 1.2rem 1rem 1.2rem 7rem; }
    html:not(.is_pc) .gm_kind_ico { position: absolute; left: 1.3rem; top: 50%; margin-top: -2.3rem; }
    html:not(.is_pc) .gm_kind_badge { width: 4.6rem; height: 4.6rem; }
    html:not(.is_pc) .gm_kind_bd { padding: 0; }
    html:not(.is_pc) .gm_kind_bd b { display: block; margin: 0; padding: 0; font-size: 1.05rem; line-height: 1; color: #2B2C30; }
    html:not(.is_pc) .gm_kind_bd p { margin-top: .7rem; font-size: .95rem; line-height: 1.25rem; color: #2B2C30; }
    html:not(.is_pc) .gm_kind_bd p + p { margin-top: 0; }

    /* ── FAQ ── */
    html:not(.is_pc) .faq_search { width: auto; height: 3.4rem; gap: .15rem; margin: 1.4rem 1.5rem 0; }
    html:not(.is_pc) .faq_search input { height: 3.4rem; padding: 0 .8rem; border: .05rem solid #C8C8C8; font-size: 1.35rem; }
    html:not(.is_pc) .faq_search .btn_search { width: 7.2rem; height: 3.4rem; background: #445FDC; font-size: 1.35rem; }
    html:not(.is_pc) .faq_cate {
        width: auto;
        gap: 2.35rem;
        margin: 1.45rem 1.5rem 0;
        padding-bottom: .8rem;
        border-bottom: .05rem solid #DADADA;
        box-shadow: none;
        -webkit-overflow-scrolling: touch;
    }
    html:not(.is_pc) .faq_cate button { flex: none; font-size: 1.25rem; font-weight: var(--fw-medium); letter-spacing: -.025em; color: #3E3E3E; white-space: nowrap; }
    html:not(.is_pc) .faq_cate button.on { font-weight: var(--fw-semibold); color: #3661EB; }
    html:not(.is_pc) .faq_cate { --bar-pad: 0; }
    html:not(.is_pc) .search_field input { padding-right: 2.6rem; }
    html:not(.is_pc) .search_clear { right: .3rem; width: 2.2rem; height: 2.2rem; margin-top: -1.1rem; background-size: .8rem .8rem; }   /* 밑줄 = 글자 폭 (common.js 가 읽는다) */
    html:not(.is_pc) .faq_cate::after { bottom: 0; height: .15rem; background: #3661EB; }
    html:not(.is_pc) .faq_list { padding-right: 0; }
    html:not(.is_pc) .faq_scroll { width: auto; margin: 1.15rem 1.5rem 0; }
    html:not(.is_pc) .faq_list li + li { margin-top: .5rem; }
    html:not(.is_pc) .faq_list a { height: 5rem; padding: 1.05rem .7rem 0; }
    html:not(.is_pc) .faq_hot { min-width: 3.05rem; height: 1.25rem; padding: 0 .4rem; font-size: .9rem; line-height: 1.25rem; }
    html:not(.is_pc) .faq_cat { height: 1.25rem; font-size: 1.05rem; line-height: 1.25rem; color: #3661EB; }
    html:not(.is_pc) .faq_q { margin-top: .3rem; font-size: 1.25rem; color: #2A2A2A; }

    /* ── 점검 중 ── */
    html:not(.is_pc) .maint { width: auto; height: 36.5rem; gap: .5rem; margin: 1rem 1.1rem 0; padding: 0; background: #E6E9F0; }
    html:not(.is_pc) .maint { margin-bottom: -1.45rem; }
    html:not(.is_pc) .maint strong { font-size: 1.5rem; letter-spacing: 0; color: #383D54; }
    html:not(.is_pc) .maint p { font-size: 1.15rem; color: #4F72D5; }

    /* ── 검색 결과 ── */
    html:not(.is_pc) .search_result { margin: 1rem 0 0; font-size: 1.05rem; }
    html:not(.is_pc) .search_none { padding: 6rem 1.1rem; }
    html:not(.is_pc) .search_none_tit { font-size: 1.2rem; }
    html:not(.is_pc) .search_none_txt { margin-top: .7rem; font-size: .95rem; line-height: 1.3rem; }
    html:not(.is_pc) .search_none_back { margin-top: 1.5rem; width: 9rem; height: 2.9rem; border-radius: 1.45rem; font-size: 1.05rem; }
}
@media (max-width: 838px) {
    html:not(.is_pc) .gm_acts { grid-template-columns: 1fr; }
    html:not(.is_pc) .gm_act_bd { display: block; top: 50%; bottom: auto; transform: translateY(-50%); }
    html:not(.is_pc) .gm_act_bd b { margin-bottom: .5rem; }
    html:not(.is_pc) .gm_act_bd .gm_desc { display: inline; margin: 0; }
    html:not(.is_pc) .gm_act_bd .gm_desc + .gm_desc::before { content: " "; }
}
@media (max-width: 891px) {
    html:not(.is_pc) .gm_kinds { grid-template-columns: 1fr; }
    html:not(.is_pc) .gm_kind_bd b { margin-bottom: .7rem; }
    html:not(.is_pc) .gm_kind_bd p { display: inline; margin: 0; }
    html:not(.is_pc) .gm_kind_bd p + p::before { content: " "; }
}

/* ═══ 모바일 공지사항 페이지 (main.html?win=notice · PC 가 아닐 때) ═══ */
html.is_win:not(.is_pc),
html.is_win:not(.is_pc) body { height: auto; }
html.is_win:not(.is_pc) body { display: flex; flex-direction: column; overflow: visible; }
html.is_win:not(.is_pc) .hero { display: block; order: -1; }
html.is_win:not(.is_pc) .hero_wrap,
html.is_win:not(.is_pc) .hero_nav,
html.is_win:not(.is_pc) .promo_wrap,
html.is_win:not(.is_pc) .notice_wrap,
html.is_win:not(.is_pc) .tabs_nav { display: none; }
html.is_win:not(.is_pc) .footer { display: block; }
html.is_win:not(.is_pc) .goto_top { display: block; }
html.is_win:not(.is_pc) .content_wrap,
html.is_win:not(.is_pc) .column_wrap,
html.is_win:not(.is_pc) .tab_wrap,
html.is_win:not(.is_pc) .tab_wrap .tab_body { display: block; flex: none; }
html.is_win:not(.is_pc) .tab_wrap .tab_body[hidden] { display: none; }
html.is_win:not(.is_pc) .tab_wrap { padding-bottom: 2.55rem; border-radius: 0; }
html.is_win:not(.is_pc) .content_wrap,
html.is_win:not(.is_pc) .column_wrap { margin-top: 0; }

html.is_win:not(.is_pc) .win_head {
    height: 4.3rem;
    padding: 0;
    border-bottom: .05rem solid #DCDCDC;
    background: #fff;
    font-size: 1.55rem;
    font-weight: var(--fw-medium);
    line-height: 4.3rem;
    text-align: center;
    color: #2A2A2A;
}

html.is_win:not(.is_pc) .tab_wrap .tab_body[data-tab-panel="notice"] { padding: 1.15rem 1.5rem 0; overflow: visible; }
/* FAQ 새창 — 공지 새창과 같은 위 간격. 검색 상자 margin 이 부모 밖으로 빠지면 회색 바탕이 띠로 보인다 */
html.is_win:not(.is_pc) .tab_wrap .tab_body[data-tab-panel="faq"] { padding-top: 1.15rem; }
html.is_win:not(.is_pc) .faq_search { margin-top: 0; }
html.is_win:not(.is_pc) .view_wrap { display: block; }
html.is_win:not(.is_pc) .noti_search { gap: .15rem; height: 3.4rem; }
html.is_win:not(.is_pc) .noti_search input { height: 3.4rem; padding: 0 2.6rem 0 .8rem; border: .05rem solid #C8C8C8; font-size: 1.35rem; }
html.is_win:not(.is_pc) .noti_search .btn { flex: 0 0 7.2rem; height: 3.4rem; background: #445FDC; font-size: 1.35rem; font-weight: var(--fw-medium); }

html.is_win:not(.is_pc) .noti_list { gap: .5rem; margin-top: 1.2rem; }
html.is_win:not(.is_pc) .noti_list li[data-filtered="off"] { display: none; }
html.is_win:not(.is_pc) .noti_paging { display: none; }
html.is_win:not(.is_pc) .noti_list a { height: 6.3rem; padding: .95rem .75rem 0; }
html.is_win:not(.is_pc) .noti_badge { display: block; width: 3.7rem; height: 1.3rem; background: #3661EB; font-size: 1rem; font-weight: var(--fw-bold); line-height: 1.3rem; }
html.is_win:not(.is_pc) .noti_tit { margin-top: .4rem; font-size: 1.25rem; line-height: 1; }
html.is_win:not(.is_pc) .noti_day { margin-top: .6rem; font-size: 1.05rem; font-weight: var(--fw-medium); color: #858585; }

/* ═══ PC 새창 (html.is_win.is_pc) — 창 폭 1185 라 1279 이하 규칙 중 필요한 것만 되살린다 ═══ */
@media (max-width: 1279px) {
    html.is_win.is_pc body { font-size: 1.2rem; }
    
    html.is_win.is_pc .tourney_table,
    
    html.is_win.is_pc .tourney_table tbody,
    
    html.is_win.is_pc .tourney_table tbody tr,
    
    html.is_win.is_pc .tourney_table tbody td { display: revert; }
    html.is_win.is_pc .tourney_table { display: table; table-layout: fixed; width: 100%; }
    html.is_win.is_pc .tourney_table thead { display: table-header-group; }
    html.is_win.is_pc .tourney_table tbody { display: table-row-group; }
    html.is_win.is_pc .tourney_table tbody tr { display: table-row; min-height: 0; padding: 0; border: 0; }
    html.is_win.is_pc .tourney_table th,
    html.is_win.is_pc .tourney_table td { display: table-cell; }

    html.is_win.is_pc .tourney_list { width: auto; margin: 1rem 1rem 0; overflow-x: hidden; }
    
    html.is_win.is_pc .col_date { width:  5.6rem; }
    html.is_win.is_pc .col_time { width:  7rem; }
    html.is_win.is_pc .col_name { width: auto;  }
    html.is_win.is_pc .col_ppl { width:  7.2rem; }
    html.is_win.is_pc .col_buyin { width: 12.2rem; }
    html.is_win.is_pc .col_prize { width: 12.4rem; }

    html.is_win.is_pc .tourney_table th,

    html.is_win.is_pc .tourney_table td { padding: 0 .6rem; text-align: center; vertical-align: middle; }
    html.is_win.is_pc .tourney_table thead th {
        height: 2.6rem;
        background: #EDEFF5;
        font-size: 1.4rem;
        font-weight: var(--fw-medium);
        color: #242424;
    }
    html.is_win.is_pc .tourney_table tbody td {
        height: 4.8rem;
        box-shadow: inset 0 -.1rem 0 #F0F0F0;
        font-size: 1.5rem;
        font-weight: var(--fw-medium);
        color: var(--td-ink);
        white-space: nowrap;
    }
    html.is_win.is_pc .tourney_table tbody td + td { border-left: .1rem solid #E6E6E6; }
    html.is_win.is_pc .tourney_table tbody .tourney_name {
        padding-left: 1rem;
        text-align: left;
        overflow: hidden; text-overflow: ellipsis;
    }
}
