/* ============================================================================
 * mockup.css — 임시 구조용 CSS (목업 단계 한정)
 *
 * 본 파일은 결제·소셜데이터 확장 개발 목업 단계 임시 구조 CSS.
 * 퍼블리싱 완료 후 본 파일은 제거되고 디자인 시스템 CSS 로 교체 예정.
 *
 * SSOT: `결제_소셜데이터확장개발/통합개발문서/화면기획서/디자인 스크린샷/` 14 PNG
 *  (decisions_design_screenshot_truth 메모리 참조)
 *
 * 컴포넌트 prefix: `.ll-` (LoudLabs)
 * ========================================================================= */

/* ---- 디자인 토큰 ---- */
:root {
    --lime-100: #EEFFC2;
    --lime-300: #D0FD6B;
    --lime-400: #B6F03B;
    --lime-600: #3FAE4C;
    --n-50: #F6F6F6;
    --n-100: #EBEBEB;
    --n-200: #DBDBDB;
    --n-400: #9B9B9B;
    --n-500: #7A7A7A;
    --n-600: #5E5E5E;
    --n-700: #474747;
    --n-800: #313131;
    --n-950: #151515;
    --r-pill: 999px;
    --r-md: 12px;
    --r-sm: 8px;

    --mock-color-primary: #C6F100;
    --mock-color-primary-soft: #E6F999;
    --mock-color-dark: #1F1F1F;
    --mock-color-success: #26C281;
    --mock-color-danger: #FF4444;
    --mock-color-info: #5286FF;

    --mock-color-text: #1F1F1F;
    --mock-color-text-sub: #777;
    --mock-color-text-mute: #999;

    --mock-color-border: #E5E5E5;
    --mock-color-border-strong: #CCCCCC;
    --mock-color-bg-soft: #F5F5F5;
    --mock-color-white: #FFFFFF;

    --mock-radius-pill: 32px;
    --mock-radius-card: 20px;
    --mock-radius-input: 10px;
    --mock-radius-chip: 16px;

    --mock-shadow-card: 0 2px 8px rgba(0, 0, 0, 0.04);
    --mock-shadow-modal: 0 16px 48px rgba(0, 0, 0, 0.18);

    --mock-container-narrow: 720px;
    --mock-container-default: 960px;
    --mock-container-wide: 1280px;

    --mock-space-1: 4px;
    --mock-space-2: 8px;
    --mock-space-3: 12px;
    --mock-space-4: 16px;
    --mock-space-5: 24px;
    --mock-space-6: 32px;
    --mock-space-7: 48px;
    --mock-space-8: 64px;
}

/* ---- 컨테이너 ---- */
.ll-container {
    max-width: var(--mock-container-wide);
    margin: 0 auto;
    padding: 0 var(--mock-space-5);
}

.ll-container--narrow { max-width: var(--mock-container-narrow); }
.ll-container--default { max-width: var(--mock-container-default); }

/* ---- 페이지 제목 (중앙 정렬) ---- */
.ll-page-header {
    text-align: center;
    margin: var(--mock-space-7) 0 var(--mock-space-5);
}

.ll-page-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 var(--mock-space-3);
    color: var(--mock-color-text);
}

.ll-page-subtitle {
    font-size: 14px;
    color: var(--mock-color-text-sub);
    margin: 0;
    line-height: 1.6;
}

/* ---- 3-탭 (중앙 정렬, 활성 = 그린 underline) ---- */
.ll-tab-nav {
    display: flex;
    justify-content: center;
    gap: var(--mock-space-7);
    border-bottom: 1px solid var(--mock-color-border);
    margin-bottom: var(--mock-space-6);
}

