.replay-logo{background:transparent;padding:0;cursor:pointer;color:inherit}
.replay-logo:hover .mark-disc{box-shadow:0 8px 19px #19513b40}
.mark-disc .vg-logo{width:70%;height:auto;overflow:visible}
main:focus{outline:none}
.vg-logo :is(.vg-leaf-l,.vg-leaf-r,.vg-pop,.vg-spark,.vg-glint){transform-box:view-box;transform-origin:0 0}
.vg-logo .vg-spark,.vg-logo .vg-glint{opacity:0}
.vg-replay .vg-smile{animation:draw-smile .9s ease .17s both}
.vg-replay .vg-pop{animation:tooth-pop .55s ease-out 1.04s both}
.vg-replay .vg-leaf-l{animation:leaf-left 1.35s ease-in-out .7s 2}
.vg-replay .vg-leaf-r{animation:leaf-right 1.35s ease-in-out .7s 2}
.vg-replay .vg-glint{animation:tooth-glint .75s ease 1.02s both}
.vg-replay .vg-spark{animation:tooth-spark .85s ease-out 1.1s both}
.vg-replay .vg-s2{animation-delay:1.27s}
.vg-replay .vg-s3{animation-delay:1.45s}
@keyframes draw-smile{from{stroke-dashoffset:100;opacity:0}20%{opacity:1}to{stroke-dashoffset:0;opacity:1}}
@keyframes tooth-pop{50%{transform:scale(1.06)}}
@keyframes leaf-left{50%{transform:rotate(-7deg)}}
@keyframes leaf-right{50%{transform:rotate(7deg)}}
@keyframes tooth-glint{0%{opacity:0}20%{opacity:.65}75%{opacity:.65}100%{opacity:0;transform:translateX(246px)}}
@keyframes tooth-spark{0%{transform:scale(0);opacity:0}42%{transform:scale(1.1) rotate(25deg);opacity:1}100%{transform:scale(0) rotate(65deg);opacity:0}}
@media(prefers-reduced-motion:reduce){.vg-logo *{animation:none!important}}

.home-toons{margin-block:8px 46px}
.media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.home-toons .media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.media-card{border:1px solid var(--line);border-radius:13px;padding:0;text-align:left;background:#fff;overflow:hidden;box-shadow:var(--soft-shadow);transition:transform 170ms ease,box-shadow 170ms ease}
.media-card:focus-visible{box-shadow:var(--raised-shadow)}
@media(hover:hover) and (pointer:fine){.media-card:hover{transform:translateY(-4px);box-shadow:var(--raised-shadow)}}
@media(prefers-reduced-motion:reduce){.media-card{transition:none}.media-card:hover{transform:none}}
.media-image{display:block;position:relative;background:#e0f0e6;aspect-ratio:1;overflow:hidden}
.home-toons .media-image{aspect-ratio:1.68}
.media-image img{width:100%;height:100%;object-fit:cover}
.media-card:has(.play-mark) .media-image img{object-position:center 42%}
.media-copy{display:grid;gap:4px;padding:12px 14px 14px}
.media-label{font-size:.82rem;font-weight:700;color:var(--green-dark)}
.play-mark{position:absolute;left:13px;bottom:13px;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;color:#fff;background:#102c24e8}
.media-viewer video,.media-viewer img{display:block;max-width:100%;width:auto;max-height:58dvh;margin-inline:auto;background:#f3f8f5;border-radius:10px}
.media-viewer video{width:100%;object-fit:contain;background:#102219}
.media-fallback{display:inline-block;margin-top:7px;padding:7px 0;color:var(--green-dark);text-decoration:underline}
.media-filters{margin-bottom:16px}
.request-contact{display:grid;gap:6px;margin-top:16px}
.request-contact label{font-weight:700}
.request-contact input,.request-contact textarea,#preferred-day,#staff-auth input{min-height:46px;width:100%;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:8px;font:inherit;padding:8px 10px}
.request-contact textarea{min-height:70px;resize:vertical}
#request-error{color:#9e2b1f;font-weight:600}

@media(min-width:761px) and (max-width:1070px){.main-nav{gap:10px;font-size:.8rem}.header-inner{gap:10px}.header-book{font-size:.82rem;padding-inline:10px}}
@media(max-width:760px){
  .main-nav{grid-template-columns:repeat(6,minmax(0,1fr))}
  .main-nav a{font-size:.66rem}
  .media-grid,.home-toons .media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .home-toons{margin-bottom:30px}
  .media-copy{padding:9px 10px 11px}
  .media-copy .card-title{font-size:1rem}
  .play-mark{left:8px;bottom:8px;width:33px;height:33px}
}
@media(max-width:355px){.main-nav a{font-size:.6rem}}
