/* NZ Compare — My Programs winner (cyan) + mobile swipe affordance */
#compare .tp-table-scroll,
.compare-section .tp-table-scroll,
.compare-section .up-compare-wrap,
.compare-section .compare-table-wrap{
  border:1px solid #2f3a48!important;
  border-radius:10px!important;
  margin-block:28px!important;
  background:#0c1016;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;
}
#compare table,
.compare-section table{
  width:100%;
  border-collapse:collapse;
  font-size:.9rem!important;
  line-height:1.55!important;
}
#compare th,#compare td,
.compare-section th,.compare-section td{
  padding:1.15rem!important;
  border-bottom:1px solid #2a3440!important;
  vertical-align:top;
  text-align:left!important;
}
#compare tbody tr:last-child th,
#compare tbody tr:last-child td,
.compare-section tbody tr:last-child th,
.compare-section tbody tr:last-child td{
  border-bottom:0!important;
}
#compare thead,
.compare-section thead{
  background:#121820!important;
}
#compare thead th,
.compare-section thead th{
  font-size:1.02rem!important;
  letter-spacing:-.02em;
  color:#e8eef4!important;
  text-transform:none!important;
}
/* Feature col */
#compare th:first-child,#compare td:first-child,
.compare-section th:first-child,.compare-section td:first-child{
  position:sticky;
  left:0;
  z-index:2;
  background:#0f141c!important;
  color:#e8eef4!important;
  font-weight:700!important;
  min-width:7.5rem;
  box-shadow:4px 0 10px rgba(0,0,0,.22);
}
#compare thead th:first-child,
.compare-section thead th:first-child{
  z-index:3;
  background:#121820!important;
}
/* Dim Harderclass + YouTube */
#compare th:nth-child(3),#compare td:nth-child(3),
#compare th:nth-child(4),#compare td:nth-child(4),
.compare-section th:nth-child(3),.compare-section td:nth-child(3),
.compare-section th:nth-child(4),.compare-section td:nth-child(4){
  opacity:.92!important;
  color:#ccd5df!important;
  font-weight:500;
}
/* My Programs = cyan winner */
#compare th:nth-child(2),#compare td:nth-child(2),
.compare-section th:nth-child(2),.compare-section td:nth-child(2){
  background:rgba(32,212,228,.12)!important;
  color:#f4f4f2!important;
  opacity:1!important;
  box-shadow:inset 3px 0 0 #20d4e4;
  font-weight:600;
}
#compare thead th:nth-child(2),
.compare-section thead th:nth-child(2){
  color:#7eecf5!important;
  font-size:1.14rem!important;
  font-weight:800!important;
  letter-spacing:-.025em;
  background:rgba(32,212,228,.18)!important;
  border-bottom:2px solid #20d4e4!important;
}
#compare thead th:nth-child(2)::before,
.compare-section thead th:nth-child(2)::before{
  content:"Neroz";
  display:block;
  width:max-content;
  margin:0 0 .5rem;
  padding:.2rem .58rem;
  border-radius:999px;
  background:#20d4e4!important;
  color:#071417!important;
  font-size:.68rem!important;
  font-weight:800!important;
  letter-spacing:.04em;
  line-height:1.2;
  text-transform:uppercase!important;
}
/* Cyan checkmark (first char ✓) */
#compare tbody td:nth-child(2)::first-letter,
.compare-section tbody td:nth-child(2)::first-letter{
  color:#20d4e4!important;
  font-size:1.45em;
  font-weight:800;
  line-height:1;
  margin-right:.08em;
}
@media (max-width:720px){
  #compare th,#compare td{padding:.95rem .85rem!important}
  #compare th:first-child,#compare td:first-child{min-width:6.25rem;font-size:.82rem}
  #compare thead th:nth-child(2){font-size:1.05rem!important}
}

