/* ==========================================================================
   Youth Icons theme — shared by the campaign, nomination and voting pages.
   "Scrapbook" look: wine grunge hero with a torn-paper edge, cream paper body,
   hand-drawn doodles, marker highlights, numbered yellow steps, pastel cards.
   Loaded after each page's own <style>, so rules here are scoped to body.yi-theme.
   ========================================================================== */
.yi-theme{
  --yi-wine:#7a0f2e; --yi-wine-d:#4a0619; --yi-red:#d0263c; --yi-gold:#ffc83d; --yi-gold-d:#f2a900;
  --yi-teal:#1d8a87; --yi-ink:#1f2433; --yi-muted:#626b7d; --yi-cream:#fbf5ea; --yi-paper:#fffdf8;
  --yi-line:#ecdfca; --yi-radius:20px;
  --yi-head:"Baloo 2","Noto Sans Devanagari",system-ui,sans-serif;
  --yi-hand:"Kalam","Permanent Marker",cursive;
  --yi-marker:"Permanent Marker","Kalam",cursive;
  position:relative; overflow-x:hidden;
  background:
    radial-gradient(circle at 12% 22%,#ffffff 0,transparent 30%),
    radial-gradient(circle at 88% 64%,#fff8ea 0,transparent 32%),
    var(--yi-cream);
  color:var(--yi-ink);
  font-family:"Inter","Noto Sans Devanagari",system-ui,-apple-system,sans-serif;
}
.yi-theme h1,.yi-theme h2,.yi-theme h3,.yi-theme h4{font-family:var(--yi-head);letter-spacing:-.2px}
.yi-theme ::selection{background:#ffe08a}

/* ── Doodles ─────────────────────────────────────────────────────────── */
.yi-dd{display:inline-block;width:48px;height:48px;overflow:visible}
.c-wine{color:var(--yi-wine)}.c-red{color:var(--yi-red)}.c-teal{color:var(--yi-teal)}.c-gold{color:var(--yi-gold-d)}
.yi-gutters{position:absolute;left:0;right:0;top:var(--yi-gut-top,720px);bottom:0;pointer-events:none;z-index:0;overflow:hidden;display:none}
.yi-gut{position:absolute;top:0;bottom:0;width:calc((100vw - 1200px)/2 - 10px);max-width:230px}
.yi-gut.left{left:8px}.yi-gut.right{right:8px}
.yi-gw{position:absolute;opacity:.92}
.yi-gut.left .yi-gw{left:14px}
.yi-scribble{font-family:var(--yi-marker);font-size:30px;line-height:1.02;letter-spacing:.5px;transform:rotate(-7deg);text-transform:uppercase}
.yi-gut.right .yi-scribble{transform:rotate(6deg)}
@media(min-width:1600px){.yi-gutters{display:block}}
.yi-theme main,.yi-theme section,.yi-theme footer{position:relative;z-index:1}

/* ── Header ──────────────────────────────────────────────────────────── */
.yi-nav{position:sticky;top:0;z-index:40;padding:10px 16px 0;margin-bottom:-74px}
.yi-nav-bar{width:min(1180px,100%);margin:auto;display:flex;align-items:center;gap:18px;justify-content:space-between;
  background:#fff;border-radius:0 0 22px 22px;padding:9px 16px 9px 20px;box-shadow:0 10px 30px #2a061433;border:1px solid #f1e3e7}
.yi-nav-brand{display:flex;align-items:center;gap:10px;color:var(--yi-ink);text-decoration:none;flex-shrink:0}
.yi-nav-links{display:flex;gap:4px;align-items:center}
.yi-nav-links a{color:#2a2f3d;font-weight:700;font-size:14px;padding:8px 11px;border-radius:10px;text-decoration:none;white-space:nowrap}
.yi-nav-links a:hover{background:#fbeff2;color:var(--yi-wine)}
.yi-nav-links a.on{color:var(--yi-wine);background:#fdf0f3;box-shadow:inset 0 -3px 0 var(--yi-gold)}
.yi-nav-cta{display:flex;align-items:center;gap:8px}
.yi-pill{display:inline-flex;align-items:center;gap:8px;border:1.6px solid var(--yi-red);color:var(--yi-red);background:#fff;border-radius:99px;padding:9px 16px;font-weight:800;font-size:13.5px;text-decoration:none;white-space:nowrap;transition:background .15s,color .15s}
.yi-pill:hover{background:var(--yi-red);color:#fff}
.yi-pill.solid{background:var(--yi-wine);border-color:var(--yi-wine);color:#fff}.yi-pill.solid:hover{background:var(--yi-red);border-color:var(--yi-red)}
.yi-nav-toggle{display:none;width:42px;height:42px;border-radius:12px;border:1px solid #eadde1;background:#fff;color:var(--yi-wine);font-size:18px;cursor:pointer}
@media(max-width:1060px){
  .yi-nav-toggle{display:inline-grid;place-items:center}
  .yi-nav-links{display:none;position:absolute;left:16px;right:16px;top:calc(100% + 6px);flex-direction:column;align-items:stretch;gap:2px;
    background:#fff;border-radius:18px;padding:10px;box-shadow:0 20px 45px #2a061440;border:1px solid #f1e3e7}
  .yi-nav.open .yi-nav-links{display:flex}
  .yi-nav-links a{padding:12px 14px;font-size:15px}
}
@media(max-width:560px){.yi-nav{padding:8px 10px 0;margin-bottom:-66px}.yi-nav-bar{padding:8px 10px 8px 12px;gap:10px}.yi-pill span{display:none}.yi-pill{padding:10px 12px}
  .yi-nav-brand .pd-brand-tag{display:none}.yi-nav-brand img{width:38px!important;height:38px!important}}

/* ── Hero ────────────────────────────────────────────────────────────── */
.yi-hero{position:relative;color:#fff;padding:118px 0 92px;overflow:hidden;isolation:isolate;
  background:
    radial-gradient(ellipse at 18% 30%,#a5163f 0,transparent 46%),
    radial-gradient(ellipse at 82% 20%,#8d1236 0,transparent 42%),
    linear-gradient(160deg,#5c0a24 0%,#7a0f2e 45%,#4a0619 100%)}
.yi-hero-grain{position:absolute;inset:0;z-index:-1;opacity:.55;mix-blend-mode:overlay;
  background-image:
    radial-gradient(#ffffff22 1px,transparent 1.2px),
    radial-gradient(#00000033 1px,transparent 1.4px),
    repeating-linear-gradient(115deg,transparent 0 22px,#ffffff08 23px 24px);
  background-size:7px 7px,11px 11px,auto;background-position:0 0,3px 5px,0 0}
.yi-hero::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(circle at 50% 120%,#ff9a3c40 0,transparent 50%)}
.yi-hero-inner{width:min(1280px,calc(100% - 32px));margin:auto;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.75fr) minmax(0,.75fr);gap:24px;align-items:center}
.yi-torn{position:absolute;left:0;right:0;bottom:-1px;height:46px;z-index:2;
  background:var(--yi-cream);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 46' preserveAspectRatio='none'%3E%3Cpath d='M0 22 L28 14 L52 25 L81 11 L110 23 L138 9 L164 21 L196 12 L226 26 L252 13 L285 24 L312 8 L340 22 L371 14 L398 27 L430 12 L457 22 L489 10 L516 25 L548 13 L575 21 L604 9 L632 24 L664 14 L690 27 L722 11 L750 22 L781 13 L808 26 L840 10 L868 23 L896 14 L926 26 L954 12 L982 22 L1012 9 L1040 24 L1070 13 L1098 25 L1128 11 L1156 23 L1182 14 L1200 20 L1200 46 L0 46 Z' fill='%23000'/%3E%3C/svg%3E") center/100% 100% no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 46' preserveAspectRatio='none'%3E%3Cpath d='M0 22 L28 14 L52 25 L81 11 L110 23 L138 9 L164 21 L196 12 L226 26 L252 13 L285 24 L312 8 L340 22 L371 14 L398 27 L430 12 L457 22 L489 10 L516 25 L548 13 L575 21 L604 9 L632 24 L664 14 L690 27 L722 11 L750 22 L781 13 L808 26 L840 10 L868 23 L896 14 L926 26 L954 12 L982 22 L1012 9 L1040 24 L1070 13 L1098 25 L1128 11 L1156 23 L1182 14 L1200 20 L1200 46 L0 46 Z' fill='%23000'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  filter:drop-shadow(0 -3px 0 #ffffff55)}

/* left visual */
.yi-hero-visual{position:relative;min-height:300px;display:grid;place-items:center}
.yi-people{width:100%;max-width:380px;filter:drop-shadow(0 18px 30px #1a020a66)}
.yi-photo{position:relative;background:#fff;padding:8px 8px 26px;border-radius:6px;box-shadow:0 16px 34px #1a020a80}
.yi-photo img{display:block;width:100%;height:100%;object-fit:cover;border-radius:3px}
.yi-photo.single{width:min(100%,360px);aspect-ratio:4/4.3;transform:rotate(-3deg);padding:9px 9px 32px}
.yi-hero-visual.collage{min-height:390px}
.yi-hero-visual.collage .yi-photo{position:absolute;width:40%;aspect-ratio:4/4.6}
.yi-photo.p0{left:0;top:0;transform:rotate(-9deg);z-index:2}
.yi-photo.p1{right:0;top:0;transform:rotate(8deg);z-index:1}
.yi-photo.p2{left:30%;top:30%;transform:rotate(-2deg);z-index:5}
.yi-photo.p3{left:0;bottom:0;transform:rotate(6deg);z-index:3}
.yi-photo.p4{right:0;bottom:0;transform:rotate(-7deg);z-index:4}
.yi-tape{position:absolute;width:86px;height:24px;background:#ffe6a3cc;box-shadow:0 2px 4px #0002;z-index:4}
.yi-tape.t1{top:4px;left:18%;transform:rotate(-14deg)}.yi-tape.t2{bottom:14px;right:12%;transform:rotate(18deg)}
.yi-hero-visual:not(:has(.yi-photo)) .yi-tape{display:none}

/* centre copy */
.yi-hero-copy{text-align:center}
.yi-eyebrow{display:inline-flex;align-items:center;gap:8px;background:#fff;color:var(--yi-wine);border-radius:99px;padding:7px 16px;font-weight:800;font-size:13.5px;box-shadow:0 6px 18px #1a020a55;transform:rotate(-1.5deg)}
.yi-eyebrow i{color:var(--yi-gold-d)}
.yi-hero h1{font-family:var(--yi-head);font-weight:800;font-size:clamp(32px,3.9vw,54px);line-height:1.05;margin:18px 0 14px;letter-spacing:-.6px;text-shadow:0 3px 0 #3a0414aa;transform:rotate(-1.5deg)}
.yi-hl-word{color:var(--yi-gold);text-decoration:underline wavy var(--yi-gold);text-decoration-thickness:3px;text-underline-offset:12px;text-decoration-skip-ink:none}
.yi-hero-sub{max-width:620px;margin:0 auto;color:#fbe8ee;font-size:16.5px;line-height:1.6}
.yi-chips{display:flex;flex-wrap:wrap;gap:9px;justify-content:center;margin-top:20px}
.yi-chip{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:99px;background:#2b0410a6;border:1.5px solid var(--yi-gold);color:#fff;font-weight:700;font-size:13.5px;backdrop-filter:blur(3px)}
.yi-chip i{color:var(--yi-gold)}
.yi-hero-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:24px}
.yi-btn{display:inline-flex;align-items:center;gap:9px;border-radius:14px;padding:14px 22px;font-weight:800;font-size:15.5px;text-decoration:none;transition:transform .15s,box-shadow .15s,background .15s}
.yi-btn.gold{background:var(--yi-gold);color:#3a0614;box-shadow:0 6px 0 #c98b00,0 14px 26px #1a020a55}
.yi-btn.gold:hover{transform:translateY(-2px)}
.yi-btn.ghost{border:2px solid #ffffffb0;color:#fff}.yi-btn.ghost:hover{background:#ffffff1a}

/* right doodles */
.yi-hero-art{position:relative;min-height:300px}
.yi-hero-art .yi-dd{position:absolute}
.yi-dd.w{color:#fff;opacity:.92}.yi-dd.g{color:var(--yi-gold)}
.yi-sticker{position:absolute;top:30px;left:6%;z-index:2;font-family:var(--yi-marker);font-size:clamp(26px,2.6vw,36px);line-height:.98;color:#3a0614;
  background:var(--yi-gold);padding:14px 20px 12px;transform:rotate(-8deg);box-shadow:4px 6px 0 #00000033;
  clip-path:polygon(2% 6%,30% 0,62% 4%,98% 0,100% 40%,96% 70%,100% 100%,60% 96%,26% 100%,0 96%,3% 60%,0 30%)}
.a1{width:58px;height:58px;top:-6px;right:4%}.a2{width:74px;height:74px;top:170px;left:-4%}
.a3{width:96px;height:96px;top:196px;left:34%}.a4{width:70px;height:70px;bottom:-34px;left:2%}
.a5{width:46px;height:46px;bottom:-20px;left:46%}.a6{width:84px;height:104px;top:90px;right:-2%}
.a7{width:30px;height:30px;top:150px;left:44%}.a8{width:24px;height:24px;top:4px;left:0}.a9{width:42px;height:42px;top:262px;right:16%}

@media(max-width:1180px){
  .yi-hero-inner{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr)}
  .yi-hero-art{display:none}
}
@media(max-width:820px){
  .yi-hero{padding:104px 0 78px}
  .yi-hero-inner{grid-template-columns:1fr;gap:18px}
  .yi-hero-visual{order:2;min-height:0}
  .yi-people{max-width:220px}
  .yi-photo.single{width:min(70%,280px)}
  .yi-hero-visual.collage{min-height:270px;width:min(100%,380px);margin:auto}
}
@media(max-width:560px){
  .yi-hero{padding:96px 0 70px}
  .yi-hero h1{font-size:clamp(30px,8.6vw,40px)}
  .yi-hero-sub{font-size:15px}
  .yi-chip{font-size:12.5px;padding:7px 11px}
  .yi-btn{width:100%;justify-content:center}
}

/* ── Shared content pieces ───────────────────────────────────────────── */
.yi-theme .wrap,.yi-theme .container{width:min(1180px,calc(100% - 32px))}
.yi-hl{background:linear-gradient(100deg,transparent 0 2%,#ffd84a 2% 97%,transparent 97%) 0 72%/100% 58% no-repeat;padding:0 6px;border-radius:3px;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.yi-theme .kicker{font-family:var(--yi-hand);font-size:20px;font-weight:700;letter-spacing:.2px;text-transform:none;color:var(--yi-red);transform:rotate(-2deg);display:inline-block}
.yi-theme .section-head h2,.yi-theme .section h2{font-family:var(--yi-head);font-weight:800}
.yi-theme .footer{background:#1e0a16;color:#f9edf1;margin-top:0;border-top:6px solid var(--yi-gold)}

/* ── Terms & Conditions footer link (points at the dedicated /youth-icon-terms page) ── */
.yi-theme .yi-terms-link{color:inherit;font-weight:700;text-decoration:underline;opacity:.9}
.yi-theme .yi-terms-link:hover{opacity:1}

/* ── Nomination page ─────────────────────────────────────────────────── */
.yi-page-nominate .layout{margin-top:6px;gap:24px;grid-template-columns:minmax(0,1fr) 300px;padding-bottom:60px}
.yi-page-nominate .form-card{border-radius:24px;border:1px solid var(--yi-line);box-shadow:0 18px 44px #5a1b2a14;padding:30px;background:var(--yi-paper);position:relative}
.yi-page-nominate .form-card::before{content:"";position:absolute;top:-12px;left:50%;width:120px;height:26px;margin-left:-60px;background:#ffe6a3cc;transform:rotate(-2deg);box-shadow:0 2px 4px #0001}
.yi-page-nominate .section-title{border-bottom:2px dashed #eedfc6;padding-bottom:12px;margin-bottom:18px}
.yi-page-nominate .section-title .num{width:40px;height:40px;border-radius:50%;background:var(--yi-gold);color:#3a0614;font-family:var(--yi-head);font-size:20px;font-weight:800;box-shadow:0 3px 0 #d39b00}
.yi-page-nominate .section-title h2{font-family:var(--yi-head);font-size:22px;font-weight:800}
.yi-page-nominate label,.yi-page-nominate .label{font-weight:800}
.yi-page-nominate input:not([type=checkbox]):not([type=radio]):not([type=file]),.yi-page-nominate select,.yi-page-nominate textarea{border-radius:12px;border-color:#e2d8cc;background:#fff}
.yi-page-nominate input:focus,.yi-page-nominate select:focus,.yi-page-nominate textarea:focus{border-color:var(--yi-red);box-shadow:0 0 0 4px #d0263c1f}
.yi-page-nominate .radio-option{border-radius:12px;border:1.6px solid #e6dccd;background:#fff;padding:11px 14px}
.yi-page-nominate .radio-option:has(input:checked){border-color:var(--yi-red);background:#fff1f3;color:var(--yi-wine)}
.yi-page-nominate .radio-option input{accent-color:var(--yi-red)}
.yi-page-nominate .submit{border-radius:14px;background:linear-gradient(110deg,var(--yi-red),var(--yi-wine));font-family:var(--yi-head);font-size:18px;letter-spacing:.2px;box-shadow:0 6px 0 #4a0619,0 14px 28px #7a0f2e40;padding:15px}
.yi-page-nominate .side-card{border-radius:22px;border:1px solid var(--yi-line);box-shadow:0 12px 28px #5a1b2a0d;padding:22px}
.yi-page-nominate .side-card h3{font-family:var(--yi-head);font-size:18px;font-weight:800}
.yi-page-nominate .side-card h3 .yi-hl{padding:0 6px}
.yi-page-nominate .side-columns>.side-card:nth-child(1){background:#fffaf0}
.yi-page-nominate .side-columns>.side-card:nth-child(2){background:#fff1f4;border-color:#f6d3dc}
.yi-page-nominate .side-columns>.side-card:nth-child(3){background:#eef5ff;border-color:#d5e3f8}
.yi-page-nominate .side-columns>.side-card:nth-child(4){background:#eefaf2;border-color:#cdebd6}
.yi-page-nominate .side-icon{border-radius:50%;background:#fff;border:2px solid #f1d58a;width:36px;height:36px;flex:0 0 36px}
.yi-page-nominate .fee strong{color:var(--yi-red)}
.yi-page-nominate .side-link{font-weight:800;color:var(--yi-wine)}
@media(max-width:900px){.yi-page-nominate .layout{grid-template-columns:1fr}}
@media(max-width:560px){.yi-page-nominate .form-card{padding:20px 16px;border-radius:20px}.yi-page-nominate .field-grid{grid-template-columns:1fr}.yi-page-nominate .side-columns{grid-template-columns:1fr}}

/* ── Voting page ─────────────────────────────────────────────────────── */
.yi-page-vote main.wrap{padding-top:8px}
.yi-page-vote .tools{padding:22px 0 14px}
.yi-page-vote .tab{border-radius:99px;font-weight:800;border:1.6px solid #e6dccd;background:#fff}
.yi-page-vote .tab.active{background:var(--yi-wine);border-color:var(--yi-wine);color:#fff;box-shadow:0 4px 0 #4a0619}
.yi-page-vote .search,.yi-page-vote #search{border-radius:14px;border:1.6px solid #e6dccd;background:#fff}
.yi-page-vote .notice{border-radius:16px;border:1.6px dashed #e9c66d;background:#fffaf0}
.yi-page-vote .candidate{border-radius:24px;border:1px solid var(--yi-line);background:var(--yi-paper);box-shadow:0 14px 34px #5a1b2a12;transition:transform .2s,box-shadow .2s}
.yi-page-vote .candidate:hover{transform:translateY(-4px) rotate(-.3deg);box-shadow:0 22px 44px #5a1b2a22}
.yi-page-vote .candidate-body,.yi-page-vote .candidate-body h2,.yi-page-vote .candidate-body p{font-family:"Inter","Noto Sans Devanagari",system-ui,sans-serif}
.yi-page-vote .candidate-body h2{font-weight:800;font-size:21px;letter-spacing:-.2px;line-height:1.25;margin:0 0 6px}
.yi-page-vote .profession{font-size:14px;font-weight:700}.yi-page-vote .locality{font-size:14px}
.yi-page-vote .bio{font-size:15px;line-height:1.6;color:#4b5563}
/* Candidate photo: a taller frame, the whole image shown (contain) over a blurred copy of itself */
.yi-page-vote .portrait{height:auto;aspect-ratio:4/3.6;background:#2a0a14}
.yi-page-vote .portrait .ph-fill{position:absolute;inset:-24px;background-size:cover;background-position:center;filter:blur(22px) saturate(1.15) brightness(.85);transform:scale(1.08)}
.yi-page-vote .portrait img.ph-main{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center}
.yi-page-vote .portrait .category,.yi-page-vote .portrait .finalist-ribbon{z-index:2;box-shadow:0 2px 8px #0003}
.yi-page-vote .profession{color:var(--yi-red)}
.yi-page-vote .vote-btn{border-radius:14px;font-family:var(--yi-head);font-size:17px;box-shadow:0 5px 0 #4a0619}
.yi-page-vote .vote-btn[disabled]{box-shadow:none}
.yi-page-vote .vote-btn.signin{box-shadow:inset 0 0 0 1.5px var(--yi-wine)}
.yi-page-vote .rules{background:transparent;border-top:0}
.yi-page-vote .rule{border-radius:22px;border:1px solid var(--yi-line);background:#fff;box-shadow:0 10px 26px #5a1b2a0d}
.yi-page-vote .rules-grid>.rule:nth-child(1){background:#fffaf0}.yi-page-vote .rules-grid>.rule:nth-child(2){background:#eef5ff}.yi-page-vote .rules-grid>.rule:nth-child(3){background:#fff1f4}
.yi-page-vote .rule h3{font-family:var(--yi-head);font-weight:800}
.yi-page-vote .cta{background:linear-gradient(160deg,#5c0a24,#7a0f2e);position:relative;color:#fff;padding:52px 0}
.yi-page-vote .cta h2{font-family:var(--yi-head);font-weight:800;color:#fff;font-size:clamp(24px,3.4vw,34px);margin:0 0 8px}
.yi-page-vote .cta p{color:#f6dde5;font-size:16px}
.yi-page-vote .cta-btn{background:var(--yi-gold);color:#3a0614;box-shadow:0 6px 0 #c98b00;border-radius:14px}

/* ── Campaign (landing) page ─────────────────────────────────────────── */
.yi-page-campaign .section{padding:64px 0}
.yi-page-campaign .award-card{border-radius:26px;border:1px solid var(--yi-line);background:var(--yi-paper);box-shadow:0 16px 40px #5a1b2a12}
.yi-page-campaign .award-card.female{background:#fff5f7}
.yi-page-campaign .award-card h3{font-family:var(--yi-head);font-weight:800}
.yi-page-campaign .why{background:linear-gradient(160deg,#5c0a24,#7a0f2e 60%,#4a0619);position:relative}
.yi-page-campaign .why .kicker{color:var(--yi-gold)!important}
.yi-page-campaign .benefit{border-radius:22px;background:#ffffff10;border:1.5px dashed #ffffff40}
.yi-page-campaign .panel{border-radius:24px;border:1px solid var(--yi-line);background:var(--yi-paper);box-shadow:0 12px 30px #5a1b2a0d}
.yi-page-campaign .panel h3{font-family:var(--yi-head);font-weight:800}
.yi-page-campaign .elig-icon{border-radius:50%;background:#fff;border:2px solid #f1d58a}
.yi-page-campaign .step .num{background:var(--yi-gold);color:#3a0614;border-radius:50%;font-family:var(--yi-head);box-shadow:0 3px 0 #d39b00}
.yi-page-campaign .timeline{background:transparent}
.yi-page-campaign .time-item{border-radius:22px;border:1px solid var(--yi-line);background:#fff;box-shadow:0 10px 26px #5a1b2a0d}
.yi-page-campaign .timeline-grid>.time-item:nth-child(1){background:#fffaf0}.yi-page-campaign .timeline-grid>.time-item:nth-child(2){background:#eef5ff}
.yi-page-campaign .timeline-grid>.time-item:nth-child(3){background:#eefaf2}.yi-page-campaign .timeline-grid>.time-item:nth-child(4){background:#fff1f4}
.yi-page-campaign .faq-list details{border-radius:16px;background:#fff;border:1px solid var(--yi-line)}
.yi-page-campaign .final-cta{background:linear-gradient(160deg,#5c0a24,#7a0f2e);border-radius:0}
.yi-page-campaign .final-cta h2{font-family:var(--yi-head);font-weight:800}
.yi-page-campaign .editor-content{background:transparent}

@media(prefers-reduced-motion:reduce){.yi-theme *{transition:none!important}}

/* ── Voting page: bio clamp, read more, profile dialog with enlargeable photo ── */
.yi-page-vote .bio{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;flex:0 0 auto;margin-bottom:6px;white-space:pre-line}
.yi-page-vote .read-more{align-self:flex-start;background:none;border:0;padding:2px 0 12px;color:var(--yi-red);font:inherit;font-size:14px;font-weight:800;cursor:pointer}
.yi-page-vote .read-more:hover{text-decoration:underline}
.yi-page-vote .candidate-body .stats{margin-top:auto}
.yi-page-vote .portrait.zoomable{cursor:zoom-in}
.yi-page-vote .portrait.zoomable::after{content:"\f00e";font-family:"Font Awesome 7 Free";font-weight:900;position:absolute;right:12px;bottom:12px;z-index:2;width:34px;height:34px;border-radius:50%;
  background:#000000a0;color:#fff;display:grid;place-items:center;font-size:14px;opacity:.85;transition:opacity .2s,transform .2s}
.yi-page-vote .portrait.zoomable:hover::after{opacity:1;transform:scale(1.08)}
.yi-page-vote .portrait.zoomable:focus-visible{outline:3px solid var(--yi-gold);outline-offset:-3px}
.pm-backdrop{position:fixed;inset:0;z-index:70;background:#14050bd9;align-items:center;justify-content:center;padding:18px;overscroll-behavior:contain}
.pm-dialog{position:relative;width:min(980px,100%);max-height:calc(100vh - 36px);background:#fff;border-radius:22px;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);box-shadow:0 30px 90px #0008}
.pm-close{position:absolute;top:12px;right:12px;z-index:3;width:40px;height:40px;border-radius:50%;border:0;background:#fff;color:#3a0614;font-size:18px;cursor:pointer;box-shadow:0 4px 14px #0003}
.pm-figure{background:#1b0b12;display:grid;place-items:center;min-height:360px;max-height:calc(100vh - 36px);overflow:hidden}
.pm-figure img{width:100%;height:100%;max-height:calc(100vh - 36px);object-fit:contain;cursor:zoom-in;transition:transform .25s}
.pm-figure.zoomed{overflow:auto;place-items:start}
.pm-figure.zoomed img{width:auto;height:auto;max-width:none;max-height:none;cursor:zoom-out}
.pm-figure .avatar{width:140px;height:140px;font-size:70px}
.pm-body{padding:30px 28px;overflow:auto;max-height:calc(100vh - 36px);display:flex;flex-direction:column;font-family:"Inter","Noto Sans Devanagari",system-ui,sans-serif}
.pm-cat{align-self:flex-start;background:var(--yi-wine);color:#fff;border-radius:99px;padding:5px 11px;font-size:12px;font-weight:800}
.pm-name{font-family:inherit!important;font-size:26px;font-weight:800;margin:12px 0 6px;line-height:1.2}
.pm-field{color:var(--yi-red);font-weight:700}.pm-place{color:var(--yi-muted);margin:4px 0 14px}
.pm-bio{white-space:pre-line;line-height:1.7;color:#374151;margin:0 0 16px;font-size:15.5px}
.pm-story{margin:0 0 16px}
.pm-story h3{font-size:13px;font-weight:800;color:var(--yi-wine);text-transform:uppercase;letter-spacing:.03em;margin:16px 0 6px}
.pm-story h3:first-child{margin-top:0}
.pm-story p{white-space:pre-line;line-height:1.7;color:#374151;margin:0;font-size:15px}
.pm-votes{color:var(--yi-muted);margin-bottom:8px}.pm-votes b{color:var(--yi-wine);font-size:18px}
.pm-actions .vote-btn{width:100%}
.pm-backdrop.photo-first .pm-figure img{cursor:zoom-in}
@media(max-width:760px){
  .pm-backdrop{padding:0;align-items:stretch}
  .pm-dialog{grid-template-columns:1fr;border-radius:0;max-height:100vh;overflow:auto;display:block}
  .pm-figure{min-height:0;max-height:none;height:min(62vh,520px)}
  .pm-figure img{max-height:min(62vh,520px)}
  .pm-body{max-height:none;padding:22px 18px 28px}
}
.copy-box{position:fixed;inset:0;z-index:80;background:#14050bb3;align-items:center;justify-content:center;padding:18px}
.copy-box-inner{background:#fff;border-radius:18px;padding:22px;width:min(460px,100%);text-align:center}
.copy-box-inner h3{margin:0 0 6px}.copy-box-inner p{color:var(--yi-muted);font-size:14px;margin:0 0 12px}
.copy-box-inner input{width:100%;font:inherit;font-size:15px;padding:12px;border:1.6px solid var(--yi-line);border-radius:12px;margin-bottom:12px;text-align:center}

