.kc-root{
  --kc-page:#eef8fb;
  --kc-card:#ffffff;
  --kc-text:#173d5b;
  --kc-muted:#6d8192;
  --kc-border:rgba(117,148,180,.20);
  --kc-border-strong:rgba(117,148,180,.30);
  --kc-pink:#e99a9f;
  --kc-pink-strong:#df838b;
  --kc-blue:#dceef3;
  --kc-blue-soft:#f4fafc;
  --kc-green:#9fbea1;
  --kc-card-back:#dceef3;
  --kc-card-front:#f7cad0;
  --kc-shadow:0 12px 32px rgba(23,61,91,.09);
  font-family:Nunito,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--kc-text);
  width:100%;
  box-sizing:border-box;
}
.kc-root *{box-sizing:border-box}
.kc-shell{max-width:410px;margin:0 auto;padding:6px 6px 18px}
.kc-stage{
  background:var(--kc-card);
  border:1px solid rgba(117,148,180,.18);
  border-radius:22px;
  padding:18px 17px;
  box-shadow:var(--kc-shadow);
}
.is-hidden{display:none!important}

.kc-brand-row{display:flex;align-items:center;gap:7px;margin-bottom:8px}
.kc-brand-word{font-size:11px;font-weight:900;letter-spacing:.18em;color:var(--kc-muted)}
.kc-brand-dot{width:8px;height:8px;border-radius:50%;background:var(--kc-pink)}

.kc-root h1,.kc-root h2,.kc-root h3{
  font-family:Fredoka,Nunito,system-ui,sans-serif;
  color:var(--kc-text);
  margin-top:0;
  letter-spacing:-.02em;
}
.kc-root h1{font-size:clamp(30px,7.8vw,43px);line-height:1.04;margin-bottom:7px;font-weight:700}
.kc-root h2{font-size:clamp(26px,6.7vw,36px);line-height:1.08;margin-bottom:7px}
.kc-root h3{font-size:19px;line-height:1.15}

.kc-subheadline{
  font-size:15px;
  line-height:1.42;
  margin:0 0 14px;
  color:var(--kc-text);
  max-width:470px;
}
.kc-eyebrow{
  text-transform:uppercase;
  letter-spacing:.13em;
  font-size:10px;
  font-weight:900;
  margin:0 0 6px;
  color:var(--kc-muted);
}

.kc-entry-form{display:grid;gap:10px}
.kc-email-block{display:grid;gap:5px}
.kc-label{font-size:14px;font-weight:900;color:var(--kc-text)}
.kc-input{
  width:100%;
  min-height:50px;
  border:1.5px solid rgba(117,148,180,.32);
  border-radius:13px;
  background:#fff;
  padding:0 14px;
  font-size:16px;
  color:var(--kc-text);
  outline:none;
  box-shadow:0 3px 10px rgba(23,61,91,.025);
}
.kc-input:focus{border-color:var(--kc-pink);box-shadow:0 0 0 4px rgba(233,154,159,.13)}

/* Prize showcase: informational, never button-like. */
.kc-win-box{
  border:1px solid rgba(117,148,180,.22);
  border-radius:17px;
  padding:13px 13px 11px;
  background:linear-gradient(180deg,#f5fbfd 0%,#eef8fb 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85);
}
.kc-win-box-copy{margin-bottom:8px}
.kc-win-box-copy strong{
  display:block;
  font-family:Fredoka,Nunito,sans-serif;
  font-size:16px;
  font-weight:600;
  line-height:1.18;
  margin-bottom:3px;
}
.kc-win-box-copy p{
  margin:0;
  color:var(--kc-muted);
  font-size:11.5px;
  line-height:1.38;
}
.kc-prize-ladder{
  margin-top:9px;
  border-top:1px solid rgba(117,148,180,.19);
}
.kc-prize-row{
  display:grid;
  grid-template-columns:1fr;
  gap:0;
  align-items:center;
  padding:9px 1px;
  border-bottom:1px solid rgba(117,148,180,.16);
  cursor:default;
}
.kc-prize-row:last-child{border-bottom:0;padding-bottom:5px}
.kc-prize-symbol{
  display:none!important;
  width:18px;
  height:18px;
  border-radius:50%;
  display:block;
  position:relative;
  background:#eaf6f0;
  border:1px solid #b8dacb;
  box-shadow:inset 0 0 0 4px rgba(255,255,255,.62);
}
.kc-prize-symbol-max{
  background:#edf6fa;
  border-color:#c4dce6;
}
.kc-prize-symbol-jackpot{
  background:#fff0f1;
  border-color:#efc9cc;
}
.kc-prize-row-copy{min-width:0}
.kc-prize-kicker{
  display:block;
  margin-bottom:2px;
  font-size:8px;
  line-height:1;
  letter-spacing:.095em;
  font-weight:700;
  color:var(--kc-pink-strong);
}
.kc-prize-row-copy strong{
  display:block;
  font-family:Fredoka,Nunito,sans-serif;
  font-size:16px;
  font-weight:600;
  line-height:1.1;
  color:var(--kc-text);
}
.kc-prize-row-copy>span:last-child{
  display:block;
  margin-top:2px;
  font-size:10px;
  line-height:1.25;
  font-weight:600;
  color:var(--kc-muted);
}
.kc-prize-row-jackpot .kc-prize-row-copy strong{color:var(--kc-text)}
.kc-prize-details{margin-top:6px}
.kc-prize-details summary{
  cursor:pointer;
  font-size:10.5px;
  font-weight:700;
  color:var(--kc-text);
  list-style:none;
  padding:2px 1px;
}
.kc-prize-details summary::-webkit-details-marker{display:none}
.kc-prize-details summary:after{content:"  +";color:var(--kc-pink)}
.kc-prize-details[open] summary:after{content:"  −"}
.kc-prize-list{
  margin-top:7px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:5px;
}
.kc-prize-list-item{
  display:flex;align-items:center;gap:6px;
  background:#fff;border:1px solid var(--kc-border);
  border-radius:10px;padding:7px;
  font-size:11px;font-weight:600;min-width:0;cursor:default;
}
.kc-prize-list-image{width:25px;height:25px;object-fit:cover;border-radius:7px;flex:0 0 auto}

.kc-consents{display:grid;gap:7px}
.kc-check{
  display:flex;
  gap:8px;
  align-items:flex-start;
  font-size:11.5px;
  line-height:1.35;
  color:var(--kc-text);
}
.kc-check input{
  appearance:none;
  -webkit-appearance:none;
  width:18px;
  height:18px;
  margin:0;
  flex:0 0 auto;
  border:1.5px solid #aebcc6;
  border-radius:4px;
  background:#fff center/13px 13px no-repeat;
  cursor:pointer;
  transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease;
}
.kc-check input:checked{
  border-color:var(--kc-pink-strong);
  background-color:var(--kc-pink);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.1 8.2l3 3.1 6.8-7'/%3E%3C/svg%3E");
}
.kc-check input:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(233,154,159,.2)}
.kc-check-marketing{
  background:#f8fbfc;
  border:1px solid var(--kc-border);
  padding:10px 11px;
  border-radius:13px;
}
.kc-legal-links{display:flex;gap:12px;flex-wrap:wrap;font-size:10.5px;margin-top:-1px}
.kc-legal-links a{color:var(--kc-muted);text-decoration:underline}

