/**
 * R2GO Web Core Stylesheet
 * Standardized Mobile Web Layout, Shell, Typography, Bottom Navigation, Intro, Brand & Overlays
 */

:root {
    --r2go-primary: #5f0080;
    --r2go-primary-active: #4c0068;
    --r2go-primary-soft: #f7f2f9;
    --r2go-secondary: #4c0068;
    --r2go-ink: #1b1b1f;
    --r2go-body: #56515b;
    --r2go-canvas: #f8f7fa;
    --r2go-surface-soft: #f7f2f9;
    --r2go-surface-strong: #f1e8f4;
    --r2go-hairline: #e7dfea;
    --r2go-muted: #7c7580;
    --r2go-point: #2f6fed;
    --r2go-point-soft: #eef4ff;
    --r2go-signup-cash: #9a6a17;
    --r2go-signup-cash-soft: #fff8e8;
    --r2go-nav-height: 61px;
    --r2go-safe-top: env(safe-area-inset-top, 0px);
    --r2go-safe-bottom: env(safe-area-inset-bottom, 0px);
    --r2go-nav-gap: 16px;
    --r2go-nav-clearance: calc(var(--r2go-nav-height) + var(--r2go-safe-bottom) + var(--r2go-nav-gap));
    --r2go-intro-top: #ffffff;
    --r2go-intro-mid: #ffffff;
    --r2go-intro-low: #ffffff;
    --r2go-intro-bottom: #ffffff;
    --r2go-intro-gradient: linear-gradient(
        180deg,
        #ffffff 0%,
        #ffffff 100%
    );
    --r2go-home-blue: #5f0080;
    --r2go-nav-inactive: #9ca3af;
    --r2go-more-icon: #9ca3af;
    --r2go-more-border: #e5e7eb;
    --r2go-shell-max: 440px;
    --r2go-brand-logo-width: 113px;
    --r2go-brand-header-height: 48px;
    /* 모든 앱 화면에서 공유하는 상태바 아래 헤더 높이 */
    --r2go-app-header-height: 56px;
    --r2go-brand-header-color: #5f0080;
    --r2go-viewport-height: 100dvh;
    --r2go-ready-image-width: min(100%, 440px);
}

