/* Expo PPG UPI — identity assets from event team. Public branding v6.
   The brand images remain outside business logic. */
.brand-mark-image{display:inline-block;object-fit:contain;width:38px;height:38px;flex:none;vertical-align:middle}
.brand{display:inline-flex;align-items:center;white-space:nowrap}
.sidebar .brand-mark-image{width:38px;height:38px}
.auth-wrap .brand-mark-image{width:42px;height:42px}
.live-top .brand-mark-image{width:38px;height:38px}
/* Public landing */
.public-nav{position:relative;z-index:12}
.public-hero{position:relative;overflow:hidden;background:#171619;color:#fff}
.public-hero::before{content:"";position:absolute;top:0;left:0;bottom:0;width:5px;background:#bf2338}
.public-hero-inner{max-width:1180px;grid-template-columns:1.05fr .95fr;gap:24px;align-items:center;padding-top:54px;padding-bottom:56px}
.public-hero-copy{position:relative;z-index:3}
.public-hero-copy h1{font-size:clamp(42px,5.2vw,70px);line-height:1.08;margin-top:20px}
.public-tag{border:1px solid #4c393e;background:#272025;color:#ff7281}
.hero-logo-plaque{width:min(100%,274px);height:106px;display:flex;align-items:center;justify-content:center;padding:12px 15px;background:#fff;border-radius:9px;margin-top:21px;overflow:hidden}
.hero-logo-plaque img{width:100%;height:100%;object-fit:contain}
.expo-hero-stage{position:relative;isolation:isolate;height:480px;min-height:0;display:block;overflow:hidden}
.hero-batik-motif{position:absolute;width:110%;max-width:none;right:-22%;top:0;opacity:.13;z-index:0;pointer-events:none}
.hero-mascots{position:absolute;inset:0;z-index:2;pointer-events:none}
.hero-mascot{position:absolute;bottom:-8px;height:auto;object-fit:contain;filter:drop-shadow(0 14px 20px rgba(0,0,0,.18))}
.hero-mascot-suri{left:-5%;width:58%;z-index:3;transform:rotate(-2deg)}
.hero-mascot-rili{right:-3%;width:64%;z-index:2;transform:rotate(2deg)}
.hero-stage-caption{position:absolute;bottom:14px;left:14px;z-index:4;background:#f5f3f3;color:#282126;border:1px solid rgba(255,255,255,.45);padding:9px 13px;border-radius:6px;font-size:11px;font-weight:700;letter-spacing:.1px;box-shadow:0 5px 15px #0002}
.hero-stage-caption .fa-solid{color:#bf263a;margin-right:6px}
.public-content{position:relative;overflow:hidden;isolation:isolate}
.steps-batik-accent{position:absolute;right:-75px;top:25px;width:260px;opacity:.085;z-index:-1;pointer-events:none}
.step-card{position:relative;z-index:1}
.active-event-card{position:relative;overflow:hidden}
.active-event-card:after{content:"";position:absolute;right:17px;top:0;bottom:0;width:110px;background:url('../img/brand/batik-samping.webp') center/contain no-repeat;opacity:.12;pointer-events:none}
.active-event-card>*{position:relative;z-index:1}
/* Voting: welcoming but ballot and vote CTA stay dominant */
.vote-body{background:#f8f7f5}
.vote-main{max-width:960px;padding-top:22px;position:relative;isolation:isolate}
.vote-main::before{content:"";position:absolute;right:-55px;top:290px;width:270px;height:420px;background:url('../img/brand/batik-ornamen.webp') center/contain no-repeat;opacity:.055;pointer-events:none;z-index:-1}
.vote-header-branded{position:relative;display:flex;align-items:center;text-align:left;justify-content:space-between;min-height:240px;background:#1d1b1e;border-radius:13px;padding:32px 34px 0;overflow:hidden;color:white;margin-bottom:20px}
.vote-header-copy{position:relative;z-index:2;max-width:66%;padding-bottom:34px}
.vote-header-branded .eyebrow{color:#ff8a97;letter-spacing:1.4px}
.vote-header-branded h1{font-size:clamp(29px,3.8vw,44px);line-height:1.12;margin:11px 0 10px;color:#fff;letter-spacing:-1.1px}
.vote-header-branded h1 span{color:#ff6a7b}
.vote-header-branded p{color:#ded9dc;font-size:13px;line-height:1.7;margin:0}
.vote-header-batik{position:absolute;right:12px;bottom:-84px;width:220px;z-index:0;opacity:.12;pointer-events:none}
.vote-welcome-mascot{position:absolute;right:28px;bottom:-22px;height:260px;max-width:38%;object-fit:contain;object-position:bottom center;z-index:1;filter:drop-shadow(0 8px 16px #0003)}
.vote-hero-note{display:inline-flex;align-items:center;gap:8px;border:1px solid #63555b;border-radius:6px;padding:8px 10px;color:#eee;font-size:11px;margin-top:17px}
.vote-hero-note .fa-solid{color:#ff6077}
.vote-event-header{margin-top:15px}
.vote-section-head{margin-top:27px}
.vote-status,.vote-success{max-width:720px}
.vote-success{position:relative;padding-top:25px}
.vote-success-mascot{display:block;width:125px;height:140px;object-fit:contain;margin:0 auto 5px}
.vote-privacy{margin-bottom:18px}
/* Logo on paper; QR remains plain with quiet zone untouched */
.qr-brand-image{display:inline-block;width:24px;height:24px;object-fit:contain;vertical-align:middle}
.qr-card-brand{gap:6px}
@media(max-width:900px){
  .public-hero-inner{grid-template-columns:1fr;text-align:center;gap:8px;padding-top:45px;padding-bottom:24px}
  .public-hero-copy>p{margin-left:auto;margin-right:auto}
  .hero-logo-plaque{margin:16px auto 0}
  .expo-hero-stage{height:380px;width:min(100%,520px);margin:auto}
  .hero-mascot-suri{left:5%;width:51%}
  .hero-mascot-rili{right:2%;width:55%}
  .hero-stage-caption{left:50%;transform:translateX(-50%);white-space:nowrap}
}
@media(max-width:600px){
  .public-nav-inner{height:70px}
  .public-nav .brand{font-size:16px}
  .brand-mark-image{width:30px;height:30px}
  .public-hero-copy h1{font-size:40px;letter-spacing:-1.6px}
  .public-hero-inner{padding:26px 18px 16px}
  .hero-logo-plaque{width:224px;height:84px}
  .expo-hero-stage{height:300px}
  .hero-mascot-suri{width:55%;left:0}
  .hero-mascot-rili{width:60%;right:-3%}
  .hero-stage-caption{bottom:4px;font-size:10px}
  .public-content{padding-top:52px}
  .steps-batik-accent{width:170px;right:-45px}
  .vote-main{padding-top:16px}
  .vote-header-branded{min-height:225px;border-radius:10px;padding:25px 18px 0}
  .vote-header-copy{max-width:71%;padding-bottom:24px}
  .vote-header-branded h1{font-size:28px}
  .vote-header-branded p{font-size:11px;line-height:1.5}
  .vote-hero-note{font-size:9px;margin-top:11px;padding:7px 8px;max-width:210px}
  .vote-welcome-mascot{right:-18px;bottom:-10px;height:205px;max-width:42%}
  .vote-header-batik{right:-20px;width:160px}
  .vote-nav .brand{font-size:16px}
  .secure-label{font-size:8px;letter-spacing:.5px}
}
@media(max-width:375px){
  .vote-welcome-mascot{opacity:.7;right:-32px}
  .vote-header-copy{max-width:76%}
  .public-nav nav .nav-admin{font-size:10px}
}
@media print{
  .qr-brand-image{width:17px;height:17px}
  .vote-header-batik,.steps-batik-accent,.hero-batik-motif{display:none!important}
}


/* v7 · LIGHT PUBLIC EXPERIENCE · WHITE / RED / NATURAL BATIK
   Private/admin shell and dark projected live results remain unchanged.
   Mascots are never cropped: contain within full-body layout cells. */
.public-body{background:#fff;color:#1b1d22}
.public-nav{background:#fff;border-bottom:1px solid #ece8e6}
.public-nav-inner{height:80px}
.public-nav .brand{color:#212328}
.public-nav nav{color:#32353a}
.public-nav .nav-admin{background:#191b20;color:#fff}
.public-nav .nav-admin:hover{background:#36363b}
.public-hero{background:#fff;color:#202227;min-height:0;overflow:visible;border-bottom:1px solid #eee8e5}
.public-hero::before{display:none}
.public-hero-inner{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:clamp(22px,4vw,54px);padding-top:60px;padding-bottom:62px;align-items:center}
.public-hero-copy{min-width:0}
.public-tag{background:#fff3f3;border:1px solid #f0d4d7;color:#9e1e32;font-size:10px;font-weight:850}
.hero-logo-plaque{margin-top:22px;margin-bottom:8px;width:min(100%,310px);height:112px;border:0;box-shadow:none;border-radius:0;background:transparent;padding:0;justify-content:flex-start;overflow:visible}
.hero-logo-plaque img{height:100%;width:100%;object-fit:contain;object-position:left center}
.public-hero h1,.public-hero-copy h1{color:#17191d;font-size:clamp(43px,5vw,70px);line-height:1.08;letter-spacing:-2.6px;margin:17px 0 19px}
.public-hero h1 em{color:#be2339}
.public-hero-copy>p{color:#5e6168;font-size:15px;line-height:1.8;max-width:510px}
.public-hero-actions{gap:11px;margin-top:25px}
.public-hero-actions .btn.primary{background:#be2339;border-color:#be2339;color:#fff}
.public-hero-actions .btn.primary:hover{background:#a51931;border-color:#a51931}
.public-hero-actions .btn.outline-light{background:#fff;border:1px solid #d9d7d7;color:#2e3034}
.public-hero-actions .btn.outline-light:hover{background:#f9f6f5;border-color:#b4b1b1}
.hero-small-note{color:#696b72;font-size:11px}
.hero-small-note .fa-solid{color:#be2339}
.expo-hero-stage{width:100%;height:480px;min-height:0;background:#faf5f2;border:1px solid #efe4e1;border-radius:18px;overflow:hidden;box-sizing:border-box;isolation:isolate}
.hero-batik-motif{width:95%;height:auto;right:-22%;top:-4%;opacity:.095;object-fit:contain;z-index:0}
.hero-mascots{position:relative;inset:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;justify-items:center;gap:3px;width:100%;height:100%;box-sizing:border-box;padding:14px 24px 49px;z-index:2;overflow:visible}
.hero-mascot,.hero-mascot-suri,.hero-mascot-rili{position:relative!important;inset:auto!important;left:auto!important;right:auto!important;bottom:auto!important;top:auto!important;display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center bottom!important;transform:none!important;filter:drop-shadow(0 8px 8px rgba(44,29,27,.10))}
.hero-stage-caption{bottom:13px;left:50%;transform:translateX(-50%);white-space:nowrap;background:#fff;border:1px solid #eadfdd;color:#4b4143;box-shadow:0 2px 10px rgba(40,32,30,.04);border-radius:7px}
.hero-stage-caption .fa-solid{color:#be2339}
.public-content{background:#fff}
.steps-batik-accent{opacity:.07}
.step-card{background:#fff}
.active-event-card{background:#fff9f7;border:1px solid #eee1df;box-shadow:none;color:#232428}
.active-event-card .eyebrow{color:#af2337}
.active-event-card h3{color:#232428}
.active-event-card p{color:#6b6769}
.active-event-card .event-meta strong{color:#25272c}
.active-event-card:after{opacity:.09}
.public-footer{background:#f9f8f7}

/* Voting page: generous white space and fully visible supporting mascot */
.vote-body{background:#fbfaf9;color:#202227}
.vote-nav{background:#fff;border-bottom:1px solid #ebe8e5}
.vote-main{padding-top:25px}
.vote-header-branded{display:flex;align-items:center;gap:15px;min-height:0;background:#fff;border:1px solid #e8e2df;border-left:4px solid #bd2338;color:#202227;border-radius:13px;padding:23px 25px 0;overflow:hidden}
.vote-header-copy{z-index:2;flex:1 1 auto;min-width:0;max-width:none;padding:6px 0 27px;text-align:left}
.vote-header-branded .eyebrow{color:#a91d33}
.vote-header-branded h1{color:#1f2025;font-size:clamp(29px,3.5vw,42px);line-height:1.12;letter-spacing:-1.2px}
.vote-header-branded h1 span{color:#bb2539}
.vote-header-branded p{color:#62636c;font-size:13px;line-height:1.65;max-width:430px}
.vote-header-batik{right:5px;top:-40px;bottom:auto;width:210px;opacity:.07}
.vote-welcome-mascot{position:relative!important;right:auto!important;left:auto!important;top:auto!important;bottom:auto!important;align-self:flex-end;display:block;width:156px;flex:0 0 156px;height:246px;max-width:35%;max-height:246px;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 5px 9px rgba(35,20,20,.1));z-index:1}
.vote-hero-note{background:#fff8f7;color:#7f2635;border:1px solid #efdcdd;max-width:100%;white-space:normal}
.vote-hero-note .fa-solid{color:#c22c44}
.vote-event-header{background:#fff;color:#23252b;border:1px solid #e9e4e2;border-radius:10px}
.event-mini-label{color:#b4253a}
.vote-event-header h2{color:#222328}
.vote-event-header p{color:#686a70}
.vote-valid{color:#147452;background:#ebf8f0}
.vote-success{overflow:visible;padding-top:30px}
.vote-success-mascot{display:block;width:auto;max-width:100%;height:190px;object-fit:contain;object-position:center;margin:0 auto 10px}

@media(max-width:900px){
 .public-hero-inner{grid-template-columns:1fr;gap:25px;text-align:left;padding-top:37px;padding-bottom:42px}
 .public-hero-copy>p{margin:0;max-width:630px}
 .public-hero-actions,.hero-small-note{justify-content:flex-start}
 .hero-logo-plaque{margin:18px 0 3px}
 .expo-hero-stage{width:min(100%,540px);height:445px;margin:0 auto}
 .hero-mascots{padding:16px 25px 49px}
}
@media(max-width:600px){
 .public-nav-inner{height:68px}
 .brand-mark-image{width:30px;height:30px}
 .public-hero-inner{padding:29px 17px 34px;gap:22px;text-align:left}
 .public-hero-copy h1,.public-hero h1{font-size:clamp(36px,10vw,47px);letter-spacing:-1.7px;margin:13px 0 15px}
 .hero-logo-plaque{width:224px;height:86px;margin:13px 0 1px}
 .public-hero-copy>p{font-size:13px;line-height:1.7}
 .public-hero-actions{flex-wrap:wrap;justify-content:flex-start;margin-top:22px}
 .public-hero-actions .btn{width:100%;justify-content:center}
 .hero-small-note{margin-top:20px}
 .expo-hero-stage{height:clamp(270px,87vw,390px);border-radius:12px;margin:0 auto}
 .hero-mascots{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:12px 10px 43px}
 .hero-batik-motif{width:110%;right:-30%;top:0}
 .hero-stage-caption{font-size:10px;bottom:10px;padding:7px 10px}
 .public-content{padding-top:52px}
 .vote-main{padding-top:15px}
 .vote-header-branded{border-radius:11px;padding:18px 14px 0;gap:8px;min-height:0}
 .vote-header-copy{padding:0 0 18px}
 .vote-header-branded h1{font-size:clamp(25px,6.3vw,32px);margin:8px 0}
 .vote-header-branded p{font-size:11px;line-height:1.5}
 .vote-hero-note{font-size:10px;line-height:1.3;margin-top:12px;padding:7px 8px}
 .vote-welcome-mascot{right:auto!important;bottom:auto!important;flex:0 0 100px;width:100px;max-width:35%;height:208px;max-height:208px}
 .vote-header-batik{right:-20px;width:150px;top:8px}
}
@media(max-width:380px){
 .vote-header-branded{gap:4px;padding:15px 12px 0}
 .vote-header-branded h1{font-size:24px}
 .vote-welcome-mascot{width:84px;flex-basis:84px;height:193px;max-height:193px;opacity:1;right:auto!important}
 .hero-stage-caption{font-size:9px}
}
@media (prefers-reduced-motion:reduce){.hero-mascot{transition:none!important}}
