/* vozer-home-ui:sort-section-list */
/* vozer-sort-tabs: editorial underline style (not pill track) */
.vozer-sort-tabs{
  display:flex;
  min-width:0;
  max-width:100%;
  align-items:stretch;
  gap:0;
  overflow-x:auto;
  overflow-y:hidden;
  overscroll-behavior-x:contain;
  border:0;
  border-bottom:1px solid #e8eaef;
  border-radius:0;
  background:transparent;
  padding:0;
  box-shadow:none;
}
.vozer-sort-tab{
  position:relative;
  display:inline-flex;
  flex:0 0 auto;
  min-width:0;
  align-items:center;
  justify-content:center;
  gap:.42rem;
  border:0;
  border-radius:0;
  color:#4b5563;
  background:transparent;
  padding:.3rem 1rem .55rem;
  font-size:13px;
  font-weight:650;
  letter-spacing:0;
  line-height:1;
  text-decoration:none;
  white-space:nowrap;
  transition:color .15s ease;
  cursor:pointer;
  user-select:none;
}
.vozer-sort-tab + .vozer-sort-tab{
  margin-left:.1rem;
}
.vozer-sort-tab:hover{
  color:#0f172a;
  background:transparent;
  box-shadow:none;
  transform:none;
}
.vozer-sort-tab.is-active{
  cursor:default;
  color:#0f172a;
  background:transparent;
  box-shadow:none;
  font-weight:800;
}
.vozer-sort-tab.is-active::after{
  content:"";
  position:absolute;
  left:.7rem;
  right:.7rem;
  bottom:-1px;
  height:2px;
  border-radius:2px 2px 0 0;
  background:#f2b400;
  opacity:1;
  display:block;
}
.vozer-sort-tab__icon{
  display:inline-flex;
  width:15px;
  height:15px;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
  color:currentColor;
  opacity:.72;
  overflow:hidden;
}
.vozer-sort-tab.is-active .vozer-sort-tab__icon{
  opacity:1;
  color:#0f172a;
}
.vozer-sort-tab__icon svg{
  width:15px!important;
  height:15px!important;
  max-width:15px!important;
  max-height:15px!important;
  display:block;
}
.vozer-sort-tab__label{
  position:relative;
  top:.5px;
  font-weight:inherit;
}
.vozer-sort-tab:focus-visible{
  outline:2px solid rgba(242,180,0,.4);
  outline-offset:3px;
  border-radius:6px;
}
@media (min-width:640px){
  .vozer-sort-tabs{
    overflow:visible;
    gap:0;
    padding:0;
    border-radius:0;
  }
  .vozer-sort-tab{
    min-width:0;
    gap:.46rem;
    padding:.35rem 1.15rem .6rem;
    font-size:14px;
  }
  .vozer-sort-tab.is-active::after{
    left:.85rem;
    right:.85rem;
  }
  .vozer-sort-tab__icon,
  .vozer-sort-tab__icon svg{
    width:16px!important;
    height:16px!important;
    max-width:16px!important;
    max-height:16px!important;
  }
}
@media (prefers-reduced-motion:reduce){
  .vozer-sort-tab{transition:none}
}

