/* 🤝 v4.28 — Join as Volunteer (U&I CONNECT, Tamil Nadu): warm saffron + deep green, “team / network” feel, the 30-second form in the first screen. */
.vl { --sf: #FF9933; --sf2: #F26B1D; --gr: #138808; --gr2: #0F6B3E; --ink: #14213D; --mu: #5B6B80; --cream: #FFFBF5; color: var(--ink); background: var(--cream); overflow-x: clip; }
.vl *, .vl *::before, .vl *::after { box-sizing: border-box; }
.vl a { text-decoration: none; }
.vl em { font-style: normal; }
.vl [hidden] { display: none !important; }

/* buttons */
.vl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 20px; border-radius: 14px; font-weight: 900; font-size: .98rem; color: #fff !important; cursor: pointer; border: 0;
  background: linear-gradient(100deg, var(--gr2), var(--gr)); box-shadow: 0 10px 24px rgba(15,107,62,.28); transition: transform .2s, box-shadow .2s; }
.vl-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15,107,62,.34); }
.vl-btn-wa { background: #25D366; color: #04321a !important; box-shadow: 0 8px 20px rgba(37,211,102,.3); }
.vl-btn-ghost { background: #fff; color: var(--ink) !important; border: 1.5px solid #E5DCCB; box-shadow: none; }

/* hero */
.vl-hero { position: relative; padding: 14px 0 54px; overflow: hidden; background: radial-gradient(700px 360px at 10% 0%, rgba(255,153,51,.28), transparent 65%), radial-gradient(700px 400px at 100% 100%, rgba(19,136,8,.18), transparent 60%), linear-gradient(180deg, #FFF6EA, #FFFBF5 70%); }
.vl-hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, #FF9933 0 33.3%, #fff 33.3% 66.6%, #138808 66.6%); }
.vl-hero .crumb, .vl-hero .crumb a { color: #8A6A44 !important; font-size: .82rem; }
.vl-bg { position: absolute; inset: 0; pointer-events: none; }
.vl-bg i { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .5; animation: vlBob 9s ease-in-out infinite; }
.vl-bg .b1 { width: 160px; height: 160px; left: -40px; top: 40%; background: radial-gradient(circle, rgba(255,153,51,.35), transparent 70%); }
.vl-bg .b2 { width: 220px; height: 220px; right: 4%; top: -60px; background: radial-gradient(circle, rgba(19,136,8,.22), transparent 70%); animation-delay: 2s; }
.vl-bg .b3 { width: 120px; height: 120px; left: 46%; bottom: -40px; background: radial-gradient(circle, rgba(242,107,29,.25), transparent 70%); animation-delay: 4s; }
@keyframes vlBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.vl-links { position: absolute; right: 0; top: 0; width: 60%; height: 100%; opacity: .5; }
.vl-links path { stroke: rgba(15,107,62,.25); stroke-width: 2; stroke-dasharray: 4 8; animation: vlDash 18s linear infinite; }
.vl-dots circle { fill: #FF9933; animation: vlPulse 2.8s ease-in-out infinite; }
.vl-dots circle:nth-child(2n) { fill: #138808; animation-delay: 1.4s; }
@keyframes vlDash { to { stroke-dashoffset: -240; } }
@keyframes vlPulse { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
.vl-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 34px; align-items: start; margin-top: 12px; }
.vl-tag { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 900; letter-spacing: .06em; color: var(--gr2); background: #EAF6EE; border: 1px solid #CDE9D6; padding: 6px 12px; border-radius: 999px; }
.vl-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--gr); box-shadow: 0 0 0 0 rgba(19,136,8,.5); animation: vlRing 1.8s infinite; }
@keyframes vlRing { 0% { box-shadow: 0 0 0 0 rgba(19,136,8,.5); } 100% { box-shadow: 0 0 0 10px rgba(19,136,8,0); } }
.vl-hero h1 { margin: 14px 0 10px; font-size: clamp(1.6rem, 3.6vw, 2.45rem); line-height: 1.22; color: #1A2540; }
.vl-hero h1 em { color: var(--sf2); }
.vl-hero h1 small { display: block; margin-top: 8px; font-size: .48em; font-weight: 800; color: var(--gr2); letter-spacing: .01em; }
.vl-lead { margin: 0 0 16px; font-size: 1.02rem; line-height: 1.75; color: #3B4A60; }
.vl-lead b { color: var(--ink); }
.vl-lead span { display: block; margin-top: 6px; font-size: .86rem; color: var(--mu); }
.vl-whoh { margin: 0 0 10px; font-weight: 900; color: var(--ink); }
.vl-whoh small { display: block; font-weight: 600; color: var(--mu); font-size: .82rem; margin-top: 2px; }
.vl-who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.vl-who-c { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px 12px; border-radius: 18px; background: #fff; border: 1.5px solid #F1E4CF; cursor: pointer; text-align: center; color: var(--ink);
  box-shadow: 0 6px 16px rgba(120,80,20,.06); transition: transform .2s, border-color .2s, box-shadow .2s; animation: vlIn .6s ease both; animation-delay: calc(var(--i) * .08s + .1s); font: inherit; }
.vl-who-c span { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; background: linear-gradient(135deg, #FFF1DE, #FFE2BC); }
.vl-who-c b { font-size: .88rem; line-height: 1.25; }
.vl-who-c b small { display: block; font-size: .68rem; font-weight: 700; color: var(--mu); margin-top: 2px; }
.vl-who-c:hover { transform: translateY(-3px); border-color: #FFB46A; }
.vl-who-c.on { border-color: var(--gr); box-shadow: 0 0 0 4px rgba(19,136,8,.12), 0 10px 20px rgba(19,136,8,.12); }
.vl-who-c.on span { background: linear-gradient(135deg, #DDF3E4, #BFE7CC); }
@keyframes vlIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.vl-count { margin: 14px 0 0; display: flex; align-items: center; gap: 8px; color: var(--mu); font-size: .9rem; }
.vl-count b { color: var(--gr2); font-size: 1.1rem; }
.vl-live { width: 9px; height: 9px; border-radius: 50%; background: #E53935; animation: vlRing 1.6s infinite; }

/* form card */
.vl-formcard { position: relative; border-radius: 26px; background: #fff; border: 1px solid #F0E3CE; box-shadow: 0 30px 60px rgba(120,70,10,.12), 0 0 0 8px rgba(255,153,51,.08); padding: 20px 20px 8px; scroll-margin-top: 90px; }
.vl-formcard::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: 28px; background: conic-gradient(from var(--vla, 0deg), #FF9933, #FFD08A, #138808, #FF9933); animation: vlSpin 8s linear infinite; opacity: .55; }
@property --vla { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes vlSpin { to { --vla: 360deg; } }
.vl-fc-head { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; }
.vl-fc-head h2 { margin: 0; font-size: 1.35rem; color: var(--ink); }
.vl-fc-head p { margin: 2px 0 0; color: var(--mu); font-size: .88rem; }
.vl-timer { position: relative; flex: none; width: 58px; height: 58px; display: grid; place-items: center; }
.vl-timer svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.vl-timer circle { fill: #FFF4E6; stroke: #FFE0BA; stroke-width: 3; }
.vl-tm { fill: none; stroke: var(--sf2); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 95; stroke-dashoffset: 95; animation: vlTimer 3s ease-out .4s forwards; }
@keyframes vlTimer { to { stroke-dashoffset: 0; } }
.vl-timer b { position: relative; font: 900 1.05rem/1 'Inter', sans-serif; color: var(--sf2); text-align: center; }
.vl-timer b small { display: block; font-size: .5rem; letter-spacing: .08em; color: #9A6A30; }
.vl-form .sjm-form { margin: 0; }
.vl-form .form-grid { gap: 12px 14px; }
.vl-form .form-field label { font-weight: 800; }
.vl-form .form-actions { margin-top: 6px; }
.vl-form .form-actions .btn, .vl-form button[type="submit"] { width: 100%; justify-content: center; padding: 15px 18px; font-size: 1.02rem; border-radius: 14px; border: 0; color: #fff;
  background: linear-gradient(100deg, var(--gr2), var(--gr)); box-shadow: 0 12px 26px rgba(15,107,62,.3); }
.vl-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 8px; }
.vl-chips button { border: 1px dashed #F2B36B; background: #FFF8EE; color: #8A4A0E; border-radius: 999px; padding: 4px 10px; font: 700 .76rem/1.3 inherit; cursor: pointer; }
.vl-chips button.used { border-style: solid; background: #EAF6EE; border-color: #A7DDB8; color: var(--gr2); }
.vl-cnt { display: block; text-align: right; color: #94A3B8; font-size: .72rem; margin-top: 3px; }

/* sections */
.vl-sec { padding: 56px 0; scroll-margin-top: 80px; }
.vl-alt { background: linear-gradient(180deg, #FFF3E2, var(--cream)); }
.vl-h { text-align: center; max-width: 760px; margin: 0 auto 26px; }
.vl-h-l { text-align: left; margin: 0 0 16px; }
.vl-kick { display: inline-block; font-size: .74rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--sf2); background: #FFF0DE; padding: 4px 11px; border-radius: 999px; }
.vl-h h2 { margin: 10px 0 6px; font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.25; }
.vl-h h2 em { color: var(--gr2); }
.vl-h p { margin: 0; color: var(--mu); }
.vl-roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.vl-role { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; padding: 20px 18px 44px; border-radius: 22px; background: #fff; border: 1.5px solid #F0E3CE; color: var(--ink);
  cursor: pointer; font: inherit; box-shadow: 0 10px 24px rgba(120,70,10,.06); transition: transform .25s, border-color .25s, box-shadow .25s; }
.vl-role:hover { transform: translateY(-4px); border-color: #FFB46A; box-shadow: 0 16px 30px rgba(120,70,10,.1); }
.vl-role-ic { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; font-size: 1.6rem; background: linear-gradient(135deg, #FFF1DE, #FFD9A8); }
.vl-role b { font-size: 1rem; line-height: 1.35; }
.vl-role small { color: var(--mu); font-size: .86rem; line-height: 1.6; }
.vl-role i { position: absolute; left: 18px; bottom: 14px; font-style: normal; font-size: .76rem; font-weight: 900; color: var(--sf2); }
.vl-role.on { border-color: var(--gr); box-shadow: 0 0 0 4px rgba(19,136,8,.1), 0 14px 26px rgba(19,136,8,.12); }
.vl-role.on .vl-role-ic { background: linear-gradient(135deg, #DDF3E4, #BFE7CC); }
.vl-role.on i { color: var(--gr2); }
.vl-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; }
.vl-gets { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vl-gets li { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid #F0E3CE; }
.vl-gets li span { grid-row: span 2; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; background: #FFF1DE; }
.vl-gets li b { font-size: .95rem; }
.vl-gets li small { color: var(--mu); font-size: .78rem; }
.vl-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.vl-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid #F0E3CE; }
.vl-steps li > span { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--sf), var(--sf2)); }
.vl-steps li b { display: block; }
.vl-steps li small { color: var(--mu); }
.vl-steps li.done > span { background: linear-gradient(135deg, #19A55A, var(--gr2)); }
.vl-faq details { background: #fff; border: 1px solid #F0E3CE; border-radius: 16px; padding: 4px 16px; margin-bottom: 10px; }
.vl-faq summary { cursor: pointer; font-weight: 800; padding: 12px 0; }
.vl-faq p { margin: 0 0 14px; color: #3B4A60; line-height: 1.7; }
.vl-share { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0 8px; }
.vl-org { text-align: center; color: var(--mu); font-size: .84rem; margin: 18px 0 10px; }
.vl-rv { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.vl-rv.in { opacity: 1; transform: none; }

/* mobile bar */
.vl-mbar { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 70; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 18px;
  background: rgba(20,33,61,.96); color: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.3); transform: translateY(140%); transition: transform .35s ease; }
.vl-mbar.show { transform: none; }
.vl-mbar b { display: block; font-size: .92rem; }
.vl-mbar small { color: #C7D2E3; font-size: .72rem; }
.vl-mbar .vl-btn { padding: 10px 16px; font-size: .9rem; }

/* welcome page */
.vl-thx-hero { text-align: center; padding: 40px 0 50px; }
.vl-badge { width: 92px; height: 92px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; font-size: 2.6rem; background: radial-gradient(circle at 30% 30%, #fff, #FFE2BC); box-shadow: 0 0 0 8px rgba(255,153,51,.14), 0 16px 36px rgba(242,107,29,.3); animation: vlPop .8s cubic-bezier(.2,.9,.25,1.3) both; }
@keyframes vlPop { from { transform: scale(.3) rotate(-30deg); opacity: 0; } to { transform: none; opacity: 1; } }
.vl-thx-hero h1 em { color: var(--gr2); }
.vl-idcard { max-width: 460px; margin: 22px auto 0; text-align: left; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid #F0E3CE; box-shadow: 0 26px 50px rgba(120,70,10,.16); animation: vlIn .8s ease .3s both; }
.vl-id-top { display: flex; justify-content: space-between; gap: 10px; padding: 12px 18px; color: #fff; font-weight: 900; font-size: .76rem; letter-spacing: .06em; background: linear-gradient(100deg, var(--gr2), var(--gr)); }
.vl-id-top b { font: 900 1rem 'Inter', sans-serif; color: #FFE2A0; }
.vl-id-body { display: flex; gap: 14px; align-items: center; padding: 18px; }
.vl-id-av { flex: none; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 1.8rem; font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--sf), var(--sf2)); box-shadow: 0 8px 18px rgba(242,107,29,.35); }
.vl-id-name { margin: 0 0 4px; font-size: 1.3rem; font-weight: 900; overflow-wrap: anywhere; }
.vl-id-role { margin: 0; color: var(--mu); font-size: .86rem; }
.vl-id-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; padding: 10px 18px; font-size: .72rem; font-weight: 700; color: #8A6A44; background: #FFF6EA; border-top: 1px dashed #F0D3A8; }
.vl-steps-thx { max-width: 620px; margin: 0 auto 18px; }

@media (max-width: 960px) {
  .vl-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .vl-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vl-links { width: 100%; opacity: .3; }
}
@media (max-width: 760px) {
  .vl-hero { padding-bottom: 36px; }
  .vl-who { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .vl-who-c { flex-direction: row; justify-content: flex-start; text-align: left; padding: 10px; gap: 10px; }
  .vl-who-c span { width: 40px; height: 40px; font-size: 1.25rem; border-radius: 13px; flex: none; }
  .vl-who-c b { font-size: .8rem; }
  .vl-formcard { padding: 16px 14px 4px; border-radius: 22px; }
  .vl-two { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .vl-roles { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .vl-role { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 14px 14px 36px; }
  .vl-role-ic { width: 46px; height: 46px; font-size: 1.35rem; }
  .vl-role b { flex: 1 1 60%; }
  .vl-role small { flex-basis: 100%; }
  .vl-sec { padding: 40px 0; }
  .vl-share .vl-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .vl-bg i, .vl-links path, .vl-dots circle, .vl-formcard::before, .vl-tm, .vl-who-c, .vl-badge, .vl-idcard { animation: none !important; }
  .vl-tm { stroke-dashoffset: 0; }
  .vl-rv { opacity: 1; transform: none; }
}
.vl h1 small, .vl-fc-head h2, .vl-kick, .vl-tag, .vl-whoh small, .vl-id-top { font-family: 'FlagIN', 'Inter', 'Noto Sans Tamil', sans-serif; }

/* v4.29 — phones: the site's floating quiz / prize / join bars covered the form → hidden on this page (same as the AI Summit page) */
html.vl-page .bn-mbar, html.vl-page .qzf, html.vl-page .bnf { display: none !important; }
@media (max-width: 760px) {
  html.vl-page .to-top { display: none !important; }
  .vl-who-c { min-width: 0; }
  .vl-who-c b { min-width: 0; overflow-wrap: anywhere; font-size: .76rem; }
  .vl-formcard { scroll-margin-top: 70px; }
  .vl-mbar { bottom: max(10px, env(safe-area-inset-bottom)); }
}
@media (max-width: 760px) { .vl-hero .vl-lead span { display: none; } .vl-hero h1 { margin-top: 10px; } }

/* ===== 🪪 v4.29 — volunteer ID card (CR80 shape 85.6 × 54 mm), QR to the verify page, download / share ===== */
.vid-wrap { display: flex; justify-content: center; margin: 22px 0 14px; perspective: 1200px; }
.vid { position: relative; width: min(100%, 560px); aspect-ratio: 1.586; display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; text-align: left; color: #14213D;
  background: linear-gradient(160deg, #FFFFFF 0%, #FFFBF4 60%, #F6FBF7 100%); border: 1px solid #EADBC2;
  box-shadow: 0 30px 60px rgba(60,40,10,.22), 0 2px 0 rgba(255,255,255,.8) inset; animation: vidIn .9s cubic-bezier(.2,.9,.25,1.15) .15s both; }
@keyframes vidIn { from { opacity: 0; transform: rotateX(18deg) translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
.vid::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.55) 48%, transparent 60%); background-size: 260% 100%; animation: vidShine 5s ease-in-out 1.2s infinite; }
@keyframes vidShine { 0% { background-position: 130% 0; } 40%, 100% { background-position: -40% 0; } }
.vid-wm { position: absolute; right: -40px; bottom: -40px; width: 230px; height: 230px; background: center / contain no-repeat; opacity: .06; pointer-events: none; }
.vid-top { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: #fff; background: linear-gradient(100deg, #0B5132, #0F6B3E 45%, #138808); }
.vid-top img { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #fff; padding: 2px; box-shadow: 0 0 0 2px rgba(255,255,255,.5); object-fit: contain; }
.vid-top div { flex: 1; min-width: 0; line-height: 1.2; }
.vid-top b { display: block; font-size: 1.02rem; font-weight: 900; }
.vid-top small { display: block; font: 800 .6rem/1.3 'FlagIN', 'Inter', sans-serif; letter-spacing: .12em; color: #CDEFD9; }
.vid-uic { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; font: 900 1.02rem/1 'FlagIN', 'Inter', sans-serif; color: #0B5132; background: #FFE2A0; box-shadow: 0 6px 14px rgba(0,0,0,.2); }
.vid-uic { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.vid-top .vid-uic small { display: block; font: 900 .44rem/1 'FlagIN', 'Inter', sans-serif; letter-spacing: .1em; color: #0B5132; }
.vid-ttl { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 5px 16px; color: #3B1A00; background: linear-gradient(90deg, #FF9933, #FFC247); }
.vid-ttl span { font-size: .78rem; font-weight: 900; }
.vid-ttl b { font: 900 .66rem 'FlagIN', 'Inter', sans-serif; letter-spacing: .14em; }
.vid-body { position: relative; flex: 1; display: grid; grid-template-columns: 96px minmax(0, 1fr) 112px; gap: 14px; align-items: center; padding: 12px 16px 6px; }
.vid-av { position: relative; width: 96px; height: 118px; display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; background: #fff; border: 1px solid #F0DDC0; box-shadow: 0 10px 22px rgba(120,70,10,.14); }
.vid-sw { position: relative; flex: 1; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, #FFF8EC, #fff 70%); }
.vid-seal { width: 82px; height: 82px; filter: drop-shadow(0 4px 8px rgba(232,89,12,.25)); }
.vid-arc { font: 900 7.8px 'Inter', 'FlagIN', sans-serif; fill: #fff; }
.vid-star { font: 900 6px sans-serif; fill: #FFF3D6; }
.vid-dash { transform-origin: 50px 50px; animation: vidTurn 30s linear infinite; }
@keyframes vidTurn { to { transform: rotate(360deg); } }
.vid-ico { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.85rem; line-height: 1; }
.vid-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vid-av.has-photo .vid-seal, .vid-av.has-photo .vid-ico { display: none; }
.vid-rib { flex: none; padding: 4px 2px; text-align: center; font: 900 .54rem/1.2 'Inter', 'FlagIN', sans-serif; letter-spacing: .12em; color: #fff; background: linear-gradient(90deg, #0B5132, #19A55A); }
.vid-info { min-width: 0; }
.vid-name { margin: 0; font-size: 1.22rem; font-weight: 900; line-height: 1.2; overflow-wrap: anywhere; }
.vid-no { margin: 2px 0 6px; display: inline-block; font: 900 .82rem 'FlagIN', 'Inter', sans-serif; letter-spacing: .08em; color: #0F6B3E; background: #EAF6EE; border: 1px solid #CDE9D6; padding: 2px 8px; border-radius: 6px; }
.vid dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 8px; font-size: .74rem; line-height: 1.35; }
.vid-f { display: contents; }
.vid dt { color: #8A6A44; font-weight: 700; white-space: nowrap; }
.vid dd { margin: 0; font-weight: 800; color: #14213D; overflow-wrap: anywhere; }
.vid-qrw { text-align: center; }
.vid-qr { width: 104px; height: 104px; margin: 0 auto 4px; padding: 5px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px #E7DCCB; }
.vid-qr svg { display: block; width: 100%; height: 100%; }
.vid-qrw small { display: block; font-size: .56rem; line-height: 1.25; color: #6B7A90; font-weight: 700; }
.vid-foot { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 16px 12px; }
.vid-st { font: 900 .62rem/1.2 'FlagIN', 'Inter', 'Noto Sans Tamil', sans-serif; letter-spacing: .03em; padding: 4px 9px; border-radius: 999px; }
.vid-st.ok { color: #fff; background: linear-gradient(90deg, #0F6B3E, #19A55A); box-shadow: 0 4px 10px rgba(15,107,62,.3); }
.vid-st.reg { color: #7A4A00; background: #FFF1D6; border: 1px solid #F8D49A; }
.vid-st.off { color: #fff; background: #9B2C12; }
.vid-valid { font: 800 .64rem 'FlagIN', 'Inter', sans-serif; color: #6B5A48; }
.vid-tri { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, #FF9933 0 33.3%, #fff 33.3% 66.6%, #138808 66.6%); }
.vid-inactive .vid-body, .vid-inactive .vid-top { filter: grayscale(.85); }
.vid-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 6px 0 10px; }
.vid-note { max-width: 560px; margin: 6px auto 0; font-size: .82rem; color: #6B5A48; line-height: 1.6; }
.vid-check { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; margin: 0 0 4px; padding: 12px 20px; border-radius: 16px; }
.vid-check span { font-size: 2rem; line-height: 1; }
.vid-check b { font-size: 1.1rem; }
.vid-check small { font-size: .78rem; color: #475569; }
.vid-check-ok { background: #EAF6EE; border: 1.5px solid #A7DDB8; color: #0F6B3E; }
.vid-check-reg { background: #FFF6E4; border: 1.5px solid #F8D49A; color: #8A4A0E; }
.vid-check-off { background: #FDECEA; border: 1.5px solid #F2B8B2; color: #9B2C12; }
@media (max-width: 560px) {
  /* phones: an upright ID card — seal + name side by side, details as tiles, QR, status (stays tidy on narrow phones and with large text) */
  .vid { aspect-ratio: auto; border-radius: 16px; }
  .vid-top { padding: 10px 12px; gap: 9px; } .vid-top img { width: 38px; height: 38px; }
  .vid-top b { font-size: clamp(.72rem, 3.6vw, .9rem); line-height: 1.25; text-wrap: balance; }   /* the full name always — wraps only with very large phone text */
  .vid-top small { font-size: clamp(.42rem, 2vw, .52rem); letter-spacing: .06em; }
  .vid-uic { width: 42px; height: 42px; font-size: .82rem; border-radius: 11px; }
  .vid-top .vid-uic small { font-size: min(.4rem, 7px); }
  .vid-ttl { padding: 5px 12px; gap: 0 8px; flex-wrap: wrap; } .vid-ttl b { margin-left: auto; } .vid-ttl span { font-size: clamp(.6rem, 3.2vw, .7rem); white-space: nowrap; } .vid-ttl b { font-size: clamp(.44rem, 2.3vw, .54rem); letter-spacing: .08em; white-space: nowrap; }
  .vid-body { grid-template-columns: 84px minmax(0, 1fr); grid-template-areas: "av name" "av no" "dl dl" "qr qr"; gap: 6px 12px; padding: 12px 12px 4px; align-items: center; }
  .vid-info { display: contents; }
  .vid-av { grid-area: av; width: 84px; height: 104px; border-radius: 12px; } .vid-seal { width: 70px; height: 70px; } .vid-ico { font-size: min(1.55rem, 26px); } .vid-rib { font-size: min(.5rem, 8px); letter-spacing: .06em; }
  .vid-name { grid-area: name; align-self: end; font-size: 1.08rem; line-height: 1.25; }
  .vid-no { grid-area: no; align-self: start; justify-self: start; margin: 2px 0 0; }
  .vid dl { grid-area: dl; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-auto-flow: row dense; gap: 8px 12px; margin-top: 6px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.78); border: 1px solid #F0E3CE; font-size: inherit; }
  .vid-f { display: block; min-width: 0; }
  .vid-f-role, .vid-f-org { grid-column: 1 / -1; }
  .vid dt { font-size: .62rem; line-height: 1.3; white-space: normal; }
  .vid dd { font-size: .82rem; line-height: 1.35; }
  .vid-qrw { grid-area: qr; display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 4px; }
  .vid-qr { width: 92px; height: 92px; margin: 0; }
  .vid-qrw small { text-align: left; font-size: .64rem; }
  .vid-foot { padding: 8px 12px 14px; flex-wrap: wrap; gap: 6px; }
  .vid-st { white-space: normal; }
  .vid-valid { margin-left: auto; font-size: .6rem; }
  .vid-btns .vl-btn { flex: 1 1 100%; }
}
@media (max-width: 400px) { .vid-top .vid-uic { display: none; } }
/* v4.32 — phones: the card keeps fixed sizes (like a printed card), so a large phone text setting can no longer squeeze or break it */
@media (max-width: 560px) {
  .vid-top b { font-size: clamp(11px, 3.6vw, 14px); line-height: 1.25; }
  .vid-top small { font-size: clamp(6.5px, 2vw, 8.5px); }
  .vid-top .vid-uic { font-size: 13px; } .vid-top .vid-uic small { font-size: 6.5px; }
  .vid-ttl span { font-size: clamp(10px, 3.2vw, 11.5px); } .vid-ttl b { font-size: clamp(7px, 2.3vw, 8.6px); }
  .vid-name { font-size: clamp(15px, 4.8vw, 18px); overflow-wrap: break-word; }
  .vid-no { font-size: 12.5px; }
  .vid dt { font-size: 10px; } .vid dd { font-size: 13.5px; overflow-wrap: break-word; }
  .vid-qrw small { font-size: 10.5px; }
  .vid-st { font-size: 10px; } .vid-valid { font-size: 9.5px; }
  .vid-ico { font-size: 24px; } .vid-rib { font-size: 8px; }
}   /* narrow phones: room for the organisation's full name (the seal already says UI CONNECT) */
@media (prefers-reduced-motion: reduce) { .vid, .vid::after, .vid-dash { animation: none !important; } }
@media print { .vid { animation: none; box-shadow: none; } .vid::after { display: none; } }
/* v4.29 — options: tick / circle on the left, the words in their own column (long lines no longer run under the box) */
.vl .sjm-form label.choice { display: flex; align-items: flex-start; gap: 10px; }
.vl .sjm-form label.choice input { flex: none; margin: 3px 0 0; }
.vl .sjm-form label.choice > span { flex: 1; min-width: 0; }

/* 📷 v4.29 — “add your photo” (stays on the phone) */
.vid-photo-btn { position: relative; }
.vid-photo-btn input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.vid-photo-x { border: 0; background: none; color: #9B2C12; font-weight: 800; font-size: .82rem; cursor: pointer; text-decoration: underline; padding: 4px 6px; }
