/* 회원 공개 프로필 /u/아이디 (2026-11-18, 초안 D) — 통합 계정 prof/{아이디} + 방명록 */
body:has(#up-page) #search-hero, body:has(#up-page) #search-live-panel, body:has(#up-page) #top-songs { display: none !important; }
.up-page { max-width: 1100px; margin: 28px auto 64px; padding: 0 16px; font-family: 'Noto Sans KR', sans-serif; color: #1f1f23; }
.up-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 12px; }
.up-back { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 14px 0 10px; border: 1px solid #ececf0; border-radius: 999px; background: #fff; color: #55575d; font-size: 13px; font-weight: 800; text-decoration: none; transition: border-color .15s, color .15s, background .15s; }
.up-back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.up-back:hover { border-color: #ffcdb9; background: #fff8f5; color: #e8552a; }
.up-card { position: relative; background: #fff; border: 1px solid #ececf0; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px -18px rgba(0,0,0,.25); }
.up-bn { height: 180px; background: #f1f1f4; }
.up-head { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: start; padding: 0 30px 22px; }
.up-av { margin-top: -64px; }
.up-who { padding-top: 16px; }
.up-rank { margin-top: -46px; padding: 14px 16px 12px; background: #fff; border: 1px solid #ececf0; border-radius: 12px; box-shadow: 0 8px 20px -12px rgba(0,0,0,.25); }
.up-av { width: 128px; height: 128px; border-radius: 18px; border: 5px solid #fff; background: #ff6e41; color: #fff; display: grid; place-items: center; font-size: 50px; font-weight: 800; overflow: hidden; box-shadow: 0 8px 20px -6px rgba(0,0,0,.25); }
.up-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.up-who { min-width: 0; padding-bottom: 4px; }
.up-kicker { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; color: #ff6e41; margin-bottom: 4px; }
.up-who h1 { margin: 0; font-size: 28px; font-weight: 900; line-height: 1.2; display: flex; align-items: center; flex-wrap: wrap; gap: 2px; word-break: break-all; }
.up-id { margin: 3px 0 0; font-size: 13px; color: #8a8a92; }
.up-bio { margin: 8px 0 0; font-size: 14.5px; color: #3a3a40; line-height: 1.55; word-break: break-all; }
.up-rank { text-align: center; min-width: 200px; }
.up-rank .rk-plate { display: inline-grid; place-items: center; height: 60px; min-width: 150px; padding: 0 18px; border-radius: 8px; color: #fff; font-size: 22px; font-weight: 900; letter-spacing: .02em; }
.up-rank .rk-bar { height: 4px; border-radius: 2px; margin-top: 10px; }
.up-rank .rk-box { display: grid; place-items: center; height: 70px; }
.up-rank .rk-box img, .up-rank .rk-box .sa-bdg { margin: 0 !important; }
.up-rank b { display: block; margin-top: 6px; font-size: 14px; font-weight: 800; }
.up-own { display: flex; gap: 8px; }
.up-top .up-btn { border-radius: 999px; background: #fff; }
.up-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid #e3e3e8; background: rgba(255,255,255,.94); color: #1f1f23; font: 700 13px 'Noto Sans KR', sans-serif; cursor: pointer; text-decoration: none; }
.up-btn:hover { border-color: #ffb59c; color: #e8552a; }
.up-btn.ac { background: #ff6e41; border-color: #ff6e41; color: #fff; }
.up-btn.ac:hover { background: #f35e2f; color: #fff; }
.up-btn:disabled { opacity: .55; cursor: default; }
.up-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #f0f0f3; }
.up-stats > div { padding: 14px 24px; border-left: 1px solid #f0f0f3; }
.up-stats > div:first-child { border-left: 0; }
.up-stats span { display: block; font-size: 12px; color: #9a9aa2; margin-bottom: 3px; }
.up-stats b { font-size: 17px; font-weight: 900; }
.up-note { margin: 14px 0 0; padding: 11px 16px; border-radius: 10px; background: #fff6f2; border: 1px solid #ffd9cb; color: #c2461f; font-size: 13.5px; font-weight: 600; }
.up-sec { margin-top: 34px; }
.up-sec h2 { margin: 0 0 14px; font-size: 21px; font-weight: 900; }
.up-sec h2 em { font-style: normal; color: #ff6e41; margin-left: 4px; }
.up-form { display: flex; gap: 10px; align-items: flex-start; }
.up-form textarea { flex: 1; min-height: 46px; height: 46px; resize: vertical; max-height: 160px; padding: 12px 14px; border: 1px solid #e3e3e8; border-radius: 10px; font: 14px/1.5 'Noto Sans KR', sans-serif; outline: none; }
.up-form textarea:focus { border-color: #ff9a76; box-shadow: 0 0 0 3px rgba(255,110,65,.12); }
.up-form .up-btn { height: 46px; padding: 0 20px; }
.up-form-meta { margin: 6px 2px 0; font-size: 12px; color: #a0a0a8; text-align: right; }
.up-login { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px dashed #e3e3e8; border-radius: 10px; color: #777; font-size: 14px; }
.up-gb { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid #f0f0f3; }
.up-gb li { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; padding: 15px 4px; border-bottom: 1px solid #f0f0f3; }
.up-gav { width: 40px; height: 40px; border-radius: 10px; background: #fff1ec; color: #ff6e41; display: grid; place-items: center; font-weight: 800; font-size: 16px; }
.up-gtop { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 6px; font-size: 13px; }
.up-gtop a { color: #1f1f23; font-weight: 800; text-decoration: none; }
.up-gtop a:hover { color: #e8552a; }
.up-gtop time { color: #a6a6ae; font-size: 12px; }
.up-gtx { margin: 4px 0 0; font-size: 14.5px; line-height: 1.6; color: #2e2e33; white-space: pre-wrap; word-break: break-all; }
.up-gdel { align-self: start; border: 0; background: none; color: #b0b0b8; font: 12px 'Noto Sans KR', sans-serif; cursor: pointer; padding: 4px; }
.up-gdel:hover { color: #e5484d; }
.up-more { display: block; margin: 16px auto 0; border: 0; background: none; color: #ff6e41; font: 800 14px 'Noto Sans KR', sans-serif; cursor: pointer; }
.up-empty { padding: 34px 0; text-align: center; color: #a0a0a8; font-size: 14px; }
.up-msg { max-width: 520px; margin: 70px auto; text-align: center; padding: 44px 24px; border: 1px solid #ececf0; border-radius: 14px; background: #fff; }
.up-msg .ic { font-size: 40px; }
.up-msg h1 { margin: 12px 0 8px; font-size: 22px; font-weight: 900; }
.up-msg p { margin: 0 0 18px; color: #777; font-size: 14px; line-height: 1.6; }
.up-skel .up-bn, .up-skel .up-av { animation: upPulse 1.2s ease-in-out infinite; background: #f1f1f4; }
@keyframes upPulse { 50% { opacity: .55; } }
@media (max-width: 760px) {
  .up-bn { height: 120px; }
  .up-head { grid-template-columns: auto 1fr; padding: 0 18px 18px; gap: 14px; }
  .up-av { margin-top: -46px; }
  .up-who { padding-top: 10px; }
  .up-av { width: 92px; height: 92px; font-size: 36px; border-radius: 14px; border-width: 4px; }
  .up-who h1 { font-size: 22px; }
  .up-rank { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; min-width: 0; text-align: left; margin-top: 0; padding: 10px 12px; box-shadow: none; }
  .up-rank .rk-plate { height: 40px; min-width: 100px; font-size: 16px; }
  .up-rank .rk-bar { display: none; }
  .up-rank .rk-box { height: 44px; }
  .up-rank b { margin: 0; }
  .up-stats > div { padding: 12px 14px; }
  .up-stats b { font-size: 15px; }
  .up-own .up-btn { height: 30px; padding: 0 10px; font-size: 12px; }
}

/* 뱃지 (2026-11-18) */
.up-eq { display: flex; gap: 6px; margin-top: 10px; }
.up-eq:empty { display: none; }
.up-eqi { display: block; filter: drop-shadow(0 2px 3px rgba(0,0,0,.15)); }
.up-sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.up-sec-h span { font-size: 12.5px; color: #a0a0a8; }
.up-bbox { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.up-bd { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 18px 8px 14px; border: 1px solid #f0f0f3; border-radius: 12px; background: #fcfcfd; }
.up-bd .ic { margin-bottom: 6px; }
.up-bd b { font-size: 13.5px; font-weight: 800; color: #b5b5bc; }
.up-bd small { font-size: 11.5px; color: #c4c4ca; line-height: 1.4; }
.up-bd.on { background: #fff; border-color: #ffd6c6; box-shadow: 0 6px 16px -10px rgba(255,110,65,.45); }
.up-bd.on b { color: #1f1f23; }
.up-bd.on small { color: #8a8a92; }
.up-bd.on small.dt { color: #b0b0b8; }
.up-bd > i { margin-top: 5px; font-style: normal; font-size: 11px; font-weight: 800; color: #fff; background: #ff6e41; padding: 2px 8px; border-radius: 5px; }
/* 탈퇴한 회원의 방명록 */
.up-gb li.gone .up-gav { background: #ececf0; color: #9a9aa2; }
.up-gb li.gone .nm { color: #9a9aa2; font-weight: 700; }
@media (max-width: 760px) { .up-bbox { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } }
/* 회원 프로필 목록 /members (2026-11-18, 초안 "헤더-회원목록" 대로) */
body:has(#mb-page) #search-hero, body:has(#mb-page) #search-live-panel, body:has(#mb-page) #top-songs { display: none !important; }
.mb-wrap { background: #fff; border: 1px solid #ececf0; border-radius: 14px; padding: 30px 30px 34px; box-shadow: 0 10px 30px -20px rgba(0,0,0,.25); }
.mb-wrap h1 { margin: 0 0 18px; font-size: 28px; font-weight: 900; }
.mb-wrap h1 em { font-style: normal; color: #ff6e41; }
.mb-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.mb-tab { height: 40px; padding: 0 16px; border: 1px solid #e3e3e8; border-radius: 8px; background: #fff; font: 800 14px 'Noto Sans KR', sans-serif; color: #55555c; cursor: pointer; }
.mb-tab:hover { border-color: #c9c9cf; color: #1f1f23; }
.mb-tab.on { background: #1f1f23; border-color: #1f1f23; color: #fff; }
.mb-find { margin-left: auto; position: relative; }
.mb-find input { width: 320px; height: 42px; padding: 0 18px; border: 1px solid #e3e3e8; border-radius: 21px; font: 14px 'Noto Sans KR', sans-serif; outline: none; }
.mb-find input:focus { border-color: #ff9a76; box-shadow: 0 0 0 3px rgba(255,110,65,.12); }
.mb-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.mb-card { display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border: 1px solid #ececf0; border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; padding-bottom: 18px; transition: transform .12s, box-shadow .12s, border-color .12s; }
.mb-card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(0,0,0,.35); border-color: #ffd2c2; }
.mb-card { position: relative; }
.mb-card.is-me { border: 2px solid #1f1f23; }
.mb-card.is-op { border: 2px solid #ff6e41; box-shadow: 0 0 0 3px rgba(255,110,65,.15); }
.mb-card.is-me:hover { border-color: #1f1f23; } .mb-card.is-op:hover { border-color: #ff6e41; }
.mb-tag { display: inline-grid; place-items: center; height: 32px; padding: 0 16px; border-radius: 8px; font-size: 12.5px; font-weight: 800; color: #fff; }
.mb-tag.me { background: #1f1f23; } .mb-tag.op { background: #ff6e41; }
.mb-tag.me.op { background: #ff6e41; }
.mb-bn { align-self: stretch; height: 72px; background: #f1f1f4; }
.mb-av { width: 68px; height: 68px; margin-top: -34px; border-radius: 12px; border: 3px solid #fff; background: #ff6e41; color: #fff; display: grid; place-items: center; font-size: 26px; font-weight: 800; overflow: hidden; box-shadow: 0 4px 12px -4px rgba(0,0,0,.3); }
.mb-av img { width: 100%; height: 100%; object-fit: cover; }
.mb-nm { display: flex; align-items: center; justify-content: center; max-width: 100%; padding: 0 10px; margin-top: 10px; font-size: 16px; font-weight: 900; }
.mb-nm > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-id { font-size: 12.5px; color: #9a9aa2; margin-top: 1px; }
.mb-rk { display: grid; place-items: center; height: 50px; margin-top: 12px; }
.mb-rk img, .mb-rk .sa-bdg { margin: 0 !important; }
.mb-rk .rk-plate { display: inline-grid; place-items: center; height: 46px; min-width: 130px; padding: 0 14px; border-radius: 6px; color: #fff; font-size: 17px; font-weight: 900; }
.mb-eq { display: flex; justify-content: center; gap: 4px; margin-top: 8px; min-height: 26px; }
.mb-st { margin-top: 8px; font-size: 12.5px; color: #8a8a92; }
.mb-st b { color: #1f1f23; font-weight: 800; margin-left: 3px; }
.mb-note { margin: 0 0 14px; font-size: 12.5px; color: #a0a0a8; }
@media (max-width: 1100px) { .mb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .mb-wrap { padding: 20px 14px; } .mb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .mb-find { margin-left: 0; width: 100%; } .mb-find input { width: 100%; } }
.up-more[hidden] { display: none; }

/* 공개 재생목록 · 친구 버튼 (2026-11-18) */
.up-btn.sm { height: 30px; padding: 0 10px; font-size: 12px; }
.up-pls { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.up-pl { min-width: 0; }
.up-plc { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.up-pl4 { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #f1f1f4; box-shadow: 0 6px 14px -10px rgba(0,0,0,.45); transition: transform .12s; }
.up-plc:hover .up-pl4 { transform: translateY(-2px); }
.up-pl4 i { background: #e9e9ee center/cover no-repeat; }
.up-pl4.n1 i { grid-column: 1 / -1; grid-row: 1 / -1; }
.up-pl4.n2 i { grid-row: 1 / -1; }
.up-pl4.n3 i:first-child { grid-row: 1 / -1; }
.up-pln { display: block; margin-top: 8px; font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.up-pl small { font-size: 12px; color: #9a9aa2; }
.up-plb { display: flex; gap: 6px; margin-top: 8px; }
.up-plb .up-btn { flex: 1; justify-content: center; }
.up-pltr { grid-column: 1 / -1; border: 1px solid #ececf0; border-radius: 12px; padding: 14px 18px; background: #fcfcfd; }
.up-pltr-h { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.up-pltr-h b { font-size: 15px; } .up-pltr-h span { font-size: 12px; color: #9a9aa2; }
.up-pltr ol { margin: 0; padding: 0 0 0 22px; columns: 2; column-gap: 28px; font-size: 13.5px; }
.up-pltr li { padding: 4px 0; break-inside: avoid; color: #9a9aa2; }
.up-pltr a { display: inline-flex; align-items: center; gap: 8px; color: #1f1f23; text-decoration: none; }
.up-pltr a:hover { color: #e8552a; }
.up-pltr img { width: 30px; height: 30px; border-radius: 5px; object-fit: cover; flex: none; }
@media (max-width: 760px) { .up-stats { grid-template-columns: repeat(2, 1fr); } .up-pls { grid-template-columns: repeat(2, minmax(0, 1fr)); } .up-pltr ol { columns: 1; } }

.mb-dot { margin: 0 6px; color: #d0d0d6; }
.mb-fr { margin-top: 12px; min-height: 32px; }
.mb-frb { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border: 1px solid #ffc7b3; border-radius: 8px; background: #fff; color: #e8552a; font: 800 12.5px 'Noto Sans KR', sans-serif; cursor: pointer; }
.mb-frb:hover { background: #fff4ef; }
.mb-frb.ac { background: #ff6e41; border-color: #ff6e41; color: #fff; }
.mb-frb.on { border-color: #e7e7ec; color: #8a8a92; cursor: default; background: #fafafb; }
.mb-frb:disabled { opacity: .6; }
.up-page [hidden] { display: none !important; } /* 스킨의 section{display:block} 이 hidden 을 이겨서 빈 칸이 보이던 것 */

.up-eqi { filter: none; } /* (2026-11-19) 뱃지 반짝임과 겹치는 그림자 뺌 */

/* (2026-11-19) 장착 뱃지는 티어 카드 왼쪽 */
.up-side { display: flex; align-items: center; gap: 14px; }
.up-side .up-eq { margin: 0; gap: 8px; align-self: center; padding-top: 4px; }
.up-rank .rk-box img, .up-rank .rk-plate { cursor: pointer; }
@media (max-width: 760px) { .up-side { grid-column: 1 / -1; flex-wrap: wrap; } .up-side .up-rank { flex: 1; } }

/* 회원 프로필 쪽 번호 (2026-11-19) */
.mb-pg { display: flex; justify-content: center; gap: 6px; margin-top: 22px; }
.mb-pg[hidden] { display: none; }
.mb-pg button { min-width: 36px; height: 36px; padding: 0 8px; border: 1px solid #ececec; border-radius: 8px; background: #fff; font: 800 13px 'Noto Sans KR', sans-serif; color: #555; cursor: pointer; }
.mb-pg button:hover:not(:disabled) { border-color: #ff6e41; color: #e8552a; }
.mb-pg button.on { background: #ff6e41; border-color: #ff6e41; color: #fff; }
.mb-pg button:disabled { opacity: .35; cursor: default; }

/* 방명록 = 댓글 모양 (2026-11-24, comments.css 같이 씀) */
.up-sec.up-gbx { padding: 22px 26px 16px; border: 1px solid #ececf0; border-radius: 14px; background: #fff; }
.up-gbx .cm-h { margin-bottom: 14px; }
.up-gbx .cm-none { list-style: none; padding: 26px 0 18px; text-align: center; font-size: 13px; color: #a0a0a8; }
.up-gbx .cm-c.gone .cm-nm { color: #a0a0a8 !important; }
.up-gbx .up-more { margin-top: 6px; }
/* 친구 사이 = 초록 */
.up-btn.fr { border-color: #bfe8cf; background: #effaf3; color: #1f8a4c; }
.up-btn.fr:hover { border-color: #f3b4ab; background: #fff3f1; color: #d9453a; }