@font-face {
    font-family: 'Pretendard';
    src: url('/fonts/Pretendard-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('/fonts/Pretendard-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('/fonts/Pretendard-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}
/* Bold 파일이 없어 브라우저가 인위적으로 두껍게 합성하던 700·800을 Semibold로 통일한다. */
@font-face {
    font-family: 'Pretendard';
    src: url('/fonts/Pretendard-SemiBold.woff2') format('woff2');
    font-weight: 700 800;
    font-display: swap;
}
@font-face {
    font-family: 'Gmarket Sans';
    src: url('/fonts/GmarketSansMedium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

* { box-sizing: border-box; }

input::-ms-reveal,
input::-ms-clear,
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

input::-webkit-credentials-auto-fill-button,
input::-webkit-strong-password-auto-fill-button,
input::-webkit-caps-lock-indicator {
    visibility: hidden !important;
    display: none !important;
    pointer-events: none !important;
    position: absolute !important;
    right: 0 !important;
}

html, body {
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    font-family: Pretendard, "Gmarket Sans", -apple-system, system-ui, sans-serif;
    color: var(--r2go-body);
    background: linear-gradient(180deg, var(--r2go-canvas) 0%, var(--r2go-surface-soft) 100%);
}

body.r2go-app-page {
    background: var(--r2go-canvas);
}

body.r2go-app-page a,
body.r2go-app-page button,
body.r2go-app-page [role="button"],
body.r2go-app-page label,
body.r2go-app-page summary,
body.r2go-app-page input,
body.r2go-app-page select,
body.r2go-app-page textarea {
    -webkit-tap-highlight-color: transparent;
}

body.r2go-app-page a:focus:not(:focus-visible),
body.r2go-app-page button:focus:not(:focus-visible),
body.r2go-app-page [role="button"]:focus:not(:focus-visible),
body.r2go-app-page summary:focus:not(:focus-visible) {
    outline: none;
}

body.r2go-app-page a:active,
body.r2go-app-page button:active {
    opacity: 1;
}

.shell {
    width: min(100%, var(--r2go-shell-max));
    margin: 0 auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 24px 20px 40px;
}

body.r2go-app-page .shell {
    position: relative;
    padding: 10px 20px 28px;
    background: var(--r2go-canvas);
}

body.r2go-app-page:not(.is-intro) {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    background: #fff;
}

body.r2go-app-page:not(.is-intro) .shell {
    flex: 1 1 auto;
    width: min(100%, var(--r2go-shell-max));
    height: auto;
    max-height: none;
    min-height: 0 !important;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    contain: none;
    padding-bottom: calc(var(--r2go-nav-clearance) + 20px);
    scroll-padding-bottom: calc(var(--r2go-nav-clearance) + 20px);
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: #fff;
    z-index: 0;
}

body.r2go-app-page:not(.is-intro) .shell::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

/* ==========================================================================
   데스크탑 미리보기 전용 폰 프레임 (갤럭시 S25 Ultra 기준 480x1040)
   실제 모바일(600px 미만)에서는 적용되지 않음.
   Marker: r2go-desktop-phone-frame
   ========================================================================== */
.r2go-phone-status-bar,
.r2go-phone-nav-bar {
    display: none;
}

@media (min-width: 600px) {
    /* 인트로도 홈과 동일한 데스크톱 모바일 목업 컨테이너를 사용한다. */
    body.r2go-app-page {
        display: flex;
        flex-direction: column;
        position: relative;
        width: 412px !important;
        height: 840px !important;
        min-height: 840px !important;
        max-height: 840px !important;
        aspect-ratio: 412 / 840;
        margin: 20px auto;
        border: 6px solid #1a1a1a;
        box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
        overflow: hidden !important;
    }

    body.r2go-app-page.is-intro .shell {
        flex: 1 1 auto;
        width: 100%;
        min-height: 0;
        padding: 0;
    }

    body.r2go-app-page .r2go-intro {
        position: absolute;
        inset: 0;
        width: 100%;
        min-height: 0;
    }

    body.r2go-app-page .r2go-intro__stage {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        aspect-ratio: auto;
    }

    body.r2go-app-page.is-intro .r2go-phone-status-bar,
    body.r2go-app-page.is-intro .r2go-phone-nav-bar {
        position: absolute;
        left: 0;
        right: 0;
        z-index: 500;
        display: flex;
        pointer-events: none;
    }

    body.r2go-app-page.is-intro .r2go-phone-status-bar {
        top: 0;
    }

    body.r2go-app-page.is-intro .r2go-phone-nav-bar {
        bottom: 0;
    }

    body.r2go-app-page:not(.is-intro) {
        position: relative;
        width: 412px !important;
        height: 840px !important;
        min-height: 840px !important;
        max-height: 840px !important;
        aspect-ratio: 412 / 840;
        margin: 20px auto;
        border: 6px solid #1a1a1a;
        box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
        overflow: hidden !important;
    }

    body.r2go-app-page .r2go-phone-status-bar {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 24px;
        z-index: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
        background: #5f0080;
        color: #ffffff;
        font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Pretendard, sans-serif;
        font-size: 12px;
        font-weight: 600;
        font-variant-numeric: tabular-nums;
        letter-spacing: -0.2px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        pointer-events: none;
    }

    /* 모든 앱 화면은 하나의 공통 헤더 높이 토큰을 사용한다. */
    body.r2go-app-page:not(.is-intro) .r2go-app-brand,
    body.r2go-app-page:not(.is-intro) .r2go-asub__brand {
        /* 고정 상태바(24px) 아래에서 앱 헤더 56px이 시작된다. */
        margin-top: 24px;
        margin-left: -20px;
        margin-right: -20px;
        padding-top: 0;
        padding-bottom: 0;
        height: 56px;
        min-height: 56px;
    }

    body.r2go-app-page:not(.is-intro) .r2go-app-brand__link,
    body.r2go-app-page:not(.is-intro) .r2go-app-brand__trail {
        transform: none;
    }

    .r2go-phone-status-time {
        font-weight: 700;
        font-size: 12px;
        letter-spacing: -0.2px;
    }

    .r2go-phone-status-punchhole {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: #000000;
        box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.2);
    }

    .r2go-phone-status-icons {
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

    .r2go-phone-network {
        font-size: 10px;
        font-weight: 800;
        letter-spacing: -0.2px;
        margin-right: 1px;
    }

    .r2go-phone-icon {
        display: inline-block;
        vertical-align: middle;
    }

    body.r2go-app-page .r2go-phone-nav-bar {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 26px;
        z-index: 600;
        display: flex;
        align-items: center;
        justify-content: space-around;
        background: #000;
        color: #fff;
        font-size: 14px;
        pointer-events: none;
    }

    body.r2go-app-page:not(.is-intro) .shell {
        padding-top: 0 !important;
    }

    body.r2go-app-page:not(.is-intro) .r2go-bottom-nav-dock {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        bottom: 26px !important;
        padding-bottom: 0 !important;
        z-index: 200;
    }

    /* 로그인·로그아웃 모달을 모바일 앱 셸 안쪽의 동일한 폭으로 제한 */
    body.r2go-app-page:not(.is-intro) .r2go-login-modal {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        padding: 16px !important;
    }

    body.r2go-app-page:not(.is-intro) .r2go-login-modal__panel {
        width: calc(100% - 32px) !important;
        max-width: 300px !important;
    }

    body.r2go-app-page:not(.is-intro) .r2go-my-logout-dialog {
        box-sizing: border-box !important;
        width: calc(100% - 32px) !important;
        max-width: 300px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    body.r2go-app-page:not(.is-intro) .r2go-my-logout-dialog__panel {
        width: 100% !important;
        margin: auto !important;
    }

    /* 데스크탑 뷰에서 간편결제 모달을 모바일 폰 프레임(375px) 내부에 완벽 격리 */
    body.r2go-app-page:not(.is-intro) .r2go-pay-modal {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        z-index: 700 !important;
        overflow: hidden !important;
    }

    body.r2go-app-page:not(.is-intro) .r2go-pay-modal__backdrop {
        position: absolute !important;
        inset: 0 !important;
    }

    body.r2go-app-page:not(.is-intro) .r2go-pay-modal__sheet {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: calc(100% - 24px) !important;
        max-height: calc(100% - 24px) !important;
        border-radius: 20px 20px 0 0 !important;
        margin: 0 !important;
    }

    /* 데스크탑 뷰에서 배송지/주소입력 바텀시트 모달을 모바일 폰 프레임(375px) 내부에 완벽 격리 */
    body.r2go-app-page:not(.is-intro) .r2go-asub-modal {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        z-index: 700 !important;
        overflow: hidden !important;
        padding: 0 !important;
        display: flex;
        align-items: flex-end !important;
        justify-content: center !important;
    }
    body.r2go-app-page:not(.is-intro) .r2go-asub-modal[hidden] {
        display: none !important;
    }
    body.r2go-app-page:not(.is-intro) .r2go-asub-modal__dim {
        position: absolute !important;
        inset: 0 !important;
    }
    body.r2go-app-page:not(.is-intro) .r2go-asub-modal--sheet .r2go-asub-modal__panel {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: calc(100% - 48px) !important;
        border-radius: 20px 20px 0 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
}


body.r2go-app-page:not(.is-intro) .r2go-bottom-nav-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    background: #fff;
    background-color: #fff;
    transform: none;
    box-shadow: 0 -12px 0 #fff;
}

/* Home content must meet the fixed bottom navigation without its white shadow
   masking the auction card's CTA. Keep the navigation fixed and unchanged. */
body.r2go-home-page:not(.is-intro) .r2go-bottom-nav-dock {
    box-shadow: none;
}

body.r2go-home-page:not(.is-intro):not(.r2go-ready-fullbleed) .shell.r2go-home-shell {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    /* 모바일 브라우저 주소창/하단 내비게이션 독 뒤로 경매/빙고 버튼이 가려지지 않도록 넉넉한 스크롤 안전 여백 보장 */
    padding-bottom: calc(var(--r2go-nav-height) + var(--r2go-safe-bottom) + 56px) !important;
    scroll-padding-bottom: calc(var(--r2go-nav-height) + var(--r2go-safe-bottom) + 56px) !important;
}

body.r2go-home-page:not(.is-intro) .r2go-home,
body.r2go-home-page:not(.is-intro) .r2go-home-dash {
    flex: 0 0 auto;
    min-height: min-content;
}

.r2go-invite-toast {
    position: fixed;
    z-index: 10050;
    left: 50%;
    bottom: calc(var(--r2go-nav-height, 68px) + var(--r2go-safe-bottom, 0px) + 18px);
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100vw - 32px);
    padding: 12px 16px;
    border: 1px solid #e4d2f5;
    border-radius: 12px;
    background: #ffffff;
    color: #4b176c;
    box-shadow: 0 8px 24px rgba(45, 16, 70, 0.2);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    white-space: pre-line;
    text-align: left;
    opacity: 1;
    transition: opacity .18s ease, transform .18s ease;
}

.r2go-invite-toast.is-leaving {
    transform: translate(-50%, 8px);
    opacity: 0;
}

.r2go-invite-toast.is-anchored {
    bottom: auto;
}

.r2go-postcode-sheet {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10060 !important;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    visibility: hidden;
    pointer-events: none;
}

.r2go-postcode-sheet.is-open {
    visibility: visible;
    pointer-events: auto;
}

.r2go-postcode-sheet__dim {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 10, 24, .5);
    opacity: 0;
    transition: opacity .18s ease;
}

.r2go-postcode-sheet.is-open .r2go-postcode-sheet__dim {
    opacity: 1;
}

.r2go-postcode-sheet__panel {
    position: relative;
    width: min(100%, 540px);
    height: min(78vh, 620px);
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: #fff;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, .25);
    transform: translateY(100%);
    transition: transform .22s ease;
    display: flex;
    flex-direction: column;
}

.r2go-postcode-sheet.is-open .r2go-postcode-sheet__panel {
    transform: translateY(0);
}

.r2go-postcode-sheet__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    min-height: 50px;
    padding: 0 16px 0 20px;
    border-bottom: 1px solid #eee;
    color: #32104b;
    font-size: 16px;
    font-weight: 700;
}

.r2go-postcode-sheet__close {
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #555;
    font-size: 26px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.r2go-postcode-sheet__body {
    flex: 1;
    height: calc(100% - 50px);
    position: relative;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.r2go-postcode-sheet__body > div {
    width: 100% !important;
    height: 100% !important;
}

/* 모바일 실제 viewport를 기준으로 한 공통 오버레이 계약 */
@media (max-width: 599px) {
    .r2go-postcode-sheet,
    .r2go-pay-modal {
        width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
    }

    .r2go-pay-modal__sheet {
        height: min(92dvh, 760px);
        max-height: calc(100dvh - var(--r2go-safe-top) - 8px);
        padding-bottom: var(--r2go-safe-bottom);
    }

    .r2go-postcode-sheet__panel {
        width: 100%;
        height: min(80dvh, 640px);
        max-height: calc(100dvh - var(--r2go-safe-top) - 8px);
        padding-bottom: var(--r2go-safe-bottom);
    }
}

/* 데스크톱 브라우저의 모바일 목업에서도 실제 모바일과 같은 기준점을 사용 */
@media (min-width: 600px) {
    body.r2go-app-page:not(.is-intro) .r2go-auction-modal,
    body.r2go-app-page:not(.is-intro) .r2go-auction-win-modal,
    body.r2go-app-page:not(.is-intro) .r2go-statement-picker,
    body.r2go-app-page > .r2go-postcode-sheet {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
    }

    body.r2go-app-page > .r2go-postcode-sheet .r2go-postcode-sheet__panel {
        width: 100% !important;
        max-width: 100% !important;
        height: 70% !important;
        max-height: 540px !important;
    }

    body.r2go-app-page > .r2go-postcode-sheet .r2go-postcode-sheet__body > div {
        width: 118% !important;
        height: 118% !important;
        transform: scale(0.85);
        transform-origin: top left;
    }

    body.r2go-app-page:not(.is-intro) .r2go-auction-celebration-canvas {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }

    body.r2go-app-page:not(.is-intro) .r2go-statement-picker {
        padding: 0 !important;
    }
}

body.r2go-home-page:not(.is-intro) {
    /* 홈 5탭 고정 내비게이션 높이 */
    --r2go-nav-height: 68px;
    --r2go-nav-gap: 0px;
}

body.r2go-home-page:not(.is-intro) .r2go-app-brand + .r2go-home {
    margin-top: 0 !important;
}

html.is-intro,
body.r2go-home-page.is-intro {
    background: var(--r2go-intro-gradient);
    overflow: hidden;
}

body.r2go-home-page.is-intro .r2go-home-shell {
    pointer-events: none !important;
}

body.r2go-home-page.is-intro .r2go-bottom-nav-dock,
body.r2go-home-page.is-intro .r2go-more-panel {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

html.r2go-skip-intro,
html.r2go-skip-intro body.r2go-home-page {
    background: var(--r2go-canvas);
    overflow: auto;
}

html.r2go-skip-intro body.r2go-home-page.is-intro .r2go-bottom-nav-dock,
html.r2go-skip-intro body.r2go-home-page.is-intro .r2go-more-panel {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

html.r2go-skip-intro .r2go-intro {
    display: none !important;
}

.brand {
    font-family: "Gmarket Sans", Pretendard, sans-serif;
    font-weight: 500;
    font-size: 28px;
    color: var(--r2go-primary);
    letter-spacing: -0.5px;
}

.headline {
    margin: 28px 0 12px;
    font-family: "Gmarket Sans", Pretendard, sans-serif;
    font-size: 24px;
    line-height: 1.25;
    color: var(--r2go-ink);
}

.copy { margin: 0; line-height: 1.6; }

.pill {
    display: inline-block;
    margin-top: 28px;
    padding: 12px 20px;
    border-radius: 100px;
    background: var(--r2go-primary);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.meta {
    margin-top: 32px;
    font-size: 13px;
    color: #7c828a;
}

/* ==========================================================================
   Intro Screen Styles
   ========================================================================== */
.r2go-intro {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding: 0;
    background: var(--r2go-intro-gradient);
    color: #fff;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.r2go-intro[hidden] {
    display: none !important;
    pointer-events: none !important;
}

.r2go-intro__stage {
    position: relative;
    width: 100vw;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    aspect-ratio: auto;
    overflow: hidden;
    background: var(--r2go-intro-top);
    container-type: inline-size;
    container-name: r2go-intro;
}

@media (min-width: 768px) {
    .r2go-intro__stage {
        width: min(100vw, calc(100dvh * 440 / 956));
        max-width: 440px;
        height: auto;
        max-height: 100dvh;
        aspect-ratio: 440 / 956;
    }
}

.r2go-intro__stage-fill {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--r2go-intro-gradient);
    pointer-events: none;
}

.r2go-intro__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.r2go-intro__capsule {
    position: absolute;
    left: calc(80 / 440 * 100%);
    top: calc(252 / 956 * 100%);
    width: calc(280 / 440 * 100%);
    height: calc(36 / 956 * 100%);
    border: 1px solid #fff;
    border-radius: 50px;
    background: transparent;
    box-sizing: border-box;
    pointer-events: none;
}

.r2go-intro__slogan {
    position: absolute;
    left: 50%;
    top: calc(258 / 956 * 100%);
    width: calc(280 / 440 * 100%);
    margin: 0;
    padding: 0;
    transform: translateX(-50%);
    font-family: Pretendard, sans-serif;
    font-size: calc(17 * 100cqw / 440);
    font-weight: 400;
    line-height: calc(23 * 100cqw / 440);
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
    color: #fff;
    opacity: 1;
    animation: none;
}

.r2go-intro__logo {
    position: absolute;
    left: calc(80 / 440 * 100%);
    top: calc(313 / 956 * 100%);
    width: calc(280 / 440 * 100%);
    height: calc(111 / 956 * 100%);
    object-fit: contain;
    object-position: center;
    opacity: 1;
    transform: none;
    animation: none;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.r2go-intro__objects {
    position: absolute;
    left: calc(153 / 440 * 100%);
    top: calc(522 / 956 * 100%);
    width: calc(135 / 440 * 100%);
    height: calc(160 / 956 * 100%);
    overflow: hidden;
    opacity: 1;
    transform: none;
    animation: none;
    pointer-events: none;
}

.r2go-intro__bag-icon {
    position: absolute;
    left: 0;
    top: 22.48%;
    width: 100%;
    height: calc(100% - 22.48%);
    object-fit: contain;
    object-position: center top;
}

.r2go-intro__bag-handles {
    position: absolute;
    left: 25.06%;
    top: 0;
    width: calc(100% - 50.12%);
    height: calc(100% - 74.09%);
    object-fit: contain;
    object-position: center;
}

.r2go-intro__copy {
    position: absolute;
    left: 50%;
    top: calc(602 / 956 * 100%);
    width: calc(213 / 440 * 100%);
    margin: 0;
    padding: 0;
    transform: translateX(-50%);
    font-family: Pretendard, sans-serif;
    font-size: calc(20 * 100cqw / 440);
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0;
    text-align: center;
    color: #fff;
    z-index: 1;
    opacity: 1;
    animation: none;
}

.r2go-intro__corners {
    display: none;
}

.r2go-intro__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    background: var(--r2go-intro-top);
    border: 0;
}

.r2go-intro--managed video.r2go-intro__slide {
    z-index: 1;
    opacity: 0;
}

.r2go-intro--managed video.r2go-intro__slide.is-frame-ready {
    opacity: 1;
    transition: opacity 120ms ease;
}

.r2go-intro__youtube {
    pointer-events: none;
}

.r2go-home__youtube {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #fff;
}

.r2go-home__youtube iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    .r2go-intro--managed .r2go-intro__slide {
        transition: none;
    }
    .r2go-intro--outro-fade {
        transition: none !important;
    }
}

.r2go-intro--outro {
    background: #ffffff;
    pointer-events: none;
}

.r2go-intro--outro-fade {
    opacity: 0;
    transform: none;
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
   Brand Header & Home Components
   ========================================================================== */
.r2go-app-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;
    min-height: var(--r2go-brand-header-height);
    margin: -10px -20px 0;
    padding: calc(var(--r2go-safe-top) + 12px) 16px 12px;
    background-color: var(--r2go-brand-header-color);
    color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
    z-index: 10;
}

.r2go-app-brand__link {
    display: inline-flex;
    align-items: center;
    align-self: center;
    flex-shrink: 0;
    line-height: 0;
    text-decoration: none;
}

.r2go-app-brand__logo {
    display: block;
    width: auto;
    height: 18px;
    max-width: 82px;
    object-fit: contain;
}

.r2go-app-brand__trail {
    display: flex;
    align-items: center;
    align-self: center;
    justify-content: flex-end;
    gap: 12px;
    min-width: 0;
    height: auto;
}

body.r2go-ready-fullbleed .r2go-app-brand {
    display: none;
}

.r2go-app-brand + .r2go-home,
.r2go-app-brand + .r2go-page--ready-framed {
    margin-top: 0;
}

.r2go-home-header__qr,
.r2go-home-header__bell {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
}

.r2go-home-header__qr {
    width: 64px;
    height: 32px;
    color: #ffffff;
}

.r2go-home-header__qr-label,
.r2go-home-header__qr-frame,
.r2go-home-header__qr-scan {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.r2go-home-header__qr-label {
    width: 64px;
    height: 30px;
    fill: #ffffff;
    color: #ffffff;
    animation: r2go-qr-text-cycle 4.2s ease-in-out infinite;
}

.r2go-home-header__qr-frame {
    width: 64px;
    height: 30px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.r2go-home-header__qr-scan {
    width: 64px;
    height: 30px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
    animation: r2go-qr-scan-cycle 4.2s ease-in-out infinite;
}

.r2go-home-header__qr-bar {
    fill: #ffffff;
    opacity: 0;
}

.r2go-home-header__qr-bar--1,
.r2go-home-header__qr-bar--7 { animation: r2go-qr-bars-edge 4.2s ease-out infinite; }

.r2go-home-header__qr-bar--2,
.r2go-home-header__qr-bar--6 { animation: r2go-qr-bars-inner-1 4.2s ease-out infinite; }

.r2go-home-header__qr-bar--3,
.r2go-home-header__qr-bar--5 { animation: r2go-qr-bars-inner-2 4.2s ease-out infinite; }

.r2go-home-header__qr-bar--4 { animation: r2go-qr-bars-center 4.2s ease-out infinite; }

@keyframes r2go-qr-bars-edge {
    0%, 46% { opacity: 0; }
    50%, 94% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes r2go-qr-bars-inner-1 {
    0%, 50% { opacity: 0; }
    54%, 94% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes r2go-qr-bars-inner-2 {
    0%, 54% { opacity: 0; }
    58%, 94% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes r2go-qr-bars-center {
    0%, 58% { opacity: 0; }
    62%, 94% { opacity: 1; }
    100% { opacity: 0; }
}

.r2go-home-header__qr-scanline {
    stroke: #ff7e67;
    stroke-width: 2;
    animation: r2go-qr-scanline 4.2s ease-in-out infinite;
}

@keyframes r2go-qr-text-cycle {
    0%, 42% { opacity: 1; }
    48%, 94% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes r2go-qr-scan-cycle {
    0%, 42% { opacity: 0; }
    48%, 94% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes r2go-qr-scanline {
    0%, 62% { opacity: 0; transform: translateY(-8px); }
    63% { opacity: 1; transform: translateY(-8px); }
    76% { opacity: 1; transform: translateY(8px); }
    88% { opacity: 1; transform: translateY(-8px); }
    94% { opacity: 0; transform: translateY(-8px); }
    100% { opacity: 0; transform: translateY(-8px); }
}

.r2go-home-header__bell-icon {
    display: block;
    width: 24px;
    height: 24px;
    color: #ffffff;
    stroke: #ffffff;
}

.r2go-home-header__bell-dot {
    position: absolute;
    top: 1px;
    right: 1px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff3b30;
    border: 1.5px solid #5f0080;
}

.r2go-home-dash {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    padding: 0;
    gap: 0;
}

body.r2go-home-page:not(.is-intro) .r2go-home {
    gap: 0;
}

.r2go-home-dash__rail-wrap {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 0;
    margin: 11px -20px;
    width: calc(100% + 40px);
}

.r2go-home-dash__rail-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 100%);
    pointer-events: none;
    z-index: 2;
}

.r2go-home-dash__rail {
    display: flex;
    width: 100%;
    gap: 11px;
    padding: 0 11px 0 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
}

.r2go-home-dash__rail::-webkit-scrollbar {
    display: none;
}

.r2go-home-dash__rail {
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.r2go-home-dash__rail.is-dragging {
    cursor: grabbing;
}

.r2go-home-dash__chip {
    flex: 0 0 94px;
    width: 94px;
    min-width: 94px;
    height: 76px;
    min-height: 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border-radius: 8px;
    padding: 5px 4px 6px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
    text-align: center;
}

.r2go-home-dash__chip:active {
    transform: scale(0.96);
}

.r2go-home-dash__chip-icon-img,
.r2go-home-dash__chip-3d-img {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.12));
}

.r2go-home-dash__chip-text {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
}

.r2go-home-dash__chip-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: -0.3px;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    text-align: center;
    opacity: 0.88;
}

.r2go-home-dash__chip-value {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.4px;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    text-align: center;
}

.r2go-home-dash__chip-value small {
    font-size: 9.5px;
    font-weight: 700;
    margin-left: 1px;
}

.r2go-home-dash__chip-text--single {
    height: 24px;
    justify-content: center;
}

.r2go-home-dash__chip-title {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: -0.35px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    text-align: center;
}

.r2go-home-dash__chip-title.is-stars {
    font-size: 12.5px;
    color: #eab308;
    letter-spacing: 0.5px;
}

/* 11종 레일 칩: 꽉 채워진 프리미엄 틴트 면 (Filled Surfaces) */

/* 1. 전환적립금(S) */
.r2go-home-dash__chip--reserve {
    background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%);
    border: 1px solid #cbd5e1;
    box-shadow: 0 2px 5px rgba(100, 116, 139, 0.1);
}
.r2go-home-dash__chip--reserve .r2go-home-dash__chip-label {
    color: #475569;
}
.r2go-home-dash__chip--reserve .r2go-home-dash__chip-value {
    color: #1e293b;
}

/* 2. 현금(C) */
.r2go-home-dash__chip--cash {
    background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    box-shadow: 0 2px 5px rgba(59, 130, 246, 0.1);
}
.r2go-home-dash__chip--cash .r2go-home-dash__chip-label {
    color: #2563eb;
}
.r2go-home-dash__chip--cash .r2go-home-dash__chip-value {
    color: #1d4ed8;
}

/* 3. 포인트(P) */
.r2go-home-dash__chip--point {
    background: linear-gradient(145deg, #faf5ff 0%, #f3e8ff 100%);
    border: 1px solid #e9d5ff;
    box-shadow: 0 2px 5px rgba(147, 51, 234, 0.1);
}
.r2go-home-dash__chip--point .r2go-home-dash__chip-label {
    color: #7c3aed;
}
.r2go-home-dash__chip--point .r2go-home-dash__chip-value {
    color: #6d28d9;
}

/* 4. 월간 명세서 */
.r2go-home-dash__chip--statement {
    background: linear-gradient(145deg, #fdf4ff 0%, #fae8ff 100%);
    border: 1px solid #ddd6fe;
    box-shadow: 0 2px 5px rgba(147, 51, 234, 0.1);
}
.r2go-home-dash__chip--statement .r2go-home-dash__chip-label {
    color: #7c3aed;
}
.r2go-home-dash__chip--statement .r2go-home-dash__chip-value {
    color: #6d28d9;
}

/* 5. 직급 / 정회원 */
.r2go-home-dash__chip--membership {
    background: linear-gradient(145deg, #fffdf5 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
    box-shadow: 0 2px 5px rgba(217, 119, 6, 0.1);
}
.r2go-home-dash__chip--membership .r2go-home-dash__chip-label {
    color: #b45309;
}
.r2go-home-dash__chip--membership .r2go-home-dash__chip-value {
    color: #92400e;
}
.r2go-home-dash__chip--membership .r2go-home-dash__chip-value.is-stars {
    color: #b45309;
    letter-spacing: 1px;
}

/* 6. 회원가입 */
.r2go-home-dash__chip--member {
    background: linear-gradient(145deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    box-shadow: 0 2px 5px rgba(22, 163, 74, 0.1);
}
.r2go-home-dash__chip--member .r2go-home-dash__chip-label {
    color: #15803d;
}
.r2go-home-dash__chip--member .r2go-home-dash__chip-value {
    color: #166534;
}

/* 7. 초대링크 */
.r2go-home-dash__chip--invite {
    background: linear-gradient(145deg, #fff1f2 0%, #ffe4e6 100%);
    border: 1px solid #fecdd3;
    box-shadow: 0 2px 5px rgba(225, 29, 72, 0.1);
}
.r2go-home-dash__chip--invite .r2go-home-dash__chip-label {
    color: #be123c;
}
.r2go-home-dash__chip--invite .r2go-home-dash__chip-value {
    color: #9f1239;
}

/* 8. 추천인 현황 */
.r2go-home-dash__chip--referral {
    background: linear-gradient(145deg, #ecfeff 0%, #cffafe 100%);
    border: 1px solid #a5f3fc;
    box-shadow: 0 2px 5px rgba(8, 145, 178, 0.1);
}
.r2go-home-dash__chip--referral .r2go-home-dash__chip-label {
    color: #0e7490;
}
.r2go-home-dash__chip--referral .r2go-home-dash__chip-value {
    color: #155e75;
}

/* 9. 계보도 */
.r2go-home-dash__chip--tree {
    background: linear-gradient(145deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid #c7d2fe;
    box-shadow: 0 2px 5px rgba(79, 70, 229, 0.1);
}
.r2go-home-dash__chip--tree .r2go-home-dash__chip-label {
    color: #4338ca;
}
.r2go-home-dash__chip--tree .r2go-home-dash__chip-value {
    color: #3730a3;
}

/* 10. 고객센터 */
.r2go-home-dash__chip--cs {
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 5px rgba(71, 85, 105, 0.1);
}
.r2go-home-dash__chip--cs .r2go-home-dash__chip-label {
    color: #475569;
}
.r2go-home-dash__chip--cs .r2go-home-dash__chip-value {
    color: #334155;
}

/* 11. 앱 설치 (PWA) */
.r2go-home-dash__chip--pwa {
    background: linear-gradient(145deg, #f5f3ff 0%, #ede9fe 100%);
    border: 1px solid #ddd6fe;
    box-shadow: 0 2px 5px rgba(124, 58, 237, 0.1);
    cursor: pointer;
}
.r2go-home-dash__chip--pwa .r2go-home-dash__chip-label {
    color: #6d28d9;
}
.r2go-home-dash__chip--pwa .r2go-home-dash__chip-value {
    color: #5b21b6;
}

.r2go-home-dash__section-title {
    display: none;
}

.r2go-home-dash__cards {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0 -20px;
    width: calc(100% + 40px);
    flex: 0 0 auto;
}

.r2go-home-dash__cards--grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    flex: 0 0 auto;
    width: calc(100% + 40px);
    margin: 0 -20px;
    margin-bottom: 24px;
    align-items: stretch;
    box-sizing: border-box;
}

.r2go-home-dash__card--grid {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    border-radius: 10px;
    box-sizing: border-box;
    text-decoration: none;
}

.r2go-home-dash__card--auction-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1985 / 3590;
    padding: 0;
    overflow: hidden;
    border-radius: 0 5px 0 0;
    border: none;
    background: #ffffff;
    box-shadow: none;
    box-sizing: border-box;
}

.r2go-home-dash__card--auction-image .r2go-home-dash__card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.r2go-home-dash__card--bingo-image {
    border-radius: 5px 0 0 0;
}

.r2go-home-dash__card--bingo-image .r2go-home-dash__card-image {
    object-position: center bottom;
}

.r2go-home-dash__card--bingo {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 14px 12px;
    height: 100%;
    background: #ffffff;
    border: none;
    border-radius: 5px 0 0 0;
    box-shadow: none;
    box-sizing: border-box;
}

.r2go-home-dash__card--bingo .r2go-home-dash__card-icon {
    width: 34px;
    height: 34px;
    padding: 7px;
    border-radius: 8px;
    background: #f3e8ff;
    color: #6b21a8;
    box-sizing: border-box;
    flex-shrink: 0;
}

.r2go-home-dash__card--bingo .r2go-home-dash__card-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    margin-top: 8px;
    margin-bottom: auto;
}

.r2go-home-dash__card--bingo .r2go-home-dash__card-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.r2go-home-dash__card--bingo .r2go-home-dash__card-sub {
    font-size: 12px;
    color: #888888;
    letter-spacing: -0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.r2go-home-dash__card--bingo .r2go-home-dash__card-cta {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    background: #5f0080;
    color: #ffffff;
    flex-shrink: 0;
}

.r2go-home {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1 1 auto;
    min-height: 0;
}

.r2go-home__header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: var(--r2go-brand-header-min-height);
    padding-top: var(--r2go-brand-header-pad-top);
}

.r2go-home__logo {
    display: block;
    width: var(--r2go-brand-logo-width);
    height: auto;
    aspect-ratio: 113 / 40;
    object-fit: contain;
}

.r2go-home__main {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin: 0 -20px;
}

.r2go-home__carousel {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.r2go-home__media {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: auto;
    max-height: none;
    overflow: hidden;
    background: #efe9de;
    color: #111827;
    touch-action: none;
    user-select: none;
}

.r2go-home__media-frame {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.r2go-home__media-frame--empty {
    background: #f5f0e8;
}

.r2go-home__slide-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f0e8;
    color: #8e8b82;
    font-size: 13px;
}

.r2go-home__carousel-track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.r2go-home__slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #fff;
}

.r2go-home__video,
.r2go-home__slide-img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #fff;
    z-index: 0;
    pointer-events: none;
}

.r2go-home__carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transform: translateX(-50%);
    pointer-events: auto;
}

.r2go-home__carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
    transition: width 200ms ease, background 200ms ease;
}

.r2go-home__carousel-dot.is-active {
    width: 16px;
    background: #fff;
}

.r2go-home__sound {
    position: absolute;
    right: 16px;
    bottom: max(22px, env(safe-area-inset-bottom));
    z-index: 8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.72);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    pointer-events: auto;
    transform: translateZ(0);
    max-width: calc(100% - 32px);
    white-space: nowrap;
}

.r2go-home__sound.is-hidden {
    display: none;
}

.r2go-home__sound[aria-pressed="true"] {
    background: rgba(95, 0, 128, 0.92);
}

.r2go-home__sound-label {
    pointer-events: none;
}

/* ==========================================================================
   Ready State Screens
   ========================================================================== */
.r2go-page--ready {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.r2go-ready__header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.r2go-ready__home-link {
    align-self: flex-start;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--r2go-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.r2go-ready__title {
    margin: 0;
    font-family: "Gmarket Sans", Pretendard, sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: var(--r2go-ink);
}

.r2go-ready__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.r2go-ready__image {
    display: block;
    width: min(100%, 360px);
    height: auto;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

.r2go-ready__message {
    margin: 0;
    font-size: 16px;
    color: var(--r2go-ink);
    font-weight: 600;
}

.r2go-page--ready-framed {
    gap: 12px;
    min-height: calc(100dvh - var(--r2go-nav-height) - var(--r2go-safe-bottom) - 28px);
}

.r2go-ready__brand-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: var(--r2go-brand-header-min-height);
    padding-top: var(--r2go-brand-header-pad-top);
    flex-shrink: 0;
}

.r2go-page--ready-framed .r2go-ready__brand {
    position: static;
    display: inline-flex;
    align-items: center;
    line-height: 0;
    pointer-events: auto;
}

.r2go-page--ready-framed .r2go-ready__brand-logo {
    display: block;
    width: var(--r2go-brand-logo-width);
    height: auto;
    aspect-ratio: 113 / 40;
    object-fit: contain;
}

.r2go-page--ready-framed .r2go-ready__body {
    flex: 1 1 auto;
    min-height: 0;
    align-items: stretch;
    gap: 0;
}

.r2go-page--ready-framed .r2go-ready__image {
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 15px;
}

body.r2go-ready-fullbleed {
    --r2go-ready-bg: #0a2463;
    --r2go-ready-system-bottom: var(--r2go-safe-bottom);
    background: var(--r2go-ready-bg);
}

@media (display-mode: standalone), (display-mode: fullscreen) {
    body.r2go-ready-fullbleed {
        --r2go-ready-system-bottom: max(var(--r2go-safe-bottom), 52px);
    }
}

body.r2go-ready-tone-game {
    --r2go-ready-bg: #0a2463;
}

body.r2go-app-page.r2go-ready-fullbleed:not(.is-intro),
body.r2go-app-page.r2go-ready-fullbleed:not(.is-intro) .shell {
    background: var(--r2go-ready-bg);
    background-color: var(--r2go-ready-bg);
}

.r2go-page--ready-fullbleed {
    position: absolute;
    inset: 0 0 var(--r2go-ready-system-bottom);
    gap: 0;
    z-index: 1;
    pointer-events: none;
}

.r2go-page--ready-fullbleed .r2go-ready__body {
    position: absolute;
    inset: 0;
    gap: 0;
    align-items: stretch;
}

.r2go-page--ready-fullbleed .r2go-ready__image {
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    pointer-events: none;
}

body.r2go-ready-nav-ghost .r2go-page--ready-fullbleed .r2go-ready__image {
    object-fit: contain;
    object-position: center center;
}

.r2go-page--ready-fullbleed .r2go-ready__brand-header {
    position: absolute;
    top: calc(10px + var(--r2go-safe-top));
    left: 20px;
    z-index: 5;
    pointer-events: auto;
}

.r2go-page--ready-fullbleed .r2go-ready__brand {
    pointer-events: auto;
    line-height: 0;
}

.r2go-page--ready-fullbleed .r2go-ready__brand-logo {
    display: block;
    width: var(--r2go-brand-logo-width);
    height: auto;
    aspect-ratio: 113 / 40;
    object-fit: contain;
}

body.r2go-ready-fullbleed .r2go-bottom-nav-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--r2go-ready-system-bottom);
    z-index: 200;
    pointer-events: auto;
    background: transparent;
}

body.r2go-ready-fullbleed .r2go-bottom-nav__item {
    pointer-events: auto;
    cursor: pointer;
}

body.r2go-app-page.r2go-ready-nav-ghost:not(.is-intro) .r2go-bottom-nav-dock {
    background: transparent;
    background-color: transparent;
    box-shadow: none;
    transform: none;
}

body.r2go-ready-nav-ghost .r2go-bottom-nav {
    width: min(100%, var(--r2go-ready-image-width));
    height: calc(88px + var(--r2go-safe-bottom));
    padding-right: 10px;
    padding-left: 10px;
    column-gap: 8px;
    background: transparent;
    background-color: transparent;
    border-top: 0;
}

body.r2go-ready-nav-ghost .r2go-bottom-nav__item {
    height: 88px;
    min-height: 88px;
    max-height: 88px;
}

body.r2go-ready-nav-ghost .r2go-bottom-nav__icon,
body.r2go-ready-nav-ghost .r2go-bottom-nav__label {
    opacity: 0;
    visibility: hidden;
}

body.r2go-ready-fullbleed .r2go-more-panel {
    z-index: 55;
    pointer-events: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Bottom Navigation Bar
   ========================================================================== */
.r2go-bottom-nav-dock {
    width: 100%;
    background: #fff;
    background-color: #fff;
    padding-bottom: var(--r2go-safe-bottom);
}

.r2go-bottom-nav {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: min(100%, var(--r2go-shell-max));
    margin: 0 auto;
    height: var(--r2go-nav-height);
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: stretch;
    column-gap: 17px;
    background: #fff;
    background-color: #fff;
    border-top: 0;
    z-index: 1;
}

.r2go-bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    box-sizing: border-box;
    height: var(--r2go-nav-height);
    min-height: var(--r2go-nav-height);
    max-height: var(--r2go-nav-height);
    width: 100%;
    max-width: 66px;
    margin: 0 auto;
    padding: 0 0 4px;
    border: 0;
    background: transparent;
    color: var(--r2go-nav-inactive);
    text-decoration: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 16px;
    cursor: pointer;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    touch-action: manipulation;
    appearance: none;
    transition: none !important;
    animation: none !important;
    transform: none !important;
}

.r2go-bottom-nav__item:link,
.r2go-bottom-nav__item:visited,
.r2go-bottom-nav__item:hover,
.r2go-bottom-nav__item:focus,
.r2go-bottom-nav__item:focus-visible,
.r2go-bottom-nav__item:active {
    color: var(--r2go-nav-inactive);
    outline: none;
    box-shadow: none;
    opacity: 1 !important;
    transition: none !important;
    animation: none !important;
    transform: none !important;
}

.r2go-bottom-nav__item.is-active,
.r2go-bottom-nav__item.is-active:link,
.r2go-bottom-nav__item.is-active:visited,
.r2go-bottom-nav__item.is-active:hover,
.r2go-bottom-nav__item.is-active:focus,
.r2go-bottom-nav__item.is-active:focus-visible,
.r2go-bottom-nav__item.is-active:active {
    color: var(--r2go-home-blue);
    font-size: 15px;
    font-weight: 500;
    line-height: 16px;
    opacity: 1 !important;
    transition: none !important;
    animation: none !important;
    transform: none !important;
}

.r2go-bottom-nav__icon {
    position: relative;
    display: block;
    flex: 0 0 auto;
    flex-shrink: 0;
    width: 39px;
    height: 39px;
    overflow: visible;
    transition: none !important;
    animation: none !important;
    transform: none !important;
}

.r2go-bottom-nav__icon--market {
    width: 32px;
    height: 39px;
}

.r2go-bottom-nav__icon--franchise {
    width: 40px;
    height: 36px;
}

.r2go-bottom-nav__icon--auction {
    width: 41px;
    height: 39px;
}

.r2go-bottom-nav__icon--more {
    width: 32px;
    height: 8px;
    margin-bottom: 10px;
}

.r2go-bottom-nav__icon-img {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    transition: none !important;
    animation: none !important;
    transform: none !important;
    filter: none !important;
}

.r2go-bottom-nav__icon-img--inactive {
    opacity: 1;
}

.r2go-bottom-nav__icon-img--active {
    opacity: 0;
}

.r2go-bottom-nav__item.is-active .r2go-bottom-nav__icon-img--inactive {
    opacity: 0;
}

.r2go-bottom-nav__item.is-active .r2go-bottom-nav__icon-img--active {
    opacity: 1;
}

.r2go-bottom-nav__label {
    display: block;
    flex: 0 0 auto;
    flex-shrink: 0;
    width: 100%;
    height: 16px;
    font-size: 15px;
    font-weight: 500;
    line-height: 16px;
    transition: none !important;
    animation: none !important;
    transform: none !important;
}

/* 홈 전용 5탭: 롯데카드 완벽 일치 규격 (높이 68px, 아이콘 28px, 폰트 11.5px) */
.r2go-bottom-nav--v3 {
    --r2go-nav-purple: #5f0080;
    --r2go-nav-gray: #9ca3af;
    height: 68px !important;
    min-height: 68px !important;
    max-height: 68px !important;
    padding: 0;
    column-gap: 0;
    border-top: none;
    background: #ffffff;
}

.r2go-bottom-nav--v3 .r2go-bottom-nav__item,
.r2go-bottom-nav--v3 .r2go-bottom-nav__item.is-active {
    width: 100%;
    max-width: none;
    height: 68px !important;
    min-height: 68px !important;
    max-height: 68px !important;
    padding: 8px 0 6px;
    gap: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--r2go-nav-gray);
    text-decoration: none;
}

.r2go-bottom-nav--v3 .r2go-bottom-nav__item.is-active {
    color: var(--r2go-nav-purple);
}

.r2go-bottom-nav--v3 .r2go-bottom-nav__icon {
    position: relative;
    width: 28px;
    height: 28px;
    overflow: hidden;
    flex-shrink: 0;
}

.r2go-bottom-nav--v3 .r2go-bottom-nav__icon img {
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}

/* 비활성 레이어 (연그레이 베이스: 항상 안정적으로 유지하여 깜빡임 원천 차단) */
.r2go-bottom-nav--v3 .r2go-bottom-nav__icon-inactive {
    opacity: 1;
}

/* 활성 레이어 (딥 퍼플: 아래에서 위로 온전하게 차오르는 액체형 모션) */
.r2go-bottom-nav--v3 .r2go-bottom-nav__icon-active {
    clip-path: inset(100% 0 0 0);
    opacity: 0;
}

@keyframes r2go-nav-fill-up {
    0% {
        clip-path: inset(100% 0 0 0);
        opacity: 1;
    }
    100% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
}

/* 활성 탭: 튀거나 빠르지 않게 부드럽고 차분하게 차오르는 모션 (650ms, 완만한 easeOutCubic) */
.r2go-bottom-nav--v3 .r2go-bottom-nav__item.is-active .r2go-bottom-nav__icon-active,
.r2go-bottom-nav--v3 .r2go-bottom-nav__item.is-filling .r2go-bottom-nav__icon-active {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    animation: r2go-nav-fill-up 650ms cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

.r2go-bottom-nav--v3 .r2go-bottom-nav__label {
    display: block;
    height: 14px;
    font-size: 11.5px !important;
    font-weight: 500 !important;
    line-height: 14px !important;
    letter-spacing: -0.3px;
    color: var(--r2go-nav-gray);
    text-align: center;
    transition: color 240ms ease;
}

.r2go-bottom-nav--v3 .r2go-bottom-nav__item.is-active .r2go-bottom-nav__label {
    color: var(--r2go-nav-purple);
    font-weight: 600 !important;
}

/* ==========================================================================
   More Panel Popup
   ========================================================================== */
.r2go-more-panel {
    position: fixed;
    left: auto;
    right: auto;
    bottom: calc(var(--r2go-nav-height) + var(--r2go-safe-bottom) + 3px);
    top: auto;
    width: 66px;
    box-sizing: border-box;
    min-height: 354px;
    z-index: 35;
    display: flex;
    flex-direction: column;
    padding: 8px 0 10px;
    border-radius: 8px;
    background: var(--r2go-canvas);
    border: 1px solid var(--r2go-more-border);
    box-shadow: 4px 4px 1.5px rgba(100, 100, 101, 0.05);
    transform-origin: bottom center;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition:
        transform 0.38s cubic-bezier(0.34, 1.45, 0.64, 1),
        opacity 0.22s ease-out;
}

.r2go-more-panel.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
}

body.r2go-app-page:not(.is-intro):not(.r2go-bingo-lobby-page) .r2go-more-panel {
    z-index: 210;
}

.r2go-more-panel[hidden] {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .r2go-more-panel {
        transition: none;
    }
}

.r2go-more-panel__header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 4px;
    min-height: 20px;
    padding: 0 4px;
}

.r2go-more-panel__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--r2go-more-icon);
    cursor: pointer;
}

.r2go-more-panel__close-img {
    display: block;
    width: 11px;
    height: 12px;
    object-fit: contain;
}

.r2go-more-panel__list {
    list-style: none;
    margin: 0;
    padding: 0 4px;
    display: flex;
    flex-direction: column;
    gap: 23px;
}

.r2go-more-panel__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    color: var(--r2go-more-icon);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    line-height: 16px;
    text-align: center;
}

button.r2go-more-panel__link {
    width: 100%;
    border: 0;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
}

.r2go-more-panel__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 55px;
    color: var(--r2go-more-icon);
}

.r2go-more-panel__icon--my {
    height: 38px;
}

.r2go-more-panel__icon--seller {
    width: 46px;
    height: 36px;
}

.r2go-more-panel__icon--game {
    width: 40px;
    height: 23px;
}

.r2go-more-panel__icon-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.r2go-more-panel__link:hover,
.r2go-more-panel__link:focus-visible {
    background: transparent;
    outline: none;
    opacity: 0.85;
}

/* ==========================================================================
   R2GO Quick Pay & Point P2P Slide-up Modal (Naver Pay App Style)
   Typography: Pretendard System (400 Regular / 500 Medium / 600 SemiBold)
   ========================================================================== */
body.r2go-modal-locked {
    overflow: hidden !important;
    touch-action: none !important;
}

.r2go-pay-modal,
.r2go-pay-modal * {
    font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", sans-serif !important;
    letter-spacing: -0.3px;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.r2go-pay-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.r2go-pay-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.r2go-pay-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.r2go-pay-modal__sheet {
    position: relative;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    height: 92dvh;
    max-height: 820px;
    background: #ffffff;
    border-radius: 20px 20px 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.18);
    z-index: 1;
}

.r2go-pay-modal.is-open .r2go-pay-modal__sheet {
    transform: translateY(0);
}

.r2go-pay-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 14px;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.r2go-pay-modal__title {
    font-size: 16.5px;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.4px;
}

.r2go-pay-modal__close {
    background: transparent;
    border: none;
    padding: 6px;
    border-radius: 50%;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease;
}

.r2go-pay-modal__close:hover,
.r2go-pay-modal__close:active {
    background: #f1f5f9;
    color: #0f172a;
}

.r2go-pay-modal__body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 14px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

/* 1. 잔액 카드 (다크 슬레이트 & 절제된 타이포) */
.r2go-pay-card {
    background: linear-gradient(135deg, #182234 0%, #0f172a 100%);
    border-radius: 14px;
    padding: 13px 16px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.r2go-pay-card__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.r2go-pay-card__label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14.5px;
    color: #f1f5f9;
    font-weight: 500;
}

.r2go-pay-card__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

/* 포인트(P) = 보라 (Purple) */
.r2go-pay-card__dot--point {
    background: #c084fc;
    box-shadow: 0 0 7px rgba(192, 132, 252, 0.65);
}

/* 현금(C) = 파랑 (Blue) */
.r2go-pay-card__dot--cash {
    background: #38bdf8;
    box-shadow: 0 0 7px rgba(56, 189, 248, 0.65);
}

.r2go-pay-card__tag {
    font-size: 11.5px;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 500;
    letter-spacing: -0.2px;
}

/* 포인트 뱃지 (보라 배경 + 백색 문구) */
.r2go-pay-card__tag,
.r2go-pay-card__tag--point {
    background: rgba(168, 85, 247, 0.28);
    color: #ffffff;
}

/* 현금 뱃지 (파랑 배경 + 백색 문구) */
.r2go-pay-card__tag--cash {
    background: rgba(59, 130, 246, 0.30);
    color: #ffffff;
}

.r2go-pay-card__val {
    font-size: 21px;
    font-weight: 600;
    color: #f8fafc;
    font-variant-numeric: tabular-nums;
}

.r2go-pay-card__val small {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    margin-left: 2px;
}

.r2go-pay-card__divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
    margin: 1px 0;
}

/* 2. 네이버페이형 메인 2대 탭 (완벽 1줄 대칭 레이아웃) */
.r2go-pay-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f1f5f9;
    border-radius: 11px;
    padding: 3px;
    gap: 4px;
    height: 44px;
    align-items: stretch;
}

.r2go-pay-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 10px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    background: transparent;
    border-radius: 8px;
    color: #475569;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.18s ease;
}

.r2go-pay-tab span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.r2go-pay-tab.is-active {
    background: #ffffff;
    color: #0f172a;
    font-weight: 600;
    box-shadow: 0 1.5px 5px rgba(0, 0, 0, 0.06);
}

/* 3. 패널 공통 */
.r2go-pay-panel {
    display: none;
    flex-direction: column;
    gap: 15px;
}

.r2go-pay-panel.is-active {
    display: flex;
}

/* 4. 서브 탭 (슬림 알약형) */
.r2go-pay-subtabs {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
}

.r2go-pay-subtabs::-webkit-scrollbar {
    display: none;
}

.r2go-pay-subtab {
    flex: 1;
    min-width: 0;
    height: 38px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.r2go-pay-subtab.is-active {
    background: #0f172a;
    color: #ffffff;
    font-weight: 500;
    border-color: #0f172a;
}

/* 5. 스캐너 뷰파인더 */
.r2go-pay-viewfinder-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.r2go-pay-viewfinder {
    position: relative;
    width: 100%;
    max-width: 310px;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    background: #000000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.r2go-pay-viewfinder video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.r2go-pay-reticle {
    position: absolute;
    width: 65%;
    height: 75%;
    pointer-events: none;
    border-radius: 8px;
}

.r2go-pay-reticle__corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid #c084fc;
}

.r2go-pay-reticle__corner--tl {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: 8px;
}

.r2go-pay-reticle__corner--tr {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
    border-top-right-radius: 8px;
}

.r2go-pay-reticle__corner--bl {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
    border-bottom-left-radius: 8px;
}

.r2go-pay-reticle__corner--br {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
    border-bottom-right-radius: 8px;
}

.r2go-pay-reticle__scanline {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c084fc, transparent);
    box-shadow: 0 0 8px #c084fc;
    animation: r2goScanSweep 2s ease-in-out infinite;
}

