.usan-body {
    background: #ffffff;
    overflow-x: hidden;
}

.usan-responsive-layout {
    width: 100%;
    height: 100%;
}

.main-frame {
    width: 100%;
    height: 100%;
}














/* PC/모바일 공통 레이아웃 래퍼 */
.usan-layout {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

/* PC 왼쪽 소개 영역 (모바일에서는 숨김) */
.pc-side-section {
    display: none;
}

/* 왼쪽 내부 정리용 */
.pc-side-ad {
    width: 100%;
    min-height: 100%;
    padding: 48px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.pc-side-ad__inner {
    width: 100%;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
}

.pc-side-ad__brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pc-side-ad__logo-box {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(67, 56, 202, 0.08);
}

.pc-side-ad__logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.pc-side-ad__brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pc-side-ad__brand-sub {
    font-size: 14px;
    font-weight: 700;
    color: #6366f1;
    letter-spacing: -0.02em;
}

.pc-side-ad__brand-name {
    font-size: 42px;
    line-height: 1.05;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.04em;
}

.pc-side-ad__headline-strong {
    display: inline-block;
    width: fit-content;
    font-size: 30px;
    line-height: 1.45;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.04em;
    background: linear-gradient(transparent 60%, #e0e7ff 60%);
}

.pc-side-ad__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pc-side-ad__tags span {
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #d6d9ef;
    font-size: 15px;
    font-weight: 700;
    color: #374151;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}

.pc-side-ad__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pc-side-ad__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 168px;
    height: 52px;
    padding: 0 22px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pc-side-ad__btn--primary {
    background: #3b43f2;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(59, 67, 242, 0.16);
}

.pc-side-ad__btn--primary:hover {
    background: #2f37e6;
}

.pc-side-ad__btn--ghost {
    background: #ffffff;
    color: #3b43f2;
    border: 1px solid #d6d9ef;
}

.pc-side-ad__btn--ghost:hover {
    background: #f8faff;
}

.pc-side-ad__info {
    display: grid;
    gap: 10px;
    margin-top: 8px;
    font-size: 14px;
}

.pc-side-ad__info > div {
    display: flex;
    gap: 12px;
    color: #4b5563;
}

.pc-side-ad__info span {
    min-width: 92px;
    font-weight: 700;
    color: #6b7280;
}

.pc-side-ad__info strong {
    font-weight: 600;
    color: #1f2937;
}

/* ---------------- 모바일 프레임 쪽 ---------------- */

.mobile-frame-outer {
    width: 100vw;
    height: calc(var(--app-vh, 1vh) * 100);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
}

.mobile-scale {
    transform-origin: top center;
}

/* 스케일 대상이 되는 "폰" 박스 */
.mobile-shell {
    width: 430px;
    height: calc(var(--app-vh, 1vh) * 100);
    background: #ffffff;
    display: flex;
    flex-direction: column; /* 헤더 / 본문 / 바텀 네비 수직 배치 */

    position: relative;
    overflow: hidden;
}

/* 헤더(안에 header fragment가 붙음) */
.mobile-header {
    flex: 0 0 64px;
    justify-content: space-between;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    border-bottom-right-radius: 16px;
    border-bottom-left-radius: 16px;
    border-bottom: 1px solid #f2f2f2;
    box-shadow: 0 4px 4px 0 #00000026;
    box-sizing: border-box;
    background: #ffffff;
    z-index: 1;
}

/* 실제 스크롤 되는 본문 영역 */
.mobile-frame {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;

    /*padding-bottom: calc(72px + env(safe-area-inset-bottom));*/
}
.mobile-frame::-webkit-scrollbar {
    display: none;
}

/* ---------------- 헤더 내부 요소들 ---------------- */

.header-left {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.header-logo {
    width: 70px;
    height: 40px;
    display: block;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-right__icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.header-right__icon::before {
    content: '';
    width: 24px;
    height: 24px;
    background-color: #0d0d0d;
}

.header-icon__magnifier::before {
    mask: url("../img/24x24-magnifier.svg") center/contain no-repeat;
    -webkit-mask: url("../img/24x24-magnifier.svg") center/contain no-repeat;
}

.header-icon__bell::before {
    mask: url("../img/24x24-bell.svg") center/contain no-repeat;
    -webkit-mask: url("../img/24x24-bell.svg") center/contain no-repeat;
}

.search-header__back {
    width: 48px;
    height: 48px;

    background: url("../img/24x24-arrow.svg") center/24px 24px no-repeat;
    cursor: pointer;
}

.search-header__input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #f2f2f2;
    border-radius: 12px;
}

.search-header__icon {
    position: absolute;
    right: 32px;
    width: 24px;
    height: 24px;
    mask: url("../img/24x24-magnifier.svg") center/contain no-repeat;
    -webkit-mask: url("../img/24x24-magnifier.svg") center/contain no-repeat;
    background: #d9d9d9;
}

.full-panel {
    position: absolute;
    left: 100%;
    top: 0;

    width: 100%;
    max-width: 430px;
    height: 100%;

    background: #ffffff;
    z-index: 101;

    display: flex;
    flex-direction: column;
    overflow-y: auto;

    transform: translateX(100%);
    transition: transform 0.35s ease-out;

    -ms-overflow-style: none;
}

.full-panel::-webkit-scrollbar {
    display: none;
}

.full-panel.is-open {
    transform: translateX(-100%);
}

.more-content {
    display: flex;
    flex-direction: column;
}

.more-content__recommend-outer {
    padding: 10px;
}

.more-content__recommend {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 56px;
    border-radius: 16px;
    padding: 0 16px;
    background: #e7eafe;
}

.recommend__text {
    font-weight: 600;
    font-size: 16px;
    color: #6278e9;
}

.recommend__icon {
    width: 24px;
    height: 24px;
    background-color: #8c8c8c;
    mask: url("../img/24x24-delete.svg") center/contain no-repeat;
    -webkit-mask: url("../img/24x24-delete.svg") center/contain no-repeat;
}

.more-content__card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f2f2f2;
}

.card__profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.profile__no-image {
    width: 120px;
    height: 120px;
    mask: url("../img/96x96-basic-profile.svg") center/contain no-repeat;
    -webkit-mask: url("../img/96x96-basic-profile.svg") center/contain no-repeat;
    background-color: #bfbfbf;
}

.profile__nickname {
    font-weight: 500;
    font-size: 28px;
    color: #0d0d0d;
}

.card__stats {
    display: flex;
    justify-content: center;
    background: #ffffff;
    box-shadow: 0 0 10px 0 #06114820;
    border-radius: 16px;
    width: 100%;
    height: 102px;
}

.stats-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}

.stats-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    border-right: 0.67px solid #bfbfbf;
}

.stat-count {
    font-weight: 700;
    font-size: 20px;
    color: #3551e3;
}

.stat-text {
    font-weight: 400;
    font-size: 16px;
    color: #8c8c8c;
}

.more-content__links {
    display: flex;
    flex-direction: column;
}

.more-content__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 80px;
    padding: 16px;
    border-bottom: 1px solid #f2f2f2;
    background: #ffffff;
    cursor: pointer;
}

.link__double-line {
    display: flex;
    flex-direction: column;
}

.link__text {
    font-weight: 600;
    font-size: 20px;
    color: #262626;
}

.link__caption {
    font-weight: 400;
    font-size: 16px;
    color: #8c8c8c;
}

.link__icon {
    width: 24px;
    height: 24px;
    mask: url("../img/24x24-link.svg") center/contain no-repeat;
    -webkit-mask: url("../img/24x24-link.svg") center/contain no-repeat;
    background-color: #8c8c8c;
}

/* ---------------- 바텀 네비 ---------------- */

.bottom-nav {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);

    width: 100%;
    max-width: 430px;
    height: 72px;
    padding-bottom: env(safe-area-inset-bottom);
    z-index: 100;

    display: flex;
    align-items: stretch;
    border-top: 1px solid #d9d9d9;
    background: #ffffff;
}

