:root {
    --mega-red: #e8331c;
    --mega-red-dark: #c62817;
    --mega-yellow: #f5b400;
    --line: #e2e2e2;
    --ink: #111;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
    background: #f4f4f4;
    padding: 16px;
    color: var(--ink);
    word-break: keep-all;
    /* 한글은 음절이 아닌 단어(띄어쓰기) 단위로 줄바꿈 */
    height: 100vh;
    overflow: hidden;
    /* 페이지 스크롤 없이 한 화면에 — 넘치면 메뉴 영역만 내부 스크롤 */
}

/* ---------- 전체 레이아웃 ---------- */
.wrap {
    display: grid;
    grid-template-columns: 280px 620px;
    /* 키오스크를 실제처럼 세로로 긴 비율(포트레이트)로 고정 */
    gap: 20px;
    margin: 0 auto;
    align-items: stretch;
    justify-content: center;
    height: 100%;
    /* body(100vh - padding) 안에 딱 맞춤 */
}

/* ---------- 왼쪽 컬럼 ---------- */
.side {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.side-spacer {
    flex: 1;
}

.btn-exit {
    align-self: flex-start;
    background: none;
    border: none;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    padding: 6px 4px;
    margin-bottom: 18px;
}

/* 나가기와 목표 카드를 키오스크에서 조금 더 떨어뜨린다. */
.btn-exit,
.mission-bar {
    transform: translateX(-100px);
}

.mission-bar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #fdf4e3;
    border: 2px solid #d9a441;
    border-radius: 16px;
    padding: 16px;
    /* 옵션창이 열려도 목표 카드는 회색 오버레이 위에 표시한다. */
    position: relative;
    z-index: 60;
}

.mission-badge {
    align-self: center;
    background: #d9a441;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 7px 22px;
    border-radius: 999px;
}

.mission-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mission-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #fff;
    border: 1.5px solid #e7d9bd;
    border-radius: 10px;
    padding: 10px 14px;
}

.mission-row-label {
    font-size: 13px;
    font-weight: 600;
    color: #8a7a5c;
    white-space: nowrap;
}

.mission-row-value {
    font-size: 18px;
    font-weight: 800;
    color: #2b2b2b;
    text-align: right;
}

.mission-target-divider {
    width: 100%;
    height: 0;
    margin: 8px 0;
    border: 0;
    border-top: 3px dashed #d9a441;
}

.btn-skip {
    background: #fdf4e3;
    border: 2px solid #c9c2b0;
    border-radius: 12px;
    padding: 16px;
    font-size: 18px;
    font-weight: 700;
    color: #7a7566;
    cursor: pointer;
}

/* ---------- 오른쪽 키오스크 프레임 ---------- */
.kiosk {
    position: relative;
    /* tutorial-dim 오버레이를 키오스크 내부 기준으로 배치하기 위한 기준점 */
    border: 6px solid var(--ink);
    border-radius: 16px;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
    /* 뷰포트 높이에 맞춰지고, 내부 메뉴 영역(.kiosk-menu)만 스크롤 */
}

/* ---------- 상단 카테고리 탭 ---------- */
.kiosk-tabs {
    display: flex;
    align-items: stretch;
    background: var(--mega-red);
    padding: 8px;
    gap: 6px;
}

.tab-nav {
    flex: 0 0 auto;
    width: 46px;
    border: none;
    border-radius: 8px;
    background: #1c1c1c;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
}

.tab-list {
    flex: 1;
    display: flex;
    gap: 6px;
    align-items: stretch;
}

.tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    padding: 12px 6px;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    white-space: nowrap;
}

.tab-btn.active {
    background: #fff;
    color: var(--mega-red);
}

/* ---------- 메뉴 그리드 ---------- */
.kiosk-menu {
    position: relative;
    flex: 1;
    min-height: 0;
    /* flex 컬럼 안에서 넘칠 때 이 영역만 스크롤되도록 */
    padding: 16px;
    overflow-y: auto;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.menu-item {
    position: relative;
    border: 2px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 14px 8px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: border-color .12s;
}

.menu-item .m-thumb {
    width: 78px;
    height: 78px;
    border-radius: 10px;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.menu-item .m-name {
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    line-height: 1.25;
    min-height: 2.5em;
    display: flex;
    align-items: center;
}

.menu-item .m-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--mega-red);
}

