/*
  Legacy card comic-cut navigation layout. It intentionally does not replace
  click handlers. The desktop thumbnail-mounted navigation is excluded so its
  compact buttons are controlled by the dedicated desktop source rules.
*/
html body #comicCutNav.comic-cut-nav:not(.ccc-thumbnail-nav-control).is-visible,
html body .card .comic-cut-card-action-stack > #comicCutNav.comic-cut-nav:not(.ccc-thumbnail-nav-control).is-visible,
html body #comicCutNav.ccc-logged-in-checklist-mode:not(.ccc-thumbnail-nav-control).comic-cut-nav.is-visible,
html body .card .comic-cut-card-action-stack > #comicCutNav.ccc-logged-in-checklist-mode:not(.ccc-thumbnail-nav-control).comic-cut-nav.is-visible{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  gap:8px !important;
  width:100% !important;
  max-width:none !important;
  margin:0 0 10px !important;
  padding:0 !important;
  align-items:center !important;
  justify-items:stretch !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

html body #comicCutNav:not(.ccc-thumbnail-nav-control) #setChecklistBtn:not(.ccc-shared-icon-control),
html body #comicCutNav:not(.ccc-thumbnail-nav-control) #backToSetBtn:not(.ccc-shared-icon-control),
html body #comicCutNav:not(.ccc-thumbnail-nav-control) #nextComicCutBtn:not(.ccc-shared-icon-control),
html body #comicCutNav.ccc-logged-in-checklist-mode:not(.ccc-thumbnail-nav-control) #setChecklistBtn:not(.ccc-shared-icon-control),
html body #comicCutNav.ccc-logged-in-checklist-mode:not(.ccc-thumbnail-nav-control) #backToSetBtn:not(.ccc-shared-icon-control),
html body #comicCutNav.ccc-logged-in-checklist-mode:not(.ccc-thumbnail-nav-control) #nextComicCutBtn:not(.ccc-shared-icon-control),
html body .card .comic-cut-card-action-stack > #comicCutNav:not(.ccc-thumbnail-nav-control) #setChecklistBtn:not(.ccc-shared-icon-control),
html body .card .comic-cut-card-action-stack > #comicCutNav:not(.ccc-thumbnail-nav-control) #backToSetBtn:not(.ccc-shared-icon-control),
html body .card .comic-cut-card-action-stack > #comicCutNav:not(.ccc-thumbnail-nav-control) #nextComicCutBtn:not(.ccc-shared-icon-control),
html body .card .comic-cut-card-action-stack > #comicCutNav.ccc-logged-in-checklist-mode:not(.ccc-thumbnail-nav-control) #setChecklistBtn:not(.ccc-shared-icon-control),
html body .card .comic-cut-card-action-stack > #comicCutNav.ccc-logged-in-checklist-mode:not(.ccc-thumbnail-nav-control) #backToSetBtn:not(.ccc-shared-icon-control),
html body .card .comic-cut-card-action-stack > #comicCutNav.ccc-logged-in-checklist-mode:not(.ccc-thumbnail-nav-control) #nextComicCutBtn:not(.ccc-shared-icon-control){
  appearance:none !important;
  -webkit-appearance:none !important;
  box-sizing:border-box !important;
  display:inline-flex !important;
  visibility:visible !important;
  align-items:center !important;
  justify-content:center !important;
  justify-self:stretch !important;
  align-self:center !important;
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  height:40px !important;
  min-height:40px !important;
  max-height:40px !important;
  padding:0 !important;
  margin:0 !important;
  gap:0 !important;
  border:1px solid var(--border) !important;
  border-bottom:1px solid var(--border) !important;
  border-radius:10px !important;
  background:var(--panel) !important;
  color:var(--text) !important;
  opacity:1 !important;
  overflow:hidden !important;
  box-shadow:none !important;
  transform:none !important;
  text-align:center !important;
  text-decoration:none !important;
  white-space:normal !important;
  flex:none !important;
  cursor:pointer !important;
  pointer-events:auto !important;
  transition:background .15s ease, border-color .15s ease, color .15s ease !important;
}

