.profile-site-header { margin-bottom: 10px; }
.profile-account-area { position: relative; flex: 0 0 auto; }
.profile-post-menu-wrap { position: relative; display: flex; align-items: center; gap: 3px; flex: 0 0 auto; }
.profile-pinned-indicator { display: grid; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 9px; padding: 0; background: rgba(139,92,246,.1); color: #b9a1ff; cursor: pointer; }
.profile-pinned-indicator .community-icon { width: 18px; height: 18px; }
.profile-pinned-indicator:hover { background: rgba(139,92,246,.2); color: #d7c7ff; }
.profile-post-menu[hidden] { display: none !important; }
.profile-post-menu { position: absolute; z-index: 20; top: calc(100% + 4px); right: 0; display: grid; width: 230px; overflow: hidden; border: 1px solid rgba(126,142,182,.22); border-radius: 14px; padding: 6px; background: #11172b; box-shadow: 0 18px 48px rgba(0,0,0,.45); }
.public-profile-menu-wrap { position: relative; flex: 0 0 auto; }
.public-profile-menu { top: calc(100% + 8px); }
.public-profile-menu-wrap[hidden] { display: none !important; }
.profile-post-menu button { display: flex; min-height: 39px; align-items: center; gap: 11px; border: 0; border-radius: 8px; padding: 0 11px; background: transparent; color: #d6dcec; cursor: pointer; font: inherit; font-size: 12px; text-align: left; }
.profile-post-menu .community-icon { width: 17px; height: 17px; flex: 0 0 17px; color: #9da7bf; }
.profile-post-menu button:hover { background: rgba(255,255,255,.06); color: #a4f4eb; }
.profile-post-menu button.danger { color: #ffafbd; }
.profile-post-menu button:disabled { cursor: not-allowed; opacity: .48; }
.profile-post-card .post-actions .post-action:disabled { cursor: not-allowed; opacity: .45; }
.profile-page-shell { width: min(1280px, calc(100% - clamp(32px, 6vw, 96px))); min-height: calc(100vh - 150px); margin: 0 auto; padding: 30px 0 72px; }
.profile-main { display: grid; gap: 36px; }
.profile-heading-row, .profile-posts-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.profile-heading-row h1 { margin: 0; font-family: Newsreader, Georgia, serif; font-size: clamp(42px, 5vw, 64px); font-weight: 650; letter-spacing: -.04em; line-height: 1; }
.profile-create-link { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 9px; border: 1px solid rgba(139,92,246,.42); border-radius: 12px; padding: 0 17px; background: linear-gradient(115deg, rgba(139,92,246,.22), rgba(77,134,234,.16)); color: #e1d6ff; font-size: 13px; font-weight: 750; text-decoration: none; }
.profile-create-link:hover { border-color: rgba(20,211,202,.58); background: rgba(139,92,246,.28); }
.profile-action-icon { width: 18px; height: 18px; flex: 0 0 18px; }
.profile-action-arrow { flex: 0 0 auto; margin-left: 2px; font-size: 15px; line-height: 1; }
.profile-create-link-mobile { display: none; }
.creator-profile-card { overflow: hidden; border: 1px solid rgba(126,142,182,.24); border-radius: 24px; background: linear-gradient(145deg, rgba(16,21,42,.82), rgba(9,13,29,.78)); box-shadow: 0 18px 48px rgba(0,0,0,.17); }
.creator-profile-main { display: flex; align-items: center; gap: 24px; padding: 30px 34px; }
.creator-avatar { display: grid; width: 112px; height: 112px; flex: 0 0 112px; overflow: hidden; place-items: center; border: 2px solid rgba(20,211,202,.58); border-radius: 50%; background: linear-gradient(135deg, #6243c8, #087a82); box-shadow: 0 0 30px rgba(20,211,202,.1); color: #fff; font-size: 36px; font-weight: 800; }
.creator-avatar img { display: block; width: 100%; height: 100%; background-color: #182139; object-fit: cover; object-position: center; opacity: 1; filter: none; mix-blend-mode: normal; }
.creator-identity { min-width: 0; flex: 1; }
.creator-name-row { display: flex; align-items: center; gap: 9px; }
.creator-name-row h2 { overflow: hidden; margin: 0; font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.035em; text-overflow: ellipsis; white-space: nowrap; }
.creator-name-row .verified-badge { width: 24px; height: 24px; }
.creator-name-row .verified-badge .community-icon { width: 24px; height: 24px; }
.creator-handle { margin: 4px 0 0; color: #9da7c0; font-size: 15px; }
.creator-bio { max-width: 700px; margin: 13px 0 0; color: #c5ccdc; font-size: 15px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.creator-profile-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 9px; }
.outline-button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgba(126,142,182,.31); border-radius: 11px; padding: 0 14px; background: rgba(255,255,255,.035); color: #d6dcec; cursor: pointer; font-size: 12px; font-weight: 700; }
.outline-button:hover { border-color: rgba(20,211,202,.53); background: rgba(20,211,202,.07); color: #a4f4eb; }
.outline-button .community-icon { width: 17px; height: 17px; }
.creator-stats { display: flex; align-items: stretch; border-top: 1px solid rgba(126,142,182,.18); background: rgba(4,7,18,.24); }
.creator-stat { display: grid; min-width: 154px; gap: 3px; border: 0; border-right: 1px solid rgba(126,142,182,.16); padding: 17px 24px; background: transparent; color: inherit; text-align: left; }
button.creator-stat { cursor: pointer; }
button.creator-stat:hover:not(:disabled) { background: rgba(255,255,255,.035); }
button.creator-stat:disabled { cursor: default; }
.creator-stat strong { color: #f3f3ff; font-size: 22px; font-weight: 800; line-height: 1.1; }
.creator-stat span { color: #9da7bf; font-size: 12px; font-weight: 600; }
.profile-feedback { margin: 0; border-top: 1px solid rgba(126,142,182,.16); padding: 13px 18px; color: #9ff2e7; font-size: 12px; line-height: 1.6; }
.profile-feedback.error { color: #ff9baf; }
.profile-posts-section { display: grid; gap: 20px; }
.profile-posts-heading h2 { margin: 5px 0 0; font-family: Newsreader, Georgia, serif; font-size: 36px; font-weight: 600; letter-spacing: -.02em; }
.profile-filter-bar { display: flex; align-items: center; gap: 9px; border-bottom: 1px solid rgba(126,142,182,.17); padding-bottom: 13px; }
.profile-filter { min-height: 40px; border: 1px solid rgba(126,142,182,.25); border-radius: 999px; padding: 0 17px; background: rgba(16,21,42,.48); color: #afb8cd; cursor: pointer; font-size: 12px; font-weight: 700; }
.profile-filter:hover { border-color: rgba(20,211,202,.46); color: #e7fffc; }
.profile-filter.selected { border-color: rgba(20,211,202,.58); background: linear-gradient(120deg, rgba(20,211,202,.2), rgba(139,92,246,.18)); color: #b8fff5; }
.profile-post-list { display: grid; gap: 18px; }
.profile-empty { display: grid; justify-items: center; gap: 8px; border: 1px solid rgba(126,142,182,.2); border-radius: 20px; padding: 48px 24px; background: rgba(16,21,42,.4); text-align: center; }
.profile-empty strong { color: #f3f3ff; font-size: 17px; }
.profile-empty > span { max-width: 430px; color: #9ea8c0; font-size: 13px; line-height: 1.6; }
.profile-empty-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.profile-empty-actions .profile-create-link { min-width: 170px; }
.profile-loading { display: flex; min-height: 360px; align-items: center; justify-content: center; gap: 12px; color: #aab2c8; font-size: 14px; }
.profile-spinner { width: 24px; height: 24px; border: 2px solid rgba(20,211,202,.2); border-top-color: var(--cyan); border-radius: 50%; animation: profile-spin .8s linear infinite; }
@keyframes profile-spin { to { transform: rotate(360deg); } }
.profile-auth-gate { display: grid; min-height: 60vh; place-items: center; }
.profile-auth-card { display: grid; width: min(100%, 540px); gap: 15px; border: 1px solid rgba(126,142,182,.22); border-radius: 22px; padding: 34px; background: rgba(16,21,42,.72); }
.profile-auth-card h1 { margin: 0; font-family: Newsreader, Georgia, serif; font-size: 36px; line-height: 1.08; }
.profile-auth-card p { margin: 0 0 6px; color: #aab2c8; font-size: 14px; line-height: 1.65; }
.profile-footer { gap: 20px; }
.profile-edit-dialog, .profile-post-edit-dialog { width: min(calc(100% - 32px), 650px); }
.avatar-crop-dialog { width: min(calc(100% - 32px), 460px); padding: 30px; }
.avatar-crop-dialog h2 { margin-bottom: 0; }
.avatar-crop-dialog .dialog-lede { margin: 7px 0 15px; }
.avatar-crop-tools { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 12px; }
.avatar-crop-tools button { min-height: 36px; padding: 0 12px; font-size: 12px; }
.avatar-crop-viewport { position: relative; width: min(100%, 340px); aspect-ratio: 1; overflow: hidden; border: 1px solid rgba(20,211,202,.35); border-radius: 50%; margin: 0 auto 17px; background: radial-gradient(circle at 50% 40%,rgba(139,92,246,.16),rgba(7,10,23,.98) 75%); box-shadow: 0 0 0 7px rgba(20,211,202,.045),0 14px 40px rgba(0,0,0,.3); cursor: grab; touch-action: none; user-select: none; }
.avatar-crop-viewport.is-dragging { cursor: grabbing; }
.avatar-crop-viewport img { position: absolute; top: 0; left: 0; display: block; max-width: none; pointer-events: none; user-select: none; }
.avatar-crop-grid { position: absolute; z-index: 2; inset: 0; opacity: 0; pointer-events: none; transition: opacity .16s ease; }
.avatar-crop-grid i { position: absolute; display: block; background: rgba(255,255,255,.78); box-shadow: 0 0 3px rgba(0,0,0,.65); }
.avatar-crop-grid .vertical-one,.avatar-crop-grid .vertical-two { top: 0; bottom: 0; width: 1px; }
.avatar-crop-grid .vertical-one { left: 33.333%; }.avatar-crop-grid .vertical-two { left: 66.667%; }
.avatar-crop-grid .horizontal-one,.avatar-crop-grid .horizontal-two { right: 0; left: 0; height: 1px; }
.avatar-crop-grid .horizontal-one { top: 33.333%; }.avatar-crop-grid .horizontal-two { top: 66.667%; }
.avatar-crop-viewport.is-adjusting .avatar-crop-grid { opacity: .85; }
.avatar-crop-zoom { display: flex; align-items: center; gap: 14px; color: #c9d2e7; font-size: 12px; font-weight: 700; }
.avatar-crop-zoom input { width: 100%; min-width: 0; accent-color: #20d5ce; cursor: pointer; }
.avatar-crop-message { min-height: 0; margin: 0; color: #ff9ba8; font-size: 12px; }
.avatar-crop-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 3px; }
.avatar-crop-actions .outline-button, .avatar-crop-actions .primary-button { min-width: 120px; min-height: 44px; }
.followers-dialog { width: min(calc(100% - 32px), 650px); }
.connection-tabs { display: flex; gap: 8px; margin-top: 18px; border-bottom: 1px solid rgba(126,142,182,.16); }
.connection-tab { position: relative; min-height: 42px; border: 0; padding: 0 14px; background: transparent; color: #a9b2c8; cursor: pointer; font: inherit; font-size: 12px; font-weight: 750; }
.connection-tab.selected { color: #f0edff; }
.connection-tab.selected::after { position: absolute; right: 10px; bottom: -1px; left: 10px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #19d7cf, #8b5cf6); content: ""; }
.connection-search { display: flex; min-height: 44px; align-items: center; gap: 10px; margin-top: 14px; border: 1px solid rgba(126,142,182,.22); border-radius: 12px; padding: 0 12px; background: rgba(5,9,22,.62); color: #8895b1; }
.connection-search .community-icon { width: 17px; height: 17px; flex: 0 0 17px; }
.connection-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #eef0fb; font: inherit; font-size: 13px; }
.connection-search input::placeholder { color: #78839f; }
.followers-list { display: grid; max-height: min(60vh, 560px); gap: 8px; overflow-y: auto; overscroll-behavior: contain; margin-top: 14px; }
.follower-row { display: flex; min-width: 0; align-items: center; gap: 12px; border: 1px solid rgba(126,142,182,.15); border-radius: 13px; padding: 9px 10px; background: rgba(255,255,255,.025); }
.follower-profile-link { display: flex; min-width: 0; flex: 1; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.connection-remove { flex: 0 0 auto; min-height: 34px; border: 1px solid rgba(126,142,182,.25); border-radius: 9px; padding: 0 11px; background: rgba(255,255,255,.04); color: #d8def0; cursor: pointer; font: inherit; font-size: 11px; font-weight: 700; }
.connection-remove:hover { border-color: rgba(255,130,156,.4); background: rgba(255,110,140,.08); color: #ffc0cd; }
.profile-edit-avatar-row { display: flex; justify-content: center; margin: 12px 0 20px; }
.profile-edit-avatar-control { position: relative; display: grid; width: 112px; height: 112px; place-items: center; border: 0; border-radius: 50%; padding: 0; background: transparent; cursor: pointer; }
.creator-avatar-small { width: 104px; height: 104px; flex-basis: 104px; font-size: 34px; }
.profile-edit-avatar-pen { position: absolute; right: 2px; bottom: 2px; display: grid; width: 34px; height: 34px; place-items: center; border: 2px solid #11172b; border-radius: 50%; background: linear-gradient(135deg,#8b5cf6,#5968f2); color: #fff; box-shadow: 0 5px 18px rgba(0,0,0,.35); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.profile-edit-avatar-pen svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.profile-edit-avatar-control:hover .profile-edit-avatar-pen,.profile-edit-avatar-control:focus-visible .profile-edit-avatar-pen { transform: scale(1.1); background: linear-gradient(135deg,#19d7cf,#7a5af2); box-shadow: 0 0 0 4px rgba(20,211,202,.13),0 7px 22px rgba(0,0,0,.4); }
.profile-edit-avatar-control:focus-visible { outline: 2px solid #20d3ca; outline-offset: 4px; }
.handle-input-wrap { display: flex; align-items: center; border: 1px solid rgba(126,142,182,.24); border-radius: 11px; padding-left: 12px; background: rgba(6,9,24,.64); color: #98a2ba; }
.handle-input-wrap input { border: 0 !important; background: transparent !important; }
.edit-lock-note, .edit-character-count { margin: -3px 0 4px; color: #8993ad; font-size: 10px; line-height: 1.5; }
.edit-character-count { justify-self: end; margin-top: -6px; }
.creator-report-dialog { width: min(calc(100% - 32px), 620px); }
.follower-avatar { display: grid; width: 42px; height: 42px; flex: 0 0 42px; overflow: hidden; place-items: center; border-radius: 50%; background: #283252; color: #e5dcff; font-size: 13px; font-weight: 800; }
.follower-avatar img { width: 100%; height: 100%; object-fit: cover; }
.follower-copy { min-width: 0; }
.follower-copy strong, .follower-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.follower-copy strong { color: #eef0fb; font-size: 12px; }
.follower-copy span { color: #929cb5; font-size: 10px; }
.profile-toast { position: fixed; z-index: 80; right: 24px; bottom: 24px; max-width: min(450px, calc(100% - 32px)); border: 1px solid rgba(126,142,182,.28); border-radius: 12px; padding: 13px 16px; background: #11172b; box-shadow: 0 18px 50px rgba(0,0,0,.35); color: #b5f5ee; font-size: 12px; line-height: 1.5; }
.profile-toast.error { border-color: rgba(255,130,156,.3); color: #ffb2c0; }
.profile-toast.is-loading { display: flex; align-items: center; gap: 10px; }
.profile-toast.is-loading::before { width: 15px; height: 15px; flex: 0 0 15px; border: 2px solid rgba(207,219,245,.24); border-top-color: #14d3ca; border-right-color: #a78bfa; border-radius: 50%; content: ""; animation: account-avatar-spin .72s linear infinite; }

@media (max-width: 900px) {
  .avatar-crop-dialog { padding: 24px 20px; }
  .avatar-crop-viewport { width: min(100%, 300px); }
  .avatar-crop-actions .outline-button, .avatar-crop-actions .primary-button { min-width: 0; flex: 1 1 0; }
  .profile-site-header .site-nav a:not(.active) { display: none; }
  .profile-page-shell { width: min(100% - 32px, 760px); padding-top: 24px; }
  .creator-profile-main { align-items: flex-start; flex-wrap: wrap; padding: 23px; }
  .creator-avatar { width: 86px; height: 86px; flex-basis: 86px; font-size: 28px; }
  .creator-profile-actions { width: 100%; padding-left: 110px; }
}
@media (max-width: 620px) {
  .profile-site-header { height: 68px; gap: 12px; }
  .profile-site-header .brand { display: inline-flex; gap: 7px; font-size: 14px; }
  .profile-site-header .brand span { display: inline; }
  .profile-site-header .brand img { width: 34px; height: 34px; }
  .profile-site-header .site-nav { gap: 0; }
  .profile-page-shell { width: calc(100% - 24px); padding: 21px 0 52px; }
  .profile-main { gap: 27px; }
  .profile-heading-row { align-items: flex-start; }
  .profile-heading-row h1 { font-size: 43px; }
  .profile-heading-row > .profile-create-link { display: none; }
  .profile-create-link-mobile { display: inline-flex; }
  .creator-profile-main { gap: 15px; padding: 18px; }
  .creator-avatar { width: 70px; height: 70px; flex-basis: 70px; font-size: 23px; }
  .creator-name-row h2 { font-size: 22px; }
  .creator-handle { font-size: 12px; }
  .creator-bio { font-size: 13px; }
  .creator-profile-actions { padding-left: 0; }
  .creator-profile-actions .outline-button { flex: 1; }
  .creator-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .creator-stat { min-width: 0; padding: 13px 9px; text-align: center; }
  .creator-stat strong { font-size: 19px; }
  .creator-stat span { font-size: 10px; }
  .profile-posts-heading h2 { font-size: 30px; }
  .profile-empty-actions { width: min(100%, 300px); flex-direction: column; }
  .profile-empty-actions .profile-create-link { width: 100%; }
  .profile-filter-bar { gap: 7px; overflow-x: auto; scrollbar-width: none; }
  .profile-filter-bar::-webkit-scrollbar { display: none; }
  .profile-filter { min-height: 36px; flex: 0 0 auto; padding: 0 12px; font-size: 10px; }
  .profile-footer { flex-wrap: wrap; gap: 8px 14px; padding: 13px; font-size: 9px; }
}

/* Demand Lab projects inside the profile use the same card language as the project feed. */
.profile-ideas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), min(100%, 480px))); justify-content: start; gap: 16px; align-items: stretch; grid-auto-rows: 1fr; }
.profile-idea-retry { margin-top: 12px; border: 0; color: #bcaaff; background: transparent; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.profile-idea-edit-dialog { width: min(580px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; }
.profile-idea-edit-dialog .profile-idea-form-split { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.profile-idea-edit-dialog .profile-idea-form-split > div { display: grid; gap: 6px; }
.profile-idea-edit-dialog input,.profile-idea-edit-dialog textarea,.profile-idea-edit-dialog select { width: 100%; border: 1px solid rgba(126,142,182,.3); border-radius: 10px; padding: 11px 12px; color: #edf0fc; background: #0b1023; font: inherit; font-size: 12px; }
.profile-idea-edit-dialog textarea { resize: vertical; }
.profile-idea-edit-dialog select option { color: #edf0fc; background: #11172b; }
.profile-idea-edit-dialog .dialog-message.error { color: #ff9eae; }
@media (max-width: 940px) { .profile-ideas-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), min(100%, 480px))); } }
@media (max-width: 640px) { .profile-ideas-grid { grid-template-columns: 1fr; gap: 11px; } .profile-idea-edit-dialog .profile-idea-form-split { grid-template-columns: 1fr; } }
.profile-page-shell [hidden],
.profile-toast[hidden] { display: none !important; }

/* Keep the same card density as Demand Lab while letting the profile column set width. */



.profile-project-detail-dialog { width: min(820px, calc(100vw - 32px)); max-height: min(90dvh, 900px); overflow: auto; padding: 26px; }
.profile-project-detail-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.profile-project-detail-badges { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.profile-project-stage { display: inline-flex; min-height: 25px; align-items: center; border: 1px solid rgba(139,92,246,.25); border-radius: 999px; padding: 4px 9px; color: #c0aaff; background: rgba(139,92,246,.09); font-size: 10px; font-weight: 750; }
.profile-project-detail-dialog h2 { margin: 14px 0 7px; color: #f1f2fb; font-size: clamp(23px, 3vw, 32px); line-height: 1.15; letter-spacing: -.035em; }
.profile-project-problem { margin: 0; color: #aab2c9; font-size: 14px; line-height: 1.65; white-space: pre-wrap; }
.profile-project-images { display: flex; gap: 10px; max-width: 100%; margin: 18px 0; overflow-x: auto; }
.profile-project-images img { width: 160px; height: 112px; flex: 0 0 160px; object-fit: cover; border: 1px solid rgba(130,144,190,.18); border-radius: 12px; background: rgba(6,9,22,.7); }
.profile-project-owner { display: flex; align-items: center; gap: 10px; margin-top: 19px; border-top: 1px solid rgba(130,144,190,.13); padding-top: 15px; }
.profile-project-owner > span:last-child { min-width: 0; display: grid; gap: 2px; }
.profile-project-owner strong { overflow: hidden; color: #e8eaf4; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.profile-project-owner small { overflow: hidden; color: #8390ae; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.profile-project-detail-section { margin-top: 20px; border: 1px solid rgba(130,144,190,.14); border-radius: 14px; padding: 15px; background: rgba(6,9,22,.28); }
.profile-project-detail-section h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 9px; color: #f1f2fb; font-size: 14px; }
.profile-project-detail-section h3 span { color: #8994b2; font-size: 10px; font-weight: 500; }
.profile-project-detail-section p { margin: 0; color: #aab2c9; font-size: 13px; line-height: 1.65; white-space: pre-wrap; }
.profile-project-signals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.profile-project-signals > div { display: grid; justify-items: center; gap: 3px; border-radius: 10px; padding: 10px; background: rgba(255,255,255,.035); }
.profile-project-signals b { color: #14d3ca; font-size: 20px; }
.profile-project-signals span { color: #9da8c1; font-size: 10px; }
.profile-project-detail-section ol { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.profile-project-detail-section li { display: flex; align-items: flex-start; gap: 9px; color: #aab2c9; font-size: 12px; line-height: 1.5; }
.profile-project-detail-section li > span { width: 18px; height: 18px; flex: 0 0 18px; display: grid; place-items: center; border: 1px solid rgba(130,144,190,.28); border-radius: 6px; color: #91e6b5; font-size: 11px; }
.profile-project-detail-section li.is-complete { color: #8792ad; text-decoration: line-through; }
.profile-project-detail-actions { display: flex; justify-content: flex-end; margin-top: 18px; }
.profile-project-detail-actions .primary-button { min-height: 42px; padding-inline: 18px; }
@media (max-width: 620px) { .profile-project-detail-dialog { padding: 19px; } .profile-project-images img { width: 132px; height: 96px; flex-basis: 132px; } }

/* Mirror the Demand Lab project details dialog within the profile page. */
.profile-project-detail-dialog { position: fixed; inset: 5dvh 0 auto; width: min(960px, calc(100% - 48px)); max-height: 90dvh; overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: auto; margin: 0 auto; padding: 24px 28px; border: 1px solid rgba(151,165,210,.24); border-radius: 21px; color: #f8f8ff; background: #10152a; box-shadow: 0 35px 100px rgba(0,0,0,.62); }
.profile-project-detail-dialog::backdrop { background: rgba(3,4,15,.76); backdrop-filter: blur(7px); }
.profile-project-detail-dialog .modal-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.profile-project-detail-dialog .modal-top .eyebrow { margin: 0; color: #14d3ca; font-size: 11px; }
.profile-project-detail-dialog .icon-button { width: 34px; height: 34px; border: 1px solid #283252; border-radius: 50%; color: #b6bfd7; background: rgba(255,255,255,.035); font-size: 21px; line-height: 1; cursor: pointer; }
.profile-project-detail-dialog .icon-button:hover { border-color: #8b5cf6; color: white; }
.profile-project-detail-dialog .detail-cover { margin: -2px 0 17px; border: 1px solid rgba(139,92,246,.2); border-radius: 14px; padding: 18px; background: radial-gradient(ellipse at 95% 0%,rgba(139,92,246,.16),transparent 52%),rgba(255,255,255,.025); }
.profile-project-detail-dialog .detail-cover-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.profile-project-detail-dialog .detail-cover-badges { min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.profile-project-detail-dialog .detail-cover .stage-pill { display: inline-block; font-size: 12px; }
.profile-project-detail-dialog .project-platform-badge { display: inline-flex; min-height: 24px; align-items: center; gap: 5px; border: 1px solid rgba(20,211,202,.2); border-radius: 999px; padding: 4px 8px; color: #9be9e2; background: rgba(20,211,202,.06); font-size: 10px; font-weight: 700; white-space: nowrap; }
.profile-project-detail-dialog .detail-platform-badge { font-size: 10px; }
.profile-project-detail-dialog .detail-cover-content { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,240px); align-items: center; gap: 20px; margin-top: 12px; }
.profile-project-detail-dialog .detail-cover-copy { min-width: 0; }
.profile-project-detail-dialog .detail-cover-copy h2 { margin: 0 0 6px; color: #f1f2fb; font-size: clamp(25px,4vw,32px); line-height: 1.12; letter-spacing: -.04em; }
.profile-project-detail-dialog .detail-cover-copy p { margin: 0; color: #aab2c9; font-size: 15px; line-height: 1.65; white-space: pre-wrap; }
.profile-project-detail-dialog .detail-cover-content .project-image-gallery { min-width: 0; max-width: 240px; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 7px; margin: 0; }
.profile-project-detail-dialog .detail-cover-content .project-image-grid { width: 100%; max-width: 240px; display: flex; justify-content: flex-end; gap: 8px; overflow-x: auto; overflow-y: hidden; }
.profile-project-detail-dialog .detail-cover-content .project-image-open { width: 70px; height: 52px; flex: 0 0 70px; overflow: hidden; border: 0; border-radius: 9px; padding: 0; background: transparent; }
.profile-project-detail-dialog .detail-cover-content .project-image-open img { display: block; width: 100%; height: 100%; object-fit: cover; border: 1px solid rgba(130,144,190,.2); border-radius: 9px; background: rgba(6,9,22,.72); }
.profile-project-detail-dialog .detail-owner { display: flex; align-items: center; gap: 9px; margin: 15px 0 18px; }
.profile-project-detail-dialog .detail-owner .profile-detail-avatar { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(20,211,202,.25); border-radius: 50%; color: #fff; background: linear-gradient(135deg,#7957e8,#16aaa8); font-size: 12px; font-weight: 800; }
.profile-project-detail-dialog .detail-owner .profile-detail-avatar img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.profile-project-detail-dialog .detail-owner-copy { min-width: 0; flex: 1; display: grid; gap: 2px; }
.profile-project-detail-dialog .detail-owner-copy .owner-links { min-width: 0; display: grid; gap: 1px; }
.profile-project-detail-dialog .detail-owner-copy .owner-name { color: #e8eaf4; font-size: 13px; font-weight: 750; }
.profile-project-detail-dialog .detail-owner-copy .owner-handle { color: #8390ae; font-size: 12px; }
.profile-project-detail-dialog .detail-owner-copy > small { color: #8e9ab6; font-size: 12px; }
.profile-project-detail-dialog .detail-section { margin: 18px 0; }
.profile-project-detail-dialog .detail-section h3 { margin: 0 0 9px; color: #f1f2fb; font-size: 16px; }
.profile-project-detail-dialog .detail-summary { margin: 0; color: #acb4cb; font-size: 15px; line-height: 1.65; white-space: pre-wrap; }
.profile-project-detail-dialog .signal-panel { border: 1px solid rgba(130,144,190,.15); border-radius: 13px; padding: 14px; background: #0c1125; }
.profile-project-detail-dialog .signal-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.profile-project-detail-dialog .signal-panel-head strong { color: #f1f2fb; font-size: 14px; }
.profile-project-detail-dialog .signal-panel-head > span { color: #7783a4; font-size: 12px; }
.profile-project-detail-dialog .signal-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
.profile-project-detail-dialog .signal-box { display: grid; justify-items: center; border-radius: 10px; padding: 10px; background: rgba(255,255,255,.035); text-align: center; }
.profile-project-detail-dialog button.signal-box { width: 100%; min-width: 0; min-height: 72px; border: 1px solid rgba(130,144,190,.14); color: #f8f8ff; font: inherit; cursor: pointer; transition: background-color .16s ease,border-color .16s ease,color .16s ease; }
.profile-project-detail-dialog button.signal-box:hover:not(:disabled) { border-color: rgba(20,211,202,.42); background: rgba(20,211,202,.08); }
.profile-project-detail-dialog button.signal-box:focus-visible { outline: 2px solid #14d3ca; outline-offset: 2px; }
.profile-project-detail-dialog button.signal-box.selected { border-color: rgba(160,169,191,.2); color: #d1d6e2; background: rgba(148,158,180,.1); }
.profile-project-detail-dialog button.signal-box.selected b,.profile-project-detail-dialog button.signal-box.selected span { color: #d1d6e2; }
.profile-project-detail-dialog button.signal-box:disabled { cursor: wait; opacity: .8; }
.profile-project-detail-dialog .signal-box b { color: #14d3ca; font-size: 24px; letter-spacing: -.04em; }
.profile-project-detail-dialog .signal-box span { display: block; margin-top: 1px; color: #929db9; font-size: 12px; }
.profile-project-detail-dialog .manage-contact-sharing { display: flex; width: fit-content; min-height: 40px; align-items: center; justify-content: center; margin: 18px auto 2px; border: 1px solid rgba(126,142,182,.25); border-radius: 999px; padding: 0 16px; color: #d6dcec; background: rgba(255,255,255,.035); cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; }
.profile-project-detail-dialog .manage-contact-sharing:hover { border-color: rgba(20,211,202,.42); color: #a4f4eb; }
.profile-project-visitor-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 18px; }
.profile-project-visitor-actions .primary-button,.profile-project-visitor-actions .outline-button { min-height: 50px; font-size: 13px; }
.profile-project-action-dialog .dialog-form select { width: 100%; min-height: 42px; border: 1px solid rgba(126,142,182,.28); border-radius: 10px; padding: 0 11px; color: #eff2fb; background: #0b1022; font: inherit; font-size: 13px; }
.profile-project-action-dialog .profile-response-consent { display: flex; align-items: flex-start; gap: 9px; color: #c6cde0; font-size: 12px; line-height: 1.5; }
.profile-project-action-dialog .profile-response-consent input { width: 16px; height: 16px; flex: 0 0 16px; margin: 1px 0 0; accent-color: #14d3ca; }
.profile-price-entry { display: grid; grid-template-columns: minmax(0,1fr) 100px; gap: 8px; }
.profile-price-entry input,.profile-price-entry select { min-width: 0; }
.profile-project-detail-dialog .owner-workspace { margin: 18px 0; border: 1px solid rgba(139,92,246,.26); border-radius: 14px; padding: 15px; background: linear-gradient(145deg,rgba(139,92,246,.075),rgba(16,21,42,.72)); }
.profile-project-detail-dialog .owner-workspace-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.profile-project-detail-dialog .owner-workspace-heading .eyebrow { color: #14d3ca; font-size: 10px; }
.profile-project-detail-dialog .owner-workspace-heading h3 { margin: 3px 0 2px; color: #f1f2fb; font-size: 18px; }
.profile-project-detail-dialog .owner-workspace-heading p { margin: 0; color: #a9b0c7; font-size: 14px; }
.profile-project-detail-dialog .application-status { flex: none; border: 1px solid rgba(20,211,202,.26); border-radius: 999px; padding: 5px 8px; color: #8ce0d8; background: rgba(20,211,202,.07); font-size: 12px; font-weight: 750; }
.profile-project-detail-dialog .application-status.paused { border-color: rgba(255,196,114,.24); color: #efc27c; background: rgba(255,196,114,.07); }
.profile-project-detail-dialog .owner-action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.profile-project-detail-dialog .owner-action { min-height: 64px; display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto; align-content: center; align-items: center; column-gap: 8px; border: 1px solid rgba(130,144,190,.16); border-radius: 10px; padding: 9px; color: #e4e7f3; background: rgba(7,10,26,.45); text-align: left; cursor: pointer; }
.profile-project-detail-dialog .owner-action > span { grid-row: 1 / 3; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: #64e1dc; background: rgba(20,211,202,.09); }
.profile-project-detail-dialog .owner-action strong { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.profile-project-detail-dialog .owner-action small { margin-top: 1px; color: #7e89a9; font-size: 10px; }
.profile-project-detail-dialog .owner-action:hover { border-color: rgba(20,211,202,.35); background: rgba(20,211,202,.05); }
.profile-project-detail-dialog .field-hint { color: #8994b2; font-size: 12px; font-weight: 500; }
.profile-project-detail-dialog .milestone-list { display: grid; gap: 0; }
.profile-project-detail-dialog .milestone { position: relative; display: flex; align-items: flex-start; gap: 10px; padding: 0 0 13px; }
.profile-project-detail-dialog .milestone:not(:last-child)::before { position: absolute; top: 20px; bottom: 0; left: 9px; width: 1px; background: #343d5d; content: ""; }
.profile-project-detail-dialog .milestone-dot { z-index: 1; width: 19px; height: 19px; flex: 0 0 19px; display: grid; place-items: center; border: 1px solid #434d71; border-radius: 50%; color: #7e89aa; background: #11172c; font-size: 9px; }
.profile-project-detail-dialog .milestone.done .milestone-dot { border-color: rgba(20,211,202,.35); color: #14d3ca; background: rgba(20,211,202,.09); }
.profile-project-detail-dialog .milestone-copy { min-width: 0; padding-top: 1px; }
.profile-project-detail-dialog .milestone-copy strong { color: #e8eaf4; font-size: 14px; }
.profile-project-detail-dialog .milestone-copy small { display: block; color: #7e89a9; font-size: 12px; }
.profile-project-detail-dialog .progress-track { height: 5px; margin-top: 11px; overflow: hidden; border-radius: 99px; background: #28304a; }
.profile-project-detail-dialog .progress-track span { height: 100%; display: block; border-radius: 99px; background: linear-gradient(90deg,#8b5cf6,#14d3ca); }
.profile-project-detail-dialog .update-note { margin: 13px 0 0; border-top: 1px solid rgba(130,144,190,.12); padding-top: 11px; color: #8a94b1; font-size: 12px; }
.profile-project-detail-dialog .update-history { margin-top: 9px; border-top: 1px solid rgba(130,144,190,.12); padding-top: 8px; color: #9ba5c1; font-size: 12px; }
.profile-project-detail-dialog .profile-project-no-milestones { margin: 0; color: #8e99b6; font-size: 13px; }
.profile-project-detail-dialog .milestone { align-items: center; flex-wrap: wrap; }
.profile-project-detail-dialog .milestone-copy { flex: 1 1 220px; }
.profile-project-detail-dialog .milestone-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.profile-project-detail-dialog .milestone-toggle { min-height: 34px; border: 1px solid rgba(139,92,246,.34); border-radius: 9px; padding: 0 10px; color: #d8c8ff; background: rgba(139,92,246,.08); cursor: pointer; font: inherit; font-size: 11px; font-weight: 700; }
.profile-project-detail-dialog .milestone-toggle:hover { border-color: rgba(20,211,202,.42); color: #a4f4eb; }
.profile-project-detail-dialog .milestone-control-stack { display: flex; gap: 5px; }
.profile-project-detail-dialog .milestone-icon-button { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid rgba(126,142,182,.25); border-radius: 8px; color: #aab5d0; background: rgba(255,255,255,.035); cursor: pointer; font: inherit; font-size: 14px; }
.profile-project-detail-dialog .milestone-icon-button:hover { border-color: rgba(20,211,202,.4); color: #a4f4eb; }
.profile-project-detail-dialog .milestone-icon-button.danger:hover { border-color: rgba(255,111,135,.4); color: #ff9eaf; }
.profile-project-detail-dialog .add-milestone { min-height: 34px; margin-top: 2px; border: 1px dashed rgba(139,92,246,.35); border-radius: 9px; padding: 0 11px; color: #c7b2ff; background: transparent; cursor: pointer; font: inherit; font-size: 11px; font-weight: 700; }
.profile-project-detail-dialog .add-milestone:hover { border-color: rgba(20,211,202,.4); color: #a4f4eb; }
.profile-project-detail-dialog .pause-applications { min-height: 34px; margin-top: 10px; border: 0; padding: 0 2px; color: #92a0c0; background: transparent; cursor: pointer; font: inherit; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.profile-project-detail-dialog .pause-applications:hover { color: #a4f4eb; }
.profile-project-action-dialog { z-index: 2; width: min(560px,calc(100% - 32px)); max-height: min(85dvh,700px); overflow: auto; padding: 24px; border: 1px solid rgba(151,165,210,.24); border-radius: 20px; color: #f8f8ff; background: #10152a; box-shadow: 0 35px 100px rgba(0,0,0,.65); }
.profile-project-action-dialog::backdrop { background: rgba(3,4,15,.8); backdrop-filter: blur(7px); }
.profile-project-action-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.profile-project-action-top .eyebrow { color: #14d3ca; font-size: 10px; }
.profile-project-action-dialog h2 { margin: 5px 0 8px; color: #f1f2fb; font-size: clamp(22px,4vw,29px); line-height: 1.15; letter-spacing: -.035em; }
.profile-project-action-dialog .dialog-lede { margin: 0 0 17px; color: #aab2c9; font-size: 13px; line-height: 1.6; }
.profile-project-action-dialog .dialog-form { display: grid; gap: 9px; }
.profile-project-action-dialog .dialog-form label { color: #dce2f2; font-size: 12px; font-weight: 700; }
.profile-project-action-dialog .dialog-form textarea,.profile-project-action-dialog .dialog-form input { width: 100%; border: 1px solid rgba(126,142,182,.28); border-radius: 11px; padding: 11px 12px; color: #eff2fb; background: #0b1022; font: inherit; font-size: 13px; }
.profile-project-action-dialog .dialog-form textarea { min-height: 120px; resize: vertical; }
.profile-project-action-dialog .dialog-form textarea:focus,.profile-project-action-dialog .dialog-form input:focus { outline: 2px solid rgba(20,211,202,.42); border-color: #14d3ca; }
.profile-project-action-dialog .dialog-message { min-height: 18px; margin: 0; color: #94a0bd; font-size: 11px; }
.profile-project-action-dialog .dialog-message.error { color: #ff9eaf; }
.profile-project-action-dialog .dialog-form .primary-button,.profile-project-action-buttons .primary-button { justify-self: start; min-height: 40px; padding: 0 15px; }
.profile-project-action-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.profile-project-action-buttons .dialog-message { flex-basis: 100%; }
.profile-price-confirm-actions { display: grid; width: 100%; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; gap: 10px; margin-top: 18px; }
.profile-price-confirm-actions > button { min-width: 0; min-height: 48px; justify-content: center; padding: 8px 9px; font-size: 11px; line-height: 1.3; text-align: center; white-space: normal; }
.profile-project-inbox-list { display: grid; gap: 8px; max-height: 48dvh; overflow: auto; }
.profile-project-inbox-item { border: 1px solid rgba(126,142,182,.18); border-radius: 11px; padding: 12px; background: rgba(255,255,255,.025); }
.profile-project-inbox-item > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.profile-project-inbox-item strong { color: #e9ecf7; font-size: 13px; }
.profile-project-inbox-item span,.profile-project-inbox-item a { color: #8d9ab8; font-size: 11px; }
.profile-project-inbox-item p { margin: 8px 0 0; color: #b5bfd5; font-size: 12px; line-height: 1.55; white-space: pre-wrap; }
@media (max-width: 640px) {
  .profile-project-detail-dialog { inset-block-start: max(12px, env(safe-area-inset-top)); width: calc(100% - 28px); max-height: calc(100dvh - max(24px, env(safe-area-inset-top) + 12px)); padding: 18px; border-radius: 18px; }
  .profile-project-detail-dialog .modal-top { margin-bottom: 12px; }
  .profile-project-detail-dialog .detail-cover { padding: 15px; }
  .profile-project-detail-dialog .detail-cover-content { grid-template-columns: minmax(0,1fr); gap: 10px; margin-top: 9px; }
  .profile-project-detail-dialog .detail-cover-content .project-image-gallery { max-width: 100%; flex-direction: row; align-items: center; justify-content: flex-start; }
  .profile-project-detail-dialog .detail-cover-content .project-image-grid { max-width: 100%; justify-content: flex-start; }
  .profile-project-detail-dialog .detail-cover-content .project-image-open { width: 76px; height: 58px; flex-basis: 76px; }
  .profile-project-detail-dialog .owner-action-grid { grid-template-columns: 1fr; }
  .profile-project-detail-dialog .owner-action { min-height: 56px; }
  .profile-project-detail-dialog .owner-workspace { padding: 12px; }
  .profile-project-detail-dialog .owner-workspace-heading { gap: 7px; }
  .profile-project-detail-dialog .owner-workspace-heading h3 { font-size: 16px; }
  .profile-project-detail-dialog .owner-workspace-heading p { max-width: 190px; font-size: 12px; }
  .profile-project-detail-dialog .milestone-actions { width: 100%; justify-content: flex-start; padding-left: 29px; }
  .profile-project-visitor-actions { grid-template-columns: 1fr; }
  .profile-project-action-dialog { padding: 19px; }
}

@media (min-width: 901px) {
  .profile-edit-dialog,
  .profile-post-edit-dialog { width: min(calc(100% - 96px), 780px); }
  .followers-dialog { width: min(calc(100% - 96px), 720px); }
  .followers-list { gap: 12px; margin-top: 24px; }
  .follower-row { gap: 16px; border-radius: 16px; padding: 14px 16px; }
  .follower-avatar { width: 54px; height: 54px; flex-basis: 54px; font-size: 16px; }
  .follower-copy strong { font-size: 15px; }
  .follower-copy span { margin-top: 3px; font-size: 13px; }
  .edit-lock-note,
  .edit-character-count { font-size: 13px; }
}


.profile-create-dialog { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; overflow: hidden; margin: 0; border: 0; border-radius: 0; padding: 0; background: transparent; box-shadow: none; }
.profile-create-dialog iframe { display: block; width: 100%; height: 100%; border: 0; background: transparent; }
.profile-create-dialog > form:first-child { display: none; }
.profile-create-dialog::backdrop { background: rgba(3,4,14,.74); backdrop-filter: blur(6px); }


.profile-filter-menu-wrap { display: none; position: relative; }
.profile-filter-menu-trigger { display: inline-flex; min-height: 44px; min-width: 165px; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid rgba(126,142,182,.27); border-radius: 13px; padding: 0 14px; background: linear-gradient(145deg, rgba(18,24,45,.96), rgba(10,14,30,.96)); color: #e3e9f7; cursor: pointer; font-size: 13px; font-weight: 700; }
.profile-filter-menu-trigger svg { width: 17px; height: 17px; color: #a4b1ca; }
.profile-filter-menu[hidden] { display: none !important; }
.profile-filter-menu { position: absolute; z-index: 30; top: calc(100% + 7px); left: 0; display: grid; width: 100%; gap: 3px; border: 1px solid rgba(126,142,182,.26); border-radius: 13px; padding: 6px; background: #11172b; box-shadow: 0 18px 44px rgba(0,0,0,.44); }
.profile-filter-menu button { min-height: 40px; border: 0; border-radius: 8px; padding: 0 10px; background: transparent; color: #cbd3e6; cursor: pointer; font: inherit; font-size: 12px; font-weight: 650; text-align: left; }
.profile-filter-menu button:hover, .profile-filter-menu button.selected { background: rgba(20,211,202,.1); color: #9ff2e7; }
@media (max-width: 1000px) {
  .profile-heading-row > .profile-create-link { display: none !important; }
  .profile-create-link-mobile { position: static; z-index: auto; display: inline-flex !important; flex: 0 0 auto; min-height: 42px; border-color: #7253e8; border-radius: 11px; padding-inline: 14px; background: #7253e8; box-shadow: none; color: #fff; font-size: 12px; }
  .profile-create-link-mobile[hidden] { display: none !important; }
  .profile-posts-heading { align-items: center; flex-wrap: wrap; gap: 12px 18px; }
  .profile-site-header .site-nav { display: none; }
  .profile-filter-bar { display: none; }
  .profile-filter-menu-wrap { display: block; }
}
@media (max-width: 620px) {
  .profile-site-header { height: 66px; gap: 9px; }
  .profile-site-header .brand { display: inline-flex; }
  .profile-site-header .brand span { display: inline; }
  .profile-site-header .brand img { width: 34px; height: 34px; }
  .profile-main { gap: 22px; }
  .profile-page-shell { padding-bottom: 40px; }
  .profile-posts-heading { gap: 10px; }
  .profile-posts-heading h2 { font-size: 28px; }
  .profile-create-link-mobile { min-height: 40px; padding-inline: 12px; font-size: 11px; }
  .profile-filter-menu-trigger { width: 100%; }
}
@media (max-width: 390px) {
  .profile-site-header .brand { gap: 5px; font-size: 12px; }
  .profile-site-header .brand img { width: 30px; height: 30px; }
}

.profile-loading{display:block;min-height:0;align-items:initial;justify-content:initial;gap:0;color:inherit;font-size:inherit}.profile-skeleton-content{display:grid;gap:30px}.profile-skeleton-heading,.profile-skeleton-posts-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.profile-skeleton-heading i,.profile-skeleton-heading b,.profile-skeleton-identity i,.profile-skeleton-identity b,.profile-skeleton-identity small,.profile-skeleton-identity em,.profile-skeleton-action,.profile-skeleton-stats i,.profile-skeleton-posts-heading i,.profile-skeleton-post i,.profile-skeleton-post b,.profile-skeleton-post span,.profile-skeleton-post small{display:block;background:linear-gradient(100deg,rgba(144,155,190,.08) 20%,rgba(169,178,212,.16) 45%,rgba(144,155,190,.08) 70%);background-size:220% 100%;animation:profile-skeleton-shimmer 1.5s ease-in-out infinite}.profile-skeleton-heading i{width:225px;height:48px;border-radius:10px}.profile-skeleton-heading b{width:128px;height:42px;border-radius:12px}.profile-skeleton-card{overflow:hidden;border:1px solid rgba(126,142,182,.2);border-radius:24px;background:linear-gradient(145deg,rgba(16,21,42,.72),rgba(9,13,29,.68))}.profile-skeleton-identity{min-height:172px;display:flex;align-items:center;gap:24px;padding:30px 34px}.profile-skeleton-identity .profile-skeleton-avatar{width:112px;height:112px;flex:0 0 112px;border:2px solid rgba(20,211,202,.18);border-radius:50%}.profile-skeleton-identity>span{min-width:0;flex:1}.profile-skeleton-identity b{width:min(310px,75%);height:28px;border-radius:7px}.profile-skeleton-identity small{width:142px;height:12px;margin-top:12px;border-radius:6px}.profile-skeleton-identity em{width:min(480px,90%);height:10px;margin-top:16px;border-radius:6px}.profile-skeleton-action{width:122px;height:42px;flex:none;border-radius:11px}.profile-skeleton-stats{display:flex;border-top:1px solid rgba(126,142,182,.16);padding:17px 24px;background:rgba(4,7,18,.2)}.profile-skeleton-stats i{width:105px;height:43px;margin-right:24px;border-radius:7px}.profile-skeleton-posts-heading{margin-top:2px}.profile-skeleton-posts-heading span{display:grid;gap:9px}.profile-skeleton-posts-heading span i{width:116px;height:9px;border-radius:5px}.profile-skeleton-posts-heading span b{width:210px;height:32px;border-radius:7px}.profile-skeleton-posts-heading>i{width:96px;height:39px;border-radius:999px}.profile-skeleton-post-list{display:grid;gap:18px}.profile-skeleton-post{min-height:208px;display:grid;align-content:start;gap:14px;border:1px solid rgba(126,142,182,.18);border-radius:20px;padding:22px;background:rgba(16,21,42,.48)}.profile-skeleton-post>i{width:135px;height:10px;border-radius:5px}.profile-skeleton-post>b{width:min(390px,72%);height:22px;border-radius:7px}.profile-skeleton-post>span{width:100%;height:11px;border-radius:6px}.profile-skeleton-post>span:nth-of-type(2){width:78%}.profile-skeleton-post>small{width:180px;height:30px;margin-top:4px;border-radius:999px}@keyframes profile-skeleton-shimmer{0%{background-position:100% 0}100%{background-position:-120% 0}}@media(max-width:900px){.profile-skeleton-identity{gap:18px;padding:23px}.profile-skeleton-identity .profile-skeleton-avatar{width:86px;height:86px;flex-basis:86px}.profile-skeleton-action{width:100px}}@media(max-width:620px){.profile-skeleton-content{gap:24px}.profile-skeleton-heading i{width:168px;height:42px}.profile-skeleton-heading b{width:92px;height:38px}.profile-skeleton-identity{min-height:0;align-items:flex-start;flex-wrap:wrap;gap:15px;padding:18px}.profile-skeleton-identity .profile-skeleton-avatar{width:70px;height:70px;flex-basis:70px}.profile-skeleton-identity>span{padding-top:6px}.profile-skeleton-identity b{height:22px}.profile-skeleton-identity small{width:116px;margin-top:9px}.profile-skeleton-identity em{width:calc(100vw - 96px);margin-left:-85px}.profile-skeleton-action{width:100%;height:38px;margin-left:0}.profile-skeleton-stats{justify-content:space-around;padding:13px 9px}.profile-skeleton-stats i{width:25%;height:39px;margin:0}.profile-skeleton-posts-heading span b{width:165px;height:28px}.profile-skeleton-posts-heading>i{width:78px;height:35px}.profile-skeleton-post{min-height:190px;padding:17px;gap:12px}}@media(prefers-reduced-motion:reduce){.profile-skeleton-heading i,.profile-skeleton-heading b,.profile-skeleton-identity i,.profile-skeleton-identity b,.profile-skeleton-identity small,.profile-skeleton-identity em,.profile-skeleton-action,.profile-skeleton-stats i,.profile-skeleton-posts-heading i,.profile-skeleton-post i,.profile-skeleton-post b,.profile-skeleton-post span,.profile-skeleton-post small{animation:none;background:rgba(144,155,190,.12)}}

.profile-filter-menu-wrap{display:block;position:relative}.profile-filter-menu-trigger{width:min(100%,230px)}.profile-filter-menu{width:max(100%,230px);max-height:min(70vh,430px);overflow-y:auto}.profile-filter-menu-section{padding:9px 10px 4px;color:#73809e;font-size:9px;font-weight:800;letter-spacing:.12em}.profile-filter-menu-section:not(:first-child){margin-top:4px;border-top:1px solid rgba(126,142,182,.14)}.profile-filter-menu button[hidden]{display:none!important}.profile-create-link{border-color:#7253e8;background:#7253e8;box-shadow:0 8px 22px rgba(93,67,203,.24);color:#fff}.profile-create-link:hover{border-color:#8062f2;background:#8062f2;color:#fff}.profile-create-link-mobile{background:#7253e8}
@media(max-width:620px){.profile-filter-menu-wrap{width:100%}.profile-filter-menu-trigger{width:100%}.profile-filter-menu{width:100%}}
.profile-filter-controls{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.profile-filter-controls .profile-filter-menu-wrap{display:block;position:relative;width:auto;flex:0 0 auto}.profile-filter-controls .profile-filter-menu-trigger{width:auto;min-width:164px}.profile-filter-controls .profile-filter-menu-trigger.selected,.profile-filter-controls .profile-filter-hidden.selected{border-color:rgba(20,211,202,.58);background:linear-gradient(120deg,rgba(20,211,202,.16),rgba(139,92,246,.14));color:#b8fff5}.profile-filter-controls .profile-filter-menu{width:min(230px,calc(100vw - 32px))}.profile-filter-controls .profile-filter-menu-wrap:nth-child(2) .profile-filter-menu{right:0;left:auto}.profile-filter-controls .profile-filter-hidden{min-width:132px;min-height:44px;padding:0 14px}.profile-filter-controls .profile-filter-menu button[hidden]{display:none!important}@media(max-width:620px){.profile-filter-controls{gap:8px}.profile-filter-controls .profile-filter-menu-wrap{flex:1 1 140px}.profile-filter-controls .profile-filter-menu-trigger{width:100%;min-width:0;min-height:42px;padding:0 11px;font-size:12px}.profile-filter-controls .profile-filter-hidden{min-width:0;min-height:42px;padding:0 12px;font-size:12px}.profile-filter-controls .profile-filter-menu{width:min(230px,calc(100vw - 32px))}}


/* Profile stats are grouped into connections and published work. */
.creator-stats { display: flex; align-items: stretch; }
.creator-stat-group { display: flex; min-width: 0; flex: 1 1 0; }
.creator-connection-stats { border-right: 1px solid rgba(126,142,182,.2); }
.creator-stat-group .creator-stat { min-width: 0; flex: 1 1 0; }
.creator-content-stats .creator-stat:last-child { border-right: 0; }

@media (max-width: 640px) {
  .creator-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .creator-stat-group { min-width: 0; flex-direction: column; }
  .creator-connection-stats { border-right: 1px solid rgba(126,142,182,.2); }
  .creator-stat-group .creator-stat { width: 100%; padding: 12px 9px; text-align: center; }
  .creator-stat-group .creator-stat:last-child { border-right: 0; }
}

.profile-filter-controls .profile-filter-all { min-width: 66px; padding-inline: 15px; }
.profile-all-items { display: grid; gap: 18px; }
.profile-all-items > .profile-idea-card { width: 100%; }
.profile-all-load-note { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0; color: #9da7bf; font-size: 12px; }
@media (max-width: 620px) { .profile-filter-controls .profile-filter-all { min-width: 58px; min-height: 42px; padding-inline: 11px; } .profile-all-items { gap: 13px; } }


/* Profile idea cards get a little more breathing room while keeping card controls visible. */
.profile-idea-card.project-card { min-height: 292px; padding: 22px; }
.profile-idea-card .card-top { align-items: flex-start; }
.profile-idea-card .card-top-actions { min-width: 0; flex-wrap: wrap; justify-content: flex-end; align-content: flex-start; }
.profile-idea-card .card-top-actions .universal-platform-badge { display: inline-flex; align-items: center; justify-content: center; gap: 5px; text-align: center; }
.profile-idea-card .platform-badge-icons { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; }
.profile-idea-card .platform-universal-icon { display: block; width: 14px; height: 14px; flex: 0 0 14px; }
.profile-idea-card .project-menu-root { z-index: 14; display: block; flex: 0 0 auto; visibility: visible; opacity: 1; }
.profile-idea-card .dots-button { width: 30px; height: 30px; min-width: 30px; flex: 0 0 30px; visibility: visible; }
.profile-idea-card .dots-button .community-icon { width: 17px; height: 17px; fill: currentColor; }
.profile-idea-card .card-title { font-size: 18px; }
.profile-idea-card .card-problem { font-size: 13px; }
.profile-idea-card .card-actions .card-checkout,
.profile-idea-card .card-actions .card-open { min-height: 40px; padding: 8px 12px; font-size: 11px; }
@media (max-width: 640px) {
  .profile-idea-card.project-card { min-height: 0; padding: 16px; }
  .profile-idea-card .card-actions .card-checkout,
  .profile-idea-card .card-actions .card-open { min-height: 36px; padding: 7px 10px; font-size: 10px; }
}