/* 선택된 카드: 빨간 테두리 + 체크 배지 */
.menu-item.selected {
    border-color: var(--mega-red);
}

.menu-item.selected::before {
    content: "✓";
    position: absolute;
    top: -1px;
    left: -1px;
    width: 30px;
    height: 30px;
    background: var(--mega-red);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px 0 12px 0;
}

/* ---------- 좌우 캐러셀 화살표 ---------- */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 66px;
    border: none;
    background: var(--mega-yellow);
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}

.carousel-arrow.left {
    left: 0;
    border-radius: 0 10px 10px 0;
}

.carousel-arrow.right {
    right: 0;
    border-radius: 10px 0 0 10px;
}

/* ---------- 하단: 장바구니 + 결제 ---------- */
.kiosk-cart {
    border-top: 3px solid var(--ink);
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 16px;
    padding: 16px;
    background: #fff;
}

.cart-list {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px;
    min-height: 140px;
    max-height: 190px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cart-empty {
    margin: auto;
    color: #999;
    font-size: 16px;
    font-weight: 700;
}

.cart-row {
    display: grid;
    grid-template-columns: 30px 1fr auto auto;
    align-items: center;
    gap: 10px;
    padding: 6px 4px;
}

.cart-x {
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 6px;
    background: #2b2b2b;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.cart-name {
    font-size: 16px;
    font-weight: 700;
}

.cart-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 6px;
    background: var(--mega-yellow);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
}

.qty-num {
    font-size: 16px;
    font-weight: 700;
    min-width: 34px;
    text-align: center;
}

.cart-price {
    font-size: 16px;
    font-weight: 800;
    min-width: 66px;
    text-align: right;
}

