.profile-kicker { margin:0 0 8px; font:700 11px/1.4 var(--mono); letter-spacing:.13em; color:var(--red); }
.profile-page-head,.profile-section-heading,.profile-block-heading,.profile-member-actions { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.profile-page-head h2 { margin:0; }
.profile-page-head .profile-text-link { white-space:nowrap; }
.profile-section-heading h3 { margin:0; font-size:25px; letter-spacing:-.045em; }
.profile-public-section { padding:30px 0 40px; border-bottom:1px solid var(--line); }
.profile-scope { color:var(--ink-2); font-size:14px; margin:14px 0 26px; }
.profile-scope b { color:var(--red); margin-right:8px; }
.profile-public-grid { display:grid; grid-template-columns:minmax(240px,330px) minmax(0,1fr); gap:clamp(28px,5vw,70px); align-items:center; }
.profile-public-guide h4 { font-size:clamp(24px,2.6vw,34px); line-height:1.3; letter-spacing:-.04em; margin:20px 0; }
.profile-public-guide p { font-size:14px; line-height:1.9; color:var(--ink-2); }
.profile-publish-state { display:inline-block; font-size:12px; font-weight:700; padding:5px 11px; background:#eeeae1; border-radius:5px; }
.profile-muted { display:block; color:var(--muted); font-size:12px; line-height:1.7; }
.profile-save-status { min-height:24px; font-size:13px; color:#466747; }
.profile-save-status.error,.profile-form-error { color:var(--red); }
.profile-text-link { font-size:13px; font-weight:700; text-decoration:underline; text-underline-offset:4px; background:none; border:0; cursor:pointer; }
.profile-pencil { display:inline-flex; flex-shrink:0; align-items:center; justify-content:center; gap:5px; padding:7px 10px; background:transparent; border:1px solid var(--line); border-radius:6px; font-size:12px; cursor:pointer; color:var(--ink-2); }
.profile-pencil svg { width:16px; height:16px; stroke:currentColor; stroke-width:1.6; fill:none; }
.profile-pencil:hover { color:var(--red); border-color:var(--red); }
.profile-secondary,.profile-primary,.profile-photo-button { display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--line); padding:10px 16px; border-radius:7px; font-size:13px; font-weight:650; cursor:pointer; background:#fff; color:var(--ink); }
.profile-primary { background:var(--red); border-color:var(--red); color:white; }
.profile-photo-button { width:100%; margin:12px 0 5px; }
.profile-secondary:hover,.profile-photo-button:hover { border-color:var(--ink); }
.profile-primary:disabled { opacity:.55; cursor:wait; }
:is(.profile-pencil,.profile-secondary,.profile-primary,.profile-photo-button,.profile-text-link,.member-detail-link):focus-visible { outline:2px solid var(--red); outline-offset:4px; }
.member-card { position:relative; background:#fff; border:1px solid var(--line); border-radius:12px; overflow:hidden; min-width:0; }
.member-photo { aspect-ratio:4/3; overflow:hidden; background:#eeeae3; }
.member-photo img { width:100%; height:100%; object-fit:cover; display:block; }
.member-photo-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; height:100%; color:#b2aaa0; }
.member-photo-empty span { font-size:70px; line-height:1; font-weight:850; }
.member-photo-empty small { font-size:12px; margin-top:12px; }
.member-card-body { padding:21px; }
.member-card h3 { font-size:24px; margin:0 0 12px; letter-spacing:-.04em; overflow-wrap:anywhere; }
.member-badges,.member-tags { display:flex; flex-wrap:wrap; gap:6px; }
.member-badge { display:inline-block; padding:4px 8px; border:1px solid #dbd7d0; border-radius:4px; font-size:11px; font-weight:700; color:var(--ink-2); }
.member-base { background:var(--red); border-color:var(--red); color:#fff; font-size:10px; letter-spacing:.035em; }
.member-tags { margin-top:16px; }
.member-tags span { font-size:12px; color:var(--ink-2); overflow-wrap:anywhere; }
.member-tags span::before { content:'#'; color:var(--red); margin-right:2px; }
.member-meta { font-size:12px; color:var(--muted); margin:12px 0 0; }
.member-detail-link { display:flex; justify-content:space-between; border-top:1px solid var(--line); padding-top:15px; margin-top:20px; font-size:13px; font-weight:650; }
.members-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin-top:30px; }
.member-intro { font-size:18px; color:var(--ink-2); }
.member-scope { font-size:13px; color:var(--muted); }
.profile-empty { padding:70px 0; border-top:1px solid var(--line); margin-top:30px; }
.profile-empty h2 { font-size:23px; }
.profile-empty p { color:var(--muted); }
.profile-private-title { padding:40px 0 22px; }
.profile-private-banner { display:flex; align-items:center; gap:12px; background:#eeeae1; border-left:3px solid var(--red); padding:17px 20px; margin-bottom:28px; }
.profile-private-banner b { font-size:14px; }
.profile-private-banner p { font-size:13px; margin:4px 0 0; }
.profile-detail { min-width:0; }
.profile-detail-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:30px; }
.profile-detail-heading h2 { font-size:34px; letter-spacing:-.045em; margin:0; overflow-wrap:anywhere; }
.profile-intro-grid { display:grid; grid-template-columns:minmax(160px,240px) minmax(0,1fr); gap:30px; }
.profile-portrait { aspect-ratio:4/5; background:#eeeae3; border-radius:8px; overflow:hidden; display:flex; align-items:center; justify-content:center; }
.profile-portrait img { width:100%; height:100%; object-fit:cover; }
.profile-portrait span { padding:20px; color:var(--muted); font-size:13px; text-align:center; }
.profile-block { padding:24px 0; min-width:0; }
.profile-intro-grid .profile-block { padding-top:0; }
.profile-block-heading { padding-bottom:12px; margin-bottom:16px; border-bottom:1px solid var(--line); }
.profile-block-heading h3 { font-size:18px; margin:0; letter-spacing:-.03em; }
.profile-block .prose,.profile-block>p { font-size:14px; line-height:1.9; overflow-wrap:anywhere; }
.profile-bio { font-weight:700; }
.profile-placeholder { color:#8a8780; font-size:13px; }
.profile-detail-columns { display:grid; grid-template-columns:1fr 1fr; gap:0 32px; }
.profile-contact { margin:0; display:grid; grid-template-columns:1fr 1fr; gap:16px 32px; font-size:13px; }
.profile-contact>div { display:grid; grid-template-columns:100px minmax(0,1fr); gap:12px; }
.profile-contact dt { color:var(--muted); }
.profile-contact dd { margin:0; overflow-wrap:anywhere; }
.profile-contact a { text-decoration:underline; text-underline-offset:3px; }
.profile-gallery { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px; }
.profile-gallery figure { margin:0; }
.profile-gallery img { width:100%; border-radius:6px; }
.profile-media-link { display:flex; justify-content:space-between; padding:14px 0; border-bottom:1px solid var(--line); font-size:14px; }
.profile-preview-note { color:var(--muted); font-size:13px; }
.profile-dialog { width:min(580px,calc(100% - 28px)); max-height:85svh; padding:28px; border:1px solid var(--line); border-radius:14px; background:var(--paper); color:var(--ink); }
.profile-dialog::backdrop { background:rgba(17,17,19,.4); backdrop-filter:blur(3px); }
.profile-dialog-head { display:flex; justify-content:space-between; align-items:center; gap:20px; }
.profile-dialog h2 { font-size:22px; margin:0; letter-spacing:-.04em; }
.profile-dialog-head button { border:0; background:none; font-size:26px; cursor:pointer; }
.profile-dialog-scope { background:#eeeae1; padding:12px; font-size:12px; line-height:1.7; margin:18px 0 24px; }
.profile-dialog label { display:block; font-size:13px; font-weight:650; margin-top:16px; }
.profile-dialog input:not([type=checkbox]),.profile-dialog textarea,.profile-dialog select { display:block; width:100%; padding:11px; margin-top:7px; border:1px solid #d7d3cb; border-radius:6px; background:#fff; color:var(--ink); font-size:15px; }
.profile-dialog textarea { resize:vertical; line-height:1.7; }
.profile-dialog input:focus,.profile-dialog textarea:focus,.profile-dialog select:focus { outline:2px solid var(--red); outline-offset:1px; }
.profile-options label { display:flex; align-items:center; gap:8px; font-weight:500; }
.profile-options input { accent-color:var(--red); width:17px; height:17px; }
.profile-publish-option { padding-top:18px; border-top:1px solid var(--line); }
.profile-dialog-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:24px; }
.profile-form-error { font-size:13px; }
@media(max-width:1000px) { .profile-public-grid{gap:24px}.profile-contact{grid-template-columns:1fr}.members-grid{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media(max-width:600px) {
  .profile-page-head { align-items:flex-start; }.profile-page-head .profile-text-link { font-size:11px; margin-top:10px; }
  .profile-public-grid { grid-template-columns:1fr; }.profile-public-grid>div:first-child{max-width:360px;width:100%}.profile-public-guide h4{font-size:23px}.profile-public-guide h4 br{display:none}
  .profile-section-heading h3{font-size:21px}.profile-private-title{align-items:flex-start}.profile-private-title .profile-secondary{font-size:11px;padding:9px;white-space:nowrap}
  .profile-detail-heading{align-items:flex-start;flex-direction:column;gap:12px}.profile-intro-grid{grid-template-columns:1fr;gap:22px}.profile-portrait{max-width:280px;aspect-ratio:4/3}
  .profile-detail-columns{grid-template-columns:1fr}.profile-private-banner{padding:14px}.profile-private-banner p{font-size:12px}
  .members-grid{gap:12px}.member-card-body{padding:14px}.member-card h3{font-size:21px}.member-badge{font-size:10px}.member-detail-link{font-size:12px}
  .profile-dialog{padding:20px}.profile-dialog input:not([type=checkbox]),.profile-dialog textarea,.profile-dialog select{font-size:16px}.profile-member-actions{flex-wrap:wrap;font-size:13px}
}
@media(max-width:380px) { .members-grid{grid-template-columns:1fr}.profile-private-title{flex-wrap:wrap} }
@media(prefers-reduced-motion:no-preference) { .profile-dialog[open]{animation:profile-open .16s ease-out}@keyframes profile-open{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}} }

/* 공개 카드의 상세 소개 안내: 비공개 데이터 없이 형태만 보여준다. */
.member-card-open { position:absolute; inset:0; width:100%; height:100%; border:0; border-radius:inherit; background:transparent; cursor:pointer; }
.member-card-open:hover { box-shadow:inset 0 0 0 1px var(--red); }
.member-card-open:focus-visible { outline:3px solid var(--red); outline-offset:-3px; }
html.member-dialog-open { overflow:hidden; }
.member-access-dialog { width:min(760px,calc(100% - 32px)); height:min(580px,80svh); max-height:80svh; padding:0; overflow:hidden; }
.member-access-placeholder { position:absolute; inset:0; padding:48px; filter:blur(8px); opacity:.55; pointer-events:none; user-select:none; }
.member-access-placeholder i { display:block; height:12px; margin:18px 0; border-radius:5px; background:#c9c4ba; }
.member-access-placeholder i:nth-child(even) { width:72%; }
.member-access-placeholder .placeholder-title { width:32%; height:28px; margin-bottom:30px; }
.member-access-layout { display:grid; grid-template-columns:1fr 1.6fr; gap:32px; margin-bottom:30px; }
.member-access-portrait { height:200px; border-radius:8px; background:#c9c4ba; }
.member-access-message { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; padding:28px; background:rgba(247,247,245,.35); text-align:center; }
.member-access-message h2 { font-size:clamp(18px,3.5vw,26px); line-height:1.5; word-break:keep-all; }
.member-access-close { position:absolute; top:14px; right:14px; z-index:1; width:40px; height:40px; border:1px solid var(--line); border-radius:50%; background:var(--paper); color:var(--ink); font-size:26px; cursor:pointer; }
.member-access-close:focus-visible { outline:2px solid var(--red); outline-offset:3px; }
@media(max-width:600px) { .member-access-placeholder{padding:28px}.member-access-layout{gap:20px}.member-access-portrait{height:160px} }