.ll-tab-nav__item {
    padding: var(--mock-space-3) 0;
    color: var(--mock-color-text-sub);
    text-decoration: none;
    font-size: 14px;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.ll-tab-nav__item.is-active {
    color: var(--mock-color-text);
    font-weight: 600;
    border-bottom-color: var(--mock-color-primary);
}

/* ---- 큰 검색 input ---- */
.ll-search-bar {
    display: flex;
    gap: var(--mock-space-3);
    align-items: stretch;
    width: 100%;
}

.ll-search-input {
    flex: 1;
    min-width: 0;
    padding: 16px 24px;
    border: 1.5px solid var(--mock-color-primary);
    border-radius: var(--mock-radius-pill);
    font-size: 16px;
    outline: none;
    background: var(--mock-color-white);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

.ll-search-input::placeholder { color: var(--mock-color-text-mute); }

.ll-search-input:focus { border-color: var(--mock-color-primary); box-shadow: 0 0 0 4px rgba(198, 241, 0, 0.15); }

/* ---- 버튼 ---- */
.ll-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--mock-space-2);
    padding: 12px 28px;
    border-radius: var(--mock-radius-pill);
    border: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.15s ease;
}

.ll-btn:hover { opacity: 0.9; }
.ll-btn:disabled, .ll-btn.is-disabled { opacity: 0.5; cursor: not-allowed; }

.ll-btn--primary { background: var(--mock-color-primary); color: var(--mock-color-text); }
.ll-btn--dark { background: var(--mock-color-dark); color: var(--mock-color-white); }
.ll-btn--ghost { background: var(--mock-color-white); border: 1px solid var(--mock-color-border); color: var(--mock-color-text); }
.ll-btn--soft { background: var(--mock-color-bg-soft); color: var(--mock-color-text); }

.ll-btn--lg { padding: 16px 36px; font-size: 15px; }
.ll-btn--sm { padding: 8px 16px; font-size: 13px; }
.ll-btn--block { width: 100%; }

/* ---- 카드 ---- */
.ll-card {
    background: var(--mock-color-white);
    border: 1px solid var(--mock-color-border);
    border-radius: var(--mock-radius-card);
    padding: var(--mock-space-6);
}

.ll-card--soft { background: var(--mock-color-bg-soft); border: 0; }
.ll-card--pad-sm { padding: var(--mock-space-5); }
.ll-card--pad-lg { padding: var(--mock-space-7); }

.ll-card__title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 var(--mock-space-4);
    color: var(--mock-color-text);
}

/* ---- 세그먼트 토글 (검정 pill) ---- */
.ll-segment {
    display: inline-flex;
    background: var(--mock-color-dark);
    border-radius: var(--mock-radius-pill);
    padding: 4px;
    gap: 2px;
}

.ll-segment__item {
    padding: 10px 28px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: var(--mock-radius-pill);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s ease;
}

.ll-segment__item.is-active {
    background: var(--mock-color-white);
    color: var(--mock-color-text);
}

/* ---- 3-sub 탭 (마케팅 상품 탐색) ---- */
.ll-sub-tabs {
    display: inline-flex;
    background: var(--mock-color-bg-soft);
    border-radius: var(--mock-radius-pill);
    padding: 4px;
}

.ll-sub-tabs__item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 24px;
    color: var(--mock-color-text-sub);
    background: transparent;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    border-radius: var(--mock-radius-pill);
    font-size: 13px;
}

.ll-sub-tabs__item.is-active {
    background: var(--mock-color-white);
    font-weight: 600;
}

.ll-sub-tabs__item.is-active[data-color="info"] { color: var(--mock-color-info); }
.ll-sub-tabs__item.is-active[data-color="danger"] { color: var(--mock-color-danger); }
.ll-sub-tabs__item.is-active[data-color="success"] { color: var(--mock-color-success); }

/* ---- 데이터 행 (회원정보 멤버십) ---- */
.ll-data-row {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: var(--mock-space-4);
    padding: var(--mock-space-4) 0;
    border-bottom: 1px solid var(--mock-color-border);
    align-items: center;
}

