.pokemon-card{text-align:center;display:flex;flex-direction:column;align-items:center;gap:1rem}.pokemon-image{image-rendering:pixelated;background:linear-gradient(135deg,#fff,#e6e8ec);border-radius:50%}.pokemon-name{text-transform:capitalize;font-size:1.5rem}.pokemon-types{display:flex;gap:.5rem}.pokemon-type{padding:.3rem .8rem;border-radius:2rem;background:#e1e3e7;text-transform:uppercase;font-size:1rem;color:#222}.pokemon-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;width:100%;padding:1rem 0;border-top:1px solid #ddd}.pokemon-stats strong{display:block;font-size:1.5rem}.type-fire{background:#ffae92}.type-water,.type-ice{background:#b4dcfa}.type-grass,.type-bug{background:#c6dfb0}.type-electric{background:#ffe98a}.type-poison,.type-ghost,.type-dragon,.type-fairy,.type-psychic{background:#e2c5ee}.apod-image{width:100%;max-height:320px;object-fit:cover;border-radius:6px}.apod-explanation{margin-top:1rem;line-height:1.65}summary{cursor:pointer}

/* Five compact groups; separators belong below headings, never between groups. */
.widget-type-bookmarks .dynamic-columns > .bookmarks-group {
  min-width:0; margin:0; padding:0; border:0;
}
.widget-type-bookmarks .bookmarks-group-title {
  font-size:calc(var(--font-size-h3) + 2px); font-weight:600;
  margin-bottom:8px; padding-bottom:6px;
  border-bottom:1px solid var(--color-separator); overflow-wrap:anywhere;
}
.widget-type-bookmarks .bookmarks-link {overflow-wrap:anywhere}
@media(min-width:1101px) {
  .widget-type-bookmarks .dynamic-columns:has(> .bookmarks-group) {
    grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px;
  }
  /* Reserve the viewport, then let the two long cards consume the remaining height. */
  html, body {height:100dvh; overflow:hidden}
  .body-content {height:100%; min-height:0}
  .body-content > .content-bounds {flex:1; min-height:0}
  .page {height:100%; padding-block:16px}
  .page.content-ready > .page-content, .page-columns {height:100%; min-height:0}
  .page-column {display:flex; flex-direction:column; min-height:0}
  .page-column > .widget {flex-shrink:0}
  .page-column > .widget + .widget {margin-top:16px}
  .page-column > .widget-type-group,
  .page-column-small:last-child > .widget-type-custom-api {
    flex:1; min-height:0; display:flex; flex-direction:column;
  }
  .widget-type-group > .widget-content,
  .widget-group-contents,
  .widget-group-content-current,
  .widget-group-content-current > .widget-type-rss {
    flex:1; min-height:0; display:flex; flex-direction:column;
  }
  .widget-group-content-current > .widget-type-rss > .widget-content,
  .page-column-small:last-child > .widget-type-custom-api > .widget-content {
    flex:1; min-height:0; overflow-y:auto; overscroll-behavior-y:contain;
    scrollbar-gutter:stable;
  }
  .widget-group-header, .widget-header {flex-shrink:0}
  .footer {flex-shrink:0; padding-block:4px}
  .apod-image {max-height:clamp(120px,26dvh,280px)}
}
