/* ads-management visuals: prefix v-ad- */

/* ---------- hero: search ad + feed ad ---------- */
.v-ad-hero { position: relative; width: 100%; max-width: 440px; justify-self: end; aspect-ratio: 440 / 470; font-family: var(--body); }
.v-ad-search {
  position: absolute; left: 0; top: 0; width: 82%;
  background: var(--bone); color: #1d1d20; border-radius: 10px; padding: 14px 16px 18px;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.7);
}
.v-ad-bar { display: flex; align-items: center; gap: 9px; border: 1px solid #cfcdc2; border-radius: 999px; padding: 8px 14px; font-size: 13px; color: #3a3a40; background: #f6f5ef; }
.v-ad-bar svg { width: 14px; height: 14px; color: #6b6a62; flex: none; }
.v-ad-res { margin-top: 14px; }
.v-ad-spons { margin: 0 0 6px; font: 700 11px/1 var(--body); color: #1d1d20; letter-spacing: .01em; }
.v-ad-site { display: flex; align-items: center; gap: 8px; }
.v-ad-site i, .v-ad-head i {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; flex: none;
  background: var(--ink); color: var(--volt); font: 800 9px/1 var(--display); font-style: normal; letter-spacing: 0;
}
.v-ad-site div, .v-ad-head div { display: grid; line-height: 1.2; }
.v-ad-site b { font-size: 12.5px; font-weight: 600; }
.v-ad-site span { font-size: 11px; color: #5c5b55; }
.v-ad-title { margin: 8px 0 4px; font-size: 16px; line-height: 1.25; font-weight: 500; color: #2443a8; }
.v-ad-desc { margin: 0; font-size: 12.5px; line-height: 1.45; color: #45443f; }
.v-ad-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.v-ad-links span { font-size: 11.5px; color: #2443a8; border: 1px solid #d3d1c6; border-radius: 999px; padding: 4px 10px; }
.v-ad-ghost { display: grid; gap: 7px; padding-top: 14px; border-top: 1px solid #dddbd0; }
.v-ad-ghost span { height: 7px; border-radius: 4px; background: #d9d7cc; }
.v-ad-ghost span:nth-child(1) { width: 38%; }
.v-ad-ghost span:nth-child(2) { width: 72%; height: 9px; background: #cfd3e4; }
.v-ad-ghost span:nth-child(3) { width: 88%; }

.v-ad-tag {
  position: absolute; left: 0; bottom: -30px; font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute);
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.v-ad-tag::before { content: ""; width: 7px; height: 7px; background: var(--volt); }
.v-ad-tag-r { left: auto; right: 0; bottom: -28px; }

.v-ad-phone {
  position: absolute; right: 0; bottom: 30px; width: 47%;
  background: #1a1a1e; border: 1px solid #3a3a40; border-radius: 30px; padding: 7px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.85), 0 0 0 6px var(--ink);
}
.v-ad-screen { position: relative; background: #fbfaf5; color: #1d1d20; border-radius: 24px; overflow: hidden; padding: 26px 0 12px; }
.v-ad-notch { position: absolute; top: 8px; left: 50%; width: 34%; height: 10px; margin-left: -17%; background: #1a1a1e; border-radius: 999px; }
.v-ad-head { display: flex; align-items: center; gap: 7px; padding: 0 10px 8px; }
.v-ad-head i { width: 22px; height: 22px; }
.v-ad-head b { font-size: 11px; font-weight: 600; }
.v-ad-head span { font-size: 9.5px; color: #6b6a62; }
.v-ad-head em { margin-left: auto; font-style: normal; color: #6b6a62; font-size: 12px; letter-spacing: 1px; }
.v-ad-img { position: relative; aspect-ratio: 1; background: var(--ink); color: var(--volt); overflow: hidden; }
.v-ad-img svg { position: absolute; right: 8%; bottom: 4%; width: 62%; }
.v-ad-img strong {
  position: absolute; left: 10px; top: 12px; color: var(--bone);
  font: 800 15px/1.02 var(--display); font-stretch: 125%; letter-spacing: -.02em;
}
.v-ad-cta { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 8px 10px; background: #efeee6; border-bottom: 1px solid #e0ded3; }
.v-ad-cta span { font-size: 10.5px; font-weight: 600; }
.v-ad-cta b { font-size: 9.5px; font-weight: 600; background: #dcdad0; border-radius: 4px; padding: 4px 7px; white-space: nowrap; }
.v-ad-icons { display: flex; gap: 10px; padding: 8px 10px 6px; color: #3a3a40; }
.v-ad-icons svg { width: 16px; height: 16px; }
.v-ad-lines { display: grid; gap: 5px; padding: 0 10px; }
.v-ad-lines span { height: 5px; border-radius: 3px; background: #e0ded3; }
.v-ad-lines span + span { width: 64%; }

@media (max-width: 860px) {
  .v-ad-hero { justify-self: start; max-width: 420px; margin-top: 8px; margin-bottom: 20px; }
}
@media (max-width: 600px) {
  .v-ad-hero { max-width: 360px; justify-self: center; margin-top: 4px; }
  .v-ad-search { padding: 12px 13px 15px; }
  .v-ad-title { font-size: 14.5px; }
  .v-ad-desc { font-size: 11.5px; }
  .v-ad-links span:nth-child(3) { display: none; }
}

/* ---------- tracking first ---------- */
.v-ad-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.v-ad-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.v-ad-flow > li {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start;
  background: var(--slate); border: 1px solid var(--line); border-radius: 6px; padding: 18px 18px 18px 16px;
}
.v-ad-flow > li + li::before {
  content: ""; position: absolute; left: 29px; top: -23px; width: 2px; height: 22px; background: var(--volt);
}
.v-ad-step { font: 500 12px/1 var(--mono); letter-spacing: .12em; color: var(--volt); padding-top: 4px; }
.v-ad-flow b { display: block; font: 750 17px/1.2 var(--display); font-stretch: 125%; letter-spacing: -.01em; color: var(--bone); }
.v-ad-flow div > span { display: block; margin-top: 6px; font-size: 14.5px; color: #bdbcb3; }
.v-ad-ico { width: 26px; height: 26px; color: var(--mute); }
.v-ad-end { grid-template-columns: auto 1fr !important; border-color: #4a4824 !important; }
.v-ad-conv { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.v-ad-conv li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--bone); background: var(--ink-2); border: 1px solid var(--line); border-radius: 4px; padding: 9px 10px; }
.v-ad-conv svg { width: 16px; height: 16px; color: var(--mute); flex: none; }
.v-ad-conv em {
  margin-left: auto; font: 500 10.5px/1 var(--mono); font-style: normal; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); background: var(--volt); border-radius: 3px; padding: 5px 7px 5px 18px; position: relative;
}
.v-ad-conv em::before { content: ""; position: absolute; left: 7px; top: 50%; width: 6px; height: 3px; border: solid var(--ink); border-width: 0 0 1.6px 1.6px; transform: translateY(-70%) rotate(-45deg); }

.v-ad-report { background: var(--bone); color: #1d1d20; border-radius: 8px; padding: clamp(18px, 2.4vw, 28px); box-shadow: 0 24px 60px -30px rgba(0,0,0,.8); }
.v-ad-rhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 2px solid #1d1d20; }
.v-ad-rhead div { display: grid; gap: 6px; }
.v-ad-k { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #6b6a62; }
.v-ad-rhead b { font: 800 22px/1 var(--display); font-stretch: 125%; letter-spacing: -.02em; }
.v-ad-pill { font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; background: var(--ink); color: var(--volt); padding: 7px 9px; border-radius: 3px; white-space: nowrap; }
.v-ad-row { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid #d3d1c6; font-size: 14.5px; line-height: 1.35; align-items: center; }
.v-ad-row:last-child { border-bottom: 0; padding-bottom: 0; }
.v-ad-row b { display: block; font-weight: 600; }
.v-ad-row i { display: block; font-style: normal; font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #6b6a62; margin-top: 6px; }
.v-ad-cols { padding: 12px 0 10px; font: 500 10.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #6b6a62; }
.v-ad-row em { font-style: normal; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.v-ad-row em::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.v-ad-up::before { background: #2f8a4c; }
.v-ad-test::before { background: #c9a227; }
.v-ad-cut::before { background: #b5462f; }

@media (max-width: 960px) { .v-ad-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .v-ad-cols { display: none !important; }
  .v-ad-row { grid-template-columns: 1fr; gap: 6px; }
  .v-ad-row > span:nth-child(2)::before { content: "Brought in: "; color: #6b6a62; }
  .v-ad-flow > li { grid-template-columns: auto 1fr; }
  .v-ad-ico { display: none; }
}