@keyframes r2goScanSweep {
    0% { top: 4%; }
    50% { top: 96%; }
    100% { top: 4%; }
}

.r2go-pay-cam-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #94a3b8;
    padding: 20px;
    text-align: center;
    background: #0f172a;
    z-index: 2;
}

.r2go-pay-cam-placeholder p {
    font-size: 12.5px;
    font-weight: 400;
    color: #cbd5e1;
    margin: 0;
}

.r2go-pay-btn {
    background: #7c3aed;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 550;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.r2go-pay-btn:hover {
    opacity: 0.92;
}

.r2go-pay-btn--sm {
    padding: 7px 15px;
    font-size: 12.5px;
}

.r2go-pay-status {
    font-size: 13px;
    font-weight: 400;
    color: #64748b;
    text-align: center;
    margin: 0;
}

/* 6. 포인트 P2P 회원 ID 직접 입력 박스 */
.r2go-pay-id-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.r2go-pay-id-box__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13.5px;
    color: #1e293b;
}

.r2go-pay-id-box__title {
    font-size: 13.5px;
    font-weight: 500;
    color: #334155;
}

.r2go-pay-badge--point {
    font-size: 11.5px;
    font-weight: 500;
    color: #9333ea;
    background: #faf5ff;
    padding: 2.5px 7.5px;
    border-radius: 6px;
}

