/* DeltaPlay landing — coach-routed WhatsApp delivery. Amicro black-and-white. */
.delta-delivery-card {
  --delivery-green: #EDEDED;
  --delivery-teal: #EDEDED;
  --delivery-pink: #C4C4C4;
  margin-top: 36px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.delta-delivery-copy {
  max-width: none;
  padding: 6px 8px 20px;
}

.delta-delivery-copy h3 {
  margin: 0 0 14px;
}

.delta-delivery-lede {
  width: 100%;
  max-width: 100%;
  white-space: normal;
  margin: 0 0 16px;
}

.delta-delivery-note {
  margin: 0;
  max-width: 52rem;
  font-size: 12px;
  line-height: 1.45;
  color: #8A8A8A;
}

.delta-delivery-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: #A3A3A3;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.delta-delivery-eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--delivery-green);
  box-shadow: 0 0 12px rgba(255, 255, 255, .08);
  content: "";
}

.delta-delivery-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  background: #12141A;
}

.delta-delivery-stage::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: .18;
  mask-image: linear-gradient(to bottom, #000, transparent 86%);
  pointer-events: none;
  content: "";
}

.delta-challenge {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 136px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  background: #181818;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.delta-challenge-mark {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  background: #2A2A2A;
  color: #EDEDED;
  box-shadow: none;
}

.delta-challenge-mark span {
  font-family: "Lora", Georgia, serif;
  font-size: 42px;
  line-height: 1;
  transform: translateY(-2px);
}

.delta-challenge-copy { min-width: 0; }

.delta-challenge-label {
  display: block;
  margin-bottom: 2px;
  color: #A3A3A3;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.delta-challenge h4 {
  margin: 0;
  color: #EDEDED;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.7rem, 3.3vw, 2.5rem);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.05;
}

.delta-challenge-copy p {
  max-width: 570px;
  margin: 7px 0 0;
  color: #A3A3A3;
  font-size: 13.5px;
  line-height: 1.5;
}

.delta-score-key {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 156px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 13px;
  background: rgba(9, 11, 15, .5);
}

.delta-score-key-label {
  margin-bottom: 3px;
  color: #A3A3A3;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.delta-score-key strong { color: #EDEDED; font-size: 14px; font-weight: 600; }
.delta-score-key small { margin-top: 2px; color: #767676; font-size: 10px; }

.delta-coach-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 0;
}

/* —— WhatsApp mock: the artifact a coach actually receives —— */
.delta-wa-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.delta-wa-demo-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #A3A3A3;
  text-align: center;
}

.delta-wa-phone-mock {
  width: min(100%, 420px);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 18px;
  background: #181818;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03), 0 18px 40px -30px rgba(0, 0, 0, .45);
}

.delta-wa-mock-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background: rgba(255, 255, 255, .03);
}

.delta-wa-mock-head .delta-coach-avatar {
  --thread-accent: var(--delivery-green);
  width: 34px;
  height: 34px;
  font-size: 14px;
}

.delta-wa-mock-time {
  flex: 0 0 auto;
  margin-left: auto;
  font-family: var(--mono);
  font-size: 9px;
  color: #767676;
}

.delta-wa-mock-bubble {
  position: relative;
  margin: 12px 30px 14px 12px;
  padding: 11px 13px 9px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px 12px 12px 4px;
  background: #1C1F28;
}

.delta-wa-mock-title {
  color: #EDEDED;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 8px;
}

.delta-wa-mock-stats {
  list-style: none;
  margin: 0 0 9px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.delta-wa-mock-stats li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}

