/* 금시세 확인하기 랜딩 */
:root {
    --lg-red: #E11D2E;
    --lg-red-soft: #FFF1F2;
    --lg-blue: #2563EB;
    --lg-blue-dark: #1D4ED8;
    --lg-blue-soft: #EFF6FF;
    --lg-yellow: #FDE047;
    --lg-yellow-soft: #FEF9C3;
    --lg-text: #1A1A1A;
    --lg-muted: #6B7280;
    --lg-border: #E5E7EB;
    --lg-frame: 440px;
    --lg-font: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
    --app-max-width: var(--lg-frame);
    --color-card-bg: #FFFFFF;
    --color-header-bg: #1A1A1A;
    --color-border: #EEEEEE;
    --color-text-primary: #1A1A1A;
    --color-text-secondary: #888888;
    --color-text-muted: #AAAAAA;
    --color-primary: #C1A35F;
    --color-primary-dark: #A8894A;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body.page-landing-gold {
    margin: 0;
    font-family: var(--lg-font);
    background: #ECECEC;
    color: var(--lg-text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.landing-wrap {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    padding: 0;
}

.landing-frame {
    width: 100%;
    max-width: var(--lg-frame);
    min-height: 100vh;
    min-height: 100dvh;
    background: #fff;
    padding: 0 20px 40px;
    display: flex;
    flex-direction: column;
}

.landing-frame > .landing-topbar,
.landing-frame > .app-topbar {
    margin-left: -20px;
    margin-right: -20px;
    width: calc(100% + 40px);
}

/* ---- Landing topbar / hamburger ---- */
.app-topbar.landing-topbar {
    background: var(--color-header-bg);
    height: 52px;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 900;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 12px;
}

.topbar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.85);
    font-size: 1.375rem;
    cursor: pointer;
    border-radius: 8px;
    padding: 0;
    text-decoration: none;
}

.topbar-btn:hover { color: var(--color-primary); }

.topbar-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 1.0625rem;
    font-weight: 700;
    text-decoration: none;
}

.topbar-brand i { color: var(--color-primary); }

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 2px;
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: min(300px, 85vw);
    height: 100%;
    height: 100dvh;
    background: var(--color-card-bg);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.28s ease, visibility 0s linear 0.28s;
    box-shadow: 4px 0 24px rgba(0,0,0,0.15);
    pointer-events: none;
    visibility: hidden;
}

body.sidebar-open { overflow: hidden; }

body.sidebar-open .sidebar-overlay {
    opacity: 1;
    visibility: visible;
}

body.sidebar-open .sidebar {
    transform: translateX(max(0px, calc(50% - var(--app-max-width) / 2)));
    pointer-events: auto;
    visibility: visible;
    transition: transform 0.28s ease, visibility 0s linear 0s;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-header-bg);
    color: #fff;
}

.sidebar-title { font-size: 0.9375rem; font-weight: 700; }

.sidebar-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    cursor: pointer;
    padding: 4px;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0 24px;
}

.sidebar-label {
    padding: 14px 20px 6px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-primary);
    text-decoration: none;
}

.sidebar-link i {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    width: 22px;
    text-align: center;
}

.sidebar-link:hover,
.sidebar-link.active { background: #F8F4EC; }

.sidebar-link.active {
    color: var(--color-primary-dark);
    font-weight: 700;
}

.sidebar-link.active i { color: var(--color-primary); }

.sidebar-link.highlight { background: linear-gradient(90deg, #FBF6EC, transparent); }

.sidebar-badge {
    margin-left: auto;
    font-size: 0.625rem;
    font-weight: 700;
    background: var(--color-primary);
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
}

@media (min-width: 768px) {
    .landing-wrap { padding: 32px 16px; background: #E8E8E8; }
    .landing-frame {
        min-height: auto;
        border-radius: 20px;
        box-shadow: 0 8px 40px rgba(0,0,0,0.12);
        border: 1px solid rgba(0,0,0,0.06);
    }
}

/* Hero */
.lg-hero {
    margin-top: 24px;
    margin-bottom: 16px;
}
    margin: 0 0 14px;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--lg-red);
}

.lg-hero-body {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 8px;
    align-items: center;
}

.lg-hero-copy h1 {
    margin: 0 0 12px;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--lg-red);
    letter-spacing: -0.02em;
}

.lg-desc {
    margin: 0 0 14px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--lg-text);
    line-height: 1.55;
}