.bottom-nav__item {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.bottom-nav__icon {
    display: block;
    width: 24px;
    height: 24px;
    background-color: #99a1af;
}

.bottom-nav__icon--home {
    mask: url("../img/24x24-home.svg") center/contain no-repeat;
    -webkit-mask: url("../img/24x24-home.svg") center/contain no-repeat;
}

.bottom-nav__icon--map {
    mask: url("../img/24x24-map.svg") center/contain no-repeat;
    -webkit-mask: url("../img/24x24-map.svg") center/contain no-repeat;
}

.bottom-nav__icon--more {
    mask: url("../img/24x24-more.svg") center/contain no-repeat;
    -webkit-mask: url("../img/24x24-more.svg") center/contain no-repeat;
}

.bottom-nav__item.on .bottom-nav__icon--home {
    mask: url("../img/24x24-home-navy.svg") center/contain no-repeat;
    -webkit-mask: url("../img/24x24-home-navy.svg") center/contain no-repeat;
    background-color: #091243;
}

.bottom-nav__item.on .bottom-nav__icon--map {
    mask: url("../img/24x24-home-navy.svg") center/contain no-repeat;
    -webkit-mask: url("../img/24x24-map-navy.svg") center/contain no-repeat;
    background-color: #091243;
}

.bottom-nav__label {
    font-weight: 400;
    font-size: 12px;
    color: #99a1af;
}

.bottom-nav__item.on .bottom-nav__label {
    color: #091243;
}

.footer-separator {
    margin-bottom: 16px;
    border: 1px solid #d9d9d9;
}

.footer-logo {
    display: flex;
    gap: 5px;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo__logo {
    width: 29px;
    height: 37px;
}

.footer-logo__top {
    font-weight: 700;
    font-size: 12px;
    color: #000000;
}

.footer-logo__bottom {
    display: flex;
    justify-content: space-between;
}

.footer-logo__text {
    font-weight: 400;
    font-size: 12px;
    color: #000000;
}

.footer-links {
    display: flex;
    gap: 18px;
    margin-bottom: 15px;
}

.footer-links__link {
    font-weight: 400;
    font-size: 14px;
    color: #404040;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 13px;
}

.footer-info__rights,
.footer-info__link-separator,
.footer-info__business {
    font-weight: 400;
    font-size: 11px;
    color: #8c8c8c;
}

.footer-info__links {
    display: flex;
    gap: 4px;
}

.footer-info__link {
    font-weight: 600;
    font-size: 11px;
    color: #0d0d0d;
}

.footer-date {
    margin-bottom: 16px;
    font-weight: 500;
    font-size: 10px;
    color: #404040;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-contact__wrapper {
    display: flex;
    gap: 4px;
}

.footer-contact__tel-icon {
    display: block;
    width: 16px;
    height: 16px;
    background-color: #404040;
    mask: url("../img/16x16-tel.svg") center/contain no-repeat;
    -webkit-mask: url("../img/16x16-tel.svg") center/contain no-repeat;
}

.footer-contact__mail-icon {
    display: block;
    width: 16px;
    height: 16px;
    background-color: #404040;
    mask: url("../img/24x24-mail.svg") center/contain no-repeat;
    -webkit-mask: url("../img/24x24-mail.svg") center/contain no-repeat;
}

.footer-contact__text {
    font-weight: 400;
    font-size: 12px;
    color: #404040;
}

/* ---------------- 태블릿, pc 레이아웃 ---------------- */
/* PC */
@media (min-width: 768px) {
    .usan-layout {
        justify-content: center; /* 좌/우 묶음을 중앙 */
        gap: 40px;
    }

    .pc-side-section {
        display: block;      /* 또는 flex */
        flex: 1;
        min-width: 0;
    }

    .mobile-frame-outer {
        width: auto;
        flex: 0 0 430px;     /* 우측 폰 영역 고정 */
    }

    .mobile-shell {
        width: 430px;
    }
}