/* 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}
}

/* 2026-09-17: prominent role entry cards */
#zs-home .zs-role{
  position:relative;
  overflow:hidden;
  min-height:150px;
  padding:18px;
  border-radius:16px;
  border:1px solid rgba(77,48,53,.14);
  box-shadow:0 12px 28px rgba(77,48,53,.08);
}
#zs-home .zs-role:before{
  content:"";
  position:absolute;
  right:-34px;
  top:-42px;
  width:170px;
  height:170px;
  border-radius:50%;
  background:rgba(255,255,255,.28);
  pointer-events:none;
}
#zs-home .zs-role:after{
  content:"";
  position:absolute;
  right:18px;
  bottom:18px;
  width:88px;
  height:58px;
  border:1px solid rgba(255,255,255,.38);
  border-radius:14px;
  transform:rotate(-7deg);
  pointer-events:none;
}
#zs-home .zs-role > *{position:relative;z-index:2}
#zs-home .zs-role--org{background:linear-gradient(135deg,#fff1dc 0%,#f3d7aa 100%)}
#zs-home .zs-role--photo{background:linear-gradient(135deg,#eaf2ff 0%,#cddfff 100%)}
#zs-home .zs-role--handler{background:linear-gradient(135deg,#fdebed 0%,#f3cbd2 100%)}
#zs-home .zs-role-label{font-size:10px;letter-spacing:1.5px;color:#8b6631}
#zs-home .zs-role--photo .zs-role-label{color:#315f9a}
#zs-home .zs-role--handler .zs-role-label{color:#934b5d}
#zs-home .zs-role h3{font-size:18px;line-height:1.18;color:#4d3035}
#zs-home .zs-role p{max-width:78%;font-size:12px;line-height:1.45;color:#6f5e61}
#zs-home .zs-role .zs-btn{
  min-height:38px;
  padding:0 14px;
  border-radius:10px;
  font-size:11.5px;
  box-shadow:0 7px 18px rgba(70,44,49,.14);
}
#zs-home .zs-role--org .zs-btn{background:#7c5960}
#zs-home .zs-role--photo .zs-btn{background:#285d9e}
#zs-home .zs-role--handler .zs-btn{background:#91485b}
#zs-home .zs-role .zs-btn:hover{filter:brightness(.94);transform:translateY(-1px)}

/* 2026-09-17: real platform activity feed */
#zs-home .zs-activity-card{padding:16px}
#zs-home .zs-card-head--activity{margin-bottom:4px}
#zs-home .zs-activity-kicker{
  margin-bottom:4px;
  color:var(--zs-accent);
  font-size:9px;
  line-height:1;
  letter-spacing:1.4px;
  text-transform:uppercase;
  font-weight:850;
}
#zs-home .zs-activity-intro{
  margin-bottom:11px;
  color:var(--zs-muted);
  font-size:10.5px;
  line-height:1.4;
}
#zs-home .zs-activity-list{display:grid;gap:9px}
#zs-home .zs-activity-item{
  display:grid;
  grid-template-columns:88px minmax(0,1fr);
  gap:10px;
  padding:9px;
  border:1px solid var(--zs-border);
  border-radius:10px;
  background:#fff;
}
#zs-home .zs-activity-item[hidden]{display:none!important}
#zs-home .zs-activity-thumb{
  display:flex;
  align-items:center;
  justify-content:center;
  height:76px;
  overflow:hidden;
  border-radius:8px;
  background:linear-gradient(135deg,#efe8e5,#f8f4f2);
  color:#9a8588;
  text-decoration:none;
  font-size:9px;
  font-weight:850;
  letter-spacing:.5px;
}
#zs-home .zs-activity-thumb img{width:100%;height:100%;object-fit:cover;display:block}
#zs-home .zs-activity-copy{min-width:0}
#zs-home .zs-activity-topline{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:4px}
#zs-home .zs-activity-label{
  display:inline-flex;
  padding:3px 6px;
  border-radius:999px;
  background:#f6ecee;
  color:#7f4e57;
  font-size:8.5px;
  font-weight:850;
  letter-spacing:.35px;
  text-transform:uppercase;
}
#zs-home .zs-activity-when{color:#9a878a;font-size:9px}
#zs-home .zs-activity-title{
  display:block;
  color:var(--zs-text);
  text-decoration:none;
  font-size:12.5px;
  line-height:1.28;
  font-weight:850;
}
#zs-home .zs-activity-title:hover{color:var(--zs-primary)}
#zs-home .zs-activity-text{margin-top:4px;color:#756367;font-size:10.5px;line-height:1.4}
#zs-home .zs-activity-meta{margin-top:5px;color:#9a878a;font-size:9.5px;line-height:1.35}
#zs-home .zs-activity-more{display:inline-block;margin-top:5px;color:var(--zs-primary);font-size:9.5px;font-weight:800;text-decoration:underline;text-underline-offset:2px}
#zs-home .zs-activity-toggle{
  display:block;
  margin:10px auto 0;
  padding:7px 12px;
  border:1px solid var(--zs-border-strong);
  border-radius:8px;
  background:#fff;
  color:var(--zs-text);
  font:inherit;
  font-size:10px;
  font-weight:800;
  cursor:pointer;
}

@media (max-width:700px){
  #zs-home .zs-activity-item{grid-template-columns:72px minmax(0,1fr)}
  #zs-home .zs-activity-thumb{height:68px}
  #zs-home .zs-role p{max-width:100%}
}

/* 2026-09-17: homepage ordering cleanup */
#zs-home .zs-grid2--activity{grid-template-columns:minmax(0,1fr);}
#zs-home .zs-grid2--activity .zs-activity-card{width:100%;}

/* 2026-09-17: compact platform feed + equal bottom cards */
#zs-home .zs-grid--bottom-three{
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:stretch;
}
#zs-home .zs-grid--bottom-three > .zs-card{height:100%;}
#zs-home .zs-activity-compact{margin:0;padding:0;list-style:none;}
#zs-home .zs-activity-compact li{
  padding:9px 0;
  border-bottom:1px solid var(--zs-border);
}
#zs-home .zs-activity-compact li:last-child{border-bottom:0;}
#zs-home .zs-activity-compact-main{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
#zs-home .zs-activity-compact-main .zs-link{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
@media (max-width:960px){
  #zs-home .zs-grid--bottom-three{grid-template-columns:1fr 1fr;}
  #zs-home .zs-grid--bottom-three > .zs-card:last-child{grid-column:1/-1;}
}
@media (max-width:700px){
  #zs-home .zs-grid--bottom-three{grid-template-columns:1fr;}
  #zs-home .zs-grid--bottom-three > .zs-card:last-child{grid-column:auto;}
  #zs-home .zs-activity-compact-main{align-items:flex-start;flex-direction:column;gap:4px;}
  #zs-home .zs-activity-compact-main .zs-link{white-space:normal;}
}
