/* Localyo ad card (docs/AD-STANDARD.md). Apps may set the --ly-* colours to sit on their own
   background; the layout, type sizes and behaviour stay the same everywhere. */
:root {
  --ly-ink: #14213d; --ly-ink-2: #3d4a63; --ly-ink-3: #6b7280; --ly-line: rgba(20, 33, 61, .18);
  --ly-bg: transparent; --ly-accent: #e8505b; --ly-code: #1f8a8a;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-ly-theme="light"]) { --ly-ink: #eef4fb; --ly-ink-2: #c3d2e3; --ly-ink-3: #8ea3ba; --ly-line: rgba(238, 244, 251, .22); --ly-accent: #ff8a7a; --ly-code: #5ad6d6; }
}
.ly-card { display: flex; flex-direction: column; gap: 8px; width: 100%; text-align: left; font: inherit; color: var(--ly-ink); cursor: pointer;
  background: var(--ly-bg); border: 1.5px dashed var(--ly-line); border-radius: 16px; padding: 14px; }
.ly-tag { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ly-ink-3); }
.ly-media { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; display: block; background: #000; }
.ly-row { display: flex; gap: 12px; align-items: center; }
.ly-row > span { display: grid; gap: 2px; min-width: 0; }
.ly-row b { font-size: 17px; }
.ly-logo { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; }
.ly-logo.big { width: 56px; height: 56px; border-radius: 14px; }
.ly-body { color: var(--ly-ink-2); font-size: 14px; }
.ly-cta { color: var(--ly-accent); font-weight: 600; font-size: 14px; }
.ly-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ly-by { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--ly-ink-3); white-space: nowrap; }
.ly-operator { display: flex; align-items: center; gap: 8px; }
.ly-more { margin-top: 12px; }
.ly-offer-item { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; font: inherit; color: var(--ly-ink); background: none; cursor: pointer;
  border: 0; border-bottom: 1px solid var(--ly-line); padding: 10px 0; }
.ly-offer-item > span:nth-child(2) { display: grid; flex: 1; min-width: 0; }
.ly-offer-item small { color: var(--ly-ink-3); font-size: 12px; }
.ly-back { background: none; border: 0; font: inherit; color: var(--ly-accent); cursor: pointer; padding: 0 0 8px; }
.ly-by img { width: 16px; height: 16px; border-radius: 4px; }
.ly-full { color: var(--ly-ink); }
.ly-head { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.ly-head h2 { margin: 2px 0 0; font-size: 22px; }
.ly-hero { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; margin: 4px 0 12px; display: block; background: #000; }
.ly-headline { font-size: 20px; margin: 6px 0; }
.ly-offer { font-size: 16px; }
.ly-code { width: 100%; margin: 10px 0; padding: 16px; border-radius: 14px; border: 1.5px dashed var(--ly-code); background: transparent; color: var(--ly-ink); font: inherit; cursor: pointer; display: grid; gap: 4px; }
.ly-code b { font-size: 26px; letter-spacing: .12em; color: var(--ly-code); }
.ly-facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 12px 0; }
.ly-facts dt { color: var(--ly-ink-3); }
.ly-facts dd { margin: 0; }
.ly-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 8px; }
.ly-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--ly-line); color: var(--ly-ink); text-decoration: none; font-weight: 600; }
.ly-btn.primary { background: var(--ly-accent); border-color: var(--ly-accent); color: #fff; }
.ly-small { font-size: 12px; color: var(--ly-ink-3); }
