
:root{
  --kb-navy:#102b4e;
  --kb-navy-2:#071b33;
  --kb-teal:#0b9d9a;
  --kb-gold:#f2b544;
  --kb-cream:#fff7e7;
  --kb-maroon:#9d2a25;
}
.kb-udaan-root,.kb-udaan-root *,.kb-udaan-banner,.kb-udaan-banner *{box-sizing:border-box}
.kb-udaan-fab{
  position:fixed;right:190px;bottom:22px;z-index:1000002;border:0;border-radius:999px;
  padding:10px 16px 10px 11px;display:flex;align-items:center;gap:10px;cursor:pointer;
  color:#fff;background:linear-gradient(135deg,var(--kb-navy),#174b76 58%,var(--kb-teal));
  box-shadow:0 10px 30px rgba(7,27,51,.28),0 0 0 3px rgba(242,181,68,.25);
  transition:transform .2s ease,box-shadow .2s ease;font-family:inherit
}
.kb-udaan-fab:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(7,27,51,.35),0 0 0 4px rgba(242,181,68,.3)}
.kb-udaan-fab-gift{font-size:26px;animation:kbGift 2.1s ease-in-out infinite}
.kb-udaan-fab-copy{display:flex;flex-direction:column;text-align:left;line-height:1.08}
.kb-udaan-fab-copy strong{font-size:14px;letter-spacing:.1px}
.kb-udaan-fab-copy small{font-size:10px;opacity:.82;margin-top:3px}
@keyframes kbGift{0%,100%{transform:rotate(0) scale(1)}25%{transform:rotate(-8deg) scale(1.06)}50%{transform:rotate(8deg) scale(1.08)}75%{transform:rotate(-4deg) scale(1.04)}}
.kb-udaan-overlay{
  position:fixed;inset:0;z-index:2147483000;pointer-events:auto;background:rgba(4,17,31,.72);
  backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);
  display:flex;align-items:center;justify-content:center;padding:18px;overflow:auto
}
.kb-udaan-overlay[hidden]{display:none!important}
.kb-udaan-modal{
  width:min(560px,100%);position:relative;overflow:hidden;pointer-events:auto;border-radius:26px;padding:26px 22px 22px;
  background:
    radial-gradient(circle at 12% 10%,rgba(242,181,68,.17),transparent 25%),
    radial-gradient(circle at 90% 18%,rgba(11,157,154,.16),transparent 26%),
    linear-gradient(180deg,#fffdf8 0%,#fff6df 100%);
  box-shadow:0 25px 80px rgba(0,0,0,.35);
  border:1px solid rgba(242,181,68,.48);
  font-family:inherit;color:var(--kb-navy)
}
.kb-udaan-modal:before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.18;
  background-image:radial-gradient(circle at 20% 20%,var(--kb-gold) 0 1px,transparent 1.4px),radial-gradient(circle at 75% 65%,var(--kb-teal) 0 1px,transparent 1.3px);
  background-size:28px 28px,34px 34px
}
.kb-udaan-close{
  position:absolute;right:12px;top:10px;width:36px;height:36px;border-radius:50%;border:0;
  background:rgba(16,43,78,.08);color:var(--kb-navy);font-size:27px;line-height:1;cursor:pointer;z-index:5
}
.kb-udaan-top{text-align:center;position:relative;z-index:2;padding:4px 32px 8px}
.kb-udaan-eyebrow{font-size:11px;font-weight:800;letter-spacing:2px;color:var(--kb-maroon);margin-bottom:7px}
.kb-udaan-top h2{font-size:26px;line-height:1.15;margin:0;color:var(--kb-navy);font-weight:800}
.kb-udaan-top h2 span{color:var(--kb-teal)}
.kb-udaan-top p{margin:8px 0 0;font-size:13px;color:#536275}
.kb-udaan-kite{position:absolute;width:34px;height:34px;z-index:1;opacity:.9}
.kb-udaan-kite span{position:absolute;inset:4px;background:linear-gradient(135deg,var(--kb-gold) 0 50%,var(--kb-maroon) 50%);transform:rotate(45deg);border-radius:3px}
.kb-udaan-kite:after{content:"";position:absolute;left:16px;top:30px;width:1px;height:58px;background:linear-gradient(var(--kb-navy),transparent);transform:rotate(22deg);transform-origin:top}
.kb-udaan-kite-left{left:22px;top:33px;transform:rotate(-10deg);animation:kbFloatL 3.7s ease-in-out infinite}
.kb-udaan-kite-right{right:30px;top:72px;transform:scale(.78) rotate(10deg);animation:kbFloatR 4.2s ease-in-out infinite}
@keyframes kbFloatL{50%{transform:translate(5px,-8px) rotate(-5deg)}}
@keyframes kbFloatR{50%{transform:translate(-6px,8px) scale(.78) rotate(17deg)}}
.kb-udaan-audio-wrap{text-align:center;margin:4px 0 10px;position:relative;z-index:3}
.kb-udaan-audio-btn{
  border:1px solid rgba(16,43,78,.14);border-radius:999px;background:#fff;color:var(--kb-navy);
  padding:7px 12px;font-size:11px;font-weight:700;cursor:pointer;box-shadow:0 4px 13px rgba(16,43,78,.08)
}
.kb-udaan-audio-btn.is-playing{background:var(--kb-navy);color:#fff}
.kb-udaan-card-shell{
  position:relative;width:100%;aspect-ratio:720/410;border-radius:22px;overflow:hidden;
  box-shadow:0 12px 32px rgba(16,43,78,.15);border:2px solid rgba(242,181,68,.54);
  background:#fff;z-index:2
}
.kb-udaan-reveal{
  position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:24px;background:
  radial-gradient(circle at 50% 0,rgba(242,181,68,.28),transparent 42%),
  linear-gradient(145deg,#fffdf8,#fff2cd)
}
.kb-udaan-reveal:after{
  content:"";position:absolute;inset:8px;border:1px dashed rgba(16,43,78,.2);border-radius:16px;pointer-events:none
}
.kb-udaan-result-icon{font-size:38px;margin-bottom:7px}
.kb-udaan-result-title{font-size:28px;line-height:1.08;font-weight:900;color:var(--kb-navy);max-width:94%}
.kb-udaan-result-subtitle{font-size:15px;line-height:1.32;color:var(--kb-teal);font-weight:800;margin-top:7px;max-width:92%}
.kb-udaan-code-wrap{
  margin-top:15px;padding:7px 13px;border-radius:10px;background:rgba(16,43,78,.08);display:flex;gap:8px;align-items:center
}
.kb-udaan-code-wrap[hidden]{display:none!important}
.kb-udaan-code-wrap span{font-size:9px;letter-spacing:1.4px;font-weight:800;color:#667285}
.kb-udaan-code-wrap strong{font-size:13px;letter-spacing:1.1px}
.kb-udaan-canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair;z-index:3}
.kb-udaan-progress-row{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:11px;color:#667285;margin:9px 2px 0;position:relative;z-index:2}
.kb-udaan-progress-row strong{color:var(--kb-teal)}
.kb-udaan-actions{text-align:center;margin-top:13px;position:relative;z-index:2}
.kb-udaan-actions[hidden]{display:none!important}
.kb-udaan-whatsapp{
  display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;color:#fff!important;
  background:#1f9d55;border-radius:999px;padding:12px 20px;font-size:14px;font-weight:800;
  box-shadow:0 8px 20px rgba(31,157,85,.25);transition:transform .2s ease
}
.kb-udaan-whatsapp:hover{transform:translateY(-2px);color:#fff}
.kb-udaan-actions p{font-size:11px;line-height:1.45;color:#596779;margin:10px auto 0;max-width:470px}
.kb-udaan-contact{font-weight:700!important}
.kb-udaan-contact a{color:var(--kb-navy);text-decoration:none}
.kb-udaan-locked{text-align:center;margin:12px auto 0;padding:10px 14px;background:rgba(157,42,37,.06);border-radius:12px;position:relative;z-index:2}
.kb-udaan-locked[hidden]{display:none!important}
.kb-udaan-locked strong{display:block;font-size:11px;color:var(--kb-maroon)}
.kb-udaan-locked span{display:block;font-size:18px;font-weight:900;color:var(--kb-navy);margin-top:3px;letter-spacing:1px}
.kb-udaan-validity{text-align:center;margin-top:13px;position:relative;z-index:2}
.kb-udaan-validity strong{display:block;font-size:11px;color:var(--kb-maroon)}
.kb-udaan-validity small{display:block;font-size:9px;line-height:1.4;color:#7a8390;margin:6px auto 0;max-width:480px}
.kb-udaan-expired{text-align:center;margin-top:12px;padding:12px;border-radius:12px;background:#f5e8e7;color:var(--kb-maroon);position:relative;z-index:2}
.kb-udaan-expired[hidden]{display:none!important}
.kb-udaan-banner{
  margin:18px auto;padding:16px 18px;border-radius:18px;display:flex;align-items:center;justify-content:space-between;gap:16px;
  background:linear-gradient(120deg,var(--kb-navy),#174b76 62%,var(--kb-teal));color:#fff;
  box-shadow:0 12px 30px rgba(16,43,78,.18);overflow:hidden;position:relative
}
.kb-udaan-banner:after{content:"🪁";position:absolute;right:130px;top:-5px;font-size:48px;opacity:.16;transform:rotate(12deg)}
.kb-udaan-banner-copy{display:flex;flex-direction:column;gap:2px;position:relative;z-index:2}
.kb-udaan-banner-copy span{font-size:10px;font-weight:800;letter-spacing:1.6px;color:#ffdf8b}
.kb-udaan-banner-copy strong{font-size:18px;line-height:1.2}
.kb-udaan-banner-copy small{font-size:11px;opacity:.8}
.kb-udaan-banner-btn{
  border:0;border-radius:999px;background:var(--kb-gold);color:var(--kb-navy);padding:10px 16px;
  font-weight:900;font-size:12px;cursor:pointer;white-space:nowrap;position:relative;z-index:2
}
body.kb-udaan-no-scroll{overflow:hidden}
@media(max-width:600px){
  .kb-udaan-fab{right:13px!important;bottom:16px!important;padding:9px 13px 9px 10px}
  .kb-udaan-fab-gift{font-size:22px}
  .kb-udaan-fab-copy strong{font-size:12px}.kb-udaan-fab-copy small{font-size:9px}
  .kb-udaan-overlay{padding:10px;align-items:center}
  .kb-udaan-modal{border-radius:22px;padding:22px 14px 16px;max-height:95vh;overflow:auto}
  .kb-udaan-top h2{font-size:22px}.kb-udaan-top p{font-size:12px}
  .kb-udaan-kite-left{left:12px;top:32px;transform:scale(.78)}.kb-udaan-kite-right{right:15px;top:70px}
  .kb-udaan-result-icon{font-size:31px}
  .kb-udaan-result-title{font-size:22px}
  .kb-udaan-result-subtitle{font-size:13px}
  .kb-udaan-banner{flex-direction:column;align-items:flex-start}
  .kb-udaan-banner-btn{width:100%}
}
@media(prefers-reduced-motion:reduce){
  .kb-udaan-fab-gift,.kb-udaan-kite{animation:none!important}
}

/* v1.0.1 desktop conflict fix: keep Udaan separate from the existing Festive Vibes control */
#kb-udaan-fab{pointer-events:auto!important}
#kb-udaan-overlay{isolation:isolate}
@media (min-width: 769px){
  .kb-udaan-fab{
    right:190px!important;
    bottom:22px!important;
  }
}


/* v1.0.3 floating controls: music on left, offer on right */
@media (min-width:769px){
  #kb-udaan-fab{
    right:20px!important;
    left:auto!important;
    bottom:22px!important;
  }
  .kb-udaan-site-music-left{
    position:fixed!important;
    left:20px!important;
    right:auto!important;
    bottom:22px!important;
    z-index:1000001!important;
  }
}
@media (max-width:768px){
  #kb-udaan-fab{
    right:13px!important;
    left:auto!important;
    bottom:16px!important;
  }
  .kb-udaan-site-music-left{
    left:13px!important;
    right:auto!important;
    bottom:16px!important;
    z-index:1000001!important;
  }
}

/* Claim details before WhatsApp */
.kb-udaan-claim-form{
  max-width:470px;
  margin:0 auto 10px;
  padding:13px;
  border:1px solid rgba(16,43,78,.10);
  border-radius:15px;
  background:rgba(255,255,255,.82);
}
.kb-udaan-claim-heading{
  font-size:13px;
  font-weight:900;
  color:var(--kb-navy);
  margin-bottom:9px;
}
.kb-udaan-fields{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
  text-align:left;
}
.kb-udaan-fields label span{
  display:block;
  font-size:9px;
  font-weight:800;
  color:#596779;
  margin:0 0 4px 3px;
  letter-spacing:.2px;
}
.kb-udaan-fields input{
  width:100%;
  min-height:39px;
  border:1px solid rgba(16,43,78,.16);
  border-radius:10px;
  background:#fff;
  color:var(--kb-navy);
  padding:8px 10px;
  outline:none;
  font:inherit;
  font-size:12px;
  box-shadow:none;
}
.kb-udaan-fields input:focus{
  border-color:var(--kb-teal);
  box-shadow:0 0 0 3px rgba(11,157,154,.10);
}
.kb-udaan-form-error{
  margin:7px 0 0;
  font-size:10px;
  line-height:1.35;
  color:var(--kb-maroon);
  font-weight:700;
}
.kb-udaan-form-error[hidden]{display:none!important}
.kb-udaan-privacy{
  display:block;
  font-size:8.5px;
  color:#7a8390;
  margin-top:7px;
  line-height:1.35;
}
.kb-udaan-whatsapp{
  border:0;
  cursor:pointer;
  margin-top:10px;
}
@media(max-width:500px){
  .kb-udaan-fields{grid-template-columns:1fr}
}

/* subtle teaser transition */
#kb-udaan-fab-teaser{
  transition:opacity .18s ease,transform .18s ease;
}
#kb-udaan-fab-teaser.kb-changing{
  opacity:0;
  transform:translateY(3px);
}


/* v1.0.4 shareable campaign */
.kb-udaan-share-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:10px;
  position:relative;
  z-index:2;
  min-height:34px;
}
.kb-udaan-share-btn{
  border:1px solid rgba(16,43,78,.16);
  border-radius:999px;
  background:#fff;
  color:var(--kb-navy);
  padding:8px 13px;
  font-size:10.5px;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 4px 12px rgba(16,43,78,.06);
  transition:transform .18s ease,background .18s ease,color .18s ease;
}
.kb-udaan-share-btn:hover{
  transform:translateY(-1px);
  background:var(--kb-navy);
  color:#fff;
}
.kb-udaan-share-status{
  font-size:9px;
  font-weight:700;
  color:var(--kb-teal);
}


/* v1.0.5 compact desktop modal + always-visible close */
.kb-udaan-overlay{
  align-items:flex-start!important;
  padding:16px!important;
  overflow:auto!important;
}
.kb-udaan-modal{
  width:min(760px, calc(100vw - 32px))!important;
  max-height:calc(100vh - 32px)!important;
  overflow:auto!important;
  margin:auto!important;
  border-radius:24px!important;
  padding:18px 20px 16px!important;
  scrollbar-width:thin;
}
.kb-udaan-close{
  position:sticky!important;
  top:0!important;
  float:right!important;
  margin:-3px -3px 0 8px!important;
  z-index:2147483005!important;
  width:38px!important;
  height:38px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#102b4e!important;
  color:#fff!important;
  box-shadow:0 4px 14px rgba(16,43,78,.25)!important;
}
.kb-udaan-top{
  padding:0 48px 4px!important;
}
.kb-udaan-top h2{
  font-size:24px!important;
}
.kb-udaan-top p{
  margin-top:5px!important;
}
.kb-udaan-audio-wrap{
  margin:2px 0 7px!important;
}
.kb-udaan-card-shell{
  max-width:700px;
  margin:0 auto;
  aspect-ratio: 700 / 300!important;
  border-radius:18px!important;
}
.kb-udaan-result-icon{
  font-size:30px!important;
  margin-bottom:3px!important;
}
.kb-udaan-result-title{
  font-size:25px!important;
}
.kb-udaan-result-subtitle{
  font-size:14px!important;
  margin-top:4px!important;
}
.kb-udaan-code-wrap{
  margin-top:9px!important;
}
.kb-udaan-progress-row{
  max-width:700px;
  margin:6px auto 0!important;
}
.kb-udaan-actions{
  margin-top:9px!important;
}
.kb-udaan-claim-form{
  max-width:700px!important;
  padding:10px 12px!important;
  margin-bottom:6px!important;
}
.kb-udaan-validity{
  margin-top:8px!important;
}
.kb-udaan-share-row{
  margin-top:7px!important;
}
.kb-udaan-actions p{
  margin-top:6px!important;
}
@media(max-width:768px){
  .kb-udaan-overlay{
    padding:8px!important;
  }
  .kb-udaan-modal{
    width:100%!important;
    max-height:calc(100vh - 16px)!important;
    border-radius:20px!important;
    padding:14px 12px 14px!important;
  }
  .kb-udaan-close{
    width:36px!important;
    height:36px!important;
  }
  .kb-udaan-top{
    padding:0 36px 5px!important;
  }
  .kb-udaan-card-shell{
    aspect-ratio:720/410!important;
  }
  .kb-udaan-result-title{
    font-size:21px!important;
  }
  .kb-udaan-result-subtitle{
    font-size:12.5px!important;
  }
}


/* =========================
   KB EDUCATION UDAN OFFER v2
   ========================= */
.kb-game-modal{max-width:900px!important}
.kb-udan-steps{display:flex;align-items:center;justify-content:center;gap:7px;margin:4px auto 12px;position:relative;z-index:3}
.kb-udan-steps span{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#e7edf2;color:#728093;font-size:10px;font-weight:900;transition:.2s}
.kb-udan-steps span.is-active{background:var(--kb-teal);color:#fff;box-shadow:0 0 0 4px rgba(11,157,154,.12)}
.kb-udan-steps span.is-done{background:var(--kb-navy);color:#fff}
.kb-udan-steps i{width:35px;height:2px;background:#dde5ea}
.kb-game-step{position:relative;z-index:2;animation:kbStepIn .35s ease}
.kb-game-step[hidden]{display:none!important}
@keyframes kbStepIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.kb-step-heading{text-align:center;margin:0 auto 13px}
.kb-step-kicker{display:inline-block;font-size:9px;font-weight:900;letter-spacing:1.8px;color:var(--kb-maroon);margin-bottom:3px}
.kb-step-heading h3,.kb-congrats-wrap h3{font-size:24px;line-height:1.15;margin:0;color:var(--kb-navy)}
.kb-step-heading p,.kb-congrats-wrap p{font-size:11px;color:#6d7886;margin:5px 0 0}
.kb-kite-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:700px;margin:0 auto}
.kb-kite-choice{border:1px solid rgba(16,43,78,.11);border-radius:18px;background:#fff;padding:18px 12px 13px;cursor:pointer;transition:.2s;box-shadow:0 7px 18px rgba(16,43,78,.06);color:var(--kb-navy)}
.kb-kite-choice:hover,.kb-kite-choice.is-selected{transform:translateY(-4px);border-color:var(--kb-teal);box-shadow:0 12px 25px rgba(16,43,78,.13)}
.kb-kite-choice.is-selected{background:#f2fffd;box-shadow:0 0 0 3px rgba(11,157,154,.12)}
.kb-kite-choice strong{display:block;font-size:13px;margin-top:8px}.kb-kite-choice small{font-size:9px;color:#7a8490}
.kb-kite-art{display:block;width:70px;height:70px;margin:0 auto;transform:rotate(45deg);border-radius:7px;position:relative;box-shadow:0 7px 15px rgba(0,0,0,.11)}
.kb-kite-art:after{content:"";position:absolute;width:1px;height:65px;background:linear-gradient(#6c7887,transparent);left:68px;top:68px;transform:rotate(-18deg);transform-origin:top}
.kb-kite-teal{background:linear-gradient(135deg,#0b9d9a 0 50%,#102b4e 50%)}
.kb-kite-gold{background:linear-gradient(135deg,#f2b544 0 50%,#9d2a25 50%)}
.kb-kite-red{background:linear-gradient(135deg,#9d2a25 0 50%,#f2b544 50%)}
.kb-step-message{max-width:700px;margin:12px auto 0;text-align:center;padding:9px 12px;border-radius:12px;background:rgba(11,157,154,.07);font-size:11px;color:var(--kb-navy)}
.kb-next-btn{display:block;margin:12px auto 0;border:0;border-radius:999px;padding:11px 19px;background:var(--kb-navy);color:#fff;font-size:12px;font-weight:900;cursor:pointer;box-shadow:0 8px 20px rgba(16,43,78,.16)}
.kb-next-btn:disabled{opacity:.38;cursor:not-allowed;box-shadow:none}
.kb-three-scratch{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.kb-mini-scratch-card{position:relative;aspect-ratio:1.42;border-radius:18px;overflow:hidden;border:1px solid rgba(16,43,78,.12);background:linear-gradient(145deg,#fffdf8,#fff1c9);box-shadow:0 10px 24px rgba(16,43,78,.09)}
.kb-main-offer-card{border-color:rgba(242,181,68,.8);box-shadow:0 12px 28px rgba(242,181,68,.14)}
.kb-mini-label{position:absolute;top:9px;left:10px;z-index:2;font-size:8px;font-weight:900;letter-spacing:1px;color:var(--kb-maroon);background:rgba(255,255,255,.75);padding:4px 7px;border-radius:999px}
.kb-mini-result{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px 10px 10px}
.kb-mini-result span{font-size:29px;margin-bottom:5px}.kb-mini-result strong{font-size:16px;line-height:1.1;color:var(--kb-navy);max-width:90%}.kb-mini-result small{font-size:9.5px;color:var(--kb-teal);font-weight:700;margin-top:5px;max-width:88%}
.kb-mini-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:3;touch-action:none;cursor:crosshair}
.kb-card-lock{position:absolute;inset:0;z-index:5;display:grid;place-items:center;background:rgba(255,255,255,.68);backdrop-filter:blur(2px);font-size:28px}
.kb-congrats-wrap{text-align:center;padding:18px 10px 8px;position:relative;overflow:hidden}
.kb-congrats-icon{font-size:48px;animation:kbPop 1.2s ease infinite alternate}.kb-congrats-label{font-size:13px;font-weight:900;letter-spacing:2px;color:var(--kb-maroon);margin:5px 0}
@keyframes kbPop{from{transform:scale(1)}to{transform:scale(1.08)}}
.kb-plane-run{font-size:34px;margin:17px 0 8px;animation:kbPlane 2.1s ease-in-out infinite}
@keyframes kbPlane{0%{transform:translateX(-90px) rotate(-3deg);opacity:.35}50%{opacity:1}100%{transform:translateX(90px) rotate(3deg);opacity:.35}}
.kb-boarding-pass{display:grid;grid-template-columns:1fr 180px;max-width:760px;margin:0 auto 12px;background:#fff;border-radius:20px;overflow:hidden;border:1px solid rgba(16,43,78,.11);box-shadow:0 12px 28px rgba(16,43,78,.10)}
.kb-pass-main{padding:17px 18px;background:linear-gradient(135deg,#fff,#f2fffd)}
.kb-pass-brand{display:flex;align-items:flex-end;justify-content:space-between;border-bottom:1px dashed rgba(16,43,78,.18);padding-bottom:9px;margin-bottom:11px}
.kb-pass-brand span{font-size:10px;font-weight:900;color:var(--kb-navy)}.kb-pass-brand strong{font-size:22px;color:var(--kb-teal)}
.kb-pass-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px}.kb-pass-grid div{min-width:0}.kb-pass-grid small,.kb-pass-stub small{display:block;font-size:7.5px;letter-spacing:1px;font-weight:900;color:#8190a0;margin-bottom:3px}.kb-pass-grid strong{display:block;font-size:12px;color:var(--kb-navy);line-height:1.2}.kb-pass-offer{grid-column:1/-1;padding-top:8px;border-top:1px solid rgba(16,43,78,.08)}.kb-pass-offer strong{font-size:15px;color:var(--kb-maroon)}
.kb-pass-stub{background:var(--kb-navy);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:16px;border-left:2px dashed rgba(255,255,255,.4)}.kb-pass-stub small{color:#9ec0d7}.kb-pass-stub strong{font-size:18px;letter-spacing:1.2px}.kb-pass-stub span{font-size:8px;margin-top:7px;opacity:.7}
.kb-confetti{position:absolute;width:7px;height:11px;border-radius:2px;z-index:100;pointer-events:none;transition:transform .95s cubic-bezier(.16,.75,.27,1),opacity .95s}
@media(max-width:760px){
 .kb-kite-grid{grid-template-columns:repeat(3,1fr);gap:7px}.kb-kite-choice{padding:13px 5px 10px}.kb-kite-art{width:48px;height:48px}.kb-kite-art:after{left:47px;top:47px;height:42px}.kb-kite-choice strong{font-size:10px}.kb-kite-choice small{font-size:7.5px}
 .kb-three-scratch{grid-template-columns:1fr;gap:9px}.kb-mini-scratch-card{aspect-ratio:2.05;max-height:155px}.kb-mini-result strong{font-size:14px}
 .kb-boarding-pass{grid-template-columns:1fr}.kb-pass-stub{border-left:0;border-top:2px dashed rgba(255,255,255,.4);min-height:95px}.kb-pass-grid{grid-template-columns:1fr 1fr}
 .kb-step-heading h3,.kb-congrats-wrap h3{font-size:20px}
}


/* v2.0.1 stronger final claim messaging */
.kb-udan-branch-note{
  margin:10px auto 0!important;
  max-width:720px!important;
  padding:10px 12px!important;
  border-radius:12px!important;
  background:rgba(11,157,154,.08)!important;
  color:var(--kb-navy)!important;
  line-height:1.45!important;
}
.kb-udan-branch-note strong{
  color:var(--kb-navy)!important;
}


/* v2.0.2 — one mobile number = one participation */
.kb-udan-entry-gate{
  max-width:620px;
  margin:0 auto 14px;
  padding:15px 16px;
  border:1px solid rgba(16,43,78,.11);
  border-radius:17px;
  background:rgba(255,255,255,.90);
  box-shadow:0 8px 22px rgba(16,43,78,.07);
  text-align:center;
}
.kb-udan-entry-gate[hidden],.kb-kite-area[hidden]{display:none!important}
.kb-entry-title{
  font-size:15px;
  font-weight:900;
  color:var(--kb-navy);
}
.kb-udan-entry-gate>p{
  margin:5px 0 10px;
  font-size:10.5px;
  line-height:1.4;
  color:#697786;
}
.kb-entry-start{margin-top:10px!important}
.kb-udan-entry-gate>small{
  display:block;
  margin-top:8px;
  font-size:8.5px;
  line-height:1.35;
  color:#7b8794;
}
.kb-entry-error{
  max-width:520px;
  margin:9px auto 0;
  padding:8px 10px;
  border-radius:9px;
  background:rgba(157,42,37,.07);
  color:var(--kb-maroon);
  font-size:10px;
  font-weight:800;
}
.kb-entry-error[hidden]{display:none!important}
.kb-udaan-fields input[readonly]{
  background:#f4f7f8!important;
  color:#4f5f70!important;
  cursor:not-allowed;
}


/* v2.0.3 — Compact Festive Vibes control on mobile */
.kb-udaan-site-music-left{
  width:max-content!important;
  min-width:0!important;
  max-width:calc(100vw - 150px)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  white-space:nowrap!important;
  padding-left:12px!important;
  padding-right:12px!important;
  box-sizing:border-box!important;
}

@media(max-width:768px){
  .kb-udaan-site-music-left{
    width:max-content!important;
    min-width:0!important;
    max-width:calc(100vw - 155px)!important;
    left:12px!important;
    right:auto!important;
    bottom:16px!important;
    padding:9px 12px!important;
    line-height:1!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  /* Prevent inherited full-width wrapper/button rules from stretching the pill */
  .kb-udaan-site-music-left,
  .kb-udaan-site-music-left button,
  .kb-udaan-site-music-left a{
    min-width:0!important;
  }
}

@media(max-width:390px){
  .kb-udaan-site-music-left{
    max-width:145px!important;
    padding:8px 10px!important;
    font-size:11px!important;
  }
}


/* v2.0.4 — FINAL floating-control separation + clickability */
html body #kb-udaan-fab{
  position:fixed!important;
  right:16px!important;
  left:auto!important;
  bottom:18px!important;
  width:max-content!important;
  min-width:0!important;
  max-width:calc(50vw - 24px)!important;
  z-index:2147482001!important;
  pointer-events:auto!important;
  touch-action:manipulation!important;
  cursor:pointer!important;
  isolation:isolate!important;
}

html body .kb-udaan-site-music-left{
  position:fixed!important;
  left:16px!important;
  right:auto!important;
  bottom:18px!important;
  width:max-content!important;
  min-width:0!important;
  max-width:calc(50vw - 24px)!important;
  z-index:2147482000!important;
  pointer-events:auto!important;
  touch-action:manipulation!important;
  cursor:pointer!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
}

/* Children should never create a dead click layer. */
html body #kb-udaan-fab *{
  pointer-events:none!important;
}

/* The actual music control remains the click target. */
html body .kb-udaan-site-music-left *{
  pointer-events:none!important;
}

@media(max-width:768px){
  html body #kb-udaan-fab{
    right:12px!important;
    left:auto!important;
    bottom:14px!important;
    max-width:calc(50vw - 18px)!important;
  }

  html body .kb-udaan-site-music-left{
    left:12px!important;
    right:auto!important;
    bottom:14px!important;
    width:max-content!important;
    max-width:calc(50vw - 18px)!important;
    min-width:0!important;
    padding-left:10px!important;
    padding-right:10px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
}

@media(max-width:390px){
  html body #kb-udaan-fab{
    max-width:calc(50vw - 15px)!important;
  }
  html body .kb-udaan-site-music-left{
    max-width:calc(50vw - 15px)!important;
    font-size:11px!important;
  }
}


/* v2.0.5 — flying changa + scratch reliability polish */
.kb-udan-flying-kites{
  position:absolute;
  inset:0;
  overflow:hidden;
  pointer-events:none!important;
  z-index:1;
}
.kb-fly-kite{
  position:absolute;
  width:26px;
  height:26px;
  transform:rotate(45deg);
  border-radius:3px;
  opacity:.42;
  filter:drop-shadow(0 5px 7px rgba(16,43,78,.10));
  pointer-events:none!important;
}
.kb-fly-kite:after{
  content:"";
  position:absolute;
  left:24px;
  top:24px;
  width:1px;
  height:58px;
  background:linear-gradient(rgba(16,43,78,.52),transparent);
  transform:rotate(-24deg);
  transform-origin:top;
}
.kb-fly-kite-1{
  left:-35px;top:18%;
  background:linear-gradient(135deg,#f2b544 0 50%,#9d2a25 50%);
  animation:kbKiteFlyA 12s linear infinite;
}
.kb-fly-kite-2{
  right:-35px;top:34%;
  background:linear-gradient(135deg,#0b9d9a 0 50%,#f2b544 50%);
  animation:kbKiteFlyB 14s linear 1.5s infinite;
}
.kb-fly-kite-3{
  left:-42px;top:68%;
  width:20px;height:20px;
  background:linear-gradient(135deg,#102b4e 0 50%,#0b9d9a 50%);
  animation:kbKiteFlyA 17s linear 4s infinite;
}
.kb-fly-kite-4{
  right:-42px;top:80%;
  width:22px;height:22px;
  background:linear-gradient(135deg,#9d2a25 0 50%,#f2b544 50%);
  animation:kbKiteFlyB 18s linear 7s infinite;
}
@keyframes kbKiteFlyA{
  0%{transform:translate(-20px,20px) rotate(35deg);opacity:0}
  10%{opacity:.45}
  35%{transform:translate(270px,-32px) rotate(52deg)}
  65%{transform:translate(560px,30px) rotate(38deg)}
  90%{opacity:.42}
  100%{transform:translate(980px,-20px) rotate(54deg);opacity:0}
}
@keyframes kbKiteFlyB{
  0%{transform:translate(20px,-10px) rotate(48deg);opacity:0}
  10%{opacity:.40}
  35%{transform:translate(-260px,34px) rotate(30deg)}
  68%{transform:translate(-570px,-28px) rotate(50deg)}
  90%{opacity:.40}
  100%{transform:translate(-980px,24px) rotate(32deg);opacity:0}
}
.kb-mini-canvas{
  pointer-events:auto!important;
  touch-action:none!important;
  user-select:none!important;
  -webkit-user-select:none!important;
  z-index:4!important;
}
.kb-mini-scratch-card:not(.is-locked) .kb-mini-canvas{
  cursor:crosshair!important;
}
.kb-mini-scratch-card.is-locked .kb-mini-canvas{
  pointer-events:none!important;
}
.kb-card-lock{
  pointer-events:none!important;
}
@media(max-width:760px){
  .kb-fly-kite{opacity:.32}
  .kb-fly-kite-3,.kb-fly-kite-4{display:none}
}
@media(prefers-reduced-motion:reduce){
  .kb-fly-kite{animation:none!important}
}


/* v2.0.7 — simplified final pass + clickable branch maps */
.kb-simple-pass .kb-pass-main{
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.kb-final-offer-only{
  text-align:center;
  padding:16px 10px 8px;
}
.kb-final-offer-only>small{
  display:block;
  font-size:9px;
  letter-spacing:1.1px;
  font-weight:900;
  color:var(--kb-maroon);
  margin-bottom:6px;
}
.kb-final-offer-only>strong{
  display:block;
  font-size:22px;
  line-height:1.18;
  color:var(--kb-navy);
}
.kb-final-offer-only>p{
  margin:8px auto 0;
  max-width:480px;
  font-size:9.5px;
  line-height:1.4;
  color:#6d7886;
}
.kb-branch-map-links{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:7px;
  max-width:720px;
  margin:9px auto 0;
}
.kb-branch-map-links a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:8px 10px;
  border:1px solid rgba(16,43,78,.12);
  border-radius:999px;
  background:#fff;
  color:var(--kb-navy)!important;
  text-decoration:none!important;
  font-size:10px;
  font-weight:800;
  transition:transform .18s ease,background .18s ease,color .18s ease;
}
.kb-branch-map-links a:hover{
  transform:translateY(-1px);
  background:var(--kb-navy);
  color:#fff!important;
}
@media(max-width:600px){
  .kb-final-offer-only>strong{font-size:18px}
  .kb-branch-map-links{grid-template-columns:1fr 1fr}
}


/* v2.0.9 — optional preferred branch; WhatsApp always active */
.kb-branch-quick-wrap{
  max-width:720px;
  margin:10px auto 0;
  text-align:center;
}
.kb-branch-quick-title{
  font-size:10px;
  font-weight:900;
  color:var(--kb-navy);
  margin-bottom:7px;
}
.kb-branch-quick-title small{
  font-weight:600;
  color:#7a8793;
}
.kb-branch-quick{
  display:flex;
  gap:7px;
  justify-content:center;
  flex-wrap:wrap;
}
.kb-branch-quick button{
  border:1px solid rgba(16,43,78,.14);
  border-radius:999px;
  background:#fff;
  color:var(--kb-navy);
  min-height:34px;
  padding:7px 13px;
  font-size:10px;
  font-weight:800;
  cursor:pointer;
  transition:.18s ease;
}
.kb-branch-quick button:hover,
.kb-branch-quick button.is-selected{
  background:var(--kb-teal);
  border-color:var(--kb-teal);
  color:#fff;
  transform:translateY(-1px);
}
@media(max-width:520px){
  .kb-branch-quick{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .kb-branch-quick button{
    width:100%;
  }
}


/* v2.1.0 — clean preferred-branch dropdown */
.kb-branch-select-wrap{
  max-width:420px;
  margin:10px auto 0;
  text-align:left;
}
.kb-branch-select-wrap label{
  display:block;
  margin:0 0 6px 2px;
  font-size:10px;
  color:var(--kb-navy);
}
.kb-branch-select-wrap label small{
  font-weight:600;
  color:#7a8793;
}
.kb-branch-select-wrap select{
  width:100%;
  min-height:40px;
  border:1px solid rgba(16,43,78,.15);
  border-radius:11px;
  background:#fff;
  color:var(--kb-navy);
  padding:8px 12px;
  font:inherit;
  font-size:11px;
  font-weight:700;
  outline:none;
  cursor:pointer;
}
.kb-branch-select-wrap select:focus{
  border-color:var(--kb-teal);
  box-shadow:0 0 0 3px rgba(11,157,154,.10);
}


/* v3.3.0 — website-first claim confirmation */
.kb-claim-success{
  margin-top:14px;padding:18px;border:1px solid rgba(11,157,154,.26);border-radius:18px;
  background:linear-gradient(180deg,#f4fffc 0%,#ffffff 100%);text-align:center;
  box-shadow:0 10px 30px rgba(16,43,78,.08);
}
.kb-claim-success[hidden]{display:none!important}
.kb-claim-success-icon{font-size:34px;line-height:1;margin-bottom:8px}
.kb-claim-success>strong{display:block;color:#0b9d9a;font-size:20px;margin-bottom:5px}
.kb-claim-success>p{margin:0 0 12px;color:#43536a;font-size:13px;line-height:1.5}
.kb-claim-success-meta{display:grid;gap:7px;text-align:left;background:#fff;border:1px solid #e8edf1;border-radius:12px;padding:11px 12px;margin:10px 0 14px}
.kb-claim-success-meta span{font-size:13px;color:#102b4e;line-height:1.45}
.kb-claim-success-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.kb-site-continue{display:flex;align-items:center;justify-content:center;text-decoration:none;min-height:46px;border-radius:12px;padding:10px 12px;font-weight:800;font-size:13px;color:#102b4e;background:#eef7f6;border:1px solid rgba(11,157,154,.25)}
.kb-submit-claim{background:#0b9d9a!important}
@media(max-width:560px){.kb-claim-success-actions{grid-template-columns:1fr}}


/* v3.3.1 — music runs only while Dashain Dakshina is open */
.kb-udaan-audio-wrap,
.kb-udaan-site-music-hidden{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}


/* v3.4.0 admin-editable offers are rendered in wp-admin; public UI unchanged. */


/* v3.5.0 — one-button merged music + campaign */
#kb-udaan-audio-wrap{
  display:none!important;
}
