*{box-sizing:border-box}
:root{--brand:#ff5a00;--brand2:#ff7a1a;--ink:#111827;--muted:#6b7280;--line:#e8ecf1;--soft:#fff7ed}
body{margin:0;background:#f4f5f7;color:var(--ink);font-family:Arial,'Malgun Gothic',sans-serif}
.mypage-app{width:100%;max-width:520px;min-height:100vh;margin:0 auto;padding-bottom:92px;background:#fff}
.mypage-header{min-height:64px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 12px;position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.mypage-header button{width:40px;height:40px;padding:0;border:0;border-radius:12px;background:#f7f8fa;color:#1f2937;font-size:32px;line-height:1}
.mypage-header>div span{display:block;margin-bottom:1px;color:var(--brand);font-size:11px;font-weight:900}.mypage-header h1{margin:0;font-size:19px;line-height:1.1;letter-spacing:-.5px}
.mypage-login-badge{min-height:30px;padding:0 9px;display:flex;align-items:center;border-radius:999px;background:#ecfdf5;color:#047857;font-size:10px;font-weight:900}
.mypage-body{padding:10px 10px 28px}.guest-hero,.member-hero{padding:16px;border:1px solid #f3e3d8;border-radius:18px;background:radial-gradient(circle at 95% 0,rgba(255,122,26,.14),transparent 42%),linear-gradient(135deg,#fff 0%,#fff8f2 100%);box-shadow:0 7px 18px rgba(15,23,42,.045)}
.guest-hero{display:flex;align-items:center;justify-content:space-between;gap:14px}.guest-hero h2,.member-greeting h2{margin:3px 0 5px;font-size:21px;letter-spacing:-.6px}.guest-hero p,.member-greeting p{margin:0;color:var(--muted);font-size:12px;line-height:1.55}.guest-hero-icon{width:54px;height:54px;flex:0 0 54px;display:flex;align-items:center;justify-content:center;border-radius:17px;background:linear-gradient(145deg,var(--brand),var(--brand2));font-size:25px;box-shadow:0 9px 20px rgba(255,90,0,.22)}
.section-kicker{color:var(--brand);font-size:10px;font-weight:950}.social-login-card{margin-top:9px;padding:12px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 5px 16px rgba(15,23,42,.045)}.social-buttons{display:grid;gap:8px}.social-login{height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:9px;text-decoration:none;font-size:14px;font-weight:900}.social-login.kakao{background:#fee500;color:#191919}.social-login.naver{background:#03c75a;color:#fff}.social-logo{width:25px;height:25px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(255,255,255,.92);font-size:13px;font-weight:950}.social-login.naver .social-logo{color:#03c75a}.social-login.kakao .social-logo{color:#191919}.social-login-card>p{margin:9px 1px 0;color:#8a93a1;font-size:10px;line-height:1.5;text-align:center}
.mypage-section{margin-top:14px}.section-title-row{min-height:39px;display:flex;align-items:flex-end;justify-content:space-between;gap:10px;padding:0 2px 7px}.section-title-row h2{margin:2px 0 0;font-size:17px;letter-spacing:-.45px}.section-title-row>small{color:#8a93a1;font-size:10px}.quick-grid,.activity-grid{display:grid;gap:8px}.quick-card,.activity-card,.management-card{position:relative;display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);border-radius:14px;background:#fff;color:#303743;text-decoration:none;box-shadow:0 4px 13px rgba(15,23,42,.04)}.quick-icon,.activity-icon,.management-icon{width:38px;height:38px;flex:0 0 38px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#fff2e9;font-size:18px}.quick-card>div,.activity-card>div,.management-card>div{min-width:0;flex:1}.quick-card b,.activity-card b{display:block;font-size:13px}.quick-card small,.activity-card small,.management-card small{display:block;margin-top:3px;color:#8a93a1;font-size:10px;line-height:1.4}.quick-card em,.activity-card em,.management-card em{margin-left:auto;color:var(--brand);font-style:normal;font-size:12px;font-weight:900;white-space:nowrap}.member-only-chip{margin-left:auto;padding:5px 7px;border-radius:999px;background:#fff7ed;color:#c2410c;font-size:9px;font-weight:900}.benefit-card{background:linear-gradient(135deg,#fff,#fffaf6)}
.member-profile-row{display:flex;align-items:center;gap:12px}.member-avatar{width:52px;height:52px;flex:0 0 52px;display:flex;align-items:center;justify-content:center;border-radius:17px;background:linear-gradient(145deg,#111827,#374151);color:#fff;font-size:22px;font-weight:950;box-shadow:0 8px 18px rgba(17,24,39,.18)}.member-greeting{min-width:0}.member-greeting>span{color:var(--brand);font-size:10px;font-weight:900}.member-greeting h2{font-size:19px}.savings-card{margin-top:14px;padding:12px 13px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #fed7aa;border-radius:13px;background:linear-gradient(135deg,#fff7ed,#fffaf6)}.savings-card span{display:block;color:#9a4d1c;font-size:11px;font-weight:900}.savings-card small{display:block;margin-top:2px;color:#b97a54;font-size:9px}.savings-card strong{color:#ea580c;font-size:23px;letter-spacing:-.4px}.savings-card strong em{margin-left:2px;font-style:normal;font-size:12px}.member-stats{margin-top:9px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.member-stats a{min-width:0;padding:10px 6px;border:1px solid var(--line);border-radius:12px;background:#fff;text-align:center;text-decoration:none}.member-stats span{display:block;color:#8a93a1;font-size:9px}.member-stats strong{display:block;margin-top:4px;color:#1f2937;font-size:14px}
.info-management-grid{display:grid;gap:8px}.management-card{padding:13px}.management-card>div>span{display:block;color:#7b8492;font-size:10px}.management-card strong{display:block;margin-top:3px;color:#20242c;font-size:13px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.management-card .address-preview{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.savings-guide{margin-top:14px;padding:11px 12px;display:flex;align-items:flex-start;gap:9px;border:1px solid #fee2c9;border-radius:13px;background:#fff8f1}.savings-guide>span{font-size:18px}.savings-guide b{display:block;color:#9a4d1c;font-size:11px}.savings-guide p{margin:3px 0 0;color:#8c6a54;font-size:10px;line-height:1.5}.logout-btn{width:100%;height:44px;margin-top:13px;border:1px solid #dfe3e8;border-radius:11px;background:#fff;color:#6b7280;font-size:12px;font-weight:900}.footer-links{margin-top:28px;padding:24px 0 5px;border-top:1px solid #edf0f3;text-align:center}.footer-menu{display:flex;justify-content:center;align-items:center;gap:7px;flex-wrap:wrap;font-size:10px}.footer-menu a{color:#6b7280;text-decoration:none}.footer-menu span{color:#d1d5db}.footer-company{margin-top:10px;color:#8a93a1;font-size:9px;line-height:1.6}.footer-company strong{color:#4b5563;font-size:10px}.footer-copy{margin-top:6px;color:#b0b5bd;font-size:9px}
.mypage-bottom-tab{position:fixed!important;left:50%!important;bottom:0!important;transform:translateX(-50%)!important;width:100%!important;max-width:520px!important;height:76px!important;padding:6px 8px calc(6px + env(safe-area-inset-bottom))!important;margin:0!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px!important;background:rgba(255,255,255,.98)!important;border-top:1px solid #e5e8ee!important;box-shadow:0 -12px 32px rgba(17,24,39,.16)!important;z-index:9998!important}.mypage-bottom-tab a{width:100%!important;min-width:0!important;height:58px!important;padding:0!important;margin:0!important;border:0!important;border-radius:16px!important;background:#fff!important;color:#6b7280!important;text-decoration:none!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;font-size:11px!important;font-weight:900!important;line-height:1.1!important}.mypage-bottom-tab .tab-icon{font-size:22px!important;line-height:1!important}.mypage-bottom-tab .active{background:linear-gradient(180deg,#fff2e9,#fff7f2)!important;color:var(--brand)!important;border:1px solid #ffd8c5!important;box-shadow:0 5px 14px rgba(255,90,0,.12)!important}
@media(min-width:700px) and (max-width:899px){.guest-grid,.activity-grid,.info-management-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.guest-grid .benefit-card{grid-column:1/-1}}
@media(min-width:900px){body{background:#e7e9ed}.mypage-app{max-width:1180px;min-height:calc(100vh - 60px);margin:30px auto;padding-bottom:112px;overflow:hidden;border-radius:26px;box-shadow:0 18px 55px rgba(15,23,42,.11)}.mypage-header{min-height:74px;grid-template-columns:48px minmax(0,1fr) auto;padding:10px 22px}.mypage-header h1{font-size:23px}.mypage-body{padding:18px 20px 36px}.guest-hero,.member-hero{padding:24px 26px;border-radius:22px}.guest-hero h2{font-size:28px}.guest-hero p,.member-greeting p{font-size:13px}.guest-hero-icon{width:66px;height:66px;flex-basis:66px;font-size:31px}.social-login-card{padding:18px;border-radius:19px}.social-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.social-login{height:54px;font-size:15px}.mypage-section{margin-top:20px}.section-title-row{min-height:46px}.section-title-row h2{font-size:20px}.quick-grid.guest-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.quick-card,.activity-card,.management-card{padding:17px;border-radius:17px}.quick-icon,.activity-icon,.management-icon{width:46px;height:46px;flex-basis:46px;font-size:21px}.quick-card b,.activity-card b{font-size:15px}.quick-card small,.activity-card small,.management-card small{font-size:11px}.member-profile-row{gap:16px}.member-avatar{width:64px;height:64px;flex-basis:64px;font-size:27px}.member-greeting h2{font-size:26px}.savings-card{margin-top:18px;padding:17px 19px;border-radius:16px}.savings-card strong{font-size:31px}.member-stats{margin-top:12px;gap:10px}.member-stats a{padding:14px 8px;border-radius:14px}.member-stats span{font-size:11px}.member-stats strong{font-size:18px}.info-management-grid,.activity-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.management-card strong{font-size:15px}.savings-guide{padding:15px 16px}.savings-guide b{font-size:13px}.savings-guide p{font-size:11px}.logout-btn{max-width:220px;margin-left:auto;margin-right:auto}.mypage-bottom-tab{max-width:1180px!important;height:78px!important;bottom:30px!important;padding:6px 160px!important;border-radius:0 0 26px 26px!important}.mypage-bottom-tab a{height:60px!important;font-size:12px!important}}


/* =========================================================
   v045 마이페이지 모바일 한 화면 집중형 리뉴얼
   ========================================================= */

.guest-compact-panel,
.member-compact-hero{
    border:1px solid #f3e3d8;
    background:
        radial-gradient(circle at 95% 0,rgba(255,122,26,.14),transparent 42%),
        linear-gradient(135deg,#fff 0%,#fff8f2 100%);
    box-shadow:0 6px 16px rgba(15,23,42,.045);
}

.guest-compact-panel{
    padding:12px;
    border-radius:16px;
}

.guest-compact-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
}

.guest-compact-head > div{
    min-width:0;
}

.guest-compact-head h2{
    margin:2px 0 4px;
    font-size:19px;
    line-height:1.15;
    letter-spacing:-.55px;
}

.guest-compact-head p{
    margin:0;
    max-width:390px;
    color:#626b79;
    font-size:13px;
    line-height:1.45;
}

.guest-compact-icon{
    width:42px;
    height:42px;
    flex:0 0 42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:13px;
    background:linear-gradient(145deg,var(--brand),var(--brand2));
    box-shadow:0 7px 16px rgba(255,90,0,.18);
    font-size:20px;
}

.compact-social-buttons{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
    margin-top:10px;
}

.compact-social-buttons .social-login{
    height:46px;
    padding:0 8px;
    border-radius:11px;
    font-size:14px;
}

.guest-login-note{
    margin:7px 0 0;
    color:#7b8492;
    font-size:12px;
    line-height:1.3;
    text-align:center;
}

.compact-section{
    margin-top:11px;
}

.compact-section-title{
    min-height:32px;
    padding:0 2px 6px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
}

.compact-section-title h2{
    margin:0;
    font-size:17px;
    line-height:1.15;
    letter-spacing:-.4px;
}

.compact-section-title span{
    color:#8a93a1;
    font-size:11px;
}

.guest-shortcut-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:6px;
}

.shortcut-tile{
    min-width:0;
    min-height:88px;
    padding:9px 5px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:3px;
    border:1px solid var(--line);
    border-radius:13px;
    background:#fff;
    color:#303743;
    text-decoration:none;
    text-align:center;
    box-shadow:0 4px 11px rgba(15,23,42,.035);
}

.shortcut-icon{
    width:32px;
    height:32px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:#fff2e9;
    font-size:17px;
}

.shortcut-tile b{
    font-size:13px;
    line-height:1.15;
}

.shortcut-tile small{
    max-width:100%;
    overflow:hidden;
    color:#7b8492;
    font-size:11px;
    line-height:1.2;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.savings-shortcut{
    background:linear-gradient(135deg,#fff,#fffaf6);
}

.member-compact-hero{
    padding:11px 12px;
    border-radius:16px;
}

.member-compact-profile{
    display:grid;
    grid-template-columns:46px minmax(0,1fr) auto;
    align-items:center;
    gap:9px;
}

.member-compact-hero .member-avatar{
    width:46px;
    height:46px;
    flex-basis:46px;
    border-radius:14px;
    font-size:20px;
}

.member-compact-greeting{
    min-width:0;
}

.member-compact-greeting > span{
    display:block;
    margin-bottom:2px;
    color:var(--brand);
    font-size:11px;
    font-weight:900;
}

.member-compact-greeting h2{
    margin:0;
    overflow:hidden;
    font-size:18px;
    line-height:1.2;
    letter-spacing:-.45px;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.member-savings-mini{
    min-width:88px;
    padding:7px 9px;
    border:1px solid #fed7aa;
    border-radius:11px;
    background:#fff8ef;
    text-align:right;
}

.member-savings-mini span{
    display:block;
    margin-bottom:2px;
    color:#9a4d1c;
    font-size:10px;
    font-weight:900;
}

.member-savings-mini strong{
    color:#ea580c;
    font-size:18px;
    letter-spacing:-.3px;
}

.member-savings-mini em{
    margin-left:1px;
    font-style:normal;
    font-size:10px;
}

.compact-member-stats{
    margin-top:7px;
    gap:5px;
}

.compact-member-stats a{
    min-height:54px;
    padding:7px 4px;
    border-radius:11px;
}

.compact-member-stats span{
    font-size:10px;
}

.compact-member-stats strong{
    margin-top:3px;
    font-size:15px;
}

.compact-management-list{
    display:grid;
    gap:6px;
}

.compact-management-row{
    min-height:61px;
    padding:8px 10px;
    display:grid;
    grid-template-columns:38px minmax(0,1fr) auto;
    align-items:center;
    gap:9px;
    border:1px solid var(--line);
    border-radius:13px;
    background:#fff;
    color:#303743;
    text-decoration:none;
    box-shadow:0 4px 11px rgba(15,23,42,.035);
}

.compact-management-row .management-icon{
    width:38px;
    height:38px;
    flex-basis:38px;
    border-radius:11px;
}

.compact-management-row > div{
    min-width:0;
}

.compact-management-row > div > span{
    display:block;
    color:#7b8492;
    font-size:11px;
}

.compact-management-row strong{
    display:block;
    margin-top:2px;
    overflow:hidden;
    color:#20242c;
    font-size:14px;
    line-height:1.25;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.compact-management-row small{
    display:block;
    margin-top:2px;
    overflow:hidden;
    color:#8a93a1;
    font-size:11px;
    line-height:1.25;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.compact-management-row em{
    color:var(--brand);
    font-style:normal;
    font-size:12px;
    font-weight:900;
    white-space:nowrap;
}

.pending-change-text{
    color:#b45309!important;
    font-weight:800;
}

.member-shortcut-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px;
}

.member-shortcut{
    min-height:61px;
    padding:8px 9px;
    display:flex;
    align-items:center;
    gap:8px;
    border:1px solid var(--line);
    border-radius:13px;
    background:#fff;
    color:#303743;
    text-decoration:none;
    box-shadow:0 4px 11px rgba(15,23,42,.035);
}

.member-shortcut > span{
    width:34px;
    height:34px;
    flex:0 0 34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:#fff2e9;
    font-size:17px;
}

.member-shortcut > div{
    min-width:0;
}

.member-shortcut b{
    display:block;
    font-size:13px;
    line-height:1.2;
}

.member-shortcut small{
    display:block;
    margin-top:2px;
    overflow:hidden;
    color:#8a93a1;
    font-size:10px;
    line-height:1.2;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.compact-logout-btn{
    height:38px;
    margin-top:10px;
    font-size:12px;
}

@media(max-width:899px){
    .mypage-app{
        padding-bottom:82px;
    }

    .mypage-header{
        min-height:58px;
        grid-template-columns:38px minmax(0,1fr) auto;
        padding:6px 9px;
    }

    .mypage-header button{
        width:36px;
        height:36px;
        font-size:29px;
    }

    .mypage-header>div span{
        font-size:11px;
    }

    .mypage-header h1{
        font-size:19px;
    }

    .mypage-login-badge{
        min-height:27px;
        padding:0 7px;
        font-size:10px;
    }

    .mypage-body{
        padding:7px 8px 20px;
    }

    .footer-links{
        margin-top:18px;
        padding-top:18px;
    }
}

@media(max-width:360px){
    .guest-compact-head p{
        font-size:12px;
    }

    .compact-social-buttons .social-login{
        font-size:13px;
    }

    .member-compact-profile{
        grid-template-columns:42px minmax(0,1fr) auto;
        gap:7px;
    }

    .member-compact-hero .member-avatar{
        width:42px;
        height:42px;
        flex-basis:42px;
    }

    .member-compact-greeting h2{
        font-size:16px;
    }

    .member-savings-mini{
        min-width:78px;
        padding:6px 7px;
    }

    .member-savings-mini strong{
        font-size:16px;
    }
}

@media(min-width:900px){
    .mypage-body{
        padding:18px 20px 36px;
    }

    .guest-compact-panel{
        padding:20px 22px;
        border-radius:20px;
    }

    .guest-compact-head h2{
        font-size:27px;
    }

    .guest-compact-head p{
        font-size:14px;
    }

    .guest-compact-icon{
        width:58px;
        height:58px;
        flex-basis:58px;
        font-size:27px;
    }

    .compact-social-buttons{
        max-width:720px;
        gap:12px;
        margin-top:14px;
    }

    .compact-social-buttons .social-login{
        height:54px;
        font-size:15px;
    }

    .compact-section{
        margin-top:18px;
    }

    .compact-section-title{
        min-height:42px;
    }

    .compact-section-title h2{
        font-size:20px;
    }

    .guest-shortcut-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:12px;
    }

    .shortcut-tile{
        min-height:120px;
        padding:14px;
        border-radius:17px;
    }

    .shortcut-icon{
        width:42px;
        height:42px;
        font-size:21px;
    }

    .shortcut-tile b{
        font-size:15px;
    }

    .shortcut-tile small{
        font-size:12px;
    }

    .member-compact-hero{
        padding:18px 20px;
        border-radius:20px;
    }

    .member-compact-profile{
        grid-template-columns:58px minmax(0,1fr) 160px;
        gap:14px;
    }

    .member-compact-hero .member-avatar{
        width:58px;
        height:58px;
        flex-basis:58px;
        font-size:25px;
    }

    .member-compact-greeting > span{
        font-size:12px;
    }

    .member-compact-greeting h2{
        font-size:25px;
    }

    .member-savings-mini{
        min-width:160px;
        padding:12px 14px;
        border-radius:14px;
    }

    .member-savings-mini span{
        font-size:12px;
    }

    .member-savings-mini strong{
        font-size:28px;
    }

    .compact-member-stats{
        gap:10px;
        margin-top:10px;
    }

    .compact-member-stats a{
        min-height:72px;
        padding:12px 8px;
    }

    .compact-member-stats span{
        font-size:11px;
    }

    .compact-member-stats strong{
        font-size:19px;
    }

    .compact-management-list{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:12px;
    }

    .compact-management-row{
        min-height:86px;
        padding:14px 16px;
        grid-template-columns:46px minmax(0,1fr) auto;
        border-radius:17px;
    }

    .compact-management-row .management-icon{
        width:46px;
        height:46px;
        font-size:21px;
    }

    .compact-management-row > div > span{
        font-size:12px;
    }

    .compact-management-row strong{
        font-size:16px;
    }

    .compact-management-row small{
        font-size:12px;
    }

    .member-shortcut-grid{
        gap:12px;
    }

    .member-shortcut{
        min-height:86px;
        padding:14px 16px;
        border-radius:17px;
    }

    .member-shortcut > span{
        width:46px;
        height:46px;
        flex-basis:46px;
        font-size:21px;
    }

    .member-shortcut b{
        font-size:15px;
    }

    .member-shortcut small{
        font-size:12px;
    }

    .compact-logout-btn{
        max-width:220px;
        height:44px;
        margin-left:auto;
        margin-right:auto;
    }
}
