/* PHAENACORY Replay — produto final (share social) */
.replay-wrap { max-width: 480px; margin: 0 auto; padding: 16px 16px 88px; position: relative; z-index: 1; }
.replay-brand {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
  padding: 14px 16px;
  background: rgba(6, 10, 16, 0.96);
  border: 1px solid rgba(81, 207, 102, 0.5);
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}
.replay-brand img { width: 52px; height: 52px; flex-shrink: 0; }
.replay-brand-text { font-size: .88rem; color: #e8f0fa; line-height: 1.45; }
.replay-brand-text strong {
  color: #ffffff; display: block; font-size: 1.08rem; font-weight: 800;
  letter-spacing: 0.03em; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}
.replay-hero {
  background: linear-gradient(165deg, rgba(22, 28, 36, .97), rgba(6, 10, 16, .99));
  border: 1px solid rgba(90, 110, 130, .28);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}
.replay-hero h1 { margin: 0 0 4px; font-size: 1.35rem; color: #fff; letter-spacing: -.02em; }
.replay-sub { color: #8ba3c7; font-size: .85rem; margin: 0 0 12px; line-height: 1.45; }
.replay-intro {
  margin: 0 0 16px; padding: 12px 14px; border-radius: 12px;
  background: rgba(8, 12, 18, .75); border: 1px solid rgba(70, 90, 110, .35);
}
.replay-intro-para { margin: 0 0 10px; font-size: .86rem; line-height: 1.55; color: #c5d8f0; }
.replay-intro-list {
  margin: 0; padding-left: 18px; font-size: .82rem; line-height: 1.5; color: #8ba3c7;
}
.replay-intro-list li { margin-bottom: 6px; }
.replay-intro-list li:last-child { margin-bottom: 0; }
.replay-post-box {
  margin: 12px 0 0; padding-top: 10px; border-top: 1px solid rgba(70, 90, 110, .3);
  font-size: .82rem; line-height: 1.5; color: #51cf66; font-style: italic;
}
.replay-reels-cta {
  margin: 16px 0; padding: 14px 16px; border-radius: 14px; text-align: center;
  background: linear-gradient(135deg, rgba(0, 180, 216, .12), rgba(81, 207, 102, .08));
  border: 1px solid rgba(0, 212, 170, .35);
}
.replay-reels-ready { margin: 0 0 10px; font-size: .88rem; color: #c5d8f0; line-height: 1.45; }
.btn-reels-cta { font-size: 1rem; padding: 12px 20px; }
.replay-score-ring {
  display: flex; align-items: center; gap: 16px; margin-bottom: 16px;
}
.replay-overlay .replay-score-ring {
  margin-bottom: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(6, 10, 16, .55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .08);
}
.score-circle {
  width: 88px; height: 88px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(#00d4aa calc(var(--pct, 73) * 1%), rgba(0, 180, 216, .15) 0);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.score-circle::after {
  content: ''; position: absolute; inset: 6px; border-radius: 50%; background: #0a1018;
}
.score-circle span { position: relative; z-index: 1; font-size: 1.5rem; font-weight: 800; color: #00d4aa; }
.score-meta { flex: 1; }
.score-meta .pocket { font-size: 1.1rem; color: #c5d8f0; }
.score-meta .pocket em { color: #00b4d8; font-style: normal; font-weight: 700; }
.score-meta .hiscore-badge {
  display: inline-block; margin-bottom: 6px;
  font-size: .72rem; font-weight: 800; letter-spacing: .1em;
  background: #E4007C; color: #fff; padding: 4px 10px; border-radius: 6px;
}
.score-meta .score-band {
  margin: 0 0 6px; font-size: .82rem; font-weight: 700; letter-spacing: .04em;
  color: #8ba3c7; text-transform: uppercase;
}
.score-meta .score-band--excellent { color: #FF4DA6; }
.replay-score-ring--hiscore {
  padding: 10px 12px; border-radius: 14px;
  background: rgba(228, 0, 124, 0.20);
  border: 2px solid #FF4DA6;
}
.replay-score-ring--hiscore .score-circle {
  background: conic-gradient(#FF4DA6 calc(var(--pct, 80) * 1%), rgba(228, 0, 124, .15) 0);
}
.replay-score-ring--hiscore .score-circle span { color: #FF4DA6; }
.maneuver-pill {
  display: inline-block; margin-top: 8px; padding: 6px 12px; border-radius: 999px;
  background: rgba(81, 207, 102, .12); border: 1px solid rgba(81, 207, 102, .35);
  color: #51cf66; font-size: .82rem; font-weight: 600;
}
.replay-critical-moment {
  margin: 0 0 14px; padding: 12px 14px; border-radius: 12px;
  background: rgba(8, 12, 18, .88); border: 1px solid rgba(70, 90, 110, .35);
  border-left: 4px solid #00b4d8;
}
.replay-critical-head { color: #8ba3c7; font-size: .82rem; line-height: 1.45; margin-bottom: 8px; }
.replay-critical-says, .replay-critical-tip {
  margin: 0 0 8px; font-size: .80rem; line-height: 1.5; color: #c5d8f0;
}
.replay-critical-tip { margin-bottom: 0; }
.replay-critical-says strong, .replay-critical-tip strong { color: #51cf66; }
.deliverables {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 16px 0;
}
.deliverable {
  text-align: center; padding: 10px 6px; border-radius: 10px;
  background: rgba(12, 18, 28, .85); border: 1px solid rgba(70, 90, 110, .3);
  font-size: .68rem; color: #8ba3c7; line-height: 1.3;
}
.deliverable .ico { font-size: 1.2rem; display: block; margin-bottom: 4px; }
.deliverable.active { border-color: #00b4d8; color: #c5d8f0; }
.replay-stage { margin: 0 0 16px; }
.replay-video-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(70, 90, 110, .35);
  background: #000;
  aspect-ratio: 9/16;
  max-height: 72vh;
  width: 100%;
}
.replay-video-wrap--promo .replay-video { object-fit: contain; }
.replay-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #000;
}
.replay-video-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, .72) 0%,
    rgba(0, 0, 0, .15) 34%,
    rgba(0, 0, 0, .08) 52%,
    rgba(0, 0, 0, .82) 100%
  );
}
.replay-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 12px;
  pointer-events: none;
}
.replay-overlay > * { pointer-events: auto; }
.replay-overlay .replay-critical-moment {
  margin: 0;
  background: rgba(6, 10, 16, .72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-left: 4px solid #00b4d8;
}
.replay-overlay .score-circle::after { background: rgba(6, 10, 16, .92); }
.replay-overlay .score-meta .pocket,
.replay-overlay .maneuver-pill { text-shadow: 0 1px 8px rgba(0, 0, 0, .65); }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 16px; border-radius: 10px; font-weight: 600; text-decoration: none;
  font-size: .85rem; border: none; cursor: pointer; font-family: inherit;
}
.btn-primary { background: #00b4d8; color: #001220; }
.btn-secondary { background: rgba(12, 18, 28, .9); color: #00b4d8; border: 1px solid rgba(0, 180, 216, .35); }
.btn-ghost { background: transparent; color: #8ba3c7; border: 1px solid rgba(70, 90, 110, .35); }
.btn-export-3d {
  width: 100%; padding: 14px; font-size: .95rem;
  background: linear-gradient(135deg, #51cf66, #00b4d8); color: #001220;
}
.btn-share-wa {
  background: #25d366; color: #fff; flex: 1; min-width: 140px;
}
.replay-3d-section {
  background: rgba(12, 18, 28, .6); border: 1px solid rgba(70, 90, 110, .28);
  border-radius: 16px; padding: 16px; margin-top: 16px;
}
.export-3d-hint { color: #8ba3c7; font-size: .8rem; margin: 0 0 10px; line-height: 1.4; }
.privacy-note { color: #6b8299; font-size: .78rem; margin: 10px 0 0; }
.replay-sticky {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 20;
  padding: 12px 16px; background: rgba(6, 10, 16, .92); backdrop-filter: blur(8px);
  border-top: 1px solid rgba(0, 180, 216, .25);
}
.replay-sticky .btn { width: 100%; padding: 14px; font-size: .95rem; }
.replay-footer { text-align: center; color: #5a7396; font-size: .72rem; margin-top: 24px; line-height: 1.5; }
.replay-badges-block { margin: 12px 0 4px; }
.replay-badges-title { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: #5a7396; margin-bottom: 8px; }
.replay-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.replay-badge {
  display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 700; border: 1px solid transparent;
}
.replay-badge--gold { background: rgba(255, 212, 59, .15); border-color: rgba(255, 212, 59, .45); color: #ffd43b; }
.replay-badge--silver { background: rgba(173, 181, 189, .12); border-color: rgba(173, 181, 189, .35); color: #c5d8f0; }
.replay-badge--bronze { background: rgba(116, 192, 252, .12); border-color: rgba(116, 192, 252, .35); color: #74c0fc; }
.replay-card-wrap { margin: 16px 0 8px; }
.replay-tagline { color: #c5d8f0; font-size: .9rem; margin: 0 0 10px; line-height: 1.4; font-weight: 600; }
.replay-card-img {
  width: 100%; border-radius: 16px; display: block;
  border: 1px solid rgba(0, 180, 216, .35); box-shadow: 0 8px 28px rgba(0, 0, 0, .35);
}
.replay-footer img { max-width: 200px; opacity: .9; margin-top: 8px; }
#copyStatus { color: #51cf66; font-size: .8rem; }
.pha-3d-record { background: rgba(81, 207, 102, .15) !important; color: #51cf66 !important; border-color: #51cf66 !important; }
