/* Small illustrated moments. Kept out of print editions and editorial tools. */
@media screen {
  .hero-illustration { position:relative; isolation:isolate; }
  .hero-illustration::before {
    content:""; position:absolute; z-index:-1; inset:12% 3% 8%;
    border-radius:43% 57% 61% 39%; background:#edf5d9;
    box-shadow:18px -10px 0 -5px #fff0cf;
  }
  .hero-spark { position:absolute; width:18px; height:18px; background:#e8b84d; clip-path:polygon(50% 0,62% 37%,100% 50%,62% 63%,50% 100%,38% 63%,0 50%,38% 37%); pointer-events:none; }
  .spark-one { top:13%; right:6%; transform:rotate(12deg); }
  .spark-two { bottom:22%; left:0; width:12px; height:12px; background:#a791ce; }
  .hero-ages a { border:1px solid #d9e4cd; box-shadow:0 3px 0 #e6eddc; }
  .hero-search { box-shadow:0 5px 0 #e6ecdc; }
  .topic-nav a { border:1px solid #fff; box-shadow:0 3px 0 #264f3710; }
  .material-row { box-shadow:0 4px 0 #315d3810; }
  .material-thumb { border-radius:16px; }
  .return-panel { align-items:flex-start; border:1px solid #ffffffb3; box-shadow:0 5px 0 #315d380c; }
  .return-panel.save-panel { background:#fff0d9; }
  .return-panel.news-panel { background:#eee8fb; }
  .panel-buddy { display:block; width:96px; height:96px; flex:0 0 96px; object-fit:contain; margin-top:5px; }
  .return-panel>div { min-width:0; }
  .return-panel h2 { line-height:1.2; }
  .return-panel .channel-links { gap:8px; }
  .return-panel .text-link { padding:8px 0; }
  .aside-buddy { display:block; width:80px; height:80px; object-fit:contain; margin:0 auto 14px; }
  .aside-subscribe { text-align:center; background:#f1eafb; border-color:#e3d8ef; }

  .form-welcome { display:grid; grid-template-columns:minmax(0,1fr) 96px; gap:14px; align-items:center; margin-bottom:18px; }
  .form-welcome>div { min-width:0; }
  .form-welcome .eyebrow { margin:0; }
  .form-welcome h1,.form-welcome h2 { margin:10px 0 0; text-wrap:balance; }
  .form-buddy { display:block; width:96px; height:96px; object-fit:contain; }
  #subscription { padding:34px; border:2px solid white; box-shadow:0 22px 65px #183d3329; background:#fffdf8; }
  #subscription .close-dialog { top:10px; right:10px; background:#f0f3e8; border-radius:50%; }
  #subscription .form-welcome { margin-top:16px; }
  #subscription .form-welcome h2 { font-size:30px; }
  #subscription>.small { padding:12px 14px; background:#edf4e7; border-radius:12px; margin-bottom:0; }
  #subscription .channel-links .button { flex:1; }

  .access-layout { gap:30px; }
  .access-preview { border:1px solid #e0e6ce; background-color:#edf3dc; background-image:radial-gradient(#c5d7ad 1px,transparent 1px); background-size:18px 18px; }
  .access-preview>img { border:5px solid #fff; border-radius:6px; box-shadow:7px 8px 0 #d5e4c4,0 15px 30px #214e2f15; }
  .access-preview>div { border-radius:16px; padding:15px 12px; background:#f8fbf0f5; }
  .access-form-card { border:1px solid #e8e4d7; border-top:5px solid #e8bc73; border-radius:26px; box-shadow:0 10px 35px #334c2e09; background:#fffdf8; }
  .access-form-card .form-welcome { grid-template-columns:minmax(0,1fr) 108px; }
  .access-form-card .form-buddy { width:108px; height:108px; }
  .access-form-card h1 { font-size:clamp(28px,3.2vw,38px); }
  .access-form-card .stack-form { margin-top:24px; gap:16px; }
  .access-form-card #access-hint { margin:0; }
  .access-form-card .stack-form>.small { margin:0; }
  .access-form-card .stack-form>.consent { background:#f1f5e7; border-color:#e1e8d6; }
  .success-leaf { display:grid; place-items:center; width:46px; height:46px; border-radius:16px 16px 16px 5px; background:#dcefc8; color:#246438; font-size:25px; margin:18px 0 12px; }

  .connect-grid>.connect-card { border-radius:24px; box-shadow:0 5px 0 #315d380b; }
  .connect-grid>.community-card { background:#fff2da; border-color:#efdfbd; }
  .connect-grid>.email-card { background:#fffdf9; border-top:5px solid #c8b0e7; }
  .connect-grid>.push-card { background:#eaf3db; border-color:#d7e6c4; }
  .connect-grid>.library-card { background:#f4ecfc; border-color:#e5d9f0; }
  :is(.access-form-card,.connect-grid,.account-card) .stack-form input:not([type=checkbox]),
  :is(.access-form-card,.connect-grid,.account-card) .stack-form select,
  :is(.access-form-card,.connect-grid,.account-card) .stack-form textarea {
    min-height:50px; border:1px solid #b5c9ba; border-radius:13px; background:#fff;
    box-shadow:0 3px 0 #e8eedf; color:#193d32; font-size:16px;
  }
  :is(.access-form-card,.connect-grid,.account-card) .stack-form input::placeholder { color:#66786c; }
  :is(.access-form-card,.connect-grid,.account-card) .stack-form :is(input,select,textarea):focus-visible {
    outline:3px solid #007f70; outline-offset:3px; border-color:#007f70;
  }
  :is(.access-form-card,.connect-grid,.account-card) .stack-form>.consent {
    padding:14px; background:#f4f0f9; border:1px solid #e5ddef; border-radius:14px; color:#3e5549;
  }
  :is(.access-form-card,.connect-grid,.account-card) .consent input { width:19px; height:19px; accent-color:#007f70; }
  .email-card .choices { display:flex; flex-wrap:wrap; gap:8px; }
  .email-card .choice { display:inline-flex; align-items:center; gap:7px; min-height:42px; padding:7px 11px; border:1px solid #d9dfd1; border-radius:12px; background:#fff; font-size:13px; cursor:pointer; margin:0 4px 7px 0; }
  .email-card .choice:has(input:checked) { background:#e9f4dc; border-color:#6a975c; }
  .email-card .choice input { accent-color:#007f70; width:17px; height:17px; flex-shrink:0; }
  :is(.access-form-card,.connect-grid,.account-card,#subscription) .button.dark { border-radius:14px; box-shadow:0 4px 0 #005b50; }
  :is(.access-form-card,.connect-grid,#subscription) .button { min-height:46px; white-space:normal; text-align:center; }
  .access-form-card .stack-form>.button { min-height:54px; font-size:15px; }
  .connect-card [role=status]:not(:empty) { border-radius:12px; padding:12px 14px; background:#f0f4e9; overflow-wrap:anywhere; }
  .access-form-card [role=status]:not(:empty) { background:#fff0e9; }

  @media(hover:hover) {
    .topic-nav a:hover,.hero-ages a:hover { box-shadow:0 4px 0 #537a3929; }
    :is(.access-form-card,.connect-grid,.account-card,#subscription) .button.dark:hover { background:#006c60; }
  }
  @media(max-width:1100px) {
    .panel-buddy { width:80px; height:80px; flex-basis:80px; }
  }
  @media(min-width:621px) and (max-width:800px) {
    .panel-buddy { margin:0 0 14px; }
  }
  @media(max-width:760px) {
    .access-layout { gap:18px; }
    .access-preview { padding:18px; gap:18px; }
    .access-preview>div { padding:10px; min-width:0; flex:1; }
    .access-preview>img { width:80px; border-width:3px; }
  }
  @media(max-width:620px) {
    .hero-spark { width:13px; height:13px; }
    .panel-buddy { width:76px; height:76px; flex-basis:76px; margin-top:2px; }
    .form-welcome { grid-template-columns:minmax(0,1fr) 76px; gap:10px; }
    .form-buddy { width:76px; height:76px; }
    .form-welcome h2 { font-size:26px; }
    .access-form-card .form-welcome { grid-template-columns:minmax(0,1fr) 80px; }
    .access-form-card .form-buddy { width:80px; height:80px; }
    #subscription { padding:24px; width:calc(100vw - 24px); }
    #subscription .form-welcome h2 { font-size:26px; }
    .connect-grid>.connect-card { padding:24px; }
  }
  @media(max-width:380px) {
    .panel-buddy { width:60px; height:60px; flex-basis:60px; }
    .return-panel h2 { font-size:20px; }
    .access-form-card { padding:21px!important; }
    .access-form-card .form-welcome { grid-template-columns:minmax(0,1fr) 68px; gap:8px; }
    .access-form-card .form-buddy { width:68px; height:68px; }
  }
}
@media print {
  .form-buddy,.panel-buddy,.aside-buddy,.hero-spark { display:none!important; }
}