/* —— Mobile swipe affordance: peek + edge fade + hint —— */
.nz-compare-scroll-wrap{
  position:relative;
  margin-block:28px;
}
.nz-compare-scroll-wrap > .tp-table-scroll,
.nz-compare-scroll-wrap > .up-compare-wrap,
.nz-compare-scroll-wrap > .compare-table-wrap{
  margin-block:0!important;
}
.nz-compare-scroll-wrap .nz-compare-fade{
  pointer-events:none;
  position:absolute;
  top:1px;right:1px;bottom:1px;
  width:28px;
  border-radius:0 9px 9px 0;
  z-index:4;
  background:linear-gradient(to right, rgba(12,16,22,0), rgba(12,16,22,.88) 55%, rgba(12,16,22,.98));
  opacity:1;
  transition:opacity .28s ease;
}
.nz-compare-scroll-wrap.is-at-end .nz-compare-fade{
  opacity:0;
}
.nz-compare-swipe-hint{
  pointer-events:none;
  position:absolute;
  top:10px;
  right:10px;
  z-index:5;
  display:inline-flex;
  align-items:center;
  gap:.28rem;
  padding:.28rem .55rem;
  border-radius:999px;
  background:rgba(7,20,23,.82);
  border:1px solid rgba(32,212,228,.45);
  color:#7eecf5;
  font-size:.68rem;
  font-weight:750;
  letter-spacing:.04em;
  line-height:1.2;
  text-transform:uppercase;
  box-shadow:0 6px 18px rgba(0,0,0,.35);
  opacity:1;
  transition:opacity .35s ease;
}
.nz-compare-swipe-hint[hidden],
.nz-compare-scroll-wrap.is-scrolled .nz-compare-swipe-hint,
.nz-compare-scroll-wrap.is-at-end .nz-compare-swipe-hint{
  opacity:0;
}
@media (max-width:820px){
  /* Keep scroll on container only; never body */
  #compare .tp-table-scroll,
  .compare-section .tp-table-scroll,
  .compare-section .up-compare-wrap,
  .compare-section .compare-table-wrap{
    overflow-x:auto!important;
    overflow-y:hidden!important;
    /* Inset fade fallback when wrap JS has not run yet */
    box-shadow:inset -28px 0 22px -8px rgba(12,16,22,.97);
  }
  .nz-compare-scroll-wrap > .tp-table-scroll,
  .nz-compare-scroll-wrap > .up-compare-wrap,
  .nz-compare-scroll-wrap > .compare-table-wrap{
    box-shadow:none;
  }
  .nz-compare-scroll-wrap .nz-compare-fade{
    width:36px;
    background:linear-gradient(to right, rgba(12,16,22,0), rgba(12,16,22,.75) 40%, rgba(12,16,22,.98));
  }
  /* Peek: do NOT keep temp-core min-width:720 (it expands cols flush-right).
     Feature(~5.25rem)+Neroz(~11rem) leave ~20–40px of Harderclass. */
  #compare .tp-table-scroll table,
  .compare-section .tp-table-scroll table,
  .compare-section .up-compare-wrap table,
  .compare-section .compare-table-wrap table{
    width:max-content!important;
    min-width:0!important;
    table-layout:fixed;
  }
  #compare th:first-child,#compare td:first-child,
  .compare-section th:first-child,.compare-section td:first-child{
    width:5.25rem;
    min-width:5.25rem!important;
    max-width:5.25rem;
  }
  #compare th:nth-child(2),#compare td:nth-child(2),
  .compare-section th:nth-child(2),.compare-section td:nth-child(2){
    width:14.5rem;
    min-width:14.5rem;
    max-width:14.5rem;
  }
  #compare th:nth-child(3),#compare td:nth-child(3),
  #compare th:nth-child(4),#compare td:nth-child(4),
  .compare-section th:nth-child(3),.compare-section td:nth-child(3),
  .compare-section th:nth-child(4),.compare-section td:nth-child(4){
    width:10.25rem;
    min-width:10.25rem;
    max-width:10.25rem;
  }
}
@media (max-width:420px){
  #compare th:first-child,#compare td:first-child,
  .compare-section th:first-child,.compare-section td:first-child{
    width:5rem;
    min-width:5rem!important;
    max-width:5rem;
  }
  #compare th:nth-child(2),#compare td:nth-child(2),
  .compare-section th:nth-child(2),.compare-section td:nth-child(2){
    width:13.75rem;
    min-width:13.75rem;
    max-width:13.75rem;
  }
}
@media (prefers-reduced-motion:reduce){
  .nz-compare-scroll-wrap .nz-compare-fade,
  .nz-compare-swipe-hint{transition:none}
}