.ll-data-row__label { color: var(--mock-color-text-sub); font-size: 13px; }
.ll-data-row__value { font-size: 14px; font-weight: 500; }
.ll-data-row__action { color: var(--mock-color-text); font-size: 13px; text-decoration: none; }
.ll-data-row__action:hover { text-decoration: underline; }

/* ---- 키워드 칩 ---- */
.ll-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--mock-space-2);
    padding: 6px 14px;
    border: 1px solid var(--mock-color-border);
    border-radius: var(--mock-radius-chip);
    font-size: 13px;
    color: var(--mock-color-text);
    background: var(--mock-color-white);
    text-decoration: none;
    cursor: pointer;
}

.ll-chip--soft { background: var(--mock-color-bg-soft); border: 0; }
.ll-chip--active { background: var(--mock-color-text); color: var(--mock-color-white); border-color: var(--mock-color-text); }
.ll-chip--primary { background: var(--mock-color-primary); border-color: var(--mock-color-primary); color: var(--mock-color-text); }
.ll-chip__close { background: none; border: 0; color: inherit; cursor: pointer; padding: 0 0 0 4px; font-size: 14px; line-height: 1; }

.ll-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--mock-space-2);
}

/* ---- 테이블 ---- */
.ll-table {
    width: 100%;
    border-collapse: collapse;
}

.ll-table thead th {
    background: var(--mock-color-bg-soft);
    padding: 14px 16px;
    font-weight: 500;
    color: var(--mock-color-text-sub);
    font-size: 13px;
    text-align: left;
    border-bottom: 1px solid var(--mock-color-border);
}

.ll-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--mock-color-border);
    font-size: 13px;
    color: var(--mock-color-text);
}

.ll-table tbody tr:last-child td { border-bottom: 0; }

/* ---- 상태 배지 ---- */
.ll-status {
    font-size: 13px;
    font-weight: 600;
}

.ll-status--success { color: var(--mock-color-success); }
.ll-status--danger { color: var(--mock-color-danger); }
.ll-status--info { color: var(--mock-color-info); }

.ll-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.ll-badge--success { background: #D1FAE5; color: #065F46; }
.ll-badge--danger { background: #FEE2E2; color: #991B1B; }
.ll-badge--info { background: #DBEAFE; color: #1E40AF; }
.ll-badge--warn { background: #FEF3C7; color: #92400E; }

/* ---- 도트 마커 (요금제 라벨) ---- */
.ll-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: var(--mock-space-2);
    vertical-align: middle;
}

.ll-dot--success { background: var(--mock-color-success); }
.ll-dot--info { background: var(--mock-color-info); }
.ll-dot--danger { background: var(--mock-color-danger); }

/* ---- 유의 사항 카드 ---- */
.ll-notice {
    background: var(--mock-color-bg-soft);
    border-radius: var(--mock-radius-input);
    padding: var(--mock-space-4) var(--mock-space-5);
    margin-top: var(--mock-space-4);
}

.ll-notice__title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 var(--mock-space-3);
    color: var(--mock-color-text);
}

.ll-notice__list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: var(--mock-color-text-sub);
}

.ll-notice__list li {
    padding-left: var(--mock-space-3);
    position: relative;
    line-height: 1.7;
    margin-bottom: var(--mock-space-2);
}

.ll-notice__list li::before {
    content: "·";
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* ---- 폼 ---- */
.ll-field {
    margin-bottom: var(--mock-space-4);
}

.ll-field__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--mock-color-text);
    margin-bottom: var(--mock-space-2);
}

.ll-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--mock-color-border);
    border-radius: var(--mock-radius-input);
    font-size: 14px;
    outline: none;
    background: var(--mock-color-white);
}

.ll-input:focus { border-color: var(--mock-color-primary); box-shadow: 0 0 0 3px rgba(198, 241, 0, 0.15); }

.ll-select {
    padding: 12px 16px;
    border: 1px solid var(--mock-color-border);
    border-radius: var(--mock-radius-input);
    font-size: 14px;
    background: var(--mock-color-white);
}

/* ---- 토글 스위치 ---- */
.ll-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}

