/* Own profile: identity and social counts, then the member's real content. */
.crab-h5 .profile-social > .profile-scroll { background: var(--sand); }
.crab-h5 .profile-social .profile-topbar { min-height: 44px; }
.crab-h5 .profile-menu-trigger { display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin-left: -8px; color: var(--ink); border-radius: 50%; }
.crab-h5 .profile-menu-trigger svg { width: 26px; height: 26px; }
.crab-h5 .profile-theme-simple .profile-menu-trigger { color: var(--surface); }
.crab-h5 .profile-menu-trigger:active { background: #FFFEFB20; }
.crab-h5 .profile-menu-trigger:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.crab-h5 .profile-social .profile-treasure-strip { grid-template-columns: 1fr 1fr 1.65fr; }
.crab-h5 .profile-social.profile-theme-underwater .profile-treasure-strip { padding-block: 4px; background: #FFF9EF; }
.crab-h5 .profile-social .profile-treasure-strip button { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 5px; min-height: 46px; padding: 6px 4px; }
.crab-h5 .profile-social .profile-treasure-strip strong { font: 700 21px/1.35 var(--sans); }
.crab-h5 .profile-social .profile-treasure-strip button > span { font: 500 13px/1.5 var(--sans); }
.crab-h5 .profile-social .profile-treasure-strip button + button::before { display: none; }
.crab-h5 .profile-social.profile-theme-simple .profile-treasure-strip { padding: 2px 14px 12px; }
.crab-h5 .profile-shortcuts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; padding: 0 18px 4px; }
.crab-h5 .profile-shortcuts button { display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 6px; min-width: 0; min-height: 52px; padding: 8px 7px; border-radius: 12px; background: #FFFEFB13; color: var(--surface); font: 500 13px/1.5 var(--sans); overflow-wrap: anywhere; }
.crab-h5 .profile-shortcuts button > span { min-width: 0; text-align: left; text-wrap: balance; }
.crab-h5 .profile-shortcuts .ui-icon { width: 19px; height: 19px; flex: none; }
.crab-h5 .profile-theme-underwater .profile-shortcuts { margin-top: 16px; }
.crab-h5 .profile-theme-underwater .profile-shortcuts button { --shortcut-accent: #E8A18E; position: relative; color: var(--ink); background: #FFF9EF; border: 1.2px solid #C3B295; }
.crab-h5 .profile-theme-underwater .profile-shortcuts button[data-nav="service-center"] { --shortcut-accent: #9CC8DC; }
.crab-h5 .profile-theme-underwater .profile-shortcuts button[data-nav="orders"] { --shortcut-accent: #D9B66D; }
.crab-h5 .profile-theme-underwater .profile-shortcuts button::before { content: ''; position: absolute; top: -1.2px; left: 14px; width: 18px; height: 2.4px; border-radius: 3px; background: var(--shortcut-accent); pointer-events: none; }
.crab-h5 .profile-theme-underwater .profile-shortcuts button::after { content: ''; position: absolute; right: 5px; bottom: 5px; width: 10px; height: 7px; border-right: 1px solid #DDCEB6; border-bottom: 1px solid #DDCEB6; border-radius: 0 0 6px 0; pointer-events: none; }
.crab-h5 .profile-shortcuts button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.crab-h5 .profile-shortcuts button:active { background: #FFFEFB28; }
.crab-h5 .profile-theme-underwater .profile-shortcuts button:active { background: #F9EFDF; }
.crab-h5 .profile-content { position: relative; min-height: 300px; background: var(--sand); }
.crab-h5 .profile-tabs { position: sticky; top: var(--h5-safe-top); z-index: 8; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-bottom: 1px solid var(--line); background: var(--sand); }
.crab-h5 .profile-tabs button { position: relative; display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 0; min-height: 44px; padding: 6px 4px 10px; color: var(--ink-2); font: 500 13px/1.5 var(--sans); overflow-wrap: anywhere; }
.crab-h5 .profile-tabs button[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.crab-h5 .profile-tabs button[aria-selected="true"]::after { content: ''; position: absolute; bottom: 5px; left: calc(50% - 9px); width: 18px; height: 2px; border-radius: 2px; background: var(--coral); }
.crab-h5 .profile-tabs button:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }
.crab-h5 .profile-lock { display: block; flex: none; width: 12px; height: 14px; }
.crab-h5 .profile-panel { padding: 12px 12px 16px; }
.crab-h5 .profile-panel:has(.profile-private-note) { padding-top: 0; }
.crab-h5 .profile-panel .crab-grid { padding: 0; gap: 10px; }
.crab-h5 .profile-panel .feed-column { gap: 16px; }
.crab-h5 .profile-panel .crab-card { border: 1px solid #CDBDA5; border-radius: 14px; box-shadow: none; background: #FFF9EF; }
.crab-h5 .profile-panel .card-visual { border-radius: 13px 13px 0 0; overflow: hidden; }
.crab-h5 .profile-panel .card-photo { border-radius: inherit; }
.crab-h5 .profile-panel .card-copy { min-height: 44px; padding: 9px 10px 4px; }
.crab-h5 .profile-panel .card-kind { display: none; }
.crab-h5 .profile-panel .card-copy h3 { font-size: 14px; line-height: 1.6; }
.crab-h5 .profile-panel .by { padding: 0 8px 5px; }
.crab-h5 .profile-panel .member-link { min-height: 44px; min-width: 44px; }
.crab-h5 .profile-panel .card-place { margin: 0; }
.crab-h5 .profile-panel .like { min-height: 44px; min-width: 44px; }
.crab-h5 .profile-private-note { display: flex; align-items: center; gap: 5px; margin: 0; padding: 13px 2px; color: var(--ink-2); font: 400 12px/1.5 var(--sans); }
.crab-h5 .profile-empty { display: grid; justify-items: center; padding: 26px 18px 34px; text-align: center; }
.crab-h5 .profile-empty strong { font: 700 16px/1.6 var(--sans); }
.crab-h5 .profile-empty p { max-width: 270px; margin: 6px 0 20px; color: var(--ink-2); font: 400 14px/1.7 var(--sans); }
.crab-h5 .profile-overlay { position: fixed; inset: 0; width: min(100%,430px); max-width: none; height: 100%; max-height: none; margin: auto; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: hidden; }
.crab-h5 .profile-overlay::backdrop { background: #201C2270; }
.crab-h5 .profile-overlay-scrim { position: absolute; inset: 0; width: 100%; height: 100%; }
.crab-h5 .profile-overlay-sheet { position: relative; display: flex; flex-direction: column; width: 84%; height: 100%; padding: calc(18px + var(--h5-safe-top)) 20px calc(24px + env(safe-area-inset-bottom)); background: var(--surface); box-sizing: border-box; overflow-y: auto; overscroll-behavior: contain; }
.crab-h5 .profile-overlay-sheet > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.crab-h5 .profile-overlay-sheet h2 { margin: 0; font: 800 19px/1.5 var(--sans); overflow-wrap: anywhere; }
.crab-h5 .profile-overlay-close { display: grid; place-items: center; flex: none; width: 44px; height: 44px; font: 400 30px/1 var(--sans); border-radius: 50%; }
.crab-h5 .profile-overlay-close:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.crab-h5 .profile-menu-overlay::backdrop { background: #201C2247; }
.crab-h5 .profile-menu-overlay .profile-overlay-sheet { width: 78%; padding: calc(24px + var(--h5-safe-top)) 20px calc(24px + env(safe-area-inset-bottom)); border-right: 1px solid #FFFEFBA6; border-radius: 0 24px 24px 0; background: #FCF6EAFA; box-shadow: 12px 0 36px #30251912; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .crab-h5 .profile-menu-overlay .profile-overlay-sheet { background: #FCF6EAD6; -webkit-backdrop-filter: blur(22px) saturate(1.05); backdrop-filter: blur(22px) saturate(1.05); }
}
.crab-h5 .profile-menu-overlay h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.crab-h5 .profile-drawer-links { display: grid; gap: 12px; margin-top: 0; margin-bottom: 28px; }
.crab-h5 .profile-drawer-group { min-width: 0; background: transparent; }
.crab-h5 .profile-drawer-group + .profile-drawer-group { padding-top: 12px; border-top: 1px solid #765D3921; }
.crab-h5 .profile-drawer-links :is(button,a) { display: flex; align-items: center; gap: 13px; width: 100%; min-height: 62px; padding: 16px 10px; border-radius: 12px; color: var(--ink); text-align: left; font: 500 16px/1.6 var(--sans); }
.crab-h5 .profile-drawer-links .ui-icon { flex: none; width: 23px; height: 23px; }
.crab-h5 .profile-drawer-links :is(button,a) > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.crab-h5 .profile-drawer-count { flex: none; color: var(--ink-2); font: 500 14px/1.5 var(--sans); }
.crab-h5 .profile-drawer-footer { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 10px; margin-top: auto; padding-top: 20px; border-top: 1px solid #765D3921; }
.crab-h5 .profile-drawer-footer button { display: grid; justify-items: center; align-content: start; gap: 10px; min-width: 0; min-height: 90px; padding: 4px; border-radius: 12px; color: var(--ink); font: 500 13px/1.5 var(--sans); text-align: center; overflow-wrap: anywhere; }
.crab-h5 .profile-drawer-footer-icon { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid #9C7A4230; border-radius: 50%; background: #F7E2BE47; box-shadow: inset 0 1px 0 #FFFEFB9C; color: var(--ink); }
.crab-h5 .profile-drawer-footer .ui-icon { width: 24px; height: 24px; }
.crab-h5 :is(.profile-drawer-links,.profile-drawer-footer) :is(button,a):focus-visible { outline: 2px solid var(--ink); outline-offset: -3px; }
.crab-h5 :is(.profile-drawer-links,.profile-drawer-footer) :is(button,a):active { background: #8D6C3514; }
.crab-h5 .profile-info-overlay .profile-overlay-sheet { width: 100%; height: auto; max-height: 75%; margin-top: auto; border-radius: 22px 22px 0 0; }
.crab-h5 .profile-info-overlay[open] { display: flex; flex-direction: column; justify-content: flex-end; }
.crab-h5 .profile-info-overlay .profile-overlay-sheet { padding-top: 18px; }
.crab-h5 .profile-followers article { padding: 16px 0; border-bottom: 1px solid var(--line); }
.crab-h5 .profile-followers .member-link { min-height: 44px; font-size: 16px; overflow-wrap: anywhere; }
.crab-h5 .profile-info-overlay .social-follow-list .member-link { min-width: 0; min-height: 44px; font-size: 16px; overflow-wrap: anywhere; }
.crab-h5 .profile-info-overlay .social-follow-list article > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.crab-h5 .profile-info-overlay .social-text-button { min-height: 44px; padding: 8px; line-height: 1.5; }
.crab-h5 .profile-received-breakdown { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 34px 0; gap: 16px; }
.crab-h5 .profile-received-breakdown div { display: grid; justify-items: center; gap: 8px; text-align: center; }
.crab-h5 .profile-received-breakdown strong { font: 700 30px/1.3 var(--sans); }
.crab-h5 .profile-received-breakdown span { font: 500 14px/1.6 var(--sans); }
@media (max-width: 350px) {
  .crab-h5 .profile-social .profile-treasure-strip strong { font-size: 19px; }
  .crab-h5 .profile-social .profile-treasure-strip button > span { font-size: 12px; }
  .crab-h5 .profile-shortcuts { padding-inline: 14px; gap: 6px; }
  .crab-h5 .profile-shortcuts button { padding-inline: 5px; font-size: 12px; }
  .crab-h5 .profile-tabs button { font-size: 13px; gap: 3px; }
  .crab-h5 .profile-overlay-sheet { padding-inline: 16px; }
}

.crab-h5 .profile-backend-entry { box-sizing: border-box; text-decoration: none; }
