/* ZOOSHOW main page redesign, 2026-09-15. Scoped to #zs-home. */
#zs-home,
#zs-home *{box-sizing:border-box}

#zs-home{
  max-width:none;
  margin:0;
  padding:0 0 28px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--zs-text);
}

#zs-home .zs-shell{
  background:transparent;
  border:0;
  border-radius:0;
  padding:0;
  box-shadow:none;
}

/* Super User: compact settings strip */
#zs-home .zs-home-settings{
  margin:0 0 12px;
  border:1px dashed var(--zs-border-strong);
  border-radius:8px;
  background:var(--zs-panel);
  overflow:hidden;
}
#zs-home .zs-home-settings summary{
  min-height:40px;
  padding:0 13px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  cursor:pointer;
  list-style:none;
  color:var(--zs-text);
  font-size:12px;
  font-weight:800;
}
#zs-home .zs-home-settings summary::-webkit-details-marker{display:none}
#zs-home .zs-settings-current{
  color:var(--zs-muted);
  font-size:10.5px;
  font-weight:600;
}
#zs-home .zs-home-settings__body{
  padding:12px 13px 13px;
  border-top:1px solid var(--zs-border);
}
#zs-home .zs-hero-settings-form{
  display:grid;
  grid-template-columns:1.15fr .7fr .7fr 2fr auto;
  gap:9px;
  align-items:end;
}
#zs-home .zs-hero-settings-form label{
  display:block;
  color:var(--zs-muted);
  font-size:10px;
  font-weight:700;
}
#zs-home .zs-hero-settings-form select,
#zs-home .zs-hero-settings-form input,
#zs-home .zs-hero-settings-form textarea{
  width:100%;
  margin-top:5px;
  min-height:35px;
  border:1px solid var(--zs-border-strong);
  border-radius:7px;
  background:#fff;
  color:var(--zs-text);
  padding:7px 9px;
  font:inherit;
  font-size:11px;
}
#zs-home .zs-hero-settings-form textarea{height:62px;resize:vertical}
#zs-home .zs-admin-btn{
  border:1px solid var(--zs-primary);
  border-radius:7px;
  background:var(--zs-primary);
  color:#fff;
  padding:9px 12px;
  min-height:35px;
  font-size:11px;
  font-weight:800;
  cursor:pointer;
}

/* Full-width photo slider */
#zs-home .zs-hero{
  position:relative;
  height:278px;
  margin:0 0 10px;
  overflow:hidden;
  border:1px solid var(--zs-border);
  border-radius:12px;
  background:var(--zs-soft);
  box-shadow:0 6px 18px rgba(38,28,31,.035);
}
#zs-home .zs-hero-slide{
  position:absolute;
  inset:0;
  opacity:0;
  pointer-events:none;
  transition:opacity .55s ease;
}
#zs-home .zs-hero-slide.is-active{opacity:1;pointer-events:auto}
#zs-home .zs-hero-slide img{
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  border-radius:0;
  object-fit:cover;
  object-position:center 45%;
}
#zs-home .zs-hero-slide:after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;
  height:96px;
  background:linear-gradient(to top,rgba(31,20,23,.58),rgba(31,20,23,0));
  pointer-events:none;
}
#zs-home .zs-hero-credit{
  position:absolute;
  left:18px;
  bottom:14px;
  z-index:2;
  max-width:60%;
  color:#fff;
  text-decoration:none;
  font-size:10.5px;
  line-height:1.35;
  text-shadow:0 1px 2px rgba(0,0,0,.25);
}
#zs-home .zs-hero-credit strong{display:block;font-size:11.5px}
#zs-home .zs-hero-nav{
  position:absolute;
  right:15px;
  bottom:13px;
  z-index:4;
  display:flex;
  gap:7px;
  align-items:center;
}
#zs-home .zs-hero-arrow{
  width:29px;height:29px;
  display:flex;align-items:center;justify-content:center;
  padding:0;
  border:1px solid rgba(255,255,255,.72);
  border-radius:50%;
  background:rgba(28,18,21,.16);
  color:#fff;
  font-size:17px;
  line-height:1;
  cursor:pointer;
}
#zs-home .zs-hero-dots{display:flex;gap:5px;align-items:center}
#zs-home .zs-hero-dot{
  width:7px;height:7px;padding:0;border:0;border-radius:50%;
  background:rgba(255,255,255,.58);cursor:pointer;
}
#zs-home .zs-hero-dot.is-active{width:22px;border-radius:5px;background:#fff}
#zs-home .zs-hero-empty{
  height:100%;display:flex;align-items:center;justify-content:center;
  color:var(--zs-muted);font-size:12px;
}

