.public-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.public-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 880;
}

.public-nav a:hover {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.source-hero-text h1 {
  max-width: 780px;
  font-size: clamp(3.15rem, 8vw, 7.2rem);
}

.source-hero-text .lead {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.88);
}

.public-profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 0 64px;
}

.public-profile .panel {
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.09);
}

.profile-cover {
  min-height: min(76vh, 680px);
  border-bottom: 0;
}

.profile-cover .source-hero-text {
  bottom: 28px;
}

.profile-summary {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  padding: 0 22px 18px;
  border-bottom: 1px solid var(--line);
}

.public-avatar {
  width: 112px;
  height: 112px;
  margin-top: -56px;
  border: 4px solid var(--card);
  border-radius: 999px;
  background: var(--card);
  object-fit: cover;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  z-index: 3;
}

.profile-bio {
  min-width: 0;
  padding-top: 14px;
}

.profile-bio strong,
.profile-bio span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-bio strong {
  font-size: 1.28rem;
  line-height: 1.1;
}

.profile-bio span {
  margin-top: 5px;
  color: var(--muted);
  font-weight: 750;
}

.dots-button {
  width: 44px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.3rem;
  font-weight: 950;
  line-height: 1;
}

.primary-actions {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}

.public-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}

.public-stat {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8f8f8;
}

.public-stat strong,
.public-stat span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-stat strong {
  font-size: 1.15rem;
  line-height: 1;
}

.public-stat span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
}

