/* Keep level selection compact, with the paid A1 introduction on its own row. */
:root body:has(.entry-intro) .level-grid > .level-card { min-width: 0; padding: 24px; }
:root body:has(.entry-intro) .level-grid .card-top { min-height: 64px; padding-inline-end: 82px; }
:root body:has(.entry-intro) .level-grid .card-art {
  position: absolute; top: 24px; inset-inline-end: 24px; margin: 0;
  width: 64px; height: 64px;
}
:root body:has(.entry-intro) .level-grid .card-sticker { width: 64px; height: 64px; }
:root body:has(.entry-intro) .level-grid > a.level-card > .card-link {
  margin: 0; padding: 12px 14px; min-height: 46px;
  border: 1px solid #acd2e9; border-radius: 9px; background: #eaf5fd;
}
:root body:has(.entry-intro) .level-grid .a1-main1040 .card-link {
  margin: 0; padding: 8px 0 0; background: none;
}
:root body:has(.entry-intro) .level-grid .a1-free1040 { margin: 0; min-height: 46px; }
:root body:has(.entry-intro) .level-grid > .a1-paid1262 {
  grid-column: 1 / -1; display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 28px; row-gap: 6px; margin: 0; padding: 20px 24px;
  border-inline-start: 4px solid #d2a35d; text-align: start;
}
:root body:has(.entry-intro) .level-grid > .a1-paid1262 > h3 { grid-column: 1; margin: 0; }
:root body:has(.entry-intro) .level-grid > .a1-paid1262 > p { grid-column: 1; margin: 0 !important; }
:root body:has(.entry-intro) .level-grid > .a1-paid1262 > .demo-paid1259 {
  grid-column: 2; grid-row: 1 / span 2; align-self: center;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 11px 18px;
  border: 1px solid #b89d6f; background: #fffdf7;
  font-size: 14px; font-weight: 650; text-decoration: none;
}
@supports (grid-template-rows: subgrid) {
  :root body:has(.entry-intro) .level-grid > .level-card {
    display: grid; grid-template-rows: subgrid; grid-row: span 6; row-gap: 10px;
  }
  :root body:has(.entry-intro) .level-grid > .level-card > .card-top { grid-row: 1; }
  :root body:has(.entry-intro) .level-grid > .level-card > h2 { grid-row: 2; }
  :root body:has(.entry-intro) .level-grid > .level-card > h2 + p { grid-row: 3; }
  :root body:has(.entry-intro) .level-grid > .level-card > .launch-date1047 { grid-row: 4; }
  :root body:has(.entry-intro) .level-grid > .level-card > .card-link { grid-row: 6; }
  :root body:has(.entry-intro) .level-grid .a1-main1040 {
    grid-row: 1 / span 5; display: grid; grid-template-rows: subgrid; row-gap: 10px;
  }
  :root body:has(.entry-intro) .level-grid .a1-main1040 .card-top { grid-row: 1; }
  :root body:has(.entry-intro) .level-grid .a1-main1040 h2 { grid-row: 2; }
  :root body:has(.entry-intro) .level-grid .a1-main1040 h2 + p { grid-row: 3; }
  :root body:has(.entry-intro) .level-grid .a1-main1040 .launch-date1047 { grid-row: 4; }
  :root body:has(.entry-intro) .level-grid .a1-main1040 .card-link { grid-row: 5; }
  :root body:has(.entry-intro) .level-grid .a1-free1040 { grid-row: 6; }
}
@media (max-width: 820px) {
  :root body:has(.entry-intro) .level-grid > .a1-paid1262 { grid-template-columns: 1fr; gap: 10px; }
  :root body:has(.entry-intro) .level-grid > .a1-paid1262 > .demo-paid1259 {
    grid-column: 1; grid-row: auto; justify-self: start;
  }
}
@media (max-width: 560px) {
  :root body:has(.entry-intro) .level-grid > .level-card { padding: 20px; }
  :root body:has(.entry-intro) .level-grid .card-art { top: 20px; inset-inline-end: 20px; }
  :root body:has(.entry-intro) .level-grid > .a1-paid1262 { padding: 20px; }
  :root body:has(.entry-intro) .level-grid > .a1-paid1262 > .demo-paid1259 { justify-self: stretch; }
}