html body #comicCutNav:not(.ccc-thumbnail-nav-control) #setChecklistBtn:not(.ccc-shared-icon-control),
html body .card .comic-cut-card-action-stack > #comicCutNav:not(.ccc-thumbnail-nav-control) #setChecklistBtn:not(.ccc-shared-icon-control),
html body #comicCutNav.ccc-logged-in-checklist-mode:not(.ccc-thumbnail-nav-control) #setChecklistBtn:not(.ccc-shared-icon-control),
html body .card .comic-cut-card-action-stack > #comicCutNav.ccc-logged-in-checklist-mode:not(.ccc-thumbnail-nav-control) #setChecklistBtn:not(.ccc-shared-icon-control){
  grid-column:1 !important;
}
html body #comicCutNav:not(.ccc-thumbnail-nav-control) #backToSetBtn:not(.ccc-shared-icon-control),
html body .card .comic-cut-card-action-stack > #comicCutNav:not(.ccc-thumbnail-nav-control) #backToSetBtn:not(.ccc-shared-icon-control),
html body #comicCutNav.ccc-logged-in-checklist-mode:not(.ccc-thumbnail-nav-control) #backToSetBtn:not(.ccc-shared-icon-control),
html body .card .comic-cut-card-action-stack > #comicCutNav.ccc-logged-in-checklist-mode:not(.ccc-thumbnail-nav-control) #backToSetBtn:not(.ccc-shared-icon-control){
  grid-column:2 !important;
}
html body #comicCutNav:not(.ccc-thumbnail-nav-control) #nextComicCutBtn:not(.ccc-shared-icon-control),
html body .card .comic-cut-card-action-stack > #comicCutNav:not(.ccc-thumbnail-nav-control) #nextComicCutBtn:not(.ccc-shared-icon-control),
html body #comicCutNav.ccc-logged-in-checklist-mode:not(.ccc-thumbnail-nav-control) #nextComicCutBtn:not(.ccc-shared-icon-control),
html body .card .comic-cut-card-action-stack > #comicCutNav.ccc-logged-in-checklist-mode:not(.ccc-thumbnail-nav-control) #nextComicCutBtn:not(.ccc-shared-icon-control){
  grid-column:3 !important;
}

html body #comicCutNav:not(.ccc-thumbnail-nav-control) #comicCutNavCounters,
html body #comicCutNav.ccc-logged-in-checklist-mode:not(.ccc-thumbnail-nav-control) #comicCutNavCounters,
html body .card .comic-cut-card-action-stack > #comicCutNav:not(.ccc-thumbnail-nav-control) #comicCutNavCounters{
  display:none !important;
  visibility:hidden !important;
}

html body #comicCutNav:not(.ccc-thumbnail-nav-control) #setChecklistBtn:not(.ccc-shared-icon-control)::before,
html body #comicCutNav:not(.ccc-thumbnail-nav-control) #setChecklistBtn:not(.ccc-shared-icon-control)::after,
html body #comicCutNav:not(.ccc-thumbnail-nav-control) #backToSetBtn:not(.ccc-shared-icon-control)::before,
html body #comicCutNav:not(.ccc-thumbnail-nav-control) #backToSetBtn:not(.ccc-shared-icon-control)::after,
html body #comicCutNav:not(.ccc-thumbnail-nav-control) #nextComicCutBtn:not(.ccc-shared-icon-control)::before,
html body #comicCutNav:not(.ccc-thumbnail-nav-control) #nextComicCutBtn:not(.ccc-shared-icon-control)::after{
  content:none !important;
  display:none !important;
}

html body #comicCutNav:not(.ccc-thumbnail-nav-control) #setChecklistBtn:not(.ccc-shared-icon-control) .material-symbols-outlined,
html body #comicCutNav:not(.ccc-thumbnail-nav-control) #backToSetBtn:not(.ccc-shared-icon-control) .material-symbols-outlined,
html body #comicCutNav:not(.ccc-thumbnail-nav-control) #nextComicCutBtn:not(.ccc-shared-icon-control) .material-symbols-outlined{
  display:block !important;
  flex:0 0 auto !important;
  font-size:22px !important;
  line-height:1 !important;
}