.delta-wa-mock-stats span { color: #767676; }

.delta-wa-mock-stats b {
  color: #EDEDED;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
}

.delta-wa-mock-stats li:first-child b { color: #EDEDED; }

.delta-wa-mock-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 7px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  font-size: 10.5px;
  color: #767676;
}

.delta-wa-mock-foot em {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-style: normal;
  font-family: var(--mono);
  font-size: 9px;
}

.delta-wa-mock-foot .delta-delivered { margin: 0; }

.delta-coach-thread {
  --thread-accent: var(--delivery-teal);
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  background: #181818;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

.delta-coach-thread-a { --thread-accent: #EDEDED; }
.delta-coach-thread-b { --thread-accent: #C4C4C4; }
.delta-coach-thread-c { --thread-accent: #A3A3A3; }

.delta-thread-head {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 66px;
  padding: 12px 14px;
  border-bottom: 0;
  background: transparent;
}

.delta-coach-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid color-mix(in srgb, var(--thread-accent) 56%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--thread-accent) 12%, #12151b);
  color: var(--thread-accent);
  font-size: 15px;
  font-weight: 700;
}

.delta-coach-identity { display: flex; flex: 1 1 auto; min-width: 0; flex-direction: column; }
.delta-coach-identity strong { color: #f0f2f3; font-size: 14px; font-weight: 600; }
.delta-coach-identity span { color: #767676; font-size: 11px; }

.delta-whatsapp-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  padding: 6px 9px 6px 7px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: #A3A3A3;
  font-family: var(--mono);
  font-size: 9px;
}

.delta-whatsapp-badge svg { width: 17px; height: 17px; fill: #EDEDED; }
.delta-whatsapp-badge .delta-wa-phone { fill: #181818; }

.delta-branch-lines {
  display: block;
  width: calc(100% - 24px);
  height: 42px;
  margin: 0 12px -1px;
  overflow: visible;
  color: color-mix(in srgb, var(--thread-accent) 58%, #767676);
}

.delta-branch-lines path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
}

.delta-branch-lines circle { fill: currentColor; }

.delta-thread-body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0 10px 12px;
}

.delta-report-message {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  min-width: 0;
  min-height: 128px;
  padding: 10px 6px 8px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 12px;
  background: #131313;
  text-align: center;
}

.delta-report-message::after {
  display: none;
}

.delta-report-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid color-mix(in srgb, var(--thread-accent) 24%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--thread-accent) 7%, #11141a);
  color: var(--thread-accent);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
}

.delta-report-copy { display: flex; min-width: 0; align-items: center; flex-direction: column; }
.delta-report-copy strong { overflow: hidden; max-width: 100%; color: #EDEDED; font-size: 12.5px; font-weight: 550; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.delta-report-copy span { overflow: hidden; max-width: 100%; color: #767676; font-size: 9px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.delta-score { display: flex; flex-direction: column; align-items: center; min-width: 48px; padding: 3px 8px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; background: rgba(255, 255, 255, .05); }
.delta-score small { color: #767676; font-family: var(--mono); font-size: 7px; letter-spacing: .11em; }
.delta-score strong { color: #EDEDED; font-family: var(--mono); font-size: 12px; font-weight: 500; }
.delta-delivered { margin-top: auto; color: #A3A3A3; font-size: 10px; letter-spacing: -.16em; }

.delta-delivery-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 15px;
  background: #181818;
}

.delta-delivery-proof { display: flex; align-items: center; min-width: 0; gap: 10px; }
.delta-proof-icon { display: grid; place-items: center; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: #2A2A2A; color: #EDEDED; border: 1px solid rgba(255, 255, 255, .12); font-size: 14px; font-weight: 800; }
.delta-delivery-proof div { display: flex; min-width: 0; flex-direction: column; }
.delta-delivery-proof strong { color: #EDEDED; font-size: 12.5px; font-weight: 600; }
.delta-delivery-proof div span { color: #767676; font-size: 10.5px; }

.delta-delivery-stats { display: flex; flex: 0 0 auto; gap: 6px; }
.delta-delivery-stats span { padding: 6px 8px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 8px; background: rgba(8, 10, 13, .34); color: #767676; font-family: var(--mono); font-size: 8px; text-transform: uppercase; }
.delta-delivery-stats strong { margin-right: 2px; color: #D4D4D4; font-size: 9px; font-weight: 500; }

html[data-theme="light"] .delta-delivery-eyebrow { color: #5C5C5C; }
html[data-theme="light"] .delta-delivery-stage { border-color: rgba(20, 28, 32, .12); background: radial-gradient(620px 280px at 50% -8%, rgba(23, 23, 23, .04), transparent 66%), #F3F5F6; }
html[data-theme="light"] .delta-challenge,
html[data-theme="light"] .delta-coach-thread { border-color: rgba(20, 28, 32, .1); background: #fff; box-shadow: 0 12px 34px -28px rgba(20, 28, 32, .32); }
html[data-theme="light"] .delta-challenge h4,
html[data-theme="light"] .delta-score-key strong,
html[data-theme="light"] .delta-coach-identity strong,
html[data-theme="light"] .delta-report-copy strong,
html[data-theme="light"] .delta-delivery-proof strong { color: #1e2428; }
html[data-theme="light"] .delta-challenge-copy p,
html[data-theme="light"] .delta-score-key small,
html[data-theme="light"] .delta-coach-identity span,
html[data-theme="light"] .delta-report-copy span,
html[data-theme="light"] .delta-delivery-proof div span { color: #697177; }
html[data-theme="light"] .delta-score-key,
html[data-theme="light"] .delta-report-message,
html[data-theme="light"] .delta-delivery-stats span { border-color: rgba(20, 28, 32, .08); background: #F4F4F4; }
html[data-theme="light"] .delta-thread-head { border-bottom-color: rgba(20, 28, 32, .07); }
html[data-theme="light"] .delta-delivery-foot { border-color: rgba(20, 28, 32, .10); background: linear-gradient(90deg, rgba(23, 23, 23, .06), transparent); }
html[data-theme="light"] .delta-wa-demo-label { color: #5C5C5C; }
html[data-theme="light"] .delta-wa-phone-mock { border-color: rgba(20, 28, 32, .12); background: #fff; box-shadow: 0 12px 34px -28px rgba(20, 28, 32, .32); }
html[data-theme="light"] .delta-wa-mock-head { border-bottom-color: rgba(20, 28, 32, .07); background: rgba(255, 255, 255, .04); }
html[data-theme="light"] .delta-wa-mock-bubble { border-color: rgba(20, 28, 32, .10); background: #F4F4F4; }
html[data-theme="light"] .delta-wa-mock-title { color: #1e2428; }
html[data-theme="light"] .delta-wa-mock-stats span { color: #697177; }
html[data-theme="light"] .delta-wa-mock-stats b { color: #1e2428; }
html[data-theme="light"] .delta-wa-mock-stats li:first-child b { color: #171717; }
html[data-theme="light"] .delta-wa-mock-foot { border-top-color: rgba(20, 28, 32, .08); }


html[data-theme="light"] .delta-challenge-label,
html[data-theme="light"] .delta-score-key-label { color: #5C5C5C; }
html[data-theme="light"] .delta-challenge-mark {
  background: #171717;
  color: #F3F2EE;
  border-color: rgba(20, 28, 32, .16);
}
html[data-theme="light"] .delta-proof-icon {
  background: #171717;
  color: #F3F2EE;
  border-color: rgba(20, 28, 32, .16);
}
html[data-theme="light"] .delta-whatsapp-badge {
  background: #171717;
  border-color: rgba(20, 28, 32, .16);
  color: #F3F2EE;
}
html[data-theme="light"] .delta-whatsapp-badge svg { fill: #F3F2EE; }
html[data-theme="light"] .delta-whatsapp-badge .delta-wa-phone { fill: #171717; }
html[data-theme="light"] .delta-score {
  color: #171717;
  background: #EFEFEF;
  border-color: rgba(20, 28, 32, .12);
}
html[data-theme="light"] .delta-score strong { color: #171717; }
html[data-theme="light"] .delta-wa-mock-stats li:first-child b { color: #171717; }
html[data-theme="light"] .delta-delivery-foot { background: #fff; }
html[data-theme="light"] .delta-challenge-mark,
html[data-theme="light"] .delta-coach-avatar {
  background: #171717;
  color: #F3F2EE;
  border-color: rgba(20, 28, 32, .16);
}

@media (max-width: 900px) {
  .delta-challenge { grid-template-columns: auto minmax(0, 1fr); }
  .delta-score-key { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; width: 100%; }
  .delta-score-key-label { margin: 0; }
  .delta-score-key small { justify-self: end; }
  .delta-coach-grid { grid-template-columns: 1fr; }
  .delta-delivery-foot { align-items: stretch; flex-direction: column; }
  .delta-delivery-stats { display: grid; grid-template-columns: repeat(3, 1fr); }
  .delta-delivery-stats span { text-align: center; }
}

@media (max-width: 560px) {
  .delta-delivery-stage { padding: 10px; border-radius: 18px; }
  .delta-challenge { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .delta-challenge-mark { width: 54px; height: 54px; border-radius: 16px; }
  .delta-challenge-mark span { font-size: 31px; }
  .delta-score-key { grid-column: auto; grid-template-columns: 1fr; gap: 1px; }
  .delta-score-key small { justify-self: start; }
  .delta-thread-head { flex-wrap: wrap; }
  .delta-whatsapp-badge { margin-left: 49px; }
  .delta-thread-body { gap: 5px; padding-inline: 7px; }
  .delta-report-message { min-height: 118px; padding-inline: 3px; }
  .delta-report-copy span { white-space: normal; }
  .delta-delivery-stats { grid-template-columns: 1fr; }
}


/* Ridhima simplified card — coach name centered; lean player chips */
.delta-coach-thread-simple .delta-thread-head {
  justify-content: center;
  text-align: center;
}

.delta-coach-thread-simple .delta-coach-identity {
  align-items: center;
  text-align: center;
  width: 100%;
}

.delta-coach-thread-simple .delta-report-message {
  min-height: 88px;
  justify-content: center;
  gap: 10px;
  padding: 14px 8px 12px;
}

.delta-coach-thread-simple .delta-report-copy span {
  display: none;
}

.delta-coach-thread-simple .delta-score small {
  display: none;
}

.delta-coach-thread-simple .delta-thread-head {
  min-height: 56px;
  padding-bottom: 6px;
}

.delta-coach-thread-simple .delta-coach-identity strong {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #EDEDED;
}

.delta-coach-thread-simple .delta-coach-identity span {
  display: block;
  margin-top: 1px;
  line-height: 1.15;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #8A8A8A;
}

.delta-coach-thread-simple .delta-branch-lines {
  display: block;
  width: 100%;
  height: 78px;
  margin: 2px 0 -1px;
  padding: 0;
}

.delta-coach-thread-simple .delta-branch-lines path {
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.delta-coach-thread-simple .delta-branch-lines circle {
  fill: rgba(255, 255, 255, 0.35);
}

.delta-coach-thread-simple .delta-score-up strong {
  color: #6EE7A8;
}

.delta-coach-thread-simple .delta-thread-body {
  margin-top: 0;
  padding-top: 0;
}

.delta-coach-thread-c { --thread-accent: #A3A3A3; }
.delta-coach-thread-d { --thread-accent: #C4C4C4; }

.delta-coach-thread-simple .delta-score-down strong {
  color: #F07178;
}

@media (max-width: 800px) {
  .delta-coach-grid {
    grid-template-columns: 1fr;
  }
}

/* == phone adaptive == */
@media (min-width: 801px) {
  .delta-delivery-lede { width: max-content; max-width: none; white-space: nowrap; }
}
@media (max-width: 800px) {
  .delta-delivery-copy { padding: 4px 4px 16px; }
  .delta-delivery-lede { width: 100%; max-width: 100%; white-space: normal; overflow-wrap: anywhere; margin: 0 0 12px; font-size: 14.5px; line-height: 1.45; }
  .delta-delivery-note { max-width: 100%; font-size: 11.5px; }
  .delta-delivery-stage { padding: 12px; border-radius: 16px; }
  .delta-coach-thread-simple .delta-branch-lines { height: 64px; }
  .delta-thread-body { gap: 6px; padding: 0 4px 10px; }
  .delta-coach-thread-simple .delta-report-message { min-height: 76px; padding: 10px 4px 8px; gap: 8px; }
  .delta-report-copy strong { font-size: 11.5px; }
  .delta-score { min-width: 42px; padding: 2px 6px; }
  .delta-score strong { font-size: 11px; }
}
@media (max-width: 400px) {
  .delta-coach-thread-simple .delta-coach-identity strong { font-size: 18px; }
  .delta-thread-body { gap: 4px; }
  .delta-report-copy strong { font-size: 10.5px; }
}