.lg-highlight {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 800;
}

.lg-highlight span {
    background: linear-gradient(transparent 55%, var(--lg-yellow) 55%);
    padding: 0 2px;
}

.lg-art-circle {
    width: 100%;
    max-width: 160px;
    margin-left: auto;
}

.lg-art-svg {
    width: 100%;
    height: auto;
    display: block;
}

.lg-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 18px 0 22px;
}

.lg-brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--lg-red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lg-red);
    font-size: 1rem;
}

.lg-brand strong {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Features */
.lg-features {
    border: 1px solid var(--lg-border);
    border-radius: 14px;
    padding: 20px 14px 16px;
    margin-bottom: 20px;
    background: #FAFAFA;
}

.lg-features h2 {
    margin: 0 0 18px;
    text-align: center;
    font-size: 1rem;
    font-weight: 800;
}

.lg-features h2 span {
    background: linear-gradient(transparent 60%, var(--lg-yellow) 60%);
    padding: 0 4px;
}

.lg-feature-list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.lg-feature-list li {
    position: relative;
    text-align: center;
    padding-top: 8px;
}

.lg-num {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-120%, 0);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--lg-red);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lg-feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 8px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--lg-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lg-red);
    font-size: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.lg-feature-list p {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--lg-text);
}

.lg-price {
    margin: 0;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--lg-red);
}

.lg-price strong {
    font-size: 1.25rem;
}

/* Form */
.lg-alert {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.lg-alert.ok {
    background: #ECFDF5;
    color: #047857;
}

.lg-alert.err {
    background: #FEF2F2;
    color: #B91C1C;
}

.lg-phone-box {
    border: 2px solid var(--lg-blue);
    border-radius: 16px;
    padding: 18px 16px 16px;
    margin-bottom: 16px;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.lg-phone-guide {
    margin: 0 0 14px;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--lg-blue);
}

/* 안내문 + 카드결제 (이미지 스타일) */
.lg-pay-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #E8F1FF;
}

.lg-pay-bar-text {
    margin: 0;
    flex: 1;
    min-width: 0;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--lg-blue);
    line-height: 1.35;
}

.lg-btn-card {
    flex-shrink: 0;
    height: 34px;
    padding: 0 14px;
    border: 1.5px solid var(--lg-blue);
    border-radius: 8px;
    background: #fff;
    color: var(--lg-blue);
    font-family: var(--lg-font);
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.lg-btn-card:hover {
    background: var(--lg-blue);
    color: #fff;
}

.lg-carriers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.lg-carriers.lg-carriers-6 {
    grid-template-columns: repeat(3, 1fr);
}

.lg-carrier {
    cursor: pointer;
}

.lg-carrier input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.lg-carrier span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 4px;
    border: 1.5px solid var(--lg-border);
    border-radius: 8px;
    background: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    color: #374151;
    text-align: center;
    transition: border-color 0.15s, box-shadow 0.15s, color 0.15s;
}

.lg-carrier input:checked + span {
    border-color: var(--lg-blue);
    color: var(--lg-blue);
    box-shadow: 0 0 0 1px var(--lg-blue);
}

.lg-field-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #374151;
}

.lg-input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    margin-bottom: 12px;
    border: 1.5px solid var(--lg-blue);
    border-radius: 8px;
    background: var(--lg-yellow-soft);
    font-family: var(--lg-font);
    font-size: 0.9375rem;
    outline: none;
}

.lg-input::placeholder {
    color: #9CA3AF;
}

.lg-input:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.lg-btn-request {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 8px;
    background: var(--lg-blue);
    color: #fff;
    font-family: var(--lg-font);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

.lg-btn-request:hover {
    background: var(--lg-blue-dark);
}

/* Terms */
.lg-terms {
    margin-bottom: 16px;
}

.lg-agree-all {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--lg-border);
    border-radius: 10px 10px 0 0;
    background: #fff;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
}

.lg-agree-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    padding: 12px 14px;
    border: 1px solid var(--lg-border);
    border-top: none;
    border-radius: 0 0 10px 10px;
    background: #F3F4F6;
}

.lg-agree-list label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #4B5563;
    cursor: pointer;
}

