/* v1.15.10 — Source-backed regression fix. Media must never be hidden. */
body.syh-v1160-home #syh-app.syh-home-v1160 .syh-library-section .syh-parent-category-card-media {
  display:block!important;
  position:relative!important;
  width:100%!important;
  height:clamp(146px,14vw,206px)!important;
  min-height:0!important;
  aspect-ratio:auto!important;
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
  background:transparent!important;
  border:0!important;
  opacity:1!important;
  visibility:visible!important;
}
body.syh-v1160-home #syh-app.syh-home-v1160 .syh-library-section .syh-parent-category-card-media::before,
body.syh-v1160-home #syh-app.syh-home-v1160 .syh-library-section .syh-parent-category-card-media::after,
body.syh-v1160-home #syh-app.syh-home-v1160 .syh-library-section .syh-parent-category-card-media .syh-category-deck-ghost,
body.syh-v1160-home #syh-app.syh-home-v1160 .syh-library-section .syh-parent-category-card-media .syh-category-ambient {
  display:none!important;
  content:none!important;
}
body.syh-v1160-home #syh-app.syh-home-v1160 .syh-library-section .syh-parent-category-card-media .syh-category-deck {
  display:block!important;
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  padding:0!important;
  margin:0!important;
  overflow:visible!important;
  background:transparent!important;
  isolation:isolate!important;
  z-index:2!important;
}
body.syh-v1160-home #syh-app.syh-home-v1160 .syh-library-section .syh-parent-category-card-media .syh-category-deck-item {
  position:absolute!important;
  display:block!important;
  width:clamp(70px,29%,112px)!important;
  height:auto!important;
  aspect-ratio:105 / 145!important;
  min-width:0!important;
  max-width:112px!important;
  left:50%!important;
  top:50%!important;
  margin:0!important;
  transform:translate(var(--syh-deck-x), calc(-50% + var(--syh-deck-y))) rotate(var(--syh-deck-rotate))!important;
  transform-origin:50% 80%!important;
  z-index:var(--syh-deck-z)!important;
  opacity:1!important;
  visibility:visible!important;
}
body.syh-v1160-home #syh-app.syh-home-v1160 .syh-library-section .syh-parent-category-card-media .syh-category-deck-item--left{z-index:10!important}
body.syh-v1160-home #syh-app.syh-home-v1160 .syh-library-section .syh-parent-category-card-media .syh-category-deck-item--right{z-index:12!important}
body.syh-v1160-home #syh-app.syh-home-v1160 .syh-library-section .syh-parent-category-card-media .syh-category-deck-item--center{z-index:999!important}
body.syh-v1160-home #syh-app.syh-home-v1160 .syh-library-section .syh-parent-category-card-media .syh-category-deck-item > img.syh-category-deck-cover {
  display:block!important;
  position:static!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:none!important;
  min-height:0!important;
  min-width:0!important;
  inset:auto!important;
  padding:0!important;
  margin:0!important;
  object-fit:cover!important;
  object-position:center top!important;
  transform:none!important;
  transition:none!important;
  filter:none!important;
  opacity:1!important;
  visibility:visible!important;
  background:transparent!important;
  border:0!important;
  border-radius:3px!important;
  box-shadow:0 10px 20px rgba(25,53,83,.17)!important;
}
body.syh-v1160-home #syh-app.syh-home-v1160 .syh-library-section .syh-parent-category-card-media .syh-category-deck-item--center > img.syh-category-deck-cover {
  box-shadow:0 14px 26px rgba(25,53,83,.23)!important;
}
/* Restore non-three-book categories and data-driven illustration fallbacks. */
body.syh-v1160-home #syh-app.syh-home-v1160 .syh-library-section .syh-parent-category-card-media .syh-category-deck:not(.syh-category-deck--count-3) > img.syh-category-deck-cover {
  display:block!important;
  position:relative!important;
  width:auto!important;
  max-width:45%!important;
  height:85%!important;
  margin:auto!important;
  top:auto!important;
  left:auto!important;
  transform:none!important;
  object-fit:contain!important;
  filter:none!important;
}
body.syh-v1160-home #syh-app.syh-home-v1160 .syh-library-section .syh-parent-category-card-media > img.syh-category-placeholder {
  display:block!important;
  width:100%!important;
  height:100%!important;
  opacity:1!important;
  object-fit:contain!important;
}
/* Hero: completely remove the nested panel boundary and old oval/wave outline. */
body.syh-v1160-home #syh-app.syh-home-v1160 .syh-hero,
body.syh-v1160-home #syh-app.syh-home-v1160 .syh-hero > .syh-shell,
body.syh-v1160-home #syh-app.syh-home-v1160 .syh-hero .syh-ecosystem-visual {
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
body.syh-v1160-home #syh-app.syh-home-v1160 .syh-hero .syh-ecosystem-visual {
  border-radius:0!important;
  overflow:visible!important;
  padding:24px 18px!important;
}
body.syh-v1160-home #syh-app.syh-home-v1160 .syh-hero .syh-ecosystem-visual::before,
body.syh-v1160-home #syh-app.syh-home-v1160 .syh-hero .syh-ecosystem-visual::after {
  content:none!important;
  display:none!important;
}
body.syh-v1160-home #syh-app.syh-home-v1160 .syh-hero .syh-deck-cover {
  border:0!important;
  outline:0!important;
}
/* Tablet, foldable, mobile: preserve the fan within compact media stages. */
@media (max-width:1024px){
  body.syh-v1160-home #syh-app.syh-home-v1160 .syh-library-section .syh-parent-category-card-media{height:clamp(126px,19vw,180px)!important}
  body.syh-v1160-home #syh-app.syh-home-v1160 .syh-hero .syh-ecosystem-visual{padding:12px!important}
}
@media (max-width:640px){
  body.syh-v1160-home #syh-app.syh-home-v1160 .syh-library-section .syh-parent-category-card-media{height:clamp(100px,28vw,154px)!important}
  body.syh-v1160-home #syh-app.syh-home-v1160 .syh-library-section .syh-parent-category-card-media .syh-category-deck-item{width:42%!important;max-width:85px!important}
  body.syh-v1160-home #syh-app.syh-home-v1160 .syh-hero .syh-ecosystem-visual{min-height:230px!important}
}
/* Keep all five floating hero covers within narrower portrait viewports. */
@media (max-width:640px){
  body.syh-v1160-home #syh-app.syh-home-v1160 .syh-hero .syh-book-deck{transform:scale(.86)!important;transform-origin:center center!important}
}
@media (max-width:380px){
  body.syh-v1160-home #syh-app.syh-home-v1160 .syh-hero .syh-book-deck{transform:scale(.77)!important}
}
@media (max-width:340px){
  body.syh-v1160-home #syh-app.syh-home-v1160 .syh-hero .syh-book-deck{transform:scale(.70)!important}
}
/* Compact Hero deliberately uses three covers rather than clipping the outer five. */
@media (max-width:640px){
  body.syh-v1160-home #syh-app.syh-home-v1160 .syh-hero .syh-deck-cover--1,
  body.syh-v1160-home #syh-app.syh-home-v1160 .syh-hero .syh-deck-cover--6{display:none!important}
}