.kc-primary,.kc-secondary,.kc-instagram{
  appearance:none;
  border:0;
  border-radius:999px;
  min-height:49px;
  padding:0 18px;
  font:inherit;
  font-weight:900;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  transition:transform .15s ease,background .18s ease,box-shadow .18s ease,opacity .18s ease;
}
.kc-primary{
  width:100%;
  background:#d8dde1;
  color:#fff;
  font-size:16px;
  box-shadow:none;
  cursor:not-allowed;
}
.kc-primary.is-ready:not(:disabled){
  background:var(--kc-pink);
  box-shadow:0 9px 22px rgba(233,154,159,.25);
  cursor:pointer;
}
.kc-primary.is-ready:not(:disabled):hover,.kc-primary.is-ready:not(:disabled):focus{
  background:var(--kc-pink-strong);
  transform:translateY(-1px);
}
.kc-primary.is-loading{opacity:.65}
.kc-secondary{background:var(--kc-text);color:#fff;min-height:44px;font-size:13px}
.kc-primary:disabled,.kc-secondary:disabled{transform:none}
.kc-form-status{font-size:12px;line-height:1.35;min-height:0;margin:0;color:#b64b52;font-weight:800}
.kc-notice{background:#eef8fb;border:1px solid #c8e1e9;padding:10px 12px;border-radius:12px;margin-bottom:11px;font-size:12px}

/* Five-card selection */
.kc-card-stage{text-align:center;overflow:hidden;position:relative}
.kc-card-copy{max-width:400px;margin:0 auto}
.kc-card-copy p:last-child{margin:0;color:var(--kc-muted);font-size:13px;line-height:1.38}
.kc-card-grid{
  position:relative;
  display:flex;
  justify-content:center;
  align-items:flex-end;
  gap:6px;
  min-height:140px;
  margin:18px -4px 6px;
  perspective:1000px;
  transition:min-height .35s ease,gap .2s ease;
}
.kc-card{
  position:relative;
  width:min(18vw,82px);
  aspect-ratio:63/88;
  border:0;
  background:transparent;
  padding:0;
  cursor:pointer;
  transform:translateY(0) rotate(0);
  transition:
    transform .42s cubic-bezier(.2,.85,.2,1),
    opacity .28s ease,
    filter .28s ease,
    left .42s ease,
    top .42s ease,
    width .42s ease;
}
.kc-card:nth-child(1){transform:translateY(9px) rotate(-4deg)}
.kc-card:nth-child(2){transform:translateY(3px) rotate(-2deg)}
.kc-card:nth-child(4){transform:translateY(3px) rotate(2deg)}
.kc-card:nth-child(5){transform:translateY(9px) rotate(4deg)}
.kc-card:hover{filter:brightness(1.02)}
.kc-card-inner{
  position:absolute;
  inset:0;
  display:block;
  transform-style:preserve-3d;
  transition:transform .62s cubic-bezier(.2,.75,.25,1);
}
.kc-card-face{
  position:absolute;
  inset:0;
  border-radius:13px;
  display:grid;
  place-items:center;
  backface-visibility:hidden;
  border:2px solid rgba(255,255,255,.95);
  box-shadow:0 8px 20px rgba(23,61,91,.12);
  overflow:hidden;
}
.kc-card-back{background:var(--kc-card-back)}
.kc-card-front{background:var(--kc-card-front);transform:rotateY(180deg)}
.kc-card-art{display:block;width:76%;height:76%;object-fit:contain}
.kc-card-fallback-dot{
  width:34%;
  aspect-ratio:1;
  border-radius:50%;
  background:var(--kc-green);
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.55),0 5px 14px rgba(23,61,91,.10);
}
.kc-card-question{
  font-family:Fredoka,Nunito,sans-serif;
  font-size:clamp(32px,8vw,50px);
  font-weight:800;
  color:var(--kc-text);
}

.kc-card-grid.is-picking{
  min-height:245px;
  align-items:center;
}
.kc-card-grid.is-picking .kc-card:not(.is-picked){
  opacity:0;
  filter:blur(1px);
  pointer-events:none;
  transform:translateY(18px) scale(.72)!important;
}
.kc-card-grid.is-picking .kc-card.is-picked{
  position:absolute;
  left:50%;
  top:50%;
  width:min(38vw,145px);
  transform:translate(-50%,-50%) scale(1.03)!important;
  z-index:5;
}
.kc-card.is-picked .kc-card-inner{transform:rotateY(180deg)}
.kc-card.is-picked .kc-card-front{animation:kcCardGlow 1.15s ease-in-out infinite}
@keyframes kcCardGlow{
  0%,100%{box-shadow:0 13px 30px rgba(23,61,91,.16),0 0 0 0 rgba(233,154,159,.11)}
  50%{box-shadow:0 17px 38px rgba(23,61,91,.20),0 0 0 10px rgba(233,154,159,.09)}
}

.kc-suspense{
  display:grid;
  justify-items:center;
  gap:6px;
  margin-top:3px;
  color:var(--kc-text);
}
.kc-suspense-label{font-size:13px;font-weight:900}
.kc-countdown{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--kc-pink);
  color:#fff;
  font-family:Fredoka,Nunito,sans-serif;
  font-size:25px;
  line-height:1;
  box-shadow:0 8px 20px rgba(233,154,159,.28);
}
.kc-countdown.is-pop{animation:kcCountPop .35s ease}
@keyframes kcCountPop{
  0%{transform:scale(.82);opacity:.55}
  70%{transform:scale(1.08);opacity:1}
  100%{transform:scale(1)}
}

/* Result */
.kc-result-stage{display:grid;gap:9px}
.kc-returning-notice{
  display:grid;
  gap:2px;
  border-radius:13px;
  background:#eef8fb;
  border:1px solid #cfe5eb;
  padding:9px 11px;
  text-align:left;
}
.kc-returning-notice strong{font-size:13px}
.kc-returning-notice span{font-size:11px;color:var(--kc-muted);line-height:1.35}

.kc-result-top{text-align:center}
.kc-result-image-wrap{margin:0 auto 8px;max-width:128px}
.kc-result-image-wrap img{width:100%;height:auto;max-height:125px;object-fit:contain;border-radius:13px}
.kc-result-note{font-size:12.5px;line-height:1.4;margin:4px auto 0;max-width:420px;color:var(--kc-muted)}
.kc-coupon{
  margin-top:10px;
  background:#f5fbfd;
  border:1px dashed #9bbcc8;
  border-radius:14px;
  padding:10px 11px;
}
.kc-coupon-label{display:block;font-size:10.5px;font-weight:800;color:var(--kc-muted)}
.kc-coupon strong{
  display:block;
  font-family:Fredoka,Nunito,sans-serif;
  font-size:clamp(18px,5.4vw,23px);
  line-height:1.08;
  letter-spacing:.04em;
  margin:3px auto 7px;
  overflow-wrap:anywhere;
  color:var(--kc-text);
}
.kc-coupon-actions{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
.kc-coupon small{font-size:10.5px;color:var(--kc-muted)}
.kc-copy{
  border:0;
  background:var(--kc-pink);
  color:#fff;
  border-radius:999px;
  padding:7px 11px;
  font:inherit;
  font-size:11.5px;
  font-weight:900;
  cursor:pointer;
}

.kc-result-actions{
  display:flex;align-items:center;justify-content:center;gap:9px 12px;flex-wrap:wrap;
  padding:1px 1px 2px;text-align:center;
}
.kc-result-shop{
  min-height:38px;padding:0 15px;border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--kc-pink);color:#fff!important;text-decoration:none;
  font-size:11.5px;font-weight:800;box-shadow:0 6px 15px rgba(233,154,159,.18);
}
.kc-result-shop:hover,.kc-result-shop:focus{background:var(--kc-pink-strong);color:#fff!important}
.kc-result-rules{font-size:10.5px;color:var(--kc-muted)!important;text-decoration:underline}
.kc-result-email-note{flex-basis:100%;font-size:9.8px;line-height:1.3;color:var(--kc-muted)}

.kc-profile-details{
  background:#fff;
  border:1px solid var(--kc-border);
  border-radius:14px;
  overflow:hidden;
}
.kc-profile-details>summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
}
.kc-profile-details>summary::-webkit-details-marker{display:none}
.kc-profile-details>summary span{display:grid;text-align:left;gap:2px}
.kc-profile-details>summary strong{font-family:Fredoka,Nunito,sans-serif;font-size:15px;font-weight:600;color:var(--kc-text)}
.kc-profile-details>summary small{font-size:10.5px;color:var(--kc-muted)}
.kc-profile-details>summary b{font-size:21px;color:var(--kc-pink);font-weight:500;transition:transform .2s ease}
.kc-profile-details[open]>summary b{transform:rotate(45deg)}
.kc-profile{border-top:1px solid var(--kc-border);padding:11px 12px 12px}
.kc-profile fieldset{border:0;padding:0;margin:0 0 13px}
.kc-profile legend{font-size:12.5px;font-weight:900;margin-bottom:4px}
.kc-field-hint{font-size:10.5px;color:var(--kc-muted);margin:0 0 6px}
.kc-choice-row{display:flex;gap:5px;flex-wrap:wrap}
.kc-choice input{position:absolute;opacity:0;pointer-events:none}
.kc-choice span{
  display:inline-block;
  border:1px solid var(--kc-border);
  background:#f7fbfc;
  border-radius:999px;
  padding:6px 9px;
  font-size:11px;
  font-weight:800;
  cursor:pointer;
}
.kc-choice input:checked+span{background:var(--kc-text);border-color:var(--kc-text);color:#fff}
.kc-launch-check{margin:1px 0 10px}


.kc-profile-success{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:9px 10px;
  align-items:start;
  outline:none;
}
.kc-profile-success-check{
  width:30px;height:30px;border-radius:50%;
  display:grid;place-items:center;
  background:var(--kc-green);color:#fff;
  font-weight:900;font-size:16px;
}
.kc-profile-success strong{display:block;font-family:Fredoka,Nunito,sans-serif;font-size:16px;font-weight:600;line-height:1.15}
.kc-profile-success p{margin:3px 0 0;font-size:11px;line-height:1.35;color:var(--kc-muted)}
.kc-next-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:2px}
.kc-next-actions .kc-secondary,.kc-soft-link{min-height:42px;border-radius:999px;padding:0 12px;font-size:11.5px;font-weight:900;text-decoration:none;display:flex;align-items:center;justify-content:center;text-align:center}
.kc-soft-link{background:#f4fafc;color:var(--kc-text);border:1px solid var(--kc-border-strong)}
.kc-soft-link:hover,.kc-soft-link:focus{background:#eef7fa;color:var(--kc-text)}

/* Instagram deserves to be seen, but should not dominate the prize itself. */
.kc-instagram-card{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:10px;
  border-radius:15px;
  padding:11px 12px;
  background:linear-gradient(135deg,#fff7f8 0%,#f4fafc 100%);
  border:1px solid rgba(233,154,159,.28);
}
.kc-instagram-copy{display:flex;align-items:center;gap:9px;min-width:0;text-align:left}
.kc-instagram-mark{
  width:34px;height:34px;border-radius:50%;
  display:grid;place-items:center;
  background:var(--kc-pink);color:#fff;
  flex:0 0 auto;
}
.kc-instagram-mark svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.kc-instagram-mark .kc-ig-dot{fill:currentColor;stroke:none}
.kc-instagram-copy strong{display:block;font-family:Fredoka,Nunito,sans-serif;font-size:14px;font-weight:600;line-height:1.15}
.kc-instagram-copy p{margin:2px 0 0;font-size:10.5px;line-height:1.3;color:var(--kc-muted)}
.kc-instagram{
  background:var(--kc-pink);
  color:#fff!important;
  min-height:38px;
  padding:0 13px;
  font-size:11.5px;
  white-space:nowrap;
}
.kc-instagram:visited,.kc-instagram:hover,.kc-instagram:focus{color:#fff!important;background:var(--kc-pink-strong)}

@media(max-width:480px){
  .kc-shell{padding:3px 3px 14px}
  .kc-stage{border-radius:18px;padding:15px 13px}
  .kc-root h1{font-size:31px}
  .kc-subheadline{font-size:14px;margin-bottom:12px}
  .kc-input{min-height:47px}
  .kc-win-box{padding:9px}
  .kc-prize-ladder{margin-top:7px}
  .kc-prize-row{grid-template-columns:28px 1fr;gap:8px;padding:8px 0}
  .kc-prize-symbol{width:27px;height:27px;font-size:14px}
  .kc-prize-row-copy strong{font-size:14.5px}
  .kc-prize-row-copy>span:last-child{font-size:9.5px}
  .kc-prize-kicker{font-size:7.6px}
  .kc-card-stage{padding-left:9px;padding-right:9px}
  .kc-card-grid{gap:4px;margin-left:-3px;margin-right:-3px;min-height:128px}
  .kc-card{width:18vw;max-width:75px}
  .kc-card-face{border-radius:10px}
  .kc-card-grid.is-picking{min-height:228px}
  .kc-card-grid.is-picking .kc-card.is-picked{width:min(42vw,138px)}
  .kc-result-stage{padding-top:13px}
  .kc-result-image-wrap{max-width:112px}
  .kc-profile-details>summary{padding:9px 10px}
  .kc-profile{padding:10px}
  .kc-instagram-card{grid-template-columns:1fr;gap:8px}
  .kc-instagram{width:100%;min-height:40px}
}


/* =========================================================
   v0.6.0 – centered swipe-out game + automatic result flip
   ========================================================= */
.kc-root .kc-shell{
  width:100%;
  max-width:420px;
  margin:0 auto;
  padding:6px 5px 18px;
}

/* Make disabled state unmistakable even when theme/Elementor styles leak in. */
.kc-root .kc-primary:disabled,
.kc-root .kc-primary:not(.is-ready){
  background:#d7dde1!important;
  color:#ffffff!important;
  box-shadow:none!important;
  opacity:.72!important;
  cursor:not-allowed!important;
  transform:none!important;
}
.kc-root .kc-primary.is-ready:not(:disabled){
  background:var(--kc-pink)!important;
  opacity:1!important;
  cursor:pointer!important;
  box-shadow:0 9px 22px rgba(233,154,159,.25)!important;
}

.kc-card-stage{
  position:relative;
  overflow:hidden;
  text-align:center;
  min-height:720px;
  padding:22px 14px 24px;
}
.kc-game-head{max-width:340px;margin:0 auto}
.kc-game-head h2{
  font-size:30px;
  line-height:1.06;
  margin-bottom:8px;
  font-weight:600;
}
.kc-game-head>p:last-child{
  margin:0 auto;
  color:var(--kc-muted);
  font-size:13.5px;
  line-height:1.48;
  max-width:310px;
}

.kc-game-board{
  position:relative;
  height:330px;
  margin-top:17px;
  touch-action:none;
  user-select:none;
  overflow:hidden;
}
.kc-game-swipe-label{
  position:absolute;
  left:50%;
  top:0;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
  font-family:Fredoka,Nunito,sans-serif;
  font-size:13px;
  font-weight:600;
  color:#5f7e96;
  transition:opacity .22s ease,visibility .22s ease;
}
.kc-game-swipe-label b{
  font-size:25px;
  line-height:1;
  color:#9fb3bf;
  font-weight:500;
}

.kc-game-deck{
  position:absolute;
  left:50%;
  top:48px;
  width:166px;
  aspect-ratio:63/88;
  transform:translateX(-50%);
  transition:
    top .52s cubic-bezier(.2,.82,.2,1),
    width .52s cubic-bezier(.2,.82,.2,1),
    transform .52s cubic-bezier(.2,.82,.2,1);
}
.kc-game-card{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  padding:0;
  margin:0;
  border:0;
  background:transparent;
  border-radius:24px;
  transform-style:preserve-3d;
  -webkit-transform-style:preserve-3d;
  box-shadow:0 15px 28px rgba(15,74,110,.14);
}
.kc-game-stack{
  pointer-events:none;
  opacity:calc(1 - (var(--kc-stack) * .06));
  transform:
    translate(calc(var(--kc-stack) * 4px),calc(var(--kc-stack) * 4px))
    rotate(calc((var(--kc-stack) - 3) * .45deg));
  transition:opacity .25s ease,visibility .25s ease;
}
.kc-game-current{
  z-index:30;
  cursor:grab;
  transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease;
  will-change:transform,opacity;
}
.kc-game-current.is-dragging{
  cursor:grabbing;
  transition:none;
  box-shadow:0 27px 50px rgba(12,59,96,.23);
}
.kc-game-card-face{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:24px;
  border:4px solid rgba(255,255,255,.98);
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
  overflow:hidden;
}
.kc-game-card-back{
  flex-direction:column;
  gap:13px;
  background:linear-gradient(180deg,#e8f8fc 0%,var(--kc-card-back) 100%);
}
.kc-game-card-front{
  /* Keep the finished prize face fully rendered before the flip starts.
     Backface visibility hides it while the card shows its back. This avoids
     the brief blank-white frame that could appear while the browser promoted
     the front face to its own compositing layer. */
  transform:rotateY(180deg) translateZ(1px);
  -webkit-transform:rotateY(180deg) translateZ(1px);
  background:#ffffff;
  opacity:1;
  will-change:transform;
}
.kc-game-current.is-revealed .kc-game-card-back{
  opacity:1;
}
.kc-game-current.is-revealed .kc-game-card-front{opacity:1}
.kc-game-card-art{
  display:block;
  width:72px;
  height:72px;
  object-fit:contain;
}
.kc-game-logo-dot{
  width:72px;
  aspect-ratio:1;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#84c5a9;
  box-shadow:inset 0 0 0 10px rgba(255,255,255,.18);
  color:#fff;
  font-family:Fredoka,Nunito,sans-serif;
  font-size:18px;
  font-weight:700;
}
.kc-game-back-label{
  font-family:Fredoka,Nunito,sans-serif;
  font-size:14px;
  font-weight:600;
  color:#58778f;
}

.kc-game-browse-copy{
  margin:12px auto 0;
  max-width:310px;
  min-height:82px;
}
.kc-game-browse-copy strong{
  display:block;
  font-family:Fredoka,Nunito,sans-serif;
  font-size:19px;
  font-weight:600;
  line-height:1.15;
}
.kc-game-browse-copy p{
  margin:8px auto 0;
  font-size:12.5px;
  line-height:1.45;
  color:#111;
  max-width:290px;
}
.kc-game-card-status{
  min-height:18px;
  margin:5px 0 0;
  font-size:11.5px;
  font-weight:800;
  color:#b64b52;
}

/* Page 3 starts on the same click that selects the card.
   The exact same DOM card moves into its final position first. */
.kc-card-stage.is-selected .kc-game-swipe-label,
.kc-card-stage.is-selected .kc-game-stack{
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
.kc-card-stage.is-selected .kc-game-head>p:last-child{display:none}
.kc-card-stage.is-selected .kc-game-board{
  height:406px;
  margin-top:10px;
}
.kc-card-stage.is-selected .kc-game-deck{
  left:50%;
  top:8px;
  width:268px;
  transform:translateX(-50%);
}
.kc-card-stage.is-selected .kc-game-current{
  cursor:default;
  box-shadow:0 26px 56px rgba(12,59,96,.18);
}
.kc-card-stage.is-opening .kc-game-current{
  animation:kcGameSettle .72s ease-in-out both;
}
@keyframes kcGameSettle{
  0%{filter:brightness(1)}
  55%{filter:brightness(1.025)}
  100%{filter:brightness(1)}
}

/* Once the server result is ready, the same centered card flips in place. */
.kc-card-stage.is-revealed .kc-game-current{
  transform:rotateY(180deg)!important;
  cursor:default;
  transition:transform .72s cubic-bezier(.2,.75,.25,1)!important;
}
.kc-card-stage.is-revealed .kc-game-board{height:406px}

/* During the last part of the turn, softly settle the already-rendered
   prize content. This makes the transition from the 3D layer to the stable
   2D result visually seamless instead of producing a tiny "pop". */
.kc-card-stage.is-revealed .kc-game-prize-card{
  animation:kcPrizeFaceSettle .46s cubic-bezier(.2,.75,.25,1) .18s both;
}
@keyframes kcPrizeFaceSettle{
  0%{opacity:.82;filter:blur(.25px)}
  100%{opacity:1;filter:blur(0)}
}

/* After the 3D flip has visually completed, flatten the front face.
   This prevents Safari/embedded browser backface glitches where the
   white face is visible but its children disappear. */
.kc-card-stage.is-flip-complete .kc-game-current{
  transform:none!important;
  transition:none!important;
}
.kc-card-stage.is-flip-complete .kc-game-card-back{
  display:none!important;
}
.kc-card-stage.is-flip-complete .kc-game-card-front{
  transform:none!important;
  opacity:1!important;
  backface-visibility:visible!important;
  -webkit-backface-visibility:visible!important;
}
.kc-card-stage.is-flip-complete .kc-game-prize-card{
  opacity:1!important;
  visibility:visible!important;
}

/* White result side = clearly the other side of the card. */
.kc-game-prize-card{
  width:100%;
  height:100%;
  padding:19px 14px 15px;
  display:flex;
  flex-direction:column;
  align-items:center;
  color:var(--kc-text);
  overflow:hidden;
  background:#fff;
  /* Pre-composite the prize content so it is already painted when the card
     turns toward the user. */
  transform:translateZ(1px);
  -webkit-transform:translateZ(1px);
  opacity:1;
  will-change:transform;
}
.kc-game-prize-kicker{
  font-size:9px;
  font-weight:900;
  letter-spacing:.12em;
  color:var(--kc-muted);
  text-transform:uppercase;
}
.kc-game-prize-title{
  display:block;
  margin-top:12px;
  font-family:Fredoka,Nunito,sans-serif;
  font-size:22px;
  line-height:1.08;
  font-weight:600;
  color:var(--kc-text);
}
.kc-game-result-image{
  margin:10px auto 0;
  width:78px;
  height:78px;
}
.kc-game-result-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:12px;
}
.kc-game-coupon{
  width:100%;
  margin-top:25px;
  padding:16px 9px 13px;
  background:#fff;
  border:1.5px solid #a9c9d5;
  border-radius:12px;
}
.kc-game-coupon>span{
  display:block;
  font-size:10px;
  color:var(--kc-muted);
}
.kc-game-coupon>strong{
  display:block;
  margin:7px auto 10px;
  max-width:100%;
  white-space:nowrap;
  font-family:Fredoka,Nunito,sans-serif;
  font-size:clamp(14px,4.2vw,18px);
  line-height:1.08;
  letter-spacing:.01em;
  font-weight:700;
  color:var(--kc-text);
}
.kc-game-copy,
.kc-root .btn-secondary.kc-game-copy{
  appearance:none;
  border:2px solid #6fa6a3!important;
  background:transparent!important;
  color:var(--kc-text)!important;
  border-radius:999px!important;
  padding:6px 12px!important;
  min-height:0!important;
  box-shadow:none!important;
  font:inherit;
  font-size:10.5px!important;
  font-weight:900!important;
  cursor:pointer;
}
.kc-game-coupon small{
  display:block;
  margin-top:9px;
  font-size:9.5px;
  color:var(--kc-muted);
}
.kc-game-prize-note{
  margin:17px 0 0;
  font-size:10.5px;
  line-height:1.35;
  color:var(--kc-text);
}
.kc-game-mail-note{
  margin-top:auto;
  font-size:9.5px;
  line-height:1.35;
  color:var(--kc-muted);
}

/* The boxes beneath the card are already part of Page 3 while the card settles/flips. */
.kc-game-result-extras{
  display:grid;
  gap:10px;
  margin-top:13px;
  animation:kcExtrasIn .30s ease both;
}
@keyframes kcExtrasIn{
  from{opacity:0;transform:translateY(5px)}
  to{opacity:1;transform:translateY(0)}
}
.kc-game-bottom-actions{
  display:grid;
  justify-items:center;
  gap:9px;
  margin-top:4px;
  padding-top:2px;
}
.kc-game-shop{
  min-height:42px;
  padding:0 22px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--kc-pink);
  color:#fff!important;
  text-decoration:none!important;
  font-family:Fredoka,Nunito,sans-serif;
  font-size:14px;
  font-weight:600;
  box-shadow:0 7px 17px rgba(233,154,159,.20);
}
.kc-game-shop:hover,
.kc-game-shop:focus{
  background:var(--kc-pink-strong);
  color:#fff!important;
}

/* Secondary copy button for the legacy/duplicate result too. */
.kc-root .kc-copy,
.kc-root .kc-copy.btn-secondary{
  border:2px solid #6fa6a3!important;
  background:transparent!important;
  color:var(--kc-text)!important;
  box-shadow:none!important;
  padding:7px 12px!important;
}
.kc-result-actions{
  display:grid;
  justify-items:center;
  gap:9px;
  margin-top:10px;
}
.kc-result-actions .kc-result-email-note{order:1}
.kc-result-actions .kc-result-shop{
  order:2;
  background:var(--kc-pink);
  min-height:42px;
  padding:0 22px;
}
.kc-result-actions .kc-result-rules{order:3}

@media(max-width:390px){
  .kc-card-stage{padding-left:11px;padding-right:11px}
  .kc-game-deck{width:158px}
  .kc-card-stage.is-selected .kc-game-deck{width:256px}
  .kc-card-stage.is-selected .kc-game-board,
  .kc-card-stage.is-revealed .kc-game-board{height:390px}
}
.kc-game-current:focus-visible{
  outline:3px solid rgba(233,154,159,.35);
  outline-offset:4px;
}

.kc-next-actions{grid-template-columns:1fr}


/* =========================================================
   v0.6.2 – physical swipe deck + pastel card rotation
   ========================================================= */
.kc-prize-row{
  grid-template-columns:1fr!important;
  gap:0!important;
  padding-left:0!important;
}
.kc-prize-symbol{display:none!important}
.kc-prize-row-jackpot .kc-prize-row-copy strong{color:var(--kc-text)!important}

/* Four soft Klure card backs. The active card changes tone after every swipe,
   making it visually obvious that a genuinely new card has come forward. */
.kc-game-card.kc-tone-0 .kc-game-card-back{background:linear-gradient(180deg,#edfaff 0%,#dff3fa 100%)}
.kc-game-card.kc-tone-1 .kc-game-card-back{background:linear-gradient(180deg,#f1faf3 0%,#e1f0e5 100%)}
.kc-game-card.kc-tone-2 .kc-game-card-back{background:linear-gradient(180deg,#fffaf0 0%,#f6ecd7 100%)}
.kc-game-card.kc-tone-3 .kc-game-card-back{background:linear-gradient(180deg,#fff6f6 0%,#f7e3e5 100%)}

/* The stack is deliberately readable as a physical pile and gets thinner
   because JS removes one real layer on every accepted swipe. */
.kc-game-stack{
  transition:opacity .22s ease,visibility .22s ease,transform .22s ease!important;
}
.kc-game-current.kc-next-card-in{
  animation:kcNextCardIn .22s cubic-bezier(.2,.82,.2,1) both;
}
@keyframes kcNextCardIn{
  from{transform:translate3d(0,6px,0) scale(.985);opacity:.72}
  to{transform:translate3d(0,0,0) scale(1);opacity:1}
}
.kc-game-board.is-last-card .kc-game-swipe-label{opacity:.45}

/* =========================================================
   v0.6.3 – prize showcase A + endless momentum swipe deck
   ========================================================= */

/* One clean informational surface: no icons, radio-button cues or fake CTAs. */
.kc-win-box{
  padding:15px 14px 12px;
  background:linear-gradient(180deg,#f7fcfe 0%,#f1f9fc 100%);
  border:1px solid rgba(117,148,180,.20);
  border-radius:18px;
}
.kc-win-box-copy{margin-bottom:13px;text-align:left}
.kc-win-kicker{
  display:block;
  margin-bottom:5px;
  font-size:9px;
  line-height:1;
  letter-spacing:.13em;
  font-weight:900;
  color:var(--kc-pink-strong);
}
.kc-win-box-copy strong{
  font-size:18px;
  line-height:1.15;
  font-weight:600;
}
.kc-win-box-copy p{
  margin-top:6px;
  font-size:12px;
  line-height:1.42;
}
.kc-prize-highlights{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-top:1px solid rgba(117,148,180,.18);
  border-bottom:1px solid rgba(117,148,180,.18);
  padding:11px 0;
  margin-top:2px;
}
.kc-prize-highlight{
  min-width:0;
  padding:0 8px;
  text-align:center;
}
.kc-prize-highlight+ .kc-prize-highlight{
  border-left:1px solid rgba(117,148,180,.18);
}
.kc-prize-highlight-label{
  display:block;
  margin-bottom:4px;
  font-size:7.5px;
  line-height:1.1;
  letter-spacing:.08em;
  font-weight:800;
  color:var(--kc-pink-strong);
}
.kc-prize-highlight strong{
  display:block;
  font-family:Fredoka,Nunito,sans-serif;
  font-size:13px;
  line-height:1.15;
  font-weight:600;
  color:var(--kc-text);
}
.kc-prize-highlight small{
  display:block;
  margin-top:3px;
  font-size:8.5px;
  line-height:1.22;
  font-weight:600;
  color:var(--kc-muted);
}
.kc-prize-details{margin-top:9px}
.kc-prize-list-item>span:not(.kc-prize-list-image){min-width:0}
.kc-prize-list-item>span strong{
  display:block;
  font-size:10.5px;
  line-height:1.2;
  color:var(--kc-text);
}
.kc-prize-list-item>span small{
  display:block;
  margin-top:2px;
  font-size:8.5px;
  line-height:1.2;
  color:var(--kc-muted);
}

/* Horizontal swipe should feel like a reel/TikTok flick while vertical page
   scrolling remains possible around the game. */
.kc-game-board{
  touch-action:pan-y;
  overscroll-behavior-x:contain;
}
.kc-game-current.is-dragging{
  transition:none!important;
  will-change:transform;
}

/* Endless deck: stack layers are never consumed. Every discarded DOM card
   disappears completely off-screen and a fresh active card rises from the pile. */
.kc-game-stack{
  opacity:calc(1 - (var(--kc-stack) * .055));
  transition:opacity .18s ease,transform .18s ease!important;
}
.kc-game-current.kc-next-card-in{
  animation:kcNextCardIn063 .18s cubic-bezier(.18,.82,.22,1) both;
}
@keyframes kcNextCardIn063{
  from{transform:translate3d(0,4px,0) scale(.985);opacity:.90}
  to{transform:translate3d(0,0,0) scale(1);opacity:1}
}

/* There is intentionally no last-card state in v0.6.3. */
.kc-game-board.is-last-card .kc-game-swipe-label{opacity:1}

@media(max-width:360px){
  .kc-prize-highlight{padding-left:5px;padding-right:5px}
  .kc-prize-highlight strong{font-size:12px}
  .kc-prize-highlight small{font-size:8px}
}


/* =========================================================
   v0.6.5 – seamless stack refill + softer entry colour
   ========================================================= */

/* The landing card gets a whisper of Klure blue/green instead of reading as
   flat grey/white before the checkboxes are active. Layout is unchanged. */
.kc-entry-stage{
  background:linear-gradient(145deg,#ffffff 0%,#f9fcfd 38%,#eef8fb 72%,#f3faf5 100%);
}
.kc-root .kc-primary:disabled,
.kc-root .kc-primary:not(.is-ready){
  background:#dbe6e7!important;
}

/* Each background layer owns a real depth. JS advances those layers while the
   finger is moving, so the pile grows forward continuously rather than jumping
   after the discarded card has gone. */
.kc-game-stack{
  z-index:calc(20 - var(--kc-stack));
  transform-origin:50% 50%;
  will-change:transform,opacity;
}

/* v0.6.3 used a small post-swipe entrance bounce. The stack itself now performs
   the refill, so the promoted active card must be completely still. */
.kc-game-current.kc-next-card-in{
  animation:none!important;
}

/* =========================================================
   v0.7.0 – reusable profile form + lightweight bot protection
   ========================================================= */
.kc-hp-field{
  position:absolute!important;
  left:-10000px!important;
  top:auto!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

.kc-match-root{
  --kc-page:#eef8fb;
  --kc-card:#ffffff;
  --kc-text:#173d5b;
  --kc-muted:#6d8192;
  --kc-border:rgba(117,148,180,.20);
  --kc-border-strong:rgba(117,148,180,.30);
  --kc-pink:#e99a9f;
  --kc-pink-strong:#df838b;
  --kc-green:#9fbea1;
  font-family:Nunito,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--kc-text);
  width:100%;
  box-sizing:border-box;
}
.kc-match-root *{box-sizing:border-box}
.kc-match-card{
  width:100%;
  max-width:520px;
  margin:0 auto;
  background:#fff;
  border:1px solid var(--kc-border);
  border-radius:18px;
  box-shadow:0 10px 28px rgba(23,61,91,.07);
  overflow:hidden;
}
.kc-match-head{
  display:grid;
  gap:3px;
  padding:15px 16px 13px;
  border-bottom:1px solid var(--kc-border);
}
.kc-match-head strong{
  font-family:Fredoka,Nunito,sans-serif;
  font-size:20px;
  line-height:1.15;
  font-weight:600;
  color:var(--kc-text);
}
.kc-match-head small{font-size:11px;color:var(--kc-muted)}
.kc-match-form{display:grid;gap:14px;padding:15px 16px 17px;background:linear-gradient(180deg,#fff 0%,#fbfefd 100%)}
.kc-match-form fieldset{border:0;padding:0;margin:0}
.kc-match-form legend{font-size:14px;font-weight:900;margin-bottom:5px;color:var(--kc-text)}
.kc-match-form .kc-check{font-size:12px}
.kc-match-form .kc-primary{margin-top:1px}
.kc-match-root .kc-profile-success{padding:17px 16px 18px}
.kc-match-root .kc-next-actions{grid-template-columns:1fr}

@media(max-width:480px){
  .kc-match-card{border-radius:16px}
  .kc-match-head{padding:13px 13px 11px}
  .kc-match-form{padding:13px}
  .kc-match-head strong{font-size:18px}
}


/* =========================================================
   v0.8.1 – mobile swipe scroll lock
   ========================================================= */
/* A gesture that starts on the card belongs to the card until release. This
   keeps iPhone Safari/Chrome from vertically scrolling the page while the
   visitor is swiping through the deck. Normal page scrolling remains available
   immediately outside the game area. */
.kc-game-board,
.kc-game-deck,
.kc-game-card,
.kc-game-card-face{
  touch-action:none!important;
  -ms-touch-action:none!important;
  overscroll-behavior:contain;
  -webkit-user-select:none;
  user-select:none;
}