.lg-agree-all input,
.lg-agree-list input {
    width: 16px;
    height: 16px;
    accent-color: var(--lg-blue);
}

/* Actions */
.lg-actions {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 10px;
    margin-bottom: 28px;
}

.lg-btn-cancel {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    border-radius: 10px;
    background: #E5E7EB;
    color: #111;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
}

.lg-btn-submit {
    height: 52px;
    border: none;
    border-radius: 10px;
    background: var(--lg-blue);
    color: #fff;
    font-family: var(--lg-font);
    font-size: 1.0625rem;
    font-weight: 800;
    cursor: pointer;
}

.lg-btn-submit:hover {
    background: var(--lg-blue-dark);
}

/* Footer */
.lg-footer {
    padding-top: 20px;
    border-top: 1px solid var(--lg-border);
}

.lg-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.lg-footer-links a {
    color: #374151;
    text-decoration: none;
}

.lg-footer-links a:hover {
    color: var(--lg-blue);
    text-decoration: underline;
}

.lg-footer-links span {
    color: #D1D5DB;
}

.lg-biz {
    margin: 0;
    padding: 14px;
    background: #F9FAFB;
    border-radius: 10px;
    font-size: 0.75rem;
    color: #4B5563;
}

.lg-biz > div {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 6px;
    padding: 4px 0;
}

.lg-biz dt {
    margin: 0;
    font-weight: 700;
    color: #6B7280;
}

.lg-biz dd {
    margin: 0;
    line-height: 1.45;
}

.lg-biz small {
    display: inline-block;
    margin-top: 2px;
    color: #9CA3AF;
}

.lg-copy {
    margin: 14px 0 0;
    text-align: center;
    font-size: 0.6875rem;
    color: #9CA3AF;
}

/* Legal subpages */
.legal-frame {
    padding-bottom: 40px;
}

.lg-legal {
    padding: 8px 0 24px;
}

.lg-legal h1 {
    margin: 0 0 8px;
    font-size: 1.375rem;
    font-weight: 800;
}

.lg-legal .lg-updated {
    margin: 0 0 20px;
    font-size: 0.75rem;
    color: var(--lg-muted);
}

.lg-legal .lg-meta {
    margin: 0 0 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #4B5563;
}

.lg-legal h2 {
    margin: 28px 0 10px;
    padding-top: 8px;
    border-top: 1px solid var(--lg-border);
    font-size: 1.0625rem;
    font-weight: 800;
    line-height: 1.4;
}

.lg-legal h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.lg-legal h3 {
    margin: 16px 0 8px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111;
}

.lg-legal p {
    margin: 0 0 12px;
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.7;
}

.lg-legal ul {
    margin: 0 0 14px;
    padding-left: 18px;
}

.lg-legal li {
    margin-bottom: 6px;
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.65;
}

.lg-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 16px 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lg-blue);
    text-decoration: none;
}

@media (min-width: 992px) {
    body.page-legal {
        --lg-frame: 720px;
    }
}

@media (min-width: 992px) {
    body.page-landing-gold {
        --lg-frame: 480px;
    }

    .lg-hero-copy h1 {
        font-size: 2rem;
    }
}

/* ---- 숨은 환급금 랜딩 ---- */
.rf-hero {
    margin-top: 24px;
    margin-bottom: 18px;
}

.rf-eyebrow {
    margin: 0 0 12px;
    font-size: 0.8125rem;
    font-weight: 700;
}

.rf-eyebrow .muted { color: #9CA3AF; }
.rf-eyebrow .accent { color: var(--lg-red); }

.rf-title {
    margin: 0 0 18px;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.35;
    color: #111;
    letter-spacing: -0.02em;
}

.rf-title .blue { color: var(--lg-blue); }

.rf-desc {
    margin: -8px 0 18px;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.55;
    color: #6B7280;
}

.rf-features h2 {
    margin: 0 0 8px;
    font-size: 0.875rem;
    font-weight: 800;
    color: #111;
}

.rf-features ul {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.rf-features li {
    position: relative;
    padding-left: 12px;
    margin-bottom: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.5;
    color: #374151;
}

.rf-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #9CA3AF;
}

.rf-features .red {
    color: var(--lg-red);
    font-weight: 700;
}

.rf-promo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--lg-border);
    border-radius: 12px;
    background: #fff;
    margin-bottom: 4px;
}

.rf-promo-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
}