.r2go-pay-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
}

.r2go-pay-field__label {
    font-size: 13px;
    font-weight: 500;
    color: #475569;
}

.r2go-pay-input-group {
    display: flex;
    gap: 6px;
    position: relative;
}

.r2go-pay-input {
    flex: 1;
    min-width: 0;
    height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 13.5px;
    font-weight: 400;
    background: #ffffff;
    color: #0f172a;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.r2go-pay-input:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.16);
}

.r2go-pay-input-btn {
    height: 42px;
    padding: 0 14px;
    background: #334155;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.r2go-pay-input-btn:hover {
    background: #1e293b;
}

.r2go-pay-user-verify {
    font-size: 12px;
    font-weight: 500;
    padding: 5px 9px;
    border-radius: 6px;
    margin-top: 3px;
}

.r2go-pay-user-verify.is-valid {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.r2go-pay-user-verify.is-invalid {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.r2go-pay-input--amount {
    font-size: 17px;
    font-weight: 600;
    text-align: right;
    padding-right: 30px;
    font-variant-numeric: tabular-nums;
}

.r2go-pay-input-unit {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13.5px;
    font-weight: 500;
    color: #64748b;
    pointer-events: none;
}

.r2go-pay-quick-amounts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 5px;
}

.r2go-pay-quick-btn {
    height: 32px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
}

.r2go-pay-quick-btn:active {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.r2go-pay-notice {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-radius: 8px;
    padding: 9px 11px;
    font-size: 11.5px;
    font-weight: 400;
    color: #92400e;
    line-height: 1.45;
    margin-bottom: 10px;
}

.r2go-pay-submit-btn {
    width: 100%;
    height: 46px;
    background: #7c3aed;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 550;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.28);
    transition: opacity 0.15s ease;
}

.r2go-pay-submit-btn:hover {
    opacity: 0.93;
}

.r2go-pay-submit-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    box-shadow: none;
}

/* 7. QR 보여주기 카드 */
.r2go-pay-qr-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
}