/* Statistics */
#zs-home .zs-stats{
  height:58px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:0;
  margin:0 0 10px;
  border:1px solid var(--zs-border);
  border-radius:9px;
  overflow:hidden;
  background:var(--zs-panel);
}
#zs-home .zs-stat{
  min-width:0;
  padding:7px 15px;
  display:flex;
  align-items:center;
  border-right:1px solid var(--zs-border);
  background:transparent;
  border-radius:0;
}
#zs-home .zs-stat:last-child{border-right:0}
#zs-home .zs-stat b{
  min-width:54px;
  margin:0 10px 0 0;
  color:var(--zs-text);
  font-size:24px;
  line-height:1;
  font-weight:850;
}
#zs-home .zs-stat span{
  color:var(--zs-muted);
  font-size:10.5px;
  line-height:1.2;
}

/* Quick access */
#zs-home .zs-quickbar{
  height:52px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  margin:0 0 14px;
  border:1px solid var(--zs-border);
  border-radius:9px;
  overflow:hidden;
  background:var(--zs-panel);
}
#zs-home .zs-quickbar a{
  min-width:0;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 15px;
  color:var(--zs-text);
  text-decoration:none;
  font-size:12px;
  font-weight:750;
  border-right:1px solid var(--zs-border);
}
#zs-home .zs-quickbar a:last-child{border-right:0}
#zs-home .zs-quickbar a:hover{background:var(--zs-soft)}
#zs-home .zs-quick-no{
  color:var(--zs-accent);
  font-size:10px;
  letter-spacing:1px;
  font-weight:850;
}

/* Cards / grids */
#zs-home .zs-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:12px;
  margin-bottom:12px;
}
#zs-home .zs-grid2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-bottom:12px;
}
#zs-home .zs-card{
  padding:13px;
  background:var(--zs-panel);
  border:1px solid var(--zs-border);
  border-radius:10px;
  box-shadow:none;
}
#zs-home .zs-card-head{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  margin-bottom:8px;
}
#zs-home .zs-card-head h3{margin:0;color:var(--zs-text);font-size:15px;line-height:1.15}
#zs-home .zs-card-head a{color:var(--zs-primary);text-decoration:none;font-size:10.5px;font-weight:750;white-space:nowrap}
#zs-home .zs-list{list-style:none;margin:0;padding:0}
#zs-home .zs-list li{padding:8px 0;border-top:1px solid var(--zs-border)}
#zs-home .zs-list li:first-child{padding-top:0;border-top:0}
#zs-home .zs-link,
#zs-home .zs-name{
  display:block;margin-bottom:3px;color:var(--zs-text);text-decoration:none;font-size:12.5px;line-height:1.25;font-weight:750;
}
#zs-home .zs-link:hover,
#zs-home .zs-name:hover{color:var(--zs-primary)}
#zs-home .zs-meta{font-size:10.5px;line-height:1.3;color:var(--zs-muted)}
#zs-home .zs-empty{font-size:10.5px;color:var(--zs-muted)}
#zs-home .zs-list--count li{display:flex;align-items:flex-start;justify-content:space-between;gap:9px}
#zs-home .zs-name--base{max-width:82%}
#zs-home .zs-count{min-width:32px;text-align:right;color:var(--zs-primary);font-size:14px;font-weight:850}

/* Advertising keeps original horizontal banner format */
#zs-home .zs-ad-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  margin-bottom:12px;
}
#zs-home .zs-ad-card{
  position:relative;
  overflow:hidden;
  padding:0;
  background:var(--zs-panel);
}
#zs-home .zs-ad-card:after{display:none}
#zs-home .zs-ad-image{
  display:block;
  width:100%;
  height:118px;
  margin:0;
  border:0;
  border-radius:0;
  object-fit:cover;
}
#zs-home .zs-ad-card > .zs-ad-label,
#zs-home .zs-ad-card > .zs-ad-title,
#zs-home .zs-ad-card > .zs-ad-text,
#zs-home .zs-ad-card > .zs-feedback-link{
  margin-left:14px;
  margin-right:14px;
}
#zs-home .zs-ad-label{
  display:inline-block;
  margin-top:11px;
  margin-bottom:6px;
  padding:0;
  border-radius:0;
  background:none;
  color:var(--zs-accent);
  font-size:9px;
  font-weight:850;
  letter-spacing:1.7px;
  text-transform:uppercase;
}
#zs-home .zs-ad-title{margin-top:0;margin-bottom:6px;color:var(--zs-text);font-size:15px;line-height:1.2;font-weight:800}
#zs-home .zs-ad-text{margin-top:0;margin-bottom:8px;color:var(--zs-muted);font-size:11px;line-height:1.4}
#zs-home .zs-feedback-link{
  display:inline-flex;
  margin-top:2px;
  margin-bottom:13px;
  padding:0;
  border-radius:0;
  background:none;
  color:var(--zs-primary);
  font-size:10.5px;
  font-weight:750;
  text-decoration:underline;
}

