.mobile-themes { display: none; }
@media (max-width: 650px), (pointer: coarse) and (max-width: 980px) and (max-height: 500px) {
  .mobile-themes { display: block; padding: 14px 0 22px; }
  .theme-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .theme-heading { margin-bottom: 7px; }
  .theme-heading h2 { font: 600 22px/1.4 var(--heading-font); margin: 0; }
  .theme-heading a {
    display: inline-flex; align-items: center; min-height: 44px; color: var(--brand);
    font-size: 13px; font-weight: 600; text-decoration: none;
  }
  .theme-tiles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
  .theme-tiles a { text-align: center; text-decoration: none; font: 600 13px/1.5 var(--heading-font); }
  .theme-tiles span {
    display: grid; place-items: center; border-radius: 13px; padding: 8px 0;
    background: color-mix(in srgb, var(--theme-color) 75%, white); margin-bottom: 4px;
  }
  .theme-tiles img { height: 59px; max-width: 80%; object-fit: contain; transform: rotate(-5deg); filter: drop-shadow(1px 2px 1px #60412936); }
  .theme-tiles a:nth-child(2) img { transform: rotate(4deg); }
}