.r2go-pay-qr-badge {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
}

.r2go-pay-qr-badge--point {
    background: #faf5ff;
    color: #9333ea;
}

.r2go-pay-qr-badge--cash {
    background: #eff6ff;
    color: #2563eb;
}

.r2go-pay-qr-badge--seller {
    background: #f1f5f9;
    color: #334155;
}

.r2go-pay-qr-img-wrap {
    padding: 8px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.r2go-pay-qr-img-wrap img {
    display: block;
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.r2go-pay-my-id {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 13.5px;
    font-weight: 400;
}

.r2go-pay-my-id__label {
    color: #64748b;
    font-weight: 400;
    font-size: 13px;
}

.r2go-pay-my-id__code {
    color: #0f172a;
    font-weight: 600;
    font-family: 'SF Mono', 'Courier New', monospace;
    font-size: 14px;
}

.r2go-pay-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 11.5px;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
}

.r2go-pay-copy-btn:hover {
    background: #f1f5f9;
}

.r2go-pay-qr-guide {
    font-size: 13px;
    font-weight: 400;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
    max-width: 280px;
}

.r2go-pay-dl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 42px;
    border: 1.5px solid #0f172a;
    background: #ffffff;
    color: #0f172a;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 550;
    text-decoration: none;
    transition: all 0.15s ease;
}

