/* Illustrated section tabs. Binder artwork, construction and motion stay locked. */
#home .collection-entrance .binder-section {
  padding: 58px 0 22px;
}
@media(min-width:900px) {
  #home .collection-entrance .binder-stage,
  #home .collection-entrance .binder-foot {
    width:min(100%,clamp(720px,calc((100svh - 228px)*1.59879),1280px));
  }
}
#home .binder-navigation,
#home .binder-stage[data-spread=full] .binder-navigation {
  inset: -40px 7.5% auto;
  width: auto;
  z-index: 1;
}
#home .binder-navigation .page-controls {
  grid-template-columns: repeat(4,max-content);
  justify-content: center;
  gap: 7px;
}
#home .binder-navigation .page-controls button,
#home .binder-stage[data-spread=full] .binder-navigation .page-controls button {
  position: relative;
  flex-direction: row;
  justify-content: center;
  gap: 7px;
  min-height: 76px;
  padding: 0 10px 18px;
  border: 2px solid #52315f;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: #fcf9f2;
  box-shadow: inset 0 3px 0 #9c62bf;
  color: #35203f;
  transform: none;
  transition: background .18s ease, transform .18s ease;
}
#home .binder-navigation .page-controls button::after {display:none;}
#home .binder-navigation .page-controls button[aria-pressed=true],
#home .binder-stage[data-spread=full] .binder-navigation .page-controls button[aria-pressed=true] {
  background: #ddc4eb;
  border-color: #63327e;
  box-shadow: inset 0 3px 0 #7736a3;
  color: #35203f;
}
#home .binder-navigation .page-controls button:hover {
  background: #f0e5f5;
  box-shadow: inset 0 3px 0 #9c62bf;
  transform: translateY(-3px);
}
#home .binder-navigation .page-controls button[aria-pressed=true]:hover,
#home .binder-stage[data-spread=full] .binder-navigation .page-controls button[aria-pressed=true]:hover {
  background: #d2b1e3;
  box-shadow: inset 0 3px 0 #7736a3;
}
#home .binder-navigation .page-controls button:focus-visible {
  outline: 3px solid #a47d2d;
  outline-offset: 4px;
}
#home .binder-navigation .tab-artwork {
  display:block;
  flex: none;
  width: 56px;
  height: 56px;
  object-fit: contain;
  image-rendering: auto;
  pointer-events: none;
}
#home .binder-navigation [data-leaf="2"] .tab-artwork {width:48px;height:48px;image-rendering:pixelated;}
#home .binder-navigation .tab-copy strong {
  font: clamp(14px,1.8cqw,22px)/1.2 Russo,Arial,sans-serif;
  white-space: nowrap;
}
@media(max-width:899px) {
  #home .collection-entrance .binder-section {padding: 54px 0 18px;}
  #home .binder-navigation,
  #home .binder-stage[data-spread=full] .binder-navigation {
    inset: -50px 8% auto;
  }
  #home .binder-navigation .page-controls {grid-template-columns:repeat(4,max-content);gap:4px;}
  #home .binder-navigation .page-controls button,
  #home .binder-stage[data-spread=full] .binder-navigation .page-controls button {
    flex-direction: column;
    gap: 4px;
    min-height: 77px;
    min-width: 44px;
    padding: 2px 6px 20px;
    border-width: 1px;
    border-radius: 11px 11px 0 0;
  }
  #home .binder-navigation .tab-artwork,
  #home .binder-navigation [data-leaf="2"] .tab-artwork {width:34px;height:34px;}
  #home .binder-navigation .tab-copy strong {font-size:clamp(11px,3.6cqw,15px);}
  #home .binder-navigation .page-controls button:hover {transform:none;}
}
/* Short views scroll through the full binder, including the pull below the case. */
@media(max-height:680px) {
  #home .collection-entrance .binder-section {padding-bottom:40px;}
}
@media(prefers-reduced-motion:reduce) {
  #home .binder-navigation,
  #home .binder-navigation .page-controls button {transition:none;}
  #home .binder-navigation .page-controls button:hover {transform:none;}
}
/* Section tabs and swipe replace the duplicate controls beneath the case. */
#home .collection-entrance .binder-foot {display:none;}
#home .game-sheet-tag {display:none;}
@media(max-width:899px) {
  #home .game-sheet-tag:not(:empty) {
    display:block;
    position:absolute;
    top:3px;
    right:3px;
    padding:1px 3px;
    border-radius:3px;
    background:#fcf9f2;
    color:#654779;
    font:700 9px/1.2 Arial,sans-serif;
  }
}