.zap-button {
  min-height: 52px;
  display: grid;
  align-content: center;
  gap: 2px;
  border-color: #111;
  background: linear-gradient(135deg, #ffcc4d, #ff8a3d);
  color: #111;
  box-shadow: 0 12px 24px rgba(255, 138, 61, 0.22);
  overflow: hidden;
  text-align: center;
}

.zap-button span,
.zap-button small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zap-button small {
  font-size: 0.76rem;
  font-weight: 820;
  opacity: 0.82;
}

.legacy-links {
  display: flex;
  gap: 9px;
  padding: 0 22px 18px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.legacy-links a {
  flex: 0 0 auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f5f5f5;
  padding: 0 12px;
  font-weight: 850;
}

.platform-logo {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 5px;
  background: #111;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
}

.platform-logo.large {
  width: 112px;
  height: 112px;
  border-radius: 0;
  font-size: 2.2rem;
}

.platform-logo.instagram {
  background: radial-gradient(circle at 28% 108%, #feda75 0 18%, #fa7e1e 29%, #d62976 52%, #962fbf 76%, #4f5bd5 100%);
}

.platform-logo.facebook { background: #1877f2; font-family: Arial, sans-serif; font-size: 1.05rem; }
.platform-logo.facebook.large { font-size: 3.6rem; align-items: end; padding-bottom: 0; }
.platform-logo.tripadvisor { background: #00aa6c; color: #111; }
.platform-logo.google { background: #fff; color: #4285f4; border: 1px solid var(--line); }
.platform-logo.youtube { background: #ff0033; }
.platform-logo.tiktok { background: #111; text-shadow: 2px 0 #25f4ee, -2px 0 #fe2c55; }
.platform-logo.x { background: #111; }
.platform-logo.website { background: var(--mint); color: #0b2722; }

.advanced-panel {
  margin: 0 22px 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7f7f7;
}

.form .advanced-panel {
  margin: 0;
  background: rgba(255, 255, 255, 0.64);
}

.advanced-panel summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 860;
}

.advanced-panel label {
  margin-top: 12px;
}

.advanced-grid {
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.content-pad {
  padding: clamp(18px, 4vw, 32px);
}

.public-section {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: clamp(18px, 5vw, 58px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.public-section-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 920;
  text-transform: uppercase;
}

.public-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.public-feature-card {
  min-height: 150px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
}

.public-feature-card span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.public-feature-card strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.05;
  overflow-wrap: break-word;
}

.public-feature-card p {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 650;
}

.public-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.72fr);
  gap: 12px;
  align-items: stretch;
}

.public-story {
  min-height: 260px;
  display: grid;
  align-content: end;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(32, 197, 168, 0.12), rgba(255, 204, 77, 0.16)), #fff;
  padding: clamp(18px, 4vw, 32px);
}

.public-story p {
  max-width: 680px;
  color: #333;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 640;
}

.public-story-media {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f5f5f5 center/cover;
}

.meta-grid, .crm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.meta-item {
  min-width: 0;
  padding: 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.meta-item:nth-child(2n) { border-right: 0; }

.meta-label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 820;
  text-transform: uppercase;
}

.meta-value {
  display: block;
  margin-top: 7px;
  overflow: hidden;
  color: var(--ink);
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-list, .gallery, .crm-list {
  display: grid;
  gap: 10px;
}
.mode-target .shell { width: 100%; }
.mode-target .topbar { display: none; }
.target-site { background: #eee7d2; color: #1d1712; }
.target-nav { position: sticky; top: 0; z-index: 20; min-height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 6vw, 88px); background: rgba(238,231,210,.9); border-bottom: 1px solid rgba(29,23,18,.14); backdrop-filter: blur(18px); }
.target-nav a { color: inherit; text-decoration: none; font-size: .75rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.target-nav div { display: flex; gap: clamp(16px, 3vw, 42px); }
.target-wordmark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid currentColor; border-radius: 50%; }
.target-cover { min-height: calc(100svh - 72px); display: grid; grid-template-columns: minmax(300px,.86fr) minmax(420px,1.25fr); gap: clamp(28px, 6vw, 100px); align-items: center; padding: clamp(54px, 9vw, 130px) clamp(24px, 8vw, 130px); }
.target-cover-copy { display: grid; align-content: center; gap: 24px; }
.target-cover h1 { max-width: 660px; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(4.2rem, 7.5vw, 9rem); font-weight: 500; line-height: .88; letter-spacing: -.065em; }
.target-cover .lead { max-width: 560px; color: #44392f; font-family: Georgia, serif; font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.55; }
.target-cover-media { min-height: min(66vw, 680px); overflow: hidden; background: #d0c5a7; }
.target-cover-media img { width: 100%; height: 100%; min-height: min(66vw, 680px); object-fit: cover; display: block; }
.target-arrow { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid currentColor; border-radius: 50%; color: inherit; text-decoration: none; font-size: 1.4rem; }
.target-story { min-height: 88svh; display: grid; grid-template-columns: minmax(160px,.38fr) minmax(300px,1fr); gap: clamp(24px, 8vw, 140px); align-items: center; padding: clamp(80px, 12vw, 180px) clamp(24px, 10vw, 160px); background: #171511; color: #f3ecd8; }
.target-index { align-self: start; padding-top: 12px; font-size: .72rem; font-weight: 850; letter-spacing: .16em; }
.target-story h2, .target-claim h2 { max-width: 900px; margin: 0 0 28px; font-family: Georgia, serif; font-size: clamp(3.2rem, 7vw, 7.8rem); font-weight: 500; line-height: .92; letter-spacing: -.055em; }
.target-story div > p { max-width: 650px; margin-bottom: 34px; color: #c7beaa; font-size: clamp(1.1rem, 1.7vw, 1.45rem); line-height: 1.6; }
.target-claim { min-height: 90svh; display: grid; grid-template-columns: 1fr minmax(260px,.4fr); gap: clamp(48px, 10vw, 160px); align-items: center; padding: clamp(80px, 12vw, 180px) clamp(24px, 10vw, 160px); }
.target-claim-copy > p:not(.target-index) { max-width: 700px; font-size: 1.15rem; line-height: 1.6; }
.target-claim .secret { margin: 32px 0; background: rgba(255,255,255,.42); }
.target-identity { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 8px 18px; font-size: .76rem; }
.target-identity span { color: #756a5d; font-weight: 800; text-transform: uppercase; }
.target-identity strong { overflow-wrap: anywhere; }
.target-qr { display: grid; gap: 14px; justify-items: center; font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.target-qr img { width: min(280px, 100%); padding: 14px; background: #fff; }