/* vozer-section-tabs: amber editorial sidebar-inspired channel bar */
.vozer-section-band{
  display:flex;
  min-width:0;
  align-items:stretch;
  gap:0;
  width:100%;
  border:0;
  border-radius:0;
  background:transparent;
  padding:0;
  margin-bottom:.75rem !important; /* ~12px under amber bar — a bit more air */
  box-shadow:none;
}
@media (min-width:640px){
  .vozer-section-band{margin-bottom:.875rem !important} /* ~14px on sm+ */
}
/* Collapse parent main space-y (~16–20px) so section bar + sort tabs read as one stack */
#home-section-tabs-shell{
  margin-bottom:0 !important;
}
#home-section-tabs-shell + .vozer-create-fab{
  margin-top:0 !important;
  margin-bottom:0 !important;
}
/* space-y on main would add 16–20px; force zero top so only band's intentional gap remains */
#home-section-tabs-shell + .vozer-create-fab + #home-tabs-shell,
#home-section-tabs-shell + #home-tabs-shell{
  margin-top:0 !important;
}
#home-tabs-shell .vozer-sort-tabs{
  margin-top:0;
  padding-top:0;
}
/* Keep horizontal tab scrollers inside the page width on mobile */
#home-tabs-shell,
#home-section-tabs-shell,
#home-hero-shell {
  min-width: 0;
  max-width: 100%;
}
#home-tabs-shell,
#home-section-tabs-shell {
  overflow-x: clip;
}
.vozer-section-tabs{
  position:relative;
  display:flex;
  min-width:0;
  flex:1 1 auto;
  align-items:stretch;
  gap:0;
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  padding:.18rem;
  border:1px solid rgba(253,230,138,.45);
  border-bottom-color:rgba(245,158,11,.42);
  border-radius:10px 10px 0 0;
  background:linear-gradient(90deg, rgba(255,251,235,.15), rgba(255,251,235,.75), rgba(255,251,235,.15));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55);
  scroll-behavior:smooth;
  overscroll-behavior-x:contain;
}
.vozer-section-tabs::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  opacity:.18;
  background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTAgMTBMMTAgMFpNMTIuNSAxMi41TC0yLjUgLTIuNSIgc3Ryb2tlPSIjZjk3MzE2IiBzdHJva2Utd2lkdGg9IjAuNSIvPjwvc3ZnPg==");
  background-size:10px 10px;
}
.vozer-section-tab{
  position:relative;
  z-index:1;
  display:inline-flex;
  /* Grow to fill spare bar width on mobile; never shrink below label+icon. */
  flex:1 1 0;
  min-width:max-content;
  align-items:center;
  justify-content:center;
  gap:.32rem;
  min-height:38px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:#94a3b8;
  padding:.42rem .72rem;
  text-decoration:none;
  transition:color .18s ease, background-color .18s ease, box-shadow .18s ease;
  white-space:nowrap;
  cursor:pointer;
  user-select:none;
  box-shadow:none;
}
.vozer-section-tab:hover{
  color:#475569;
  background:rgba(245,158,11,.08);
}
.vozer-section-tab.is-active{
  cursor:default;
  background:transparent;
  color:#1e293b;
  box-shadow:none;
}
.vozer-section-tab.is-active::after{
  content:"";
  position:absolute;
  left:.4rem;
  right:.4rem;
  bottom:3px;
  height:3px;
  border-radius:999px;
  background:linear-gradient(90deg, transparent, #f59e0b, transparent);
  pointer-events:none;
}
.vozer-section-tab__ico{
  display:inline-flex;
  flex:0 0 auto;
  width:15px;
  height:15px;
  align-items:center;
  justify-content:center;
  opacity:.92;
  line-height:0;
  color:inherit;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  transition:background .18s ease, color .18s ease, box-shadow .18s ease, width .18s ease, height .18s ease;
}
.vozer-section-tab__ico svg{
  width:15px !important;
  height:15px !important;
  display:block;
  overflow:visible;
}
.vozer-section-tab__ico .vozer-section-tab__ico--play,
.vozer-section-tab__ico svg.vozer-section-tab__ico--play{
  width:16.5px !important;
  height:16.5px !important;
}
.vozer-section-tab.is-active .vozer-section-tab__ico{
  width:1.7rem;
  height:1.7rem;
  border-radius:7px;
  background:linear-gradient(180deg, #292524 0%, #000 100%);
  color:#fbbf24;
  opacity:1;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12), 0 1px 2px rgba(0,0,0,.22);
}
.vozer-section-tab.is-active .vozer-section-tab__ico svg{
  width:14px !important;
  height:14px !important;
}
.vozer-section-tab.is-active .vozer-section-tab__ico .vozer-section-tab__ico--play,
.vozer-section-tab.is-active .vozer-section-tab__ico svg.vozer-section-tab__ico--play{
  width:15px !important;
  height:15px !important;
}
.vozer-section-tab__label{
  display:inline-block;
  min-width:0;
  max-width:none;
  overflow:visible;
  text-overflow:clip;
  white-space:nowrap;
  font-size:12px;
  font-weight:700;
  letter-spacing:-.01em;
  color:inherit;
  line-height:1.1;
  text-align:center;
}
/* Idle: quiet slate titles */
.vozer-section-tab[data-tone="all"],
.vozer-section-tab[data-tone="male"],
.vozer-section-tab[data-tone="female"],
.vozer-section-tab[data-tone="wiki"]{color:#94a3b8}
.vozer-section-tab:hover{color:#475569}

/* Active: soft translucent fill + subtle tone label (no solid pills) */
.vozer-section-tab.is-active[data-tone="wiki"]{color:#78350f}
.vozer-section-tab.is-active[data-tone="male"]{color:#0c4a6e}
.vozer-section-tab.is-active[data-tone="female"]{color:#9f1239}
.vozer-section-tab.is-active[data-tone="all"]{color:#0f172a}
.vozer-section-tab.is-active .vozer-section-tab__label{color:inherit}
.vozer-section-tab.is-active .vozer-section-tab__ico{color:#fbbf24}

.vozer-section-tab:focus-visible{outline:2px solid rgba(245,158,11,.45);outline-offset:2px}

/* Fixed create FAB: outside AJAX section-tabs shell to avoid duplicates */
.vozer-create-fab{
  position:fixed;
  right:max(1rem, env(safe-area-inset-right, 0px));
  bottom:max(1rem, env(safe-area-inset-bottom, 0px));
  z-index:40;
  display:inline-flex;
  width:52px;
  height:52px;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(245,158,11,.38);
  border-radius:16px;
  background:linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
  color:#78350f;
  text-decoration:none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.6),
    0 10px 24px rgba(15,23,42,.16),
    0 2px 6px rgba(245,158,11,.18);
  transition:background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.vozer-create-fab:hover,
.vozer-create-fab:active{
  background:linear-gradient(180deg, #292524 0%, #000 100%);
  border-color:rgba(0,0,0,.35);
  color:#fbbf24;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    0 12px 28px rgba(15,23,42,.28);
  transform:translateY(-1px);
}
.vozer-create-fab:focus-visible{
  outline:2px solid rgba(245,158,11,.55);
  outline-offset:3px;
}
.vozer-create-fab svg{
  display:block;
  width:22px;
  height:22px;
}
@media (prefers-reduced-motion:reduce){
  .vozer-create-fab{transition:none}
  .vozer-create-fab:hover,
  .vozer-create-fab:active{transform:none}
}

@media (min-width:640px){
  .vozer-section-band{gap:0}
  .vozer-section-tabs{
    gap:0;
    overflow:visible;
    scroll-behavior:auto;
    padding:.2rem;
  }
  .vozer-section-tab{
    flex:1 1 0;
    min-width:0;
    min-height:42px;
    gap:.4rem;
    padding:.55rem .85rem;
    border-radius:8px;
  }
  .vozer-section-tab__ico,
  .vozer-section-tab__ico svg{
    width:15px !important;
    height:15px !important;
  }
  .vozer-section-tab__ico .vozer-section-tab__ico--play,
  .vozer-section-tab__ico svg.vozer-section-tab__ico--play{
    width:17px !important;
    height:17px !important;
  }
  .vozer-section-tab.is-active .vozer-section-tab__ico{
    width:1.75rem;
    height:1.75rem;
  }
  .vozer-section-tab.is-active .vozer-section-tab__ico svg{
    width:14px !important;
    height:14px !important;
  }
  .vozer-section-tab.is-active .vozer-section-tab__ico .vozer-section-tab__ico--play,
  .vozer-section-tab.is-active .vozer-section-tab__ico svg.vozer-section-tab__ico--play{
    width:15.5px !important;
    height:15.5px !important;
  }
  .vozer-section-tab__label{
    font-size:14px;
    font-weight:750;
    letter-spacing:-.01em;
    overflow:visible;
    text-overflow:clip;
  }
  .vozer-create-fab{
    width:56px;
    height:56px;
    right:max(1.25rem, env(safe-area-inset-right, 0px));
    bottom:max(1.25rem, env(safe-area-inset-bottom, 0px));
    border-radius:18px;
  }
}
@media (min-width:1024px){
  .vozer-section-tabs{display:flex; overflow:visible}
  .vozer-section-tab{flex:1 1 0; justify-content:center}
}

.vozer-post-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:.45rem}
@media (min-width:1024px){.vozer-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1536px){.vozer-post-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:640px){.vozer-post-grid{gap:.55rem}}
.vozer-post-card{
  position:relative;
  display:flex;
  min-height:104px;
  align-items:stretch;
  gap:.7rem;
  overflow:hidden;
  border:1px solid transparent;
  border-radius:16px;
  background:linear-gradient(180deg, rgba(255,255,255,.42) 0%, rgba(255,255,255,.18) 62%, rgba(248,249,251,.04) 100%);
  padding:.45rem .6rem .45rem .45rem;
  box-shadow:none;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease,background .18s ease;
  text-decoration:none;
  color:inherit;
}
.vozer-post-card:hover{
  border-color:rgba(15,23,42,.02);
  background:linear-gradient(180deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,.34) 62%, rgba(248,249,251,.12) 100%);
  box-shadow:none;
  transform:none;
}
.vozer-post-card:focus-visible{
  outline:2px solid rgba(245,158,11,.55);
  outline-offset:2px;
}
.vozer-post-card__media{
  position:relative;
  width:112px;
  flex:0 0 auto;
  align-self:stretch;
  overflow:hidden;
  border-radius:14px;
  background:#f1f5f9;
  box-shadow:0 2px 8px rgba(15,23,42,.03);
  aspect-ratio:3/2;
}
.vozer-post-card__img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transition:transform .35s ease;
}
.vozer-post-card:hover .vozer-post-card__img{transform:scale(1.02)}
.vozer-post-card__media::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(15,23,42,.08),transparent 52%);
  opacity:.55;
  transition:opacity .2s ease;
  pointer-events:none;
}
.vozer-post-card:hover .vozer-post-card__media::after{opacity:.75}
.vozer-post-card__body{
  display:flex;
  min-width:0;
  flex:1 1 auto;
  flex-direction:column;
  justify-content:center;
  gap:.34rem;
  padding:.05rem 0;
}
.vozer-post-card__title{
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  margin:0;
  color:#0f172a;
  font-size:14px;
  font-weight:750;
  line-height:1.3;
  letter-spacing:-.01em;
  transition:color .15s ease;
}
.vozer-post-card:hover .vozer-post-card__title{color:#92400e}
.vozer-post-card__meta{
  display:flex;
  min-width:0;
  flex-wrap:nowrap;
  align-items:center;
  gap:.4rem .5rem;
}
.vozer-post-card__chip{
  display:inline-flex;
  height:1.125rem;
  flex:0 0 auto;
  align-items:center;
  gap:.22rem;
  border-radius:999px;
  padding:0 .4rem;
  font-size:10px;
  font-weight:650;
  letter-spacing:.02em;
  text-transform:uppercase;
  line-height:1;
}
.vozer-post-card__cat-ico{
  display:inline-flex;
  width:10px;
  height:10px;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
}
.vozer-post-card__cat-ico svg{width:10px!important;height:10px!important;display:block}
.vozer-post-card__author{
  min-width:0;
  flex:1 1 auto;
  overflow:hidden;
  color:#64748b;
  font-size:11px;
  font-weight:500;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.vozer-post-card__stats{
  display:flex;
  min-width:0;
  flex-wrap:wrap;
  align-items:center;
  gap:.28rem .45rem;
  color:#94a3b8;
  font-size:11px;
}
.vozer-post-card__stat{
  display:inline-flex;
  align-items:center;
  gap:.22rem;
  color:#64748b;
  font-weight:550;
  white-space:nowrap;
}
.vozer-post-card__stat svg{
  width:.8125rem!important;
  height:.8125rem!important;
  max-width:.8125rem!important;
  max-height:.8125rem!important;
  flex:0 0 auto;
  opacity:.9;
}
.vozer-post-card__status{
  display:inline-flex;
  align-items:center;
  gap:.28rem;
  font-weight:600;
  white-space:nowrap;
}
.vozer-post-card__dot{
  width:.3125rem;
  height:.3125rem;
  border-radius:999px;
  background:currentColor;
  opacity:.9;
}
.vozer-post-card__status.is-writing{color:#b45309}
.vozer-post-card__status.is-paused{color:#64748b}
.vozer-post-card__status.is-done{color:#0f766e}
.vozer-post-card__status.is-updating{color:#64748b}
.vozer-post-card__sep{
  width:1px;
  height:.65rem;
  background:rgba(203,213,225,.9);
  flex:0 0 auto;
}
.vozer-post-empty{
  border-radius:18px;
  border-color:rgba(15,23,42,.035);
  background:linear-gradient(180deg, rgba(255,255,255,.34) 0%, rgba(248,249,251,.12) 100%);
  box-shadow:none;
}
@media (min-width:640px){
  .vozer-post-card{
    min-height:112px;
    gap:.8rem;
    padding:.5rem .7rem .5rem .5rem;
  }
  .vozer-post-card__media{width:128px;border-radius:14px}
  .vozer-post-card__title{font-size:15px;font-weight:780}
  .vozer-post-card__author,.vozer-post-card__stats{font-size:12px}
  .vozer-post-card__body{gap:.4rem}
  .vozer-post-card__chip{height:1.25rem;padding:0 .45rem}
}
@media (prefers-reduced-motion:reduce){
  .vozer-post-card,
  .vozer-post-card__img,
  .vozer-post-card__media::after{transition:none!important}
  .vozer-post-card:hover .vozer-post-card__img{transform:none}
  .vozer-post-card:hover{transform:none}
}