html body #comicCutNav:not(.ccc-thumbnail-nav-control) #setChecklistBtn:not(.ccc-shared-icon-control):hover:not(:disabled),
html body #comicCutNav:not(.ccc-thumbnail-nav-control) #setChecklistBtn:not(.ccc-shared-icon-control):focus-visible,
html body #comicCutNav:not(.ccc-thumbnail-nav-control) #backToSetBtn:not(.ccc-shared-icon-control):hover:not(:disabled),
html body #comicCutNav:not(.ccc-thumbnail-nav-control) #backToSetBtn:not(.ccc-shared-icon-control):focus-visible,
html body #comicCutNav:not(.ccc-thumbnail-nav-control) #nextComicCutBtn:not(.ccc-shared-icon-control):hover:not(:disabled),
html body #comicCutNav:not(.ccc-thumbnail-nav-control) #nextComicCutBtn:not(.ccc-shared-icon-control):focus-visible{
  border-color:rgba(255,255,255,.6) !important;
  border-bottom-color:rgba(255,255,255,.6) !important;
  background:rgba(255,255,255,.08) !important;
  color:#fff !important;
  outline:none !important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.60) !important;
  transform:none !important;
}

html body #comicCutNav:not(.ccc-thumbnail-nav-control) #setChecklistBtn:not(.ccc-shared-icon-control)[disabled],
html body #comicCutNav:not(.ccc-thumbnail-nav-control) #backToSetBtn:not(.ccc-shared-icon-control)[disabled],
html body #comicCutNav:not(.ccc-thumbnail-nav-control) #nextComicCutBtn:not(.ccc-shared-icon-control)[disabled],
html body #comicCutNav:not(.ccc-thumbnail-nav-control) #setChecklistBtn:not(.ccc-shared-icon-control):disabled,
html body #comicCutNav:not(.ccc-thumbnail-nav-control) #backToSetBtn:not(.ccc-shared-icon-control):disabled,
html body #comicCutNav:not(.ccc-thumbnail-nav-control) #nextComicCutBtn:not(.ccc-shared-icon-control):disabled{
  opacity:.38 !important;
  cursor:not-allowed !important;
  pointer-events:none !important;
  background:var(--panel-2) !important;
  border-color:rgba(255,255,255,.05) !important;
  color:var(--muted) !important;
}



html body .comic-cuts-row.ccc-checklist-highlight{
  border-color:rgba(154,139,255,.82) !important;
  background:rgba(154,139,255,.20) !important;
  box-shadow:0 0 0 1px rgba(154,139,255,.28) inset, 0 12px 28px rgba(154,139,255,.12) !important;
}
html body .comic-cuts-row.ccc-checklist-highlight .comic-cuts-name{
  color:#fff !important;
}

@media (max-width:780px){
  html body #comicCutNav.comic-cut-nav:not(.ccc-thumbnail-nav-control).is-visible,
  html body .card .comic-cut-card-action-stack > #comicCutNav.comic-cut-nav:not(.ccc-thumbnail-nav-control).is-visible,
  html body #comicCutNav.ccc-logged-in-checklist-mode:not(.ccc-thumbnail-nav-control).comic-cut-nav.is-visible,
  html body .card .comic-cut-card-action-stack > #comicCutNav.ccc-logged-in-checklist-mode:not(.ccc-thumbnail-nav-control).comic-cut-nav.is-visible{
    gap:8px !important;
  }
  html body #comicCutNav:not(.ccc-thumbnail-nav-control) #setChecklistBtn:not(.ccc-shared-icon-control),
  html body #comicCutNav:not(.ccc-thumbnail-nav-control) #backToSetBtn:not(.ccc-shared-icon-control),
  html body #comicCutNav:not(.ccc-thumbnail-nav-control) #nextComicCutBtn:not(.ccc-shared-icon-control){
    height:38px !important;
    min-height:38px !important;
    max-height:38px !important;
  }
}
