/* AUREA Market — affiliate promotion materials page (/affiliate/materials). */
.mat-banner-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px;margin:14px 0 6px}
.mat-banner-card{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:12px}
.mat-banner-card img{width:100%;height:auto;border-radius:8px;display:block;background:#0A0F1E}
.mat-banner-meta{display:flex;justify-content:space-between;align-items:center;margin:10px 0 8px}
.mat-banner-size{font-weight:800;font-size:13.5px}
.mat-banner-use{color:var(--faint);font-size:12px;font-weight:600}
.mat-banner-actions{display:flex;gap:8px;flex-wrap:wrap}
.btn-sm{padding:8px 13px;font-size:13px;border-radius:9px}
.btn-ghost{background:transparent;border:1px solid rgba(255,215,0,.55);color:var(--gold);font-weight:700;cursor:pointer}
.btn-ghost:hover{background:rgba(255,215,0,.12)}
.mat-code{margin-top:10px}
.mat-code summary{cursor:pointer;color:var(--gold);font-size:13px;font-weight:700}
.mat-code pre,.mat-snippet{background:#070B16;border:1px solid rgba(255,255,255,.09);border-radius:10px;padding:12px;font-size:12px;line-height:1.55;overflow-x:auto;white-space:pre-wrap;word-break:break-all;color:#C6CDE6;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.mat-row{display:flex;gap:10px;align-items:flex-start;flex-wrap:wrap}
.mat-row .mat-snippet{flex:1;min-width:240px;margin:0}
.mat-sample{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:14px 16px;margin:0 0 12px}
.mat-sample p{margin:0 0 10px;color:var(--muted);line-height:1.7;font-size:14.5px;overflow-wrap:anywhere}
.mat-sample .mat-tag{display:inline-block;color:var(--gold);font-size:12px;font-weight:800;letter-spacing:.04em;margin-bottom:8px}
.mat-logo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;margin-top:14px}
.mat-logo-card{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:14px;text-align:center}
.mat-logo-card .mat-logo-preview{background:#0A0F1E;border-radius:10px;padding:14px;margin-bottom:10px}
.mat-logo-card img{max-width:100%;height:110px;object-fit:contain}
.mat-logo-card .mat-logo-name{font-weight:800;font-size:13.5px;margin-bottom:8px}
.mat-theme-h{margin:22px 0 0;font-size:17px;font-weight:800}
.mat-theme-h:first-of-type{margin-top:8px}

/* ---------- NEON FRAME STANDARD v1 (2026-11-29): gradient gold->purple frame + outer glow ----------
   Appended last; wins over the readability pass. Fill = the site's own card
   colour, so surfaces never change — only the frame goes neon. See
   ~/workspace/aurea-design/shell-spec.md section 10. */
.mat-banner-card, .mat-logo-card, .mat-sample {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--surface, #121626), var(--surface, #121626)) padding-box,
    linear-gradient(135deg, rgba(255,215,0,.55), rgba(138,43,226,.55) 52%, rgba(255,215,0,.30)) border-box;
  box-shadow: 0 0 16px rgba(138,43,226,.16), 0 0 8px rgba(255,215,0,.08), 0 10px 28px rgba(0,0,0,.36), inset 0 0 24px rgba(138,43,226,.05);
}
@media (hover: hover) {
  .mat-banner-card, .mat-logo-card, .mat-sample:hover {
    background:
      linear-gradient(var(--surface, #121626), var(--surface, #121626)) padding-box,
      linear-gradient(135deg, rgba(255,215,0,.9), rgba(138,43,226,.85) 52%, rgba(255,215,0,.55)) border-box;
    box-shadow: 0 0 22px rgba(255,215,0,.22), 0 0 34px rgba(138,43,226,.28), 0 14px 34px rgba(0,0,0,.44), inset 0 0 24px rgba(138,43,226,.07);
  }
}
