#mypageUI{--mypage-avatar-size:50px;max-width:1180px;min-height:0;padding:16px 16px 12px;margin:auto}
#mypageUI .profile-section{display:grid;gap:16px;padding:18px;margin:0 0 16px;border:0;border-radius:16px;background:#fff;box-shadow:0 8px 28px rgba(17,24,39,.055)}
#mypageUI .profile-header{padding-right:0;min-width:0;flex-wrap:wrap;align-items:center;gap:12px}
#mypageUI .profile-actions{width:100%;min-width:0;flex:0 0 auto;margin:0}
#mypageUI .profile-identity{min-width:0;max-width:none;gap:12px}
#mypageUI .member-grade-chip{--member-grade-color:#8b6f5a;order:3;display:grid;flex:0 0 100%;width:100%;max-width:100%;min-height:78px;margin:0;padding:11px 13px;gap:8px;border:0;border-radius:12px;background:#f6f7f5;color:#25292f;text-decoration:none;box-shadow:none}
#mypageUI .member-grade-chip:hover{background:color-mix(in srgb,var(--member-grade-color) 5%,#f7f8f6);transform:none}
#mypageUI .member-grade-chip__heading{display:grid;grid-template-columns:26px auto 1fr auto;align-items:center;gap:8px;min-width:0}
#mypageUI .member-grade-chip__mark{display:grid;place-items:center;width:26px;height:26px;border:1px solid color-mix(in srgb,var(--member-grade-color) 28%,#e3e5e1);border-radius:50%;color:var(--member-grade-color);background:color-mix(in srgb,var(--member-grade-color) 7%,#fff);box-shadow:none}
#mypageUI .member-grade-chip__mark i{font-size:10px}
#mypageUI .member-grade-chip__heading strong{color:var(--member-grade-color);font-size:12px;font-weight:900;letter-spacing:.04em;white-space:nowrap}
#mypageUI .member-grade-chip__heading small{min-width:0;color:#777e87;font-size:10px;font-weight:700;text-align:right;white-space:nowrap}
#mypageUI .member-grade-chip__heading>i{color:#9ba1a8;font-size:9px}
#mypageUI .member-grade-chip__progress{display:block;width:100%;height:6px;overflow:hidden;border-radius:999px;background:#e9ece8}
#mypageUI .member-grade-chip__progress>span{display:block;width:0;height:100%;border-radius:inherit;background:var(--member-grade-color);transition:width .7s ease}
#mypageUI .member-grade-chip__meta{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
#mypageUI .member-grade-chip__meta small{overflow:hidden;color:#858b93;font-size:9px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
#mypageUI .member-grade-chip__meta small:last-child{color:#50565e;font-weight:750;text-align:right}
#mypageUI .profile-actions{order:4}
#mypageUI .logout-btn{position:static;flex:0 0 auto;min-height:32px;padding:6px 8px;border-radius:6px;font-size:11px}
#mypageUI .profile-avatar-wrap{width:var(--mypage-avatar-size);height:var(--mypage-avatar-size);flex:0 0 var(--mypage-avatar-size)}
#mypageUI .profile-avatar{width:100%;height:100%;min-width:0;min-height:0;flex:0 0 100%;aspect-ratio:1;border-radius:50%;overflow:hidden;box-sizing:border-box}
#mypageUI #profileImage{width:100%;height:100%;object-fit:cover;object-position:center;flex:0 0 100%}
#mypageUI .profile-info{min-width:0}
#mypageUI .profile-name{font-size:22px;line-height:1.4;overflow-wrap:anywhere;margin-bottom:2px}
#mypageUI .profile-info .phone{font-size:12px;line-height:1.5;overflow-wrap:anywhere;margin:0}
#mypageUI .mypage-summary{min-width:0;height:auto;margin:0}
#mypageUI .balance-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:10px;padding:0;min-height:0;height:auto;border:0;border-radius:0;background:transparent}
#mypageUI .benefit-summary-link{display:flex;flex-direction:column;gap:5px;min-width:0;padding:11px 13px;border:0;border-radius:11px;background:#f6f7f5;color:#171717;text-decoration:none}
#mypageUI .benefit-summary-link:first-child{padding-left:13px}
#mypageUI .benefit-summary-link+.benefit-summary-link{border-left:0}
#mypageUI .benefit-summary-label{display:flex;align-items:center;gap:7px;font-size:12px;line-height:1.5;color:#666;font-weight:600}
#mypageUI .benefit-summary-arrow{font-size:9px;margin-left:2px}
#mypageUI .benefit-summary-link:hover .benefit-summary-label{color:#171717}
#mypageUI .balance-amount{font-size:24px;font-weight:750;line-height:1.2;letter-spacing:-.5px;margin:0}
#mypageUI .benefit-summary-unit{font-size:16px;margin-left:3px;font-weight:600}
#mypageUI .quick-nav-section{border:0;margin:0 0 10px;padding:0}
#mypageUI .quick-nav-row{display:flex;flex-wrap:wrap;gap:2px;overflow:visible;padding:2px 0;margin:0}
#mypageUI .quick-nav-btn{display:flex;flex-direction:column;flex:0 0 72px;min-width:0;align-items:center;justify-content:flex-start;gap:4px;background:#fff;color:#262626;border:0;padding:5px 2px;min-height:70px;border-radius:8px;text-align:center;font-size:11px;line-height:1.4}
#mypageUI .quick-nav-btn[data-menu-group="earnings"]{--menu-accent:#35604b;--menu-soft:#eef5f0}
#mypageUI .quick-nav-btn[data-menu-group="ai"]{--menu-accent:#57518b;--menu-soft:#f2f0f8}
#mypageUI .quick-nav-btn>span{width:100%;word-break:keep-all;overflow-wrap:anywhere}
#mypageUI .quick-nav-btn:hover,#mypageUI .quick-nav-btn.is-active{background:#f5f5f5;color:#171717;transform:none}
#mypageUI .quick-nav-btn>i{background:var(--menu-soft,#f5f5f5);color:var(--menu-accent,#171717);width:34px;height:34px;flex:0 0 34px;margin:0;border-radius:50%;font-size:15px}
#mypageUI .recent-viewed-section,#mypageUI .customer-section{margin-top:18px;padding:16px 0 4px;border-color:#e5e5e5}
#mypageUI .section-title{font-size:16px;font-weight:650;line-height:1.5;margin-bottom:12px;letter-spacing:-.2px}
#mypageUI .customer-info{margin-bottom:0}
#mypageUI .recent-viewed-list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
#mypageUI .recent-viewed-card{width:100%;min-width:0}
#mypageUI .recent-viewed-image{width:100%;height:auto;aspect-ratio:1;object-fit:contain}
#mypageUI .guest-order-section{background:#f5f5f5;border:1px solid #e5e5e5;padding:0;border-radius:10px;margin:16px 0;scroll-margin-top:70px}
#mypageUI .guest-order-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:12px 14px;font-size:14px;line-height:1.5;font-weight:600;cursor:pointer;list-style:none}
#mypageUI .guest-order-toggle::-webkit-details-marker{display:none}
#mypageUI .guest-order-toggle>i{font-size:10px;color:#737373;transition:transform .15s ease}
#mypageUI .guest-order-section[open]>.guest-order-toggle>i{transform:rotate(180deg)}
#mypageUI .guest-order-box{padding:0 14px 14px;border:0;background:transparent}
#mypageUI .guest-order-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:7px}
#mypageUI .guest-order-form input{min-width:0;width:100%;border:1px solid #e5e5e5;min-height:42px;border-radius:7px;padding:8px 10px;font-size:13px;line-height:1.4}
#mypageUI .guest-order-form input::placeholder{font-size:13px;font-weight:400}
#mypageUI .guest-order-form button{min-height:40px;border:0;border-radius:7px;padding:8px 16px;background:#171717;color:white;font-size:12px;font-weight:500}
#mypageUI .mypage-guest-order-help{font-size:12px;color:#666666;line-height:1.5;margin:0 0 10px}
#mypageUI .guest-order-result{margin-top:8px}
#mypageUI .guest-order-result:empty{margin-top:0}
#mypageUI .guest-order-card{overflow-wrap:anywhere}
#mypageUI.mypage-guest .balance-card{grid-template-columns:repeat(2,minmax(0,1fr))}
#mypageUI.mypage-guest .balance-amount{font-size:12px;font-weight:400;line-height:1.5;letter-spacing:0;color:#737373}
#mypageUI.mypage-guest .benefit-summary-unit{display:none}
#mypageUI.mypage-guest .quick-nav-value{display:none}
#mypageUI.mypage-guest .profile-edit-badge{display:none}
#mypageUI.mypage-guest .profile-identity{max-width:100%;flex:1}
#mypageUI.mypage-guest .profile-name{font-size:17px;font-weight:650;margin:0}
#mypageUI.mypage-guest #myPageInfoEmail{display:none}
#mypageUI.mypage-guest .profile-header{flex-wrap:wrap}
#mypageUI.mypage-guest .profile-actions{max-width:none;grid-template-columns:1fr 1fr;gap:8px}
#mypageUI.mypage-guest .profile-btn{min-height:36px;padding:7px 10px;font-size:12px;font-weight:600}
#mypageUI.mypage-guest .quick-nav-btn{min-height:62px}
#mypageUI .mypage-data-notice{background:#fafafa;border:1px solid #e5e5e5;padding:14px 18px;border-radius:8px;font-size:13px;display:flex;gap:16px;align-items:center;justify-content:space-between}
#mypageUI .mypage-data-notice[hidden]{display:none}
#mypageUI .mypage-data-notice button{border:1px solid #525252;background:white;border-radius:6px;padding:8px 12px;white-space:nowrap}
#mypageUI a:focus-visible,#mypageUI button:focus-visible,#mypageUI input:focus-visible,#mypageUI summary:focus-visible{outline:3px solid #525252;outline-offset:3px}
#loginUI{overscroll-behavior:contain}
#loginUI [style*="min-width"]{max-width:100%}
@media(min-width:761px){#mypageUI .profile-section{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px}
#mypageUI .balance-card{height:100%;padding:0 0 0 24px;border-top:0;border-left:1px solid #e5e5e5}
#mypageUI .customer-info{font-size:13px;line-height:1.8}
}
@media(max-width:760px){#mypageUI{--mypage-avatar-size:44px;padding:10px 10px 8px}
#mypageUI .profile-section{padding:12px;gap:10px;margin-bottom:10px}
#mypageUI .profile-header{gap:10px}
#mypageUI .profile-identity{gap:10px}
#mypageUI .profile-name{font-size:19px}
#mypageUI .profile-info .phone{font-size:11px}
#mypageUI .profile-avatar i{font-size:23px}
#mypageUI .member-grade-chip{min-height:74px;padding:10px 11px;gap:7px}
#mypageUI .member-grade-chip__heading{grid-template-columns:24px auto 1fr auto;gap:7px}
#mypageUI .member-grade-chip__mark{width:24px;height:24px}
#mypageUI .member-grade-chip__progress{height:5px}
#mypageUI .benefit-summary-link{padding:9px 14px}
#mypageUI .benefit-summary-link:nth-child(2){padding-right:0}
#mypageUI .balance-amount{font-size:22px}
#mypageUI .balance-card{padding-top:0}
#mypageUI .recent-viewed-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
#mypageUI .guest-order-form{grid-template-columns:1fr}
#mypageUI .guest-order-form input{font-size:16px}
#mypageUI .section-title{font-size:15px}
#mypageUI.mypage-guest .profile-header{align-items:stretch;flex-direction:column}
#mypageUI .mypage-data-notice{align-items:start}
.profile-edit-modal .modal-content{max-width:calc(100vw - 24px)}
}
/* Reserve one pixel so browser zoom rounding does not push the last item to another row. */
@media(max-width:520px){#mypageUI .quick-nav-btn{flex-basis:calc((100% - 9px)/5)}}
@media(max-width:399px){#mypageUI .quick-nav-btn{flex-basis:calc((100% - 7px)/4)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}
#mypageUI *{transition:none!important}
}

/* One app-like account surface across mobile, tablet and desktop. */
#mypageUI{max-width:960px;padding:28px 28px 40px}
#mypageUI .mypage-page-heading{font-size:22px;font-weight:750;letter-spacing:-.5px;margin:0 0 24px;color:#191f28}
#mypageUI .profile-section{grid-template-columns:1fr;border:0;border-radius:0;box-shadow:none;padding:0 0 24px;gap:22px;margin:0}
#mypageUI .profile-header{align-items:center;gap:16px}
#mypageUI .profile-avatar{border:0;background:#f2f4f6}
#mypageUI .profile-avatar i{color:#8b95a1}
#mypageUI.mypage-guest .profile-name{font-size:15px;font-weight:500;color:#8b95a1;letter-spacing:-.2px}
#mypageUI.mypage-guest .profile-header{flex-direction:row;align-items:center}
#mypageUI.mypage-guest .profile-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:400px}
#mypageUI.mypage-guest .profile-btn{min-height:46px;border:0;border-radius:14px;font-size:14px;font-weight:650}
#mypageUI.mypage-guest .profile-btn i{display:none}
#mypageUI.mypage-guest .guest-login-btn{background:#191f28;color:white}
#mypageUI.mypage-guest .guest-signup-btn{background:#f2f4f6;color:#4e5968}
#mypageUI .balance-card,#mypageUI.mypage-guest .balance-card{grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:0;background:#f7f8fa;padding:18px 0;border-radius:18px;height:auto}
#mypageUI .benefit-summary-link,#mypageUI .benefit-summary-link:first-child{padding:0 20px;background:transparent;border-radius:0;min-width:0}
#mypageUI .benefit-summary-link+.benefit-summary-link{border-left:1px solid #e5e8eb}
#mypageUI .benefit-summary-label{color:#6b7684;font-size:12px;gap:6px}
#mypageUI .balance-amount{font-size:24px;overflow-wrap:anywhere}
#mypageUI .benefit-summary-earnings .balance-amount{font-size:16px;line-height:1.5;color:#3182f6;letter-spacing:0}
#mypageUI .earnings-guest-label{display:none}
#mypageUI.mypage-guest .earnings-guest-label{display:inline;color:#737373;font-size:12px}
#mypageUI.mypage-guest .earnings-member-label{display:none}
#mypageUI .mypage-creator-invite{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px;border-radius:16px;background:#f3f7fc;color:#191f28;text-decoration:none;margin-bottom:28px}
#mypageUI .creator-invite-copy{display:grid;gap:5px;min-width:0}
#mypageUI .creator-invite-copy strong{font-size:14px;font-weight:650;line-height:1.5;letter-spacing:-.3px;word-break:keep-all}
#mypageUI .creator-invite-description{font-size:12px;color:#6b7684}
#mypageUI .creator-invite-arrow{font-size:13px;color:#8b95a1;flex:none}
#mypageUI .mypage-menu-heading{font-size:16px;font-weight:700;margin:0 0 16px;letter-spacing:-.3px;color:#191f28}
#mypageUI .quick-nav-section{padding:0 0 20px;margin:0;border-bottom:1px solid #eef0f3}
#mypageUI .quick-nav-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 8px;margin:0;padding:0}
#mypageUI .quick-nav-btn,#mypageUI.mypage-guest .quick-nav-btn{width:100%;min-height:82px;padding:8px 4px;gap:8px;border-radius:16px;font-size:12px;font-weight:500;min-width:0;flex:none}
#mypageUI .quick-nav-btn>i{width:46px;height:46px;font-size:19px;flex:0 0 46px;background:var(--menu-soft,#f5f6f8);color:var(--menu-accent,#4e5968)}
#mypageUI .guest-order-section{border:0;background:#f7f8fa;border-radius:14px;margin:20px 0}
#mypageUI .recent-viewed-section{border:0;padding-top:8px;margin-top:24px}
#mypageUI .recent-viewed-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#mypageUI .recent-viewed-card{border-radius:14px;overflow:hidden}
#mypageUI .customer-section{margin-top:28px;padding-top:22px}
@media(min-width:761px){#mypageUI .profile-header{display:grid;grid-template-columns:1fr auto}#mypageUI .profile-actions{grid-column:2;grid-row:1}#mypageUI.mypage-guest .profile-actions{width:280px}#mypageUI .member-grade-chip{grid-column:1/-1;max-width:480px}#mypageUI .logout-btn{grid-column:2;grid-row:1;justify-self:end}#mypageUI .quick-nav-row{grid-template-columns:repeat(8,minmax(0,1fr))}#mypageUI .quick-nav-btn{font-size:11px}#mypageUI .recent-viewed-list{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:760px){#mypageUI{padding:22px 18px 28px}#mypageUI .mypage-page-heading{font-size:20px;margin-bottom:22px}#mypageUI.mypage-guest .profile-actions{max-width:none}#mypageUI .benefit-summary-link,#mypageUI .benefit-summary-link:first-child{padding:0 12px}#mypageUI .benefit-summary-label{font-size:11px;gap:4px;white-space:nowrap}#mypageUI .balance-card{padding:16px 0}#mypageUI .benefit-summary-arrow{font-size:8px;margin:0}#mypageUI .recent-viewed-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}}
@media(max-width:359px){#mypageUI{padding:20px 12px 28px}#mypageUI .benefit-summary-link,#mypageUI .benefit-summary-link:first-child{padding:0 9px}#mypageUI .benefit-summary-label{font-size:10px}#mypageUI .quick-nav-btn{font-size:11px}#mypageUI .creator-invite-copy strong{font-size:13px}}

#mypageUI .mypage-page-heading{font-size:18px;font-weight:700}
@media(max-width:480px){
#mypageUI .balance-card,#mypageUI.mypage-guest .balance-card{grid-template-columns:1fr;padding:4px 16px}
#mypageUI .benefit-summary-link,#mypageUI .benefit-summary-link:first-child{flex-direction:row;align-items:center;justify-content:space-between;gap:12px;padding:15px 0;min-height:52px}
#mypageUI .benefit-summary-link+.benefit-summary-link{border-left:0;border-top:1px solid #e9edf2}
#mypageUI .benefit-summary-label{font-size:12px;gap:8px}
#mypageUI .balance-amount,#mypageUI .benefit-summary-earnings .balance-amount{font-size:17px;text-align:right}
#mypageUI.mypage-guest .balance-amount,#mypageUI.mypage-guest .earnings-guest-label{font-size:12px}
#mypageUI .benefit-summary-arrow{display:none}
#mypageUI .creator-invite-copy strong{font-size:13px}
}

#mypageUI .mypage-support-actions{display:grid;gap:8px;margin-bottom:18px}#mypageUI .mypage-support-actions a,#mypageUI .mypage-support-actions .benefit-summary-link{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:14px 16px;border:0;border-radius:14px;background:#f7f8fa;font-size:13px;color:#4e5968;text-decoration:none}#mypageUI .mypage-support-actions a>i{font-size:10px;color:#8b95a1}#mypageUI .mypage-support-actions span>i{margin-right:8px;color:#8b95a1}#mypageUI .customer-info{font-size:11px;color:#8b95a1;line-height:1.9}@media(min-width:761px){#mypageUI .mypage-support-actions{grid-template-columns:1fr 1fr}}

#mypageUI #recentViewedSection[hidden]{display:none}#mypageUI #recentViewedSection{scroll-margin-top:72px}
/* Keep current membership beside the profile; details live on the grade page. */
#mypageUI:not(.mypage-guest) .profile-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:center}
#mypageUI:not(.mypage-guest) .profile-identity{grid-column:1;grid-row:1 / 3;min-width:0}
#mypageUI:not(.mypage-guest) .profile-actions{display:none!important}
#mypageUI:not(.mypage-guest) .member-grade-chip{grid-column:2;grid-row:1;width:auto;min-height:0;max-width:none;padding:6px 9px;border-radius:20px;justify-self:end;display:block;font-size:11px}
#mypageUI .member-grade-chip .member-grade-chip__progress,#mypageUI .member-grade-chip .member-grade-chip__meta,#memberGradeDestination{display:none!important}
#mypageUI .member-grade-chip .member-grade-chip__heading{display:flex;gap:6px}#mypageUI .member-grade-chip .member-grade-chip__mark{width:20px;height:20px;font-size:9px}#mypageUI .member-grade-chip .fa-chevron-right{display:none}
#mypageUI:not(.mypage-guest) .logout-btn{grid-column:2;grid-row:2;justify-self:end;font-size:11px;padding:4px 8px}

#mypageUI .quick-nav-section{border-bottom:0}#mypageUI .customer-section{border-top:0}
/* Creator entry points share the curator's primary blue. */
#mypageUI .mypage-creator-invite{background:#edf5ff;color:#3182f6}
#mypageUI .creator-invite-description{color:#5b7ba5}
#mypageUI .creator-invite-arrow{color:#3182f6}
#mypageQuickNav .quick-nav-btn[href="/creators/studio"]{color:#3182f6}
#mypageQuickNav .quick-nav-btn[href="/creators/studio"]>i{background:#edf5ff;color:#3182f6}