.rf-promo-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.rf-promo p {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #111;
    line-height: 1.4;
}

.rf-promo strong {
    color: var(--lg-blue);
    font-weight: 800;
}

.rf-phone-box {
    background: var(--lg-blue-soft);
}

/* ---- 가입 완료 / 서비스 로그인 ---- */
.welcome-frame {
    padding-top: 0;
}

.welcome-joined {
    margin: 16px 0 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #047857;
    font-size: 0.8125rem;
    font-weight: 700;
    text-align: center;
}

.welcome-banner {
    margin: 16px 0 20px;
    border-radius: 0;
    background: linear-gradient(135deg, #4F6BED 0%, #3B5BDB 55%, #364FC7 100%);
    color: #fff;
    overflow: hidden;
}

/* gold / refund 상단 배너 동일 스타일 */
.welcome-banner-gold,
.welcome-banner-refund {
    background: linear-gradient(135deg, #4F6BED 0%, #3B5BDB 55%, #364FC7 100%);
}

.welcome-banner-inner {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 8px;
    align-items: center;
    padding: 22px 18px 20px;
}

.welcome-lead {
    margin: 0 0 8px;
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0.95;
}

.welcome-copy h1 {
    margin: 0 0 14px;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.welcome-copy .hl {
    background: linear-gradient(transparent 62%, #FDE047 62%);
    color: #fff;
    padding: 0 2px;
}

.welcome-bullets {
    list-style: none;
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: #FBBF24;
    color: #1A1A1A;
}

.welcome-bullets li {
    position: relative;
    padding-left: 12px;
    margin-bottom: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.4;
}

.welcome-bullets li:last-child { margin-bottom: 0; }

.welcome-bullets li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
}

.welcome-art {
    display: flex;
    justify-content: center;
}

.welcome-hero-svg {
    width: 100%;
    max-width: 140px;
    height: auto;
    display: block;
}

.welcome-hero-img {
    width: 100%;
    max-width: 150px;
    height: auto;
    display: block;
    object-fit: contain;
}

.welcome-form {
    padding: 0 4px;
    margin-bottom: 12px;
}

.welcome-input {
    width: 100%;
    height: 52px;
    margin-bottom: 12px;
    padding: 0 16px;
    border: none;
    border-radius: 10px;
    background: #F3F4F6;
    font-family: var(--lg-font);
    font-size: 0.9375rem;
    outline: none;
}

.welcome-input:focus {
    box-shadow: 0 0 0 2px rgba(59, 91, 219, 0.35);
}

.welcome-btn-login {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    margin-bottom: 10px;
    border: none;
    border-radius: 10px;
    background: #F97316;
    color: #fff;
    font-family: var(--lg-font);
    font-size: 1.0625rem;
    font-weight: 800;
    cursor: pointer;
}

.welcome-btn-login:hover { background: #EA580C; }

.welcome-btn-signup {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    border-radius: 10px;
    background: #3B5BDB;
    color: #fff;
    font-size: 1.0625rem;
    font-weight: 800;
    text-decoration: none;
}

.welcome-btn-signup:hover { filter: brightness(0.95); }

.service-gold .welcome-btn-signup {
    background: #A8894A;
}

.welcome-hint {
    margin: 0 0 4px;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
}

.welcome-hint.muted {
    margin-bottom: 24px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #9CA3AF;
}

.page-welcome .lg-footer {
    margin-top: 8px;
}

/* ---- 환급금 조회 링크 목록 ---- */
.refund-links-frame {
    padding-top: 0;
}

.rl-header {
    margin-top: 20px;
    margin-bottom: 14px;
}

.rl-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.rl-header h1 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.rl-logout {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6B7280;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 8px;
    background: #F3F4F6;
}

.rl-user {
    margin: 0 0 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--lg-blue);
}

.rl-desc {
    margin: 0;
    font-size: 0.8125rem;
    color: #4B5563;
    line-height: 1.5;
}

.rl-notice {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 12px 14px;
    margin-bottom: 18px;
    border-radius: 10px;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    font-size: 0.75rem;
    color: #1E40AF;
    line-height: 1.45;
}

.rl-notice i {
    flex-shrink: 0;
    margin-top: 1px;
}

.rl-section {
    margin-bottom: 18px;
}

.rl-cat {
    margin: 0 0 8px;
    padding-left: 2px;
    font-size: 0.8125rem;
    font-weight: 800;
    color: #111;
}

.rl-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rl-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--lg-border);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.rl-item:hover {
    border-color: #93C5FD;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.12);
}

.rl-no {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #EFF6FF;
    color: var(--lg-blue);
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rl-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rl-text strong {
    font-size: 0.875rem;
    font-weight: 700;
    color: #111;
}

.rl-text small {
    font-size: 0.75rem;
    color: #6B7280;
}

.rl-item > .bi {
    flex-shrink: 0;
    color: #9CA3AF;
    font-size: 0.875rem;
}

@media (min-width: 992px) {
    body.page-refund-links {
        --lg-frame: 720px;
    }

    .rl-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

/* ---- 본인인증형 입력폼 (스크린샷 스타일) ---- */
.lg-id-form {
    margin-top: 8px;
}

.lg-id-card {
    background: var(--lg-blue-soft);
    border: 2px solid var(--lg-blue);
    border-radius: 20px;
    padding: 18px 16px 16px;
    margin-bottom: 18px;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.lg-id-pay-bar {
    background: #E8F1FF;
    margin-bottom: 12px;
}

.lg-id-pay-bar .lg-pay-bar-text {
    color: var(--lg-blue);
}

.lg-id-pay-bar .lg-btn-card {
    border-color: var(--lg-blue);
    color: var(--lg-blue);
}

.lg-id-pay-bar .lg-btn-card:hover {
    background: var(--lg-blue);
    color: #fff;
}

.lg-id-field {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 10px 12px 12px;
    margin-bottom: 10px;
}

.lg-id-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #9CA3AF;
}

.lg-id-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--lg-font);
    font-size: 1.0625rem;
    font-weight: 700;
    color: #111;
    padding: 0;
    height: 28px;
}

.lg-id-input::placeholder {
    color: #D1D5DB;
    font-weight: 500;
}

.lg-id-rrn {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lg-id-birth {
    width: 5.5em;
    flex: 0 0 auto;
    letter-spacing: 0.04em;
}

.lg-id-dash {
    color: #9CA3AF;
    font-weight: 700;
}

.lg-id-gender {
    width: 1.4em;
    flex: 0 0 auto;
    text-align: center;
}

.lg-id-mask {
    color: #9CA3AF;
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    user-select: none;
}

.lg-id-phone-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lg-id-carrier-wrap {
    position: relative;
    flex: 0 0 auto;
    min-width: 88px;
}

.lg-id-carrier {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 28px;
    padding: 0 22px 0 0;
    border: none;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E") no-repeat right center;
    font-family: var(--lg-font);
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    cursor: pointer;
    outline: none;
}

.lg-id-phone {
    flex: 1;
    min-width: 0;
    letter-spacing: 0.02em;
}

.lg-id-submit {
    display: block;
    width: 100%;
    height: 52px;
    margin-top: 4px;
    border: none;
    border-radius: 12px;
    background: var(--lg-blue);
    color: #fff;
    font-family: var(--lg-font);
    font-size: 1.0625rem;
    font-weight: 800;
    cursor: pointer;
}

.lg-id-submit:hover {
    background: var(--lg-blue-dark);
}

.lg-id-terms {
    margin: 0 0 24px;
    padding: 4px 2px;
}

.lg-id-agree {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 4px;
    cursor: pointer;
    color: #374151;
    font-size: 0.875rem;
}

.lg-id-agree input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.lg-id-check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid #D1D5DB;
    border-radius: 50%;
    background: #fff;
    position: relative;
}

.lg-id-agree input:checked + .lg-id-check {
    border-color: var(--lg-blue);
    background: var(--lg-blue);
}

.lg-id-agree input:checked + .lg-id-check::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.lg-id-agree-box {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.lg-id-agree-link {
    flex: 1;
    min-width: 0;
    color: var(--lg-blue);
    font-weight: 700;
    text-decoration: underline;
    line-height: 1.35;
}

.lg-id-agree-text {
    flex: 1;
    min-width: 0;
    line-height: 1.35;
}

.lg-id-agree-all .lg-id-agree-text {
    font-size: 0.9375rem;
}

.lg-id-agree .bi-chevron-down {
    flex-shrink: 0;
    color: #9CA3AF;
    font-size: 0.875rem;
}

