body.profile-customizer-page{font-family:Pretendard,-apple-system,BlinkMacSystemFont,"Noto Sans KR",sans-serif;color:#261747}
.customizer-wrap{width:min(1220px,calc(100% - 32px));margin:98px auto 64px}
.customizer-heading{border-radius:25px;padding:30px 36px;background:rgba(255,255,255,.97);box-shadow:0 18px 45px rgba(28,14,78,.18);margin-bottom:22px}
.customizer-heading h1{font-size:clamp(1.55rem,2.7vw,2.15rem);font-weight:850;margin:8px 0 10px;line-height:1.3}
.customizer-heading p{font-size:.95rem;line-height:1.65;color:#625778}
.customizer-notice{margin-top:16px;background:#f6f2fc;color:#665675;padding:13px 16px;border-radius:12px;line-height:1.55;font-size:.83rem}
.customizer-layout{display:grid;grid-template-columns:minmax(310px,390px) minmax(0,1fr);gap:22px;align-items:start}
.customizer-preview-panel,.customizer-library-panel{background:#fff;border-radius:24px;padding:24px;box-shadow:0 16px 38px rgba(28,14,78,.18);min-width:0}
.customizer-preview-panel{position:sticky;top:85px}
.customizer-panel-title{display:flex;justify-content:space-between;align-items:end;gap:10px;margin-bottom:18px}
.customizer-panel-title span{display:block;color:#8654cc;font-size:.72rem;font-weight:800;letter-spacing:.07em}
.customizer-panel-title h2{font-size:1.35rem;margin-top:4px}
.customizer-panel-title small{font-size:.73rem;color:#7b718e}
.customizer-artboard{height:390px;border-radius:19px;background:radial-gradient(circle at 50% 37%,#7162aa 0%,#33264e 48%,#1a162b 95%);display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;gap:7px;position:relative}
.customizer-artboard::before{content:"";position:absolute;inset:10px;border:1px solid rgba(255,255,255,.18);border-radius:13px;pointer-events:none}
.customizer-portrait-wrap{width:276px;height:300px;position:relative;flex:none;display:flex;align-items:center;justify-content:center}
.customizer-portrait{width:189px;height:189px;object-fit:contain;border-radius:21px;background:#e9debc}
.customizer-portrait[hidden]{display:none}
.customizer-portrait.is-content-clipped{background:transparent;border-radius:0}
.customizer-frame{position:absolute;left:50%;top:50%;width:220px;height:220px;transform:translate(-50%,-50%);object-fit:fill;pointer-events:none;filter:drop-shadow(0 5px 5px rgba(0,0,0,.22))}
.customizer-frame[hidden]{display:none}
/* Keep ornament overhang visible while scaling all openings to the base frame. */
@media(max-width:380px){.customizer-portrait-wrap{transform:scale(.88);margin-block:-16px}}
.customizer-title-pill{z-index:1;position:relative;max-width:90%;padding:5px 15px;border-radius:999px;color:#f9e9af;background:linear-gradient(100deg,#483564,#644183);border:1px solid #9f86bd;font-size:.83rem;font-weight:850;text-align:center;text-shadow:0 1px 1px #281639;overflow-wrap:anywhere}
.customizer-title-pill:empty{display:none}
.customizer-nickname-preview{font-size:1rem;font-weight:850;color:#fff;text-shadow:0 2px 3px rgba(0,0,0,.5);letter-spacing:.01em;max-width:92%;overflow-wrap:anywhere;text-align:center}
.customizer-input-label{display:block;font-size:.84rem;font-weight:750;margin:16px 0 9px;color:#463555}
#customizerSearch,#customizerNickname{width:100%;min-width:0;padding:13px 14px;border:1.5px solid #e5ddef;background:#fff;border-radius:12px;font:inherit;font-size:.91rem;outline:none;color:#2d2140}
#customizerSearch:focus,#customizerNickname:focus{border-color:#9860da;box-shadow:0 0 0 3px #eedfff}
.customizer-summary{margin-top:16px;border:1px solid #e8e1f0;border-radius:13px;padding:4px 15px}
.customizer-summary p{display:flex;gap:10px;justify-content:space-between;align-items:baseline;padding:11px 0;font-size:.84rem}
.customizer-summary p+p{border-top:1px solid #f0ecf6}
.customizer-summary p span{color:#756989;flex-shrink:0}
.customizer-summary strong{text-align:right;font-size:.88rem}
.customizer-preview-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:14px}
.customizer-preview-actions button{min-width:0;border:0;border-radius:12px;padding:13px 9px;font-size:.88rem;font-weight:800;cursor:pointer}
.customizer-copy{background:#6d28d9;color:#fff}
.customizer-save{background:#eee5fa;color:#56317e}
.customizer-link{background:#f3edfc;color:#5523a7;border:1px solid #dcd0f2!important}
.customizer-preview-actions button:disabled{opacity:.4;cursor:not-allowed}
.customizer-preview-actions button:focus-visible{outline:3px solid #a16aeb;outline-offset:2px}
.customizer-preview-actions .customizer-reset{background:#f4f0fa;color:#513578;grid-column:1/-1;justify-self:end;padding:8px 13px;font-size:.79rem}
.customizer-help{font-size:.75rem;color:#776b89;line-height:1.6;margin-top:12px}
.customizer-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;background:#f6f1fb;padding:5px;border-radius:13px;margin-bottom:14px}
.customizer-tabs button{border:0;background:transparent;color:#766783;border-radius:10px;padding:12px 4px;font-size:.88rem;font-weight:800;cursor:pointer}
.customizer-tabs button span{font-size:.72rem;opacity:.75}
.customizer-tabs button.is-active{color:#5523a7;background:#fff;box-shadow:0 2px 9px rgba(53,20,84,.13)}
.customizer-collection-note{margin:13px 0 15px;color:#766a84;font-size:.8rem;line-height:1.6;min-height:18px}
.customizer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-content:start;max-height:min(980px,calc(100vh + 200px));overflow-y:auto;overflow-x:hidden;padding:3px 4px 8px 2px}
.customizer-choice{width:100%;min-width:0;display:flex;align-items:center;flex-direction:column;gap:6px;background:#faf9fc;border:2px solid #f0eaf4;border-radius:14px;padding:10px 5px 9px;cursor:pointer;transition:background .17s,border-color .17s,transform .17s;position:relative;overflow:hidden;color:#322144}
.customizer-choice:hover:not(:disabled){background:#f2ebfc;border-color:#c6aae9;transform:translateY(-1px)}
.customizer-choice.is-selected{border-color:#7c3aed;background:#f1eafb}
.customizer-choice.is-selected::after{content:"✓";position:absolute;right:5px;top:5px;background:#6d28d9;color:white;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:.73rem}
.customizer-choice:disabled{cursor:not-allowed;opacity:.62}
.customizer-choice-imgbox{width:100%;height:104px;display:flex;align-items:center;justify-content:center;min-width:0;position:relative}
.customizer-choice-imgbox img{max-height:100%;max-width:100%;object-fit:contain;display:block}
.customizer-choice-imgbox.is-avatar img{height:87px;width:87px;border-radius:12px}
.customizer-choice-imgbox.is-frame img{height:100px;width:100px}
.customizer-choice-name{font-size:.79rem;font-weight:800;line-height:1.38;text-align:center;overflow-wrap:anywhere;word-break:keep-all;width:100%;min-height:32px;display:flex;align-items:center;justify-content:center}
.customizer-choice-detail{color:#857791;text-align:center;font-size:.67rem;line-height:1.35}
.customizer-choice-acquisition{color:#554767;width:100%;word-break:keep-all;overflow-wrap:anywhere}
.customizer-choice.is-title{min-height:122px;justify-content:center}
.customizer-choice.is-title .customizer-choice-imgbox{height:30px;color:#9d73cd;font-size:1.45rem}
.customizer-choice.is-title .customizer-choice-name{min-height:36px}
.customizer-no-image{font-size:.74rem;color:#8b7d98;text-align:center;padding:10px}
.customizer-empty{padding:28px 12px;text-align:center;color:#716584}
.customizer-source{background:rgba(255,255,255,.91);border-radius:13px;padding:15px 19px;margin-top:18px;font-size:.8rem;line-height:1.8;color:#665a77}
.customizer-source a{color:#6934c1;font-weight:800}
@media(max-width:900px){.customizer-layout{grid-template-columns:minmax(0,1fr)}.customizer-preview-panel{position:static}.customizer-grid{max-height:none;grid-template-columns:repeat(4,minmax(0,1fr))}.customizer-preview-panel{max-width:none}}
@media(max-width:540px){.customizer-wrap{width:calc(100% - 20px);margin:81px auto 34px}.customizer-heading{padding:22px 19px;border-radius:18px}.customizer-preview-panel,.customizer-library-panel{padding:18px 15px;border-radius:18px}.customizer-layout{gap:14px}.customizer-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.customizer-choice{padding:8px 3px}.customizer-choice-imgbox{height:85px}.customizer-choice-imgbox.is-avatar img{width:76px;height:76px}.customizer-choice-imgbox.is-frame img{width:83px;height:83px}.customizer-choice-name{font-size:.74rem;min-height:38px}.customizer-choice-detail{font-size:.63rem}.customizer-artboard{height:380px}.customizer-panel-title h2{font-size:1.15rem}}
@media(prefers-reduced-motion:reduce){.customizer-choice{transition:none}}


/* Search-crawlable on-page guide and accessible breadcrumbs. */
.customizer-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:0 0 15px;color:#938aa6;font-size:12px;line-height:1.6}
.customizer-breadcrumb a{color:#6b3bc1;text-decoration:none}
.customizer-breadcrumb [aria-current="page"]{opacity:.9}
.customizer-seo-guide{margin-top:20px;background:#fff;border-radius:19px;padding:24px 27px;box-shadow:0 12px 28px rgba(28,14,78,.13);color:#382450}
.customizer-seo-guide h2{font-size:1.12rem;line-height:1.45;margin:4px 0 14px}
.customizer-seo-guide h2:not(:first-child){margin-top:24px}
.customizer-guide-steps{padding-left:22px;margin:0;display:grid;gap:10px;line-height:1.75;color:#594d6d;font-size:.9rem}
.customizer-guide-steps strong{color:#382450}
.customizer-seo-guide details{border:1px solid #e7def1;border-radius:10px;padding:12px 15px;margin-top:9px;font-size:.89rem;line-height:1.7}
.customizer-seo-guide summary{font-weight:750;cursor:pointer}
.customizer-seo-guide details p{color:#675c78;margin:9px 0 2px}
.customizer-seo-guide a{color:#6634b4;font-weight:700;text-underline-offset:3px}
@media(max-width:540px){.customizer-seo-guide{padding:20px 17px}.customizer-guide-steps{font-size:.85rem}}

/* Compact header with readable breadcrumbs beneath the fixed navigation. */
body.profile-customizer-page .customizer-wrap{margin:0 auto 48px;padding-top:78px}
body.profile-customizer-page .customizer-breadcrumb{color:#938aa6;gap:9px;margin:0 0 15px;font-size:12px}
body.profile-customizer-page .customizer-breadcrumb a{color:#6b3bc1;text-decoration:none}
body.profile-customizer-page .customizer-breadcrumb [aria-current="page"]{color:#938aa6;opacity:1}
body.profile-customizer-page .customizer-heading{padding:22px 26px;border-radius:18px;margin-bottom:18px;box-shadow:0 6px 24px rgba(53,31,85,.07);border:1px solid #e9e1f1}
body.profile-customizer-page .customizer-heading h1{font-size:clamp(1.45rem,2.35vw,1.85rem);margin:8px 0 10px;line-height:1.35}
body.profile-customizer-page .customizer-heading p{font-size:.88rem;line-height:1.65;max-width:1040px;margin-inline:auto}
body.profile-customizer-page .customizer-notice{margin-top:12px;padding:10px 13px;font-size:.78rem}
body.profile-customizer-page .customizer-preview-panel,
body.profile-customizer-page .customizer-library-panel{border:1px solid #e9e1f1;border-radius:18px;box-shadow:0 6px 24px rgba(53,31,85,.07)}
body.profile-customizer-page .customizer-preview-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
body.profile-customizer-page .customizer-preview-actions button{min-height:44px;padding:11px 5px;font-size:.8rem}
@media(max-width:1024px){body.profile-customizer-page .customizer-wrap{padding-top:90px}}
@media(max-width:540px){
 body.profile-customizer-page .customizer-wrap{margin:0 auto 30px;padding-top:88px}
 body.profile-customizer-page .customizer-breadcrumb{font-size:12px;gap:9px;margin-bottom:15px}
 body.profile-customizer-page .customizer-heading{padding:18px 16px;margin-bottom:14px}
 body.profile-customizer-page .customizer-heading h1{font-size:1.45rem;word-break:keep-all}
 body.profile-customizer-page .customizer-heading p{font-size:.82rem}
 body.profile-customizer-page .customizer-notice{font-size:.73rem;line-height:1.6}
}

.customizer-link-fallback{display:block;margin-top:8px;width:100%;padding:8px;border:1px solid #bba6dc;border-radius:8px;color:#382450;font:inherit;font-size:.74rem}

/* 150071: preserve the native 200px profile and draw the overscanned
   320px character at the same scale over (not inside) the selected frame. */
.customizer-portrait.is-overscanned{background:transparent;border-radius:0;max-width:none;flex:none}
.customizer-foreground{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);pointer-events:none;z-index:2;background:transparent;max-width:none}
.customizer-foreground[hidden]{display:none}
