:root {
  color-scheme: light;
  --p-ink: #1a1b22;
  --p-muted: #646675;
  --p-line: #e7e5ef;
  --p-bg: #f6f5fa;
  --p-panel: #fff;
  --p-primary: #667eea;
  --p-primary-dark: #764ba2;
  --p-soft: #f0effc;
  --p-shadow: 0 16px 50px rgba(64,50,101,.10);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--p-ink); background: var(--p-bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.public-wrap { width: min(820px, calc(100% - 28px)); margin: 0 auto; }
.profile-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 46px 0 86px;
  background: linear-gradient(145deg, var(--p-primary) 0%, var(--p-primary-dark) 100%);
}
.profile-hero::before, .profile-hero::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.09); }
.profile-hero::before { width: 320px; height: 320px; right: -140px; top: -170px; }
.profile-hero::after { width: 180px; height: 180px; left: -90px; bottom: -110px; }
.profile-intro { position: relative; z-index: 2; text-align: center; }
.public-avatar { width: 112px; height: 112px; margin: 0 auto 18px; display: grid; place-items: center; overflow: hidden; background: rgba(255,255,255,.18); border: 4px solid rgba(255,255,255,.34); box-shadow: 0 13px 35px rgba(47,31,87,.22); font-size: 42px; font-weight: 850; }
.public-avatar img { width: 100%; height: 100%; object-fit: cover; }
.public-avatar.circle { border-radius: 50%; }.public-avatar.rounded { border-radius: 24px; }.public-avatar.square { border-radius: 8px; }.public-avatar.original { width: min(220px, 70vw); height: 120px; border-radius: 18px; background: #fff; }.public-avatar.original img { object-fit: contain; padding: 7px; }
.public-avatar.contain img { object-fit: contain; padding: 5px; background: #fff; }.public-avatar.pos-top img { object-position: top center; }.public-avatar.pos-bottom img { object-position: bottom center; }
.profile-intro h1 { margin: 0; font-size: clamp(30px, 7vw, 44px); line-height: 1.05; letter-spacing: -.045em; }
.profile-intro .headline { margin: 9px auto 0; max-width: 600px; color: rgba(255,255,255,.9); font-size: 17px; }
.profile-location { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: rgba(255,255,255,.78); font-size: 13px; }
.profile-main { margin-top: -46px; position: relative; z-index: 5; padding-bottom: 38px; }
.action-card { padding: 18px; background: #fff; border: 1px solid rgba(255,255,255,.7); border-radius: 22px; box-shadow: var(--p-shadow); }
.primary-action { display: flex; min-height: 56px; align-items: center; justify-content: center; text-align: center; padding: 13px 18px; border-radius: 14px; color: #fff; background: linear-gradient(145deg, var(--p-primary), var(--p-primary-dark)); font-weight: 800; text-decoration: none; box-shadow: 0 10px 24px rgba(102,126,234,.24); }
.quick-actions { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin-top: 10px; }
.quick-btn { min-height: 54px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 9px 7px; border: 1px solid var(--p-line); border-radius: 12px; background: #fbfbfd; color: #343544; text-decoration: none; font-weight: 750; font-size: 13px; cursor: pointer; }
.quick-btn:hover { border-color: #cbc7e2; background: var(--p-soft); }
.content-stack { display: grid; gap: 13px; margin-top: 14px; }
.public-card { background: #fff; border: 1px solid var(--p-line); border-radius: 18px; padding: 20px; box-shadow: 0 8px 30px rgba(56,44,88,.05); }
.public-card h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 13px; font-size: 18px; letter-spacing: -.025em; }
.public-card p { color: var(--p-muted); }
.public-card p:last-child { margin-bottom: 0; }
.service-list { display: grid; gap: 8px; }
.service-item { padding: 11px 12px; border-radius: 11px; background: #f8f7fb; border: 1px solid #eceaf2; color: #343544; }
.hours-list { display: grid; gap: 7px; }
.hour-row { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid #eeeaf2; }
.hour-row:last-child { border-bottom: 0; }
.hour-row span:first-child { font-weight: 750; color: #333441; }.hour-row span:last-child { color: var(--p-muted); text-align: right; }
.link-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.link-btn { min-height: 48px; display: flex; align-items: center; justify-content: center; padding: 10px; text-align: center; text-decoration: none; border-radius: 11px; border: 1px solid var(--p-line); color: var(--p-primary-dark); background: #fff; font-weight: 750; }
.review-cta { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px; border-radius: 15px; background: #fff9e9; border: 1px solid #f0dfa8; }
.review-cta strong { display: block; }.review-cta span { color: #75653a; font-size: 13px; }
.review-btn { flex: none; padding: 10px 13px; border-radius: 10px; color: #5d4712; background: #ffd75e; text-decoration: none; font-weight: 850; }
.share-panel { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }.share-panel[hidden] { display: none; }
.copy-help { color: var(--p-muted); font-size: 13px; overflow-wrap: anywhere; }
.public-footer { padding: 24px 0 34px; color: #777887; font-size: 12px; text-align: center; }
.public-footer strong { color: #4b4c59; }
@media (max-width: 560px) {
  .profile-hero { padding-top: 34px; }
  .public-avatar { width: 96px; height: 96px; }
  .quick-actions { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .link-grid { grid-template-columns: 1fr; }
  .review-cta { align-items: flex-start; flex-direction: column; }
  .review-btn { width: 100%; text-align: center; }
}