/* ----- 오른쪽 요약/결제 ----- */
.cart-summary {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timer-box {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.timer-label {
    font-size: 16px;
    font-weight: 700;
}

.timer-value {
    font-size: 20px;
    font-weight: 700;
}

.timer-value strong {
    font-size: 40px;
    color: var(--mega-red);
    border-bottom: 3px solid var(--mega-red);
    padding: 0 4px;
}

.btn-clear {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    background: #2b2b2b;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.15;
    cursor: pointer;
}

.summary-count {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
    font-weight: 700;
    border-top: 1px solid var(--line);
    padding-top: 10px;
}

.summary-count strong {
    font-size: 22px;
}

.btn-pay {
    display: flex;
    align-items: center;
    gap: 14px;
    border: none;
    border-radius: 12px;
    background: var(--mega-red);
    color: #fff;
    padding: 16px 20px;
    cursor: pointer;
    margin-top: auto;
}

.pay-icon {
    font-size: 26px;
}

.pay-body {
    font-size: 22px;
    font-weight: 800;
    text-align: left;
    line-height: 1.2;
}

/* ============================================================
   하이라이트 (tutorial 모드) : 외곽선 노랗게 반짝
============================================================ */
.hl {
    outline: 5px solid var(--mega-yellow);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(245, 180, 0, .35);
    animation: pulse 1.1s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        outline-color: var(--mega-yellow);
        box-shadow: 0 0 0 3px rgba(245, 180, 0, .35);
    }

    50% {
        outline-color: #ffe08a;
        box-shadow: 0 0 0 8px rgba(245, 180, 0, .12);
    }
}

/* 화면 안내 문구 (탭 아래 메뉴영역 위) */
.screen-guide {
    grid-column: 1 / -1;
    font-size: 17px;
    font-weight: 700;
    color: #444;
    text-align: center;
    margin-bottom: 6px;
}

/* ============================================================
   옵션/결제 팝업
============================================================ */
.modal-back {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.modal-back[hidden] {
    display: none;
}

.modal {
    background: #fff;
    border-radius: 16px;
    width: min(440px, 92vw);
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
}

.modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 2px solid var(--ink);
    font-size: 20px;
    font-weight: 800;
}

.modal-close {
    border: none;
    background: none;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
    color: #666;
}

.modal-body {
    padding: 20px;
}

.modal-cta {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    border: none;
    border-radius: 12px;
    background: var(--mega-red);
    color: #fff;
    padding: 18px;
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
}

/* 옵션 블록 */
.opt-block {
    margin-bottom: 18px;
}

.opt-label {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
}

.opt-row {
    display: flex;
    gap: 10px;
}

.opt-btn {
    flex: 1;
    border: 2px solid var(--ink);
    border-radius: 12px;
    background: #fff;
    padding: 14px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.opt-btn.on {
    border-color: var(--mega-red);
    background: #fdecea;
    color: var(--mega-red-dark);
}

/* 아이스 전용 메뉴 온도 안내 */
.opt-fixed {
    padding: 14px;
    border: 2px dashed #9cc3e6;
    border-radius: 12px;
    background: #f2f8fd;
    color: #2f6ea5;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.opt-qty {
    display: flex;
    align-items: center;
    gap: 16px;
}

.opt-qty .qty-btn {
    width: 48px;
    height: 48px;
    font-size: 24px;
}

.opt-qty .qty-num {
    font-size: 24px;
}

/* 결제 방법 목록 */
.pay-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pay-method {
    border: 2px solid var(--ink);
    border-radius: 14px;
    background: #fff;
    padding: 20px;
    font-size: 19px;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
}

/* ============================================================
   심화 단계(쿠폰 사용 / 포인트 적립) 전용 스타일
   — 기존 스타일은 그대로 두고 아래 규칙만 추가함
============================================================ */

/* tutorial 하위 단계에서 키오스크 화면 안쪽만 어둡게 하고, 안내 대상만 도드라져 보이게 함 (.kiosk 기준) */
.tutorial-dim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 40;
    pointer-events: none;
    /* 클릭은 그대로 아래 요소에 전달 — 시각 효과만 담당 */
}

.tutorial-dim[hidden] {
    display: none;
}

.hl-pop {
    position: relative;
    z-index: 45;
}

/* 결제하기 이후 이어지는 예/아니오 형태 팝업의 버튼 배치 (쿠폰/포인트/결제확인 공용) */
.ask-actions {
    display: flex;
    gap: 12px;
    padding: 0 20px 20px;
}

.ask-actions .opt-btn {
    flex: 1;
}

/* 바코드 찍기 패널 — 키오스크 화면 바깥(오른쪽)에 있는 스캐너 장치 시뮬레이션 */
.barcode-panel {
    position: fixed;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    z-index: 45;
    background: #fff;
    border: 3px solid var(--ink);
    border-radius: 16px;
    padding: 28px 24px 24px;
    width: 220px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
}

.barcode-panel[hidden] {
    display: none;
}

.barcode-panel .modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
}

.barcode-panel .barcode-icon {
    font-size: 48px;
    margin: 6px 0 12px;
}

.barcode-panel p {
    font-size: 15px;
    font-weight: 700;
    color: #555;
    line-height: 1.4;
}

.barcode-panel .btn-barcode {
    width: 100%;
    margin-top: 16px;
    border: none;
    border-radius: 12px;
    background: var(--mega-red);
    color: #fff;
    padding: 16px;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
}

/* 포인트 적립 화면 키패드 */
.keypad-display {
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    border: 2px solid var(--ink);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 16px;
    letter-spacing: 1px;
    color: #555;
}

.keypad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.keypad-num,
.keypad-tool {
    border: 2px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 16px;
    font-size: 19px;
    font-weight: 800;
    cursor: pointer;
}

.keypad-tool {
    background: #f2f2f2;
    font-size: 14px;
}

/* ============================================================
   완료 화면 (1~3단계 모두 통과)
============================================================ */
.done-screen {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}

.done-screen[hidden] {
    display: none;
}

.done-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.done-emoji {
    font-size: 84px;
    line-height: 1;
    margin-bottom: 8px;
}

.done-title {
    font-size: 44px;
    font-weight: 900;
    color: var(--mega-red);
}

.done-text {
    font-size: 26px;
    font-weight: 800;
    color: var(--ink);
}