.r2go-pay-dl-btn:hover {
    background: #0f172a;
    color: #ffffff;
}

/* 가맹점/셀러 정보 메타 박스 및 매장 비치용 다운로드/인쇄 그룹 */
.r2go-pay-meta-box {
    width: 100%;
    max-width: 310px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 11px;
    padding: 9px 13px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.r2go-pay-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.r2go-pay-meta-label {
    font-size: 12px;
    font-weight: 400;
    color: #64748b;
    white-space: nowrap;
}

.r2go-pay-meta-val {
    font-size: 13px;
    font-weight: 500;
    color: #0f172a;
    flex: 1;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.r2go-pay-meta-val--code {
    font-family: 'SF Mono', 'Courier New', monospace;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.r2go-pay-action-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 100%;
    max-width: 310px;
    margin-top: 3px;
}

.r2go-pay-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 42px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 550;
    cursor: pointer;
    transition: all 0.15s ease;
    border: none;
}

.r2go-pay-action-btn--primary {
    background: #00c73c;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 199, 60, 0.18);
}

.r2go-pay-action-btn--primary:hover {
    opacity: 0.92;
}

.r2go-pay-action-btn--secondary {
    background: #0f172a;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.14);
}

.r2go-pay-action-btn--secondary:hover {
    background: #1e293b;
}

.r2go-pay-action-link {
    display: inline-block;
    text-align: center;
    font-size: 11.5px;
    font-weight: 400;
    color: #94a3b8;
    text-decoration: underline;
    padding: 3px;
    transition: color 0.15s ease;
}

.r2go-pay-action-link:hover {
    color: #0f172a;
}
