/* TWEAK HERE: creative sizes and spacing, in both banner versions. */
:root {
  --charm-max-width: 150px;
  --charm-max-height: 460px;
  --badge-width: 95px;
  --image-text-gap: 9px;
  --text-badge-gap: 8px;
  --banner-top-padding: 10px; /* Add top spacing inside the frame, not as margin. */
}
* { box-sizing: border-box; }
html, body { width: 100%; height: auto; margin: 0; overflow: hidden; background: transparent; }
body { color: #46515d; font: 11px/1.45 Georgia, "Times New Roman", serif; }
/* Keep the image, tagline and badge together instead of filling a tall stage. */
.tiny-charms-ad { display: flex; flex-direction: column; justify-content: flex-start; gap: var(--image-text-gap); width: 100%; height: auto; padding: var(--banner-top-padding) 4px 12px; margin: 0; }
.charm-stage { flex: 0 0 auto; width: 100%; }
.charm { display: block; }
.charm img { display: block; width: auto; height: auto; max-width: min(var(--charm-max-width), calc(100% - 32px)); max-height: var(--charm-max-height); margin-inline: auto; object-fit: contain; pointer-events: none; -webkit-user-select: none; user-select: none; }
.ad-copy { flex: 0 0 auto; text-align: center; }
.ad-copy p { max-width: 120px; margin: 0 auto var(--text-badge-gap); line-height: 1.1; }
.store-link { display: inline-block; width: min(var(--badge-width), 95%); vertical-align: middle; }
.store-link img { display: block; width: 100%; height: auto; object-fit: contain; }
.store-link:focus-visible { outline: 2px solid #547fe5; outline-offset: 4px; }