.ll-switch input { opacity: 0; width: 0; height: 0; }

.ll-switch__slider {
    position: absolute;
    inset: 0;
    background: var(--mock-color-border);
    border-radius: 11px;
    cursor: pointer;
    transition: 0.2s;
}

.ll-switch__slider::before {
    content: "";
    position: absolute;
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background: var(--mock-color-white);
    border-radius: 50%;
    transition: 0.2s;
}

.ll-switch input:checked + .ll-switch__slider { background: var(--mock-color-primary); }
.ll-switch input:checked + .ll-switch__slider::before { transform: translateX(18px); }

/* ---- 모달 ---- */
.ll-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9000;
    align-items: center;
    justify-content: center;
}

.ll-modal-backdrop.is-open { display: flex; }

body.ll-se-scroll-lock {
    overflow: hidden;
}

[data-ll-common-dialog] {
    display: flex;
    padding: 24px;
    overflow-y: auto;
    font-family: 'Pretendard', sans-serif;
}

[data-ll-common-dialog][hidden] {
    display: none;
}

[data-ll-common-dialog] .ll-modal-card {
    width: min(90%, 460px);
    margin: auto;
    padding: 32px 24px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
    color: #333;
    text-align: center;
}

#membership-required-modal .ll-modal-card,
#coming-soon-modal .ll-modal-card {
    max-width: 420px;
}

[data-ll-common-dialog] h2 {
    margin: 0 0 12px;
    color: #1c1e24;
    font-size: 18px;
    font-weight: 600;
}

#coming-soon-modal h2 {
    font-weight: 700;
}

[data-ll-common-dialog] p {
    margin: 0 0 24px;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

#plan-upgrade-modal [data-ll-dialog-message] {
    margin-bottom: 8px;
    color: #333;
}

#plan-upgrade-modal [data-ll-dialog-submessage] {
    color: #777;
    font-size: 13px;
    line-height: 1.5;
}

[data-ll-common-dialog] .ll-modal-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
}

[data-ll-common-dialog] .ll-modal-actions button,
[data-ll-common-dialog] .ll-modal-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
}

/* Dialog open() always moves DOM focus to the primary action for a11y (keyboard/SR users
   need it), even when the dialog was triggered by a mouse click. Keep that focus() call intact
   but only show the ring when the user actually navigated here by keyboard. */
[data-ll-common-dialog] .ll-modal-actions button:focus:not(:focus-visible),
[data-ll-common-dialog] .ll-modal-actions a:focus:not(:focus-visible) {
    outline: none;
}

[data-ll-common-dialog] .ll-modal-actions button {
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
}

[data-ll-common-dialog] .ll-modal-actions a {
    border: 1px solid #111;
    background: #111;
    color: #fff;
}

#plan-upgrade-modal .ll-modal-actions a {
    border-color: #5b21b6;
    background: #5b21b6;
}

#coming-soon-modal .ll-modal-actions button {
    padding-inline: 28px;
    border-color: #1c1e24;
    background: #1c1e24;
    color: #fff;
    font-weight: 600;
}

.ll-modal {
    background: var(--mock-color-white);
    border-radius: var(--mock-radius-card);
    max-width: 460px;
    width: 90%;
    padding: var(--mock-space-7) var(--mock-space-6);
    text-align: center;
    box-shadow: var(--mock-shadow-modal);
}

.ll-modal--lg { max-width: 560px; max-height: 80vh; display: flex; flex-direction: column; }

.ll-modal__title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 var(--mock-space-3);
}

.ll-modal__message {
    color: var(--mock-color-text-sub);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 var(--mock-space-5);
}

.ll-modal__actions {
    display: flex;
    gap: var(--mock-space-2);
    justify-content: center;
}

