/* MathsDaily daily puzzle card (shared by guides and printables pages). Same colours in both themes. */
  /* Daily puzzle card: the same vivid colours in dark and light themes. */
  .puzzle-teaser { position:relative; display:grid; grid-template-columns:1fr auto; grid-template-areas:'board board' 'text go'; gap:12px 14px; align-items:center;
    margin:14px 0 16px; padding:16px; border-radius:20px; text-decoration:none; color:#FFFFFF; overflow:hidden; isolation:isolate; flex-shrink:0;
    background:radial-gradient(120% 140% at 100% 0%,#5B2A86 0%,rgba(91,42,134,0) 55%),radial-gradient(120% 140% at 0% 100%,#0F5E66 0%,rgba(15,94,102,0) 60%),#1B1F4B;
    border:1px solid rgba(255,255,255,.14); box-shadow:0 12px 28px -16px rgba(27,31,75,.85); transition:transform .15s ease, box-shadow .15s ease; }
  .puzzle-teaser:hover { transform:translateY(-2px); box-shadow:0 18px 34px -16px rgba(91,42,134,.9); }
  .puzzle-teaser:focus-visible { outline:3px solid #FFD27A; outline-offset:3px; }
  .pt-board { grid-area:board; display:flex; gap:6px; }
  .pt-board i { --h:200; flex:1; max-width:46px; aspect-ratio:1; display:grid; place-items:center; border-radius:10px; font:700 clamp(15px,4.4vw,20px)/1 'Space Grotesk',sans-serif; font-style:normal;
    color:#fff; background:hsl(var(--h) 60% 46%); box-shadow:inset 0 -3px 0 rgba(0,0,0,.22), 0 2px 0 rgba(0,0,0,.18); animation:ptbob 3.2s ease-in-out infinite; }
  .pt-board i:nth-child(2){animation-delay:.12s}.pt-board i:nth-child(3){animation-delay:.24s}.pt-board i:nth-child(4){animation-delay:.36s}
  .pt-board i:nth-child(5){animation-delay:.48s}.pt-board i:nth-child(6){animation-delay:.6s}.pt-board i:nth-child(7){animation-delay:.72s}
  @keyframes ptbob { 0%,70%,100% { transform:translateY(0); } 35% { transform:translateY(-4px); } }
  .pt-text { grid-area:text; display:flex; flex-direction:column; gap:3px; min-width:0; }
  .pt-kicker { font:700 10.5px/1.2 Inter,sans-serif; letter-spacing:.8px; text-transform:uppercase; color:#FFD27A; }
  .pt-kicker b { color:#FFFFFF; margin-left:2px; }
  .pt-title { font-family:'Fraunces',Georgia,serif; font-size:18px; font-weight:600; line-height:1.25; color:#FFFFFF; }
  .pt-status { font-size:12.5px; line-height:1.5; color:#E3E0F5; }
  .pt-go { grid-area:go; display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:0 18px; border-radius:999px; font:700 14px Inter,sans-serif; color:#2A1530;
    background:linear-gradient(135deg,#FFD27A,#FF9EBB); box-shadow:0 3px 0 rgba(0,0,0,.25); white-space:nowrap; }
  .pt-go::after { content:"→"; }
  @media (min-width:520px) { .puzzle-teaser { grid-template-columns:auto 1fr auto; grid-template-areas:'board text go'; } .pt-board { width:200px; } .pt-board i { max-width:24px; border-radius:7px; font-size:13px; } }
  @media (prefers-reduced-motion:reduce) { .pt-board i { animation:none; } .puzzle-teaser { transition:none; } .puzzle-teaser:hover { transform:none; } }

  /* Narrow columns (side panels): always stacked */
  .puzzle-teaser.compact { grid-template-columns:1fr auto; grid-template-areas:'board board' 'text go'; margin:0; }
  .puzzle-teaser.compact .pt-board { width:auto; }
  .puzzle-teaser.compact .pt-board i { max-width:40px; border-radius:9px; font-size:16px; }
