.pg-ads, dialog#modal.ads-detail { --ad-red: #ff7b72; --ad-red-bg: #3b1517; --ad-red-line: #7a2a2c; --ad-amber: #f2c25b; --ad-amber-bg: #3a2e0e; --ad-amber-line: #6e5719;
  --ad-grey: #d3dcda; --ad-grey-bg: #263033; --ad-grey-line: #36454a; --ad-surface: #0f1719; }
.ad-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; margin: 34px 0 26px; }
.ad-head h1 { font: 750 44px/1.05 Manrope, var(--font); letter-spacing: -1.4px; }
.ad-head .pg-lead { margin-top: 10px; font-size: 17px; color: #c3d0cd; }
.ad-run { margin-top: 8px; font-size: 14px; color: var(--muted); }
.ad-counts { display: grid; grid-template-columns: repeat(3, 236px); gap: 18px; flex: none; }
.ad-count { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 22px 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--ad-surface); }
.ad-count span { font-size: 14.5px; line-height: 1.45; color: #c3d0cd; max-width: 120px; }
.ad-count b { font: 700 46px/1 Manrope, var(--font); letter-spacing: -1.5px; font-variant-numeric: tabular-nums; }
.ad-filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.ad-filter { min-height: 42px; padding: 0 20px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: #d8e2e0; font-size: 15px; }
.ad-filter:hover { border-color: #3d4c4f; }
.ad-filter.on { background: #2a3032; border-color: #4a5658; color: #fff; font-weight: 550; }
.ad-filter:focus-visible, .ad-row:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.ad-pause { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--ad-surface); font-size: 14.5px; color: #c3d0cd; }
.ad-pause > .icon { width: 22px; height: 22px; flex: none; color: var(--text); }
.ad-pause p { flex: 1; }
.ad-pause b { color: var(--text); font-weight: 600; }
.ad-table { border: 1px solid var(--line); border-radius: 12px; background: var(--ad-surface); overflow: hidden; }
.ad-row { display: grid; grid-template-columns: 76px minmax(170px, 230px) minmax(0, 1fr) 150px 150px 150px; align-items: center; gap: 0 26px; padding: 16px 16px 16px 14px; border-top: 1px solid var(--line); cursor: pointer; }
.ad-row.ad-th { border-top: 0; padding-block: 18px; cursor: default; font-size: 14px; color: #c3d0cd; }
.ad-row:not(.ad-th):hover { background: #131d1f; }
.ad-row.top { box-shadow: inset 3px 0 0 #ef4444; }
.ad-thumb { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 8px; overflow: hidden; background: #e9e5df; color: #c3d0cd; }
.ad-thumb:has(svg) { background: #1b2629; }
.ad-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ad-thumb .icon { width: 34px; height: 34px; }
.ad-who { display: grid; gap: 6px; min-width: 0; }
.ad-who strong { font-size: 17px; font-weight: 550; overflow-wrap: anywhere; }
.ad-row code, .ad-d-meta code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 14.5px; color: #c3d0cd; overflow-wrap: anywhere; }
.ad-copy { display: grid; gap: 6px; min-width: 0; }
.ad-copy strong { font-size: 16.5px; font-weight: 600; }
.ad-text { font-size: 14.5px; line-height: 1.45; color: #c3d0cd; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ad-copy small { font-size: 13.5px; color: var(--muted); }
.ad-flags { display: flex; flex-wrap: wrap; gap: 8px; }
.ad-flag { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 6px; background: #273236; color: #dfe7e5; font-size: 13px; font-weight: 500; }
.ad-flag.photo { background: var(--ad-red-bg); color: var(--ad-red); }
.ad-flag.photo i { width: 9px; height: 9px; border-radius: 50%; background: #ef4444; }
.ad-kind { display: inline-flex; padding: 7px 14px; border: 1px solid; border-radius: 6px; font-size: 14.5px; font-weight: 550; white-space: nowrap; }
.ad-kind.red { background: var(--ad-red-bg); border-color: var(--ad-red-line); color: var(--ad-red); }
.ad-kind.amber { background: var(--ad-amber-bg); border-color: var(--ad-amber-line); color: var(--ad-amber); }
.ad-kind.grey { background: var(--ad-grey-bg); border-color: var(--ad-grey-line); color: var(--ad-grey); }
.ad-date code { color: #d8e2e0; white-space: nowrap; }
.ad-m { display: none; }
.ad-go { justify-self: end; }
.btn.ad-open { min-height: 44px; padding: 0 18px; border: 1px solid #c9d3d1; border-radius: 6px; background: transparent; color: var(--text); font-size: 15px; font-weight: 550; white-space: nowrap; }
.btn.ad-open:hover { background: #ffffff0d; }
.btn.ad-open .icon { width: 15px; height: 15px; }
.ad-empty { padding: 110px 24px; border-top: 1px solid var(--line); text-align: center; }
.ad-empty h3 { font: 650 23px/1.3 Manrope, var(--font); letter-spacing: -.4px; }
.ad-empty p { max-width: 470px; margin: 12px auto 0; font-size: 15px; line-height: 1.6; color: #c3d0cd; }
.pg-ads .pg-empty > svg { width: 36px; height: 36px; margin: 0 auto 18px; color: var(--muted); }
.ad-channel { font-size: 12.5px; color: var(--muted); }
dialog#modal.ads-detail { width: 480px; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; border: 0; border-left: 1px solid var(--line); border-radius: 0; background: #0f1719; box-shadow: none; display: flex; flex-direction: column; }
dialog#modal.ads-detail:not([open]) { display: none; }
dialog#modal.ads-detail #modal-content { display: flex; flex-direction: column; flex: 1; min-height: 0; }
dialog#modal.ads-detail .modal-head { padding: 30px 30px 0; border: 0; }
dialog#modal.ads-detail .modal-head h2 { font: 750 30px/1.15 Manrope, var(--font); letter-spacing: -.8px; }
dialog#modal.ads-detail .modal-body { flex: 1; overflow: auto; padding: 8px 30px 24px; }
dialog#modal.ads-detail .modal-footer { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: stretch; justify-items: stretch; gap: 12px; padding: 18px 30px 28px; border-top: 0; }
dialog#modal.ads-detail .modal-footer .btn { justify-self: stretch; margin: 0; width: 100%; min-height: 50px; justify-content: center; border-radius: 6px; font-size: 16px; font-weight: 550; }
dialog#modal.ads-detail .modal-footer .btn:not(.primary) { background: transparent; border: 1px solid #c9d3d1; color: var(--text); }
dialog#modal.ads-detail .modal-footer .btn.primary { background: var(--green); border-color: var(--green); color: #062a1c; box-shadow: none; }
.ad-d-meta { display: grid; gap: 8px; justify-items: start; font-size: 16px; color: #c3d0cd; }
.ad-d-meta .ad-d-domain { font-size: 17px; color: #c3d0cd; }
.ad-d-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ad-d-title { margin: 24px 0 10px; font: 700 25px/1.25 Manrope, var(--font); letter-spacing: -.5px; }
.ad-d-text { font-size: 16.5px; line-height: 1.6; color: #d8e2e0; }
.ad-d-why { margin-top: 24px; padding: 22px 0; border-block: 1px solid var(--line); }
.ad-d-why h4 { font-size: 17px; font-weight: 600; }
.ad-d-why p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: #9fc3d8; }
.ad-d-why code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 14px; }
.ad-d-photo { display: flex; align-items: center; gap: 22px; margin-top: 24px; }
.ad-d-img { display: grid; place-items: center; flex: none; width: 160px; height: 160px; border-radius: 8px; overflow: hidden; background: #e9e5df; }
.ad-d-img img { width: 100%; height: 100%; object-fit: cover; }
.ad-d-photo b { display: block; font-size: 17px; font-weight: 600; line-height: 1.45; }
.ad-d-photo span { display: block; margin-top: 8px; font-size: 16px; color: #9fc3d8; }
.ad-d-tags .ad-kind, .ad-d-tags .ad-flag { font-size: 14px; }
.ad-d-proof, .ad-d-copier { margin-top: 22px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 8px; background: #121b1d; }
.ad-d-proof { border-color: var(--ad-amber-line); }
.ad-d-proof h4, .ad-d-copier h4 { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 600; }
.ad-d-proof h4 .icon { width: 17px; height: 17px; color: var(--ad-amber); }
.ad-d-proof p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: #d8e2e0; }
.ad-d-copier ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14.5px; color: #c3d0cd; }
.ad-d-copier b { color: var(--text); font-weight: 600; }
.ad-hot { color: var(--ad-red); }
@media (max-width: 1280px) {
  .ad-head { flex-direction: column; }
  .ad-counts { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .ad-row { grid-template-columns: 64px minmax(140px, 190px) minmax(0, 1fr) 140px 120px 140px; gap: 0 18px; }
  .ad-thumb { width: 64px; height: 64px; }
}
@media (max-width: 980px) {
  .ad-row { grid-template-columns: 64px minmax(0, 1fr) 140px; grid-template-areas: 'thumb who type' 'thumb copy date' 'thumb copy go'; gap: 8px 18px; }
  .ad-cell-thumb { grid-area: thumb; align-self: start; } .ad-who { grid-area: who; } .ad-copy { grid-area: copy; } .ad-type { grid-area: type; justify-self: end; } .ad-date { grid-area: date; justify-self: end; } .ad-go { grid-area: go; }
  .ad-row.ad-th { display: none; }
}
@media (max-width: 700px) {
  .ad-head { gap: 16px; margin: 22px 0 18px; }
  .ad-head h1 { font-size: 36px; }
  .ad-head .pg-lead { font-size: 16px; }
  .ad-counts { display: flex; overflow-x: auto; gap: 10px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .ad-count { flex: none; width: 150px; padding: 14px; }
  .ad-count span { font-size: 13px; max-width: 80px; }
  .ad-count b { font-size: 30px; }
  .ad-filters { flex-wrap: nowrap; overflow-x: auto; gap: 8px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .ad-counts::-webkit-scrollbar, .ad-filters::-webkit-scrollbar { display: none; }
  .ad-filter { flex: none; min-height: 40px; padding: 0 14px; font-size: 13.5px; }
  .ad-pause { flex-wrap: wrap; } .ad-pause .btn { width: 100%; justify-content: center; }
  .ad-table { border: 0; background: none; display: grid; gap: 12px; overflow: visible; }
  .ad-row { grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: none; gap: 6px 14px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--ad-surface); }
  .ad-row.top { box-shadow: inset 3px 0 0 #ef4444; }
  .ad-thumb { width: 56px; height: 56px; }
  .ad-who strong { font-size: 17px; }
  .ad-type, .ad-date { justify-self: start; }
  .ad-row > * { grid-area: auto; grid-column: 2; }
  .ad-row > .ad-cell-thumb { grid-column: 1; grid-row: 1 / span 3; }
  .ad-row:has(.ad-flags) > .ad-cell-thumb { grid-row: 1 / span 4; }
  .ad-who { order: 1; } .ad-type { order: 2; } .ad-copy { order: 3; } .ad-date { order: 4; }
  .ad-copy > strong, .ad-copy .ad-text, .ad-copy small { display: none; }
  .ad-copy:not(:has(.ad-flags)) { display: none; }
  .ad-kind { padding: 4px 10px; font-size: 13.5px; }
  .ad-m { display: inline; color: var(--muted); font-size: 14px; }
  .ad-date code { font-size: 14px; }
  .ad-go { display: none; }
  .ad-empty { padding: 60px 18px; border: 1px solid var(--line); border-radius: 10px; }
  dialog#modal.ads-detail { width: 100vw; border-left: 0; }
  dialog#modal.ads-detail .modal-head { padding: 22px 20px 0; }
  dialog#modal.ads-detail .modal-body { padding: 8px 20px 20px; }
  dialog#modal.ads-detail .modal-footer { padding: 14px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
  .ad-d-photo { align-items: flex-start; } .ad-d-img { width: 132px; height: 132px; }
}
.pg-google .g-counts { grid-template-columns: repeat(4, 200px); }
.pg-google .ad-count b small { font-size: 26px; font-weight: 600; color: #c3d0cd; letter-spacing: -.5px; }
.pg-google .ad-empty > .icon { width: 34px; height: 34px; margin: 0 auto 16px; color: var(--muted); display: block; }
.g-search { margin-bottom: 18px; padding: 24px 26px; border: 1px solid var(--line); border-radius: 12px; background: var(--ad-surface); }
.g-search h2 { font: 700 24px/1.3 Manrope, var(--font); letter-spacing: -.5px; }
.g-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; font-size: 16.5px; color: #c3d0cd; }
.g-facts p { padding: 2px 24px; border-left: 1px solid var(--line); }
.g-facts p:first-child { padding-left: 0; border-left: 0; }
.g-facts b { color: var(--text); font-weight: 650; }
.g-facts code, .g-cell code, .g-price code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 15px; color: #d8e2e0; }
.g-note { margin-top: 16px; font-size: 15px; color: #c3d0cd; }
.ad-row.g-row { grid-template-columns: minmax(170px, 230px) minmax(0, 1fr) 140px 130px 140px 130px; padding-left: 26px; }
.ad-row.g-prow { grid-template-columns: 76px minmax(170px, 1fr) 150px 190px 220px 140px 24px; }
.g-cell { font-size: 15px; color: #d8e2e0; }
.g-muted { color: var(--muted); }
.g-price { font-size: 14.5px; color: #c3d0cd; }
.g-thumb { background: #e9e5df; }
.g-prow .ad-go { color: var(--muted); }
.g-prow .ad-go .icon { width: 18px; height: 18px; }
.g-cell .ad-kind { font-size: 14px; padding: 6px 12px; white-space: normal; }
.g-cell .ad-flag { font-size: 13.5px; padding: 6px 12px; border: 1px solid var(--ad-grey-line); background: transparent; color: #d8e2e0; }
.g-recourse { margin-top: 20px; padding: 16px 18px; border: 1px solid #c9d3d1; border-radius: 6px; font-size: 15.5px; line-height: 1.55; color: var(--text); }
.g-section { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.g-section h4 { font: 700 19px/1.3 Manrope, var(--font); letter-spacing: -.3px; }
.g-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.g-section > h4 { margin-bottom: 12px; }
.btn.g-copy { min-height: 38px; padding: 0 12px; border: 1px solid #c9d3d1; border-radius: 6px; background: transparent; color: var(--text); font-size: 14px; }
.g-lines { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.g-lines li { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; color: #d8e2e0; }
.g-lines code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13.5px; }
.g-lines a, .google-detail .text-button { color: var(--text); text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.google-detail .g-section .text-button { margin-top: 10px; }
.g-help { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.g-sub { font-size: 15.5px; line-height: 1.5; color: #c3d0cd; }
.g-top, .g-sites { margin: 12px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.g-top li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 12px; padding: 11px 2px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.g-top li span:first-child { color: var(--muted); font-family: 'JetBrains Mono', ui-monospace, monospace; }
.g-top li.g-own { color: var(--green); }
.g-sites li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 2px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.g-top code, .g-sites code, .g-prod-head code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 15px; }
.g-sites code.g-cheap { color: var(--ad-amber); }
.g-copies { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.g-copies > li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 14px; border: 1px solid var(--ad-red-line); border-radius: 8px; background: #121b1d; }
.g-copies b { font: 600 15.5px 'JetBrains Mono', ui-monospace, monospace; overflow-wrap: anywhere; }
.g-copies small { display: block; margin-top: 4px; font-size: 13.5px; color: #c3d0cd; }
.g-copies .g-muted { color: var(--muted); }
.g-copies .trace-found { margin-top: 8px; font-size: 13.5px; }
.g-pair { display: flex; gap: 6px; }
.g-pair .ad-thumb { width: 56px; height: 56px; }
.g-prod-head { display: flex; align-items: center; gap: 18px; margin-top: 4px; }
.g-prod-head .ad-thumb { width: 120px; height: 120px; flex: none; }
.g-prod-head p { font-size: 16px; color: #c3d0cd; }
.google-detail .g-section-head .ad-kind { font-size: 13px; padding: 4px 10px; }
.google-detail .g-section-head .ad-flag { font-size: 13px; }
.google-detail .modal-footer a.btn { text-decoration: none; }
@media (max-width: 1280px) {
  .pg-google .g-counts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ad-row.g-row { grid-template-columns: minmax(150px, 190px) minmax(0, 1fr) 120px 110px 120px 120px; gap: 0 18px; }
  .ad-row.g-prow { grid-template-columns: 64px minmax(150px, 1fr) 130px 160px 200px 120px 20px; gap: 0 16px; }
}
@media (max-width: 980px) {
  .ad-row.g-row { grid-template-columns: minmax(0, 1fr) 140px; grid-template-areas: none; gap: 8px 18px; }
  .ad-row.g-row > * { grid-area: auto; }
  .ad-row.g-row .ad-copy { grid-column: 1; }
  .ad-row.g-prow { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: none; gap: 8px 16px; }
  .ad-row.g-prow > * { grid-area: auto; grid-column: 2; }
  .ad-row.g-prow > .ad-cell-thumb { grid-column: 1; grid-row: 1 / span 5; }
  .ad-row.g-prow > .ad-go { grid-column: 3; grid-row: 1; }
  .g-row .ad-m, .g-prow .ad-m { display: inline; color: var(--muted); }
}
@media (max-width: 700px) {
  .pg-google .g-counts { display: flex; }
  .g-search { padding: 18px; }
  .g-search h2 { font-size: 20px; }
  .g-facts { grid-template-columns: 1fr; gap: 6px; font-size: 15px; }
  .g-facts p { padding: 0; border-left: 0; }
  .ad-row.g-row, .ad-row.g-prow { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 16px; }
  .ad-row.g-prow { grid-template-columns: 56px minmax(0, 1fr); }
  .ad-row.g-row > * { grid-column: 1; }
  .ad-row.g-prow > * { grid-column: 2; grid-row: auto; }
  .ad-row.g-prow > .ad-cell-thumb { grid-column: 1; grid-row: 1 / span 4; }
  .g-row .ad-copy > strong, .g-row .ad-copy .ad-text { display: block; }
  .g-row .ad-copy { display: grid !important; order: 2; }
  .g-row .ad-who { order: 1; } .g-row .g-cell, .g-row .ad-date { order: 3; font-size: 14px; }
  .g-row .ad-copy > strong { font-size: 15.5px; }
  .g-prow .g-cell:nth-of-type(4), .g-prow .ad-go { display: none; }
  .g-prow .ad-who small { display: block; }
  .g-row .ad-go, .g-prow .ad-go { display: none; }
  .g-prod-head .ad-thumb { width: 96px; height: 96px; }
}
.pg-google .ad-count b { white-space: nowrap; }
.g-nw, .g-cell .ad-flag, .g-section-head .ad-flag, .g-section-head .ad-kind { white-space: nowrap; }
.ad-row.g-prow { grid-template-columns: 76px minmax(170px, 1fr) 140px 200px 250px 130px 24px; }
@media (max-width: 1280px) { .ad-row.g-prow { grid-template-columns: 64px minmax(150px, 1fr) 120px 170px 230px 110px 20px; } }
@media (max-width: 980px) { .ad-row.g-prow { grid-template-columns: 64px minmax(0, 1fr) auto; } }
@media (max-width: 700px) {
  .ad-row.g-prow { grid-template-columns: 56px minmax(0, 1fr); }
  .g-prow .ad-who { order: 1; } .g-prow .g-c-shop { order: 2; } .g-prow .g-c-photo { order: 3; } .g-prow .g-c-cheap { order: 4; }
  .g-prow .g-c-lead, .g-prow .g-none { display: none; }
  .ad-row.g-prow > .ad-cell-thumb { grid-row: 1 / span 3; }
}
.pg-google .ad-count { gap: 10px; padding: 22px 20px; }
.pg-google .ad-count b { font-size: 40px; }
.pg-google .ad-count b small { font-size: 22px; }
.pg-google .ad-count span { max-width: 104px; }
@media (max-width: 700px) { .pg-google .ad-count b { font-size: 30px; } .pg-google .ad-count b small { font-size: 17px; } }