.done-sub {
    font-size: 20px;
    font-weight: 700;
    color: #666;
    margin-bottom: 28px;
}

.done-actions {
    display: flex;
    gap: 20px;
}

.done-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 180px;
    padding: 28px 16px;
    border-radius: 24px;
    border: 3px solid var(--ink);
    background: #fff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
    transition: transform .12s, box-shadow .12s;
}

.done-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .15);
}

.done-btn-emoji {
    font-size: 36px;
    line-height: 1;
    margin-bottom: 12px;
}

.done-coupon {
    background: #fff3e0;
    border-color: #f0a020;
}

.done-point {
    background: #fdecea;
    border-color: var(--mega-red);
}

.done-home {
    margin-top: 26px;
    font-size: 18px;
    font-weight: 700;
    color: #888;
    text-decoration: underline;
}

/* ============================================================
   단계 완료 화면 (1·2단계 통과 시, 다음 단계로 넘어가기 전)
============================================================ */
.step-done-emoji {
    font-size: 64px;
    line-height: 1;
    margin-bottom: 14px;
}

.step-done-title {
    font-size: 30px;
    font-weight: 900;
    color: var(--ink);
    margin-bottom: 10px;
}

.step-done-sub {
    font-size: 17px;
    font-weight: 700;
    color: #777;
    margin-bottom: 32px;
}

.step-done-actions {
    display: flex;
    gap: 16px;
}

.step-done-btn {
    width: 180px;
    padding: 18px 12px;
    border-radius: 14px;
    border: 2px solid transparent;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
    transition: transform .12s, box-shadow .12s;
}

.step-done-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .15);
}

.step-done-next {
    background: #fdf4e3;
    border-color: #d9a441;
    color: #8a5a10;
}

.step-done-wrong {
    background: #fdecea;
    border-color: var(--mega-red);
    color: var(--mega-red-dark);
}

/* ============================================================
   practice 모드: 안내/하이라이트 전부 숨김
============================================================ */
.wrap[data-mode="practice"] .screen-guide {
    display: none;
}

.wrap[data-mode="practice"] .hl {
    outline: none;
    box-shadow: none;
    animation: none;
}

/* 키오스크 화면 크기 조절 */
.kiosk-size-control {
    position: fixed;
    right: 52px;
    bottom: 96px;
    z-index: 120;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 12px;
    border: 1px solid #e2e2e2;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .14);
}

.kiosk-size-control span {
    margin-right: 3px;
    font-size: 16px;
    font-weight: 900;
}

.kiosk-size-control button {
    min-width: 72px;
    min-height: 44px;
    padding: 7px 12px;
    border: 2px solid #d6d9df;
    border-radius: 11px;
    background: #fff;
    color: #171717;
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
}

.kiosk-size-control button.active {
    border-color: #f07a00;
    background: #f07a00;
    color: #fff;
}

/* 확대: 자유연습의 확대 키오스크와 같은 크기 */
body.kiosk-size-large .wrap {
    grid-template-columns: 300px 820px;
    gap: 28px;
}

body.kiosk-size-large .btn-exit {
    padding: 12px 6px;
    font-size: 26px;
}