/* ---- 네비게이션 헤더 (nav-top 정합용) ---- */
.ll-top-nav {
    display: flex;
    gap: 56px;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.ll-top-nav__item {
    font-size: 14px;
    color: var(--mock-color-text);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    position: relative;
}

.ll-top-nav__item.is-active {
    border-bottom-color: var(--mock-color-primary);
    font-weight: 600;
}

/* ---- 헤더 사용자 메뉴 (로그인/비로그인 공통) ---- */
.ll-header-user {
    position: relative;
    display: flex;
    flex: none;
    height: 100%;
    align-items: center;
}

.ll-header-user__trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: #000;
    cursor: pointer;
    font: inherit;
}

.ll-header-user__name {
    display: flex;
    flex: none;
    max-width: 150px;
    overflow: hidden;
    color: #000;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 0.9;
}

.ll-header-user__name:empty {
    display: none;
}

.ll-header-user__icon {
    display: block;
    flex: none;
    width: 20px;
    height: 20px;
    background: url(../images/common/ico_user.svg) no-repeat center center;
    background-size: 20px 20px;
}

.ll-header-user__caret {
    display: block;
    flex: none;
    color: var(--mock-color-text-mute);
    font-size: 11px;
    line-height: 1;
}

.ll-header-user__dropdown {
    position: absolute;
    top: 100%;
    right: -10px;
    z-index: 99;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
    min-width: 124px;
    margin-top: -40px;
    padding: 10px;
    border: 1px solid #bdbdbd;
    border-radius: 10px;
    background: #fff;
    cursor: default;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}

.ll-header-user:hover > .ll-header-user__dropdown,
.ll-header-user__dropdown.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.ll-header-user__dropdown::after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: 100%;
    width: 0;
    height: 0;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #fff;
    border-left: 5px solid transparent;
}

.ll-header-user__dropdown::before {
    content: "";
    position: absolute;
    right: 13px;
    bottom: 100%;
    width: 0;
    height: 0;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(0, 0, 0, 0.6);
    border-left: 6px solid transparent;
}

