.viewer-body {
  padding: 22px 0 40px;
}

.viewer-shell {
  width: min(760px, calc(100% - 24px));
  margin: 0 auto;
}

.viewer-frame {
  position: relative;
  overflow: hidden;
  min-height: calc(100dvh - 44px);
  border: 1px solid var(--stroke);
  border-radius: 34px;
  background:
    radial-gradient(circle at top center, rgba(255, 216, 160, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 247, 233, 0.02), rgba(0, 0, 0, 0.04)),
    var(--card-strong);
  box-shadow: var(--shadow-lg);
}

.viewer-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 220, 168, 0.06), transparent 30%),
    radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.04), transparent 22%);
  pointer-events: none;
}

.viewer-main {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  padding: 24px 20px 104px;
}

.viewer-state {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.viewer-hero,
.viewer-section,
.viewer-footer {
  padding: 24px;
}

.viewer-hero {
  display: grid;
  gap: 18px;
}

.viewer-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.viewer-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(255, 231, 195, 0.18);
  background: linear-gradient(180deg, rgba(255, 227, 181, 0.14), rgba(255, 255, 255, 0.04));
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
}

.viewer-brand-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
}

.viewer-avatar {
  width: 82px;
  height: 82px;
  border-radius: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(160deg, rgba(255, 228, 186, 0.24), rgba(255, 255, 255, 0.04)),
    rgba(160, 111, 58, 0.18);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.viewer-title {
  display: grid;
  gap: 10px;
}

.viewer-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(44px, 10vw, 74px);
  font-weight: 600;
  line-height: 0.9;
}

.viewer-role {
  margin: 0;
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.viewer-company {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.viewer-cta-row,
.viewer-contact-list,
.viewer-social-grid {
  display: grid;
  gap: 12px;
}

.viewer-cta-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.viewer-cta {
  min-height: 60px;
  padding: 14px;
  border: 1px solid var(--stroke);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
  text-align: left;
}

.viewer-cta span {
  display: block;
}

.viewer-cta-kicker {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.viewer-cta-value {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.5;
}

.viewer-contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.viewer-contact-label {
  color: var(--soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.viewer-contact-value {
  margin-top: 5px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  word-break: break-word;
}

.viewer-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.viewer-section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
}

.viewer-section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.viewer-social-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.viewer-social-card {
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--stroke);
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(255, 224, 183, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.015);
  text-decoration: none;
}

.viewer-social-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.viewer-social-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 228, 186, 0.2), rgba(255, 255, 255, 0.03));
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.viewer-social-title {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

.viewer-social-subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.viewer-warranty {
  display: grid;
  gap: 18px;
}

.viewer-warranty-media {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--stroke);
  background:
    linear-gradient(180deg, rgba(255, 230, 197, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
}

.viewer-warranty-media img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.viewer-warranty-copy {
  display: grid;
  gap: 10px;
}

.viewer-kicker {
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.viewer-footer {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.viewer-sticky {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background:
    linear-gradient(160deg, rgba(255, 233, 197, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(21, 16, 12, 0.88);
  backdrop-filter: blur(16px);
}

.viewer-sticky .btn {
  flex: 1;
  min-height: 50px;
}

@media (max-width: 640px) {
  .viewer-body {
    padding: 0;
  }

  .viewer-shell {
    width: 100%;
  }

  .viewer-frame {
    min-height: 100dvh;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .viewer-main {
    padding: 20px 16px 104px;
  }

  .viewer-hero,
  .viewer-section,
  .viewer-footer {
    padding: 20px;
  }

  .viewer-cta-row,
  .viewer-social-grid {
    grid-template-columns: 1fr;
  }

  .viewer-brand-row {
    align-items: flex-start;
  }

  .viewer-brand-note {
    text-align: left;
  }
}
