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

:root {
    --r2go-primary: #0b2385;
    --r2go-secondary: #ff4638;
    --r2go-ink: #0a0b0d;
    --r2go-body: #5b616e;
    --r2go-canvas: #ffffff;
    --r2go-surface-soft: #f7f7f7;
    --r2go-surface-strong: #eef0f3;
    --r2go-hairline: #dee1e6;
    --r2go-muted: #7c828a;
    --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: #09459c;
    --r2go-intro-mid: #2667c6;
    --r2go-intro-low: #6ba3f6;
    --r2go-intro-bottom: #d6e6fd;
    --r2go-intro-gradient: linear-gradient(
        180deg,
        var(--r2go-intro-top) 0%,
        #1557b5 26%,
        var(--r2go-intro-mid) 50%,
        var(--r2go-intro-low) 76%,
        var(--r2go-intro-bottom) 100%
    );
    --r2go-home-blue: #3887fe;
    --r2go-nav-inactive: #9ca3af;
    --r2go-more-icon: #9ca3af;
    --r2go-more-border: #e5e7eb;
    --r2go-shell-max: 440px;
    --r2go-brand-logo-width: 113px;
    --r2go-brand-header-min-height: 40px;
    --r2go-brand-header-pad-top: 2px;
    --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;
}
@font-face {
    font-family: 'Gmarket Sans';
    src: url('/fonts/GmarketSansMedium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

* { box-sizing: border-box; }

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;
}

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;
}

body.r2go-home-page:not(.is-intro):not(.r2go-ready-fullbleed) .shell.r2go-home-shell {
    overflow-x: hidden;
    overflow-y: auto;
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    padding-bottom: calc(var(--r2go-nav-clearance) + 20px);
}

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

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: var(--r2go-intro-gradient);
    pointer-events: none;
}

.r2go-intro--outro-fade {
    opacity: 0;
    transition: opacity 0.32s ease;
}

/* ==========================================================================
   Brand Header & Home Components
   ========================================================================== */
.r2go-app-brand {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: var(--r2go-brand-header-min-height);
    padding: var(--r2go-brand-header-pad-top) 0 0;
    margin: 0;
    flex-shrink: 0;
}

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

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

.r2go-app-brand__trail {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
    min-height: var(--r2go-brand-header-min-height);
}

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

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

.r2go-home {
    display: flex;
    flex-direction: column;
    gap: 10px;
    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__notice {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    min-height: 34px;
    padding: 0 14px 0 5px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--r2go-home-blue);
    color: #fff;
    text-decoration: none;
    box-shadow:
        0 4px 16px rgba(56, 135, 254, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.r2go-home__notice:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.r2go-home__notice-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 24px;
    min-height: 24px;
    padding: 0;
    border-radius: 20px;
    border: 1px solid rgba(56, 135, 254, 0.14);
    background: #f8faff;
    color: var(--r2go-home-blue);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 1px 4px rgba(56, 135, 254, 0.1);
}

.r2go-home__notice-text {
    flex: 1 1 auto;
    display: block;
    min-width: 0;
    overflow: hidden;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    color: #fff;
}

.r2go-home__notice-text-track {
    display: inline-flex;
    align-items: center;
    gap: 32px;
    white-space: nowrap;
    will-change: transform;
}

.r2go-home__notice-text.is-marquee .r2go-home__notice-text-track {
    animation: r2go-home-notice-marquee var(--r2go-notice-marquee-duration, 14s) linear infinite;
}

@keyframes r2go-home-notice-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 16px)); }
}

@media (prefers-reduced-motion: reduce) {
    .r2go-home__notice-text.is-marquee .r2go-home__notice-text-track {
        animation: none;
    }
}

.r2go-home__notice-chevron {
    flex: 0 0 auto;
    display: block;
    width: 7px;
    height: 15px;
    object-fit: contain;
}

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

.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: 954 / 1648;
    min-height: auto;
    max-height: none;
    overflow: hidden;
    background: #fff;
    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: #f3f4f6;
}

.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(56, 135, 254, 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;
}

/* ==========================================================================
   More Panel Popup
   ========================================================================== */
.r2go-more-panel {
    position: fixed;
    right: max(20px, calc(50% - (var(--r2go-shell-max) / 2) + 20px));
    bottom: calc(var(--r2go-nav-height) + var(--r2go-safe-bottom) + 12px);
    top: auto;
    width: 85px;
    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);
}

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

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

.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 9px;
    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;
}