/* Role cards: calmer professional palette */
#zs-home .zs-roles{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:12px}
#zs-home .zs-role{
  min-height:116px;padding:13px;border:1px solid var(--zs-border);border-radius:10px;
  background:var(--zs-panel);color:var(--zs-text);display:flex;flex-direction:column;justify-content:space-between;
}
#zs-home .zs-role-label{color:var(--zs-accent);font-size:9.5px;font-weight:850;letter-spacing:1px;text-transform:uppercase;margin-bottom:7px}
#zs-home .zs-role h3{margin:0 0 6px;color:var(--zs-text);font-size:16px;line-height:1.15}
#zs-home .zs-role p{margin:0 0 10px;color:var(--zs-muted);font-size:11.5px;line-height:1.35}
#zs-home .zs-role .zs-btn{
  align-self:flex-start;display:inline-flex;align-items:center;min-height:32px;padding:0 10px;border-radius:7px;
  background:var(--zs-primary);color:#fff;text-decoration:none;font-weight:750;font-size:10.5px;
}

/* Existing advertising management panel, only Super User sees it */
#zs-home .zs-admin-panel{
  margin:0 0 12px;
  padding:0;
  border:1px dashed var(--zs-border-strong);
  border-radius:8px;
  background:var(--zs-panel);
  color:var(--zs-text);
}
#zs-home .zs-admin-panel details{margin:0}
#zs-home .zs-admin-panel summary{
  min-height:40px;padding:0 13px;display:flex;align-items:center;cursor:pointer;list-style:none;font-size:12px;font-weight:800;
}
#zs-home .zs-admin-panel summary::-webkit-details-marker{display:none}
#zs-home .zs-admin-note{padding:0 13px;color:var(--zs-muted);font-size:11px;margin:0 0 10px}
#zs-home .zs-admin-message{margin:10px 13px;padding:8px 10px;border-radius:7px;background:#fff3cd;color:#664d03;font-size:11px}
#zs-home .zs-admin-form,
#zs-home .zs-admin-row{
  display:grid;grid-template-columns:1.2fr 1.4fr 1fr 1fr .6fr .7fr auto;gap:8px;align-items:start;margin:10px 13px;
}
#zs-home .zs-admin-form input,
#zs-home .zs-admin-form textarea,
#zs-home .zs-admin-form select,
#zs-home .zs-admin-row input,
#zs-home .zs-admin-row textarea,
#zs-home .zs-admin-row select{
  width:100%;min-height:34px;border:1px solid var(--zs-border-strong);background:#fff;color:var(--zs-text);border-radius:7px;padding:7px 8px;font-size:11px;
}
#zs-home .zs-admin-form textarea,
#zs-home .zs-admin-row textarea{resize:vertical;min-height:34px}
#zs-home .zs-admin-actions{display:flex;gap:6px;flex-wrap:wrap}
#zs-home .zs-admin-btn--danger{background:#fff1f1;color:#9b2c2c;border-color:#efc5c5}
#zs-home .zs-admin-list-title{margin:14px 13px 2px;color:var(--zs-muted);font-size:11px;font-weight:800}
#zs-home .zs-admin-delete-form{margin:0 13px 10px}

@media (max-width:1100px){
  #zs-home .zs-hero-settings-form{grid-template-columns:1fr 1fr}
  #zs-home .zs-grid{grid-template-columns:1fr 1fr}
  #zs-home .zs-roles{grid-template-columns:1fr 1fr}
  #zs-home .zs-admin-form,#zs-home .zs-admin-row{grid-template-columns:1fr 1fr}
}

@media (max-width:760px){
  #zs-home .zs-hero{height:210px;border-radius:9px}
  #zs-home .zs-hero-credit{max-width:72%;left:12px;bottom:11px;font-size:9.5px}
  #zs-home .zs-hero-nav{right:10px;bottom:9px}
  #zs-home .zs-stats{height:auto;grid-template-columns:1fr 1fr}
  #zs-home .zs-stat{min-height:55px;border-bottom:1px solid var(--zs-border)}
  #zs-home .zs-quickbar{height:auto;grid-template-columns:1fr 1fr}
  #zs-home .zs-quickbar a{min-height:48px;border-bottom:1px solid var(--zs-border)}
  #zs-home .zs-grid,#zs-home .zs-grid2,#zs-home .zs-ad-grid,#zs-home .zs-roles{grid-template-columns:1fr}
  #zs-home .zs-hero-settings-form{grid-template-columns:1fr}
  #zs-home .zs-admin-form,#zs-home .zs-admin-row{grid-template-columns:1fr}
  #zs-home .zs-ad-image{height:auto;max-height:none}
}