body.kiosk-size-large .kiosk-tabs { padding: 10px; gap: 8px; }
body.kiosk-size-large .tab-nav { width: 56px; min-height: 60px; font-size: 26px; }
body.kiosk-size-large .tab-list { gap: 8px; }
body.kiosk-size-large .tab-btn { min-height: 60px; padding: 14px 10px; font-size: 21px; }
body.kiosk-size-large .kiosk-menu { padding: 22px 26px; }
body.kiosk-size-large .menu-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
body.kiosk-size-large .menu-item { min-height: 178px; padding: 18px 12px 16px; gap: 9px; }
body.kiosk-size-large .menu-item .m-thumb { width: 94px; height: 94px; font-size: 50px; }
body.kiosk-size-large .menu-item .m-name { min-height: 2.4em; font-size: 20px; }
body.kiosk-size-large .menu-item .m-price { font-size: 20px; }
body.kiosk-size-large .carousel-arrow { width: 44px; height: 84px; font-size: 28px; }
body.kiosk-size-large .kiosk-cart { grid-template-columns: 1fr 320px; padding: 18px; }
body.kiosk-size-large .cart-list { min-height: 170px; max-height: 220px; }
body.kiosk-size-large .cart-row { grid-template-columns: 38px 1fr auto auto; gap: 12px; padding: 9px 5px; }
body.kiosk-size-large .cart-x { width: 34px; height: 34px; font-size: 17px; }
body.kiosk-size-large .cart-name,
body.kiosk-size-large .cart-price,
body.kiosk-size-large .cart-empty { font-size: 19px; }
body.kiosk-size-large .qty-btn { width: 40px; height: 40px; font-size: 23px; }
body.kiosk-size-large .qty-num,
body.kiosk-size-large .summary-count { font-size: 20px; }
body.kiosk-size-large .timer-label { font-size: 18px; }
body.kiosk-size-large .timer-value { font-size: 22px; }
body.kiosk-size-large .timer-value strong { font-size: 46px; }
body.kiosk-size-large .btn-clear { width: 74px; height: 74px; font-size: 17px; }
body.kiosk-size-large .btn-pay { min-height: 92px; padding: 18px 22px; }
body.kiosk-size-large .pay-icon { font-size: 34px; }
body.kiosk-size-large .pay-body { font-size: 25px; }

/* 확대 화면에서는 조절창을 키오스크 바깥 오른쪽 여백에 둔다. */
body.kiosk-size-large .kiosk-size-control {
    right: 8px;
    bottom: 32px;
}

body.kiosk-size-large .modal { width: min(560px, 94vw); }
body.kiosk-size-large .option-modal { transform: translateY(42px); }
body.kiosk-size-large .modal-head { padding: 20px 24px; font-size: 25px; }
body.kiosk-size-large .modal-close { width: 44px; height: 44px; font-size: 25px; }
body.kiosk-size-large .modal-body { padding: 26px; }
body.kiosk-size-large .opt-label,
body.kiosk-size-large .opt-fixed { font-size: 22px; }
body.kiosk-size-large .opt-btn { min-height: 62px; padding: 16px; font-size: 21px; }
body.kiosk-size-large .opt-qty .qty-btn { width: 58px; height: 58px; font-size: 30px; }
body.kiosk-size-large .opt-qty .qty-num { font-size: 27px; }
body.kiosk-size-large .modal-cta { min-height: 66px; font-size: 24px; }
body.kiosk-size-large .pay-method { min-height: 72px; padding: 22px; font-size: 23px; }

/* 심화 확인창은 자유연습과 동일하게 기존 비율을 유지한다. */
body.kiosk-size-large #couponAskModal .modal,
body.kiosk-size-large #pointAskModal .modal,
body.kiosk-size-large #payConfirmModal .modal { width: min(440px, 92vw); }
body.kiosk-size-large #couponAskModal .modal-head,
body.kiosk-size-large #pointAskModal .modal-head,
body.kiosk-size-large #payConfirmModal .modal-head { padding: 16px 20px; font-size: 20px; }
body.kiosk-size-large #couponAskModal .modal-close,
body.kiosk-size-large #pointAskModal .modal-close,
body.kiosk-size-large #payConfirmModal .modal-close { width: auto; height: auto; font-size: 20px; }
body.kiosk-size-large #couponAskModal .modal-body,
body.kiosk-size-large #pointAskModal .modal-body,
body.kiosk-size-large #payConfirmModal .modal-body { padding: 20px; }
body.kiosk-size-large #couponAskModal .opt-btn,
body.kiosk-size-large #pointAskModal .opt-btn,
body.kiosk-size-large #payConfirmModal .opt-btn { min-height: auto; padding: 14px; font-size: 18px; }

@media (max-width: 1200px) {
    body.kiosk-size-large .wrap { grid-template-columns: 220px minmax(0, 820px); gap: 18px; }
}

@media (max-width: 1080px) {
    .kiosk-size-control { right: 12px; bottom: 12px; }
}

@media (max-width: 980px) {
    body.kiosk-size-large .wrap { grid-template-columns: 1fr; height: auto; }
    body.kiosk-size-large .option-modal { transform: translateY(20px); }
}