.ll-header-user__dropdown a,
.ll-header-user__dropdown button {
    display: flex;
    flex: none;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    width: 104px;
    min-height: 32px;
    padding: 6px 10px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    background: #fff;
    color: #000;
    font: inherit;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.ll-header-user__dropdown a:hover,
.ll-header-user__dropdown button:hover {
    background: #f1f1f1;
}

.ll-header-user__divider {
    width: 100%;
    height: 1px;
    background: var(--mock-color-border);
}

/* ---- 푸터 (디자인 스크린샷 정합) ---- */
.ll-footer {
    text-align: center;
    padding: var(--mock-space-7) var(--mock-space-5) var(--mock-space-6);
    color: var(--mock-color-text-sub);
    font-size: 12px;
    line-height: 1.7;
}

.ll-footer__links {
    display: flex;
    gap: var(--mock-space-5);
    justify-content: center;
    margin-bottom: var(--mock-space-3);
}

.ll-footer__links a {
    color: var(--mock-color-text);
    text-decoration: none;
    font-weight: 500;
}

/* ---- 공통 nav/account/footer 원형 ---- */
nav[data-ll-shell] {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid var(--n-100);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    font-family: 'Pretendard', sans-serif;
}

nav[data-ll-shell] [hidden] {
    display: none !important;
}

nav[data-ll-shell] .wrap.nav-in {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: auto;
    max-width: 1160px;
    height: 64px;
    margin: 0 auto;
    padding: 0 28px;
}

nav[data-ll-shell] .logo {
    display: flex;
    flex: none;
    width: 200px;
    height: 30px;
    overflow: hidden;
    background: url(../images/common/logo.png) no-repeat left center;
    background-size: auto 16px;
    text-indent: -400px;
}

nav[data-ll-shell] .nav-menu {
    display: flex;
    justify-self: center;
    gap: 8px;
    color: var(--n-600);
    font-size: 15px;
    font-weight: 600;
}

nav[data-ll-shell] .nav-menu a {
    padding: 9px 20px;
    border-radius: var(--r-pill);
    color: inherit;
    text-align: center;
    text-decoration: none;
    transition: 0.13s;
}

nav[data-ll-shell] .nav-menu a:hover {
    background: var(--lime-100);
    color: var(--n-950);
}

nav[data-ll-shell] .nav-menu a.active,
nav[data-ll-shell] .nav-menu a.active:hover {
    background: var(--lime-300);
    color: var(--n-950);
    font-weight: 600;
}

nav[data-ll-shell] .nav-cta {
    display: flex;
    justify-self: end;
    gap: 8px;
}

nav[data-ll-shell] .btn-ghost,
nav[data-ll-shell] .btn-ink {
    border-radius: var(--r-pill);
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    line-height: normal;
    text-decoration: none;
    transition: 0.15s;
    cursor: pointer;
}

nav[data-ll-shell] .btn-ghost {
    padding: 8px 16px;
    border: 1px solid var(--n-200);
    background: #fff;
    color: var(--n-600);
}

nav[data-ll-shell] .btn-ghost:hover,
nav[data-ll-shell] .btn-ghost.now {
    border-color: var(--lime-300);
    background: var(--lime-300);
    color: var(--n-950);
}

nav[data-ll-shell] .btn-ink {
    padding: 8px 17px;
    border: 0;
    background: var(--n-950);
    color: #fff;
}

nav[data-ll-shell] .btn-ink:hover {
    background: var(--n-800);
}

nav[data-ll-shell] .acct-wrap {
    position: relative;
    display: inline-flex;
}

nav[data-ll-shell] .acct {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 6px 8px 12px;
    border: 0;
    border-radius: var(--r-pill);
    background: none;
    color: var(--n-800);
    font: inherit;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.13s;
}

nav[data-ll-shell] .acct .car {
    color: var(--n-400);
    font-size: 9px;
    transition: 0.15s;
}

nav[data-ll-shell] .acct-wrap:hover .acct,
nav[data-ll-shell] .acct-wrap.open .acct {
    color: var(--n-950);
}

nav[data-ll-shell] .acct-wrap.open .acct .car {
    transform: rotate(180deg);
    color: var(--n-950);
}

nav[data-ll-shell] .acct-pop {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 60;
    width: 232px;
    padding: 8px;
    border: 1px solid var(--n-100);
    border-radius: var(--r-md);
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition: 0.15s;
}

nav[data-ll-shell] .acct-wrap.open .acct-pop {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

nav[data-ll-shell] .ap-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 14px;
    border-radius: var(--r-sm);
    background: var(--n-50);
}

nav[data-ll-shell] .ap-head .nm {
    overflow: hidden;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

nav[data-ll-shell] .ap-tier {
    display: inline-flex;
    flex: none;
    align-items: center;
    padding: 2.5px 9px;
    border-radius: var(--r-pill);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

nav[data-ll-shell] .ap-tier.paid {
    background: var(--n-950);
    color: var(--lime-300);
}

nav[data-ll-shell] .ap-tier.free {
    background: var(--n-100);
    color: var(--n-600);
}

nav[data-ll-shell] .ap-cred {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 8px;
    border: 1px solid var(--n-100);
    border-radius: var(--r-sm);
}

nav[data-ll-shell] .ap-cred.single {
    grid-template-columns: 1fr;
}

nav[data-ll-shell] .ap-cell {
    padding: 7px 10px 8px;
    text-align: center;
}

nav[data-ll-shell] .ap-cell + .ap-cell {
    border-left: 1px solid var(--n-100);
}

nav[data-ll-shell] .ap-cell .lb {
    color: var(--n-500);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

nav[data-ll-shell] .ap-cell .v {
    margin-top: 1px;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    letter-spacing: -0.01em;
}

nav[data-ll-shell] .ap-cell .v.zero,
nav[data-ll-shell] .ap-cell[data-ll-usage-state="denied"] .v {
    color: #DC3B4D;
}

nav[data-ll-shell] .ap-menu {
    margin-top: 8px;
    padding-top: 4px;
}

nav[data-ll-shell] .ap-menu a,
nav[data-ll-shell] .ap-menu button {
    display: block;
    width: 100%;
    padding: 9px 12px;
    border: 0;
    border-radius: var(--r-sm);
    background: none;
    color: var(--n-700);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: 0.12s;
}

nav[data-ll-shell] .ap-menu a:hover,
nav[data-ll-shell] .ap-menu button:hover {
    background: var(--n-50);
    color: var(--n-950);
}

nav[data-ll-shell] .ap-div {
    height: 1px;
    margin: 4px 6px;
    background: var(--n-100);
}

nav[data-ll-shell] .ap-menu .out {
    color: var(--n-500);
}

[data-ll-pc-shell] {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
    flex-direction: column;
}

[data-ll-pc-shell] > [data-ll-footer-spacer] {
    width: 100%;
    flex: 1 0 0;
    pointer-events: none;
}

[data-ll-pc-shell] > main + [data-ll-footer-spacer] {
    min-height: 80px;
}

footer[data-ll-site-footer] {
    flex: none;
    width: 100%;
    padding: 40px 0 44px;
    border-top: 1px solid var(--n-800);
    background: var(--n-950);
    color: var(--n-400);
    font-family: 'Pretendard', sans-serif;
    font-size: 12.5px;
}

footer[data-ll-site-footer] .wrap {
    width: auto;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 28px;
}

footer[data-ll-site-footer] .ft-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

footer[data-ll-site-footer] .ft-logo {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

footer[data-ll-site-footer] .ft-links {
    display: flex;
    gap: 20px;
    font-weight: 500;
}

footer[data-ll-site-footer] .ft-links a {
    color: inherit;
    text-decoration: none;
}

footer[data-ll-site-footer] .ft-links a:hover {
    color: var(--lime-300);
}

footer[data-ll-site-footer] .fine {
    color: var(--n-400);
    line-height: 1.9;
}

@media (max-width: 900px) {
    nav[data-ll-shell] .nav-menu {
        display: none;
    }

    nav[data-ll-shell] .wrap.nav-in {
        grid-template-columns: auto 1fr;
    }
}

@media (max-width: 768px) {
    html:has(> body > nav[data-ll-shell]),
    body:has(> nav[data-ll-shell]) {
        overflow-x: clip;
        overflow-y: visible;
    }
}

@media (max-width: 480px) {
    [data-ll-common-dialog] {
        padding: 16px;
        align-items: flex-start;
    }

    [data-ll-common-dialog] .ll-modal-card {
        width: 100%;
        padding: 24px 18px;
    }

    [data-ll-common-dialog] .ll-modal-actions {
        flex-direction: column;
    }

    [data-ll-common-dialog] .ll-modal-actions button,
    [data-ll-common-dialog] .ll-modal-actions a {
        justify-content: center;
        width: 100%;
    }
}

/* ---- 유틸 ---- */
.ll-mt-1 { margin-top: var(--mock-space-1); }
.ll-mt-2 { margin-top: var(--mock-space-2); }
.ll-mt-3 { margin-top: var(--mock-space-3); }
.ll-mt-4 { margin-top: var(--mock-space-4); }
.ll-mt-5 { margin-top: var(--mock-space-5); }
.ll-mt-6 { margin-top: var(--mock-space-6); }

.ll-text-center { text-align: center; }
.ll-text-sub { color: var(--mock-color-text-sub); }
.ll-text-mute { color: var(--mock-color-text-mute); }

.ll-flex { display: flex; }
.ll-flex-col { flex-direction: column; }
.ll-flex-1 { flex: 1; }
.ll-gap-2 { gap: var(--mock-space-2); }
.ll-gap-3 { gap: var(--mock-space-3); }
.ll-gap-4 { gap: var(--mock-space-4); }
.ll-items-center { align-items: center; }
.ll-justify-between { justify-content: space-between; }
.ll-justify-center { justify-content: center; }
