/* Win card polish: layout and look only. Loaded after crates.css. */
.kc-reveal{padding:16px}
.kc-reveal .kc-reveal-card{
  width:min(440px,100%);box-sizing:border-box;padding:28px 28px 22px;border-radius:20px;
  display:flex;flex-direction:column;align-items:stretch;text-align:center;
  background:radial-gradient(120% 55% at 50% 0%,rgba(255,194,74,.17),rgba(255,194,74,0) 62%),linear-gradient(180deg,#1a242b 0%,#0e1418 55%,#0a0e11 100%);
  border:1px solid rgba(255,194,74,.55);
  box-shadow:0 0 0 1px rgba(0,0,0,.6),0 0 90px rgba(255,194,74,.22),0 30px 60px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,236,190,.14);
  max-height:calc(100dvh - 32px);overflow-x:hidden;overflow-y:auto;scrollbar-width:thin
}
.kc-reveal .kc-reveal-card::before{content:"";position:absolute;left:18%;right:18%;top:-1px;height:2px;border-radius:2px;background:linear-gradient(90deg,transparent,#ffd77a,transparent);pointer-events:none}
.kc-reveal.is-demo .kc-reveal-card{border-color:rgba(224,120,47,.45);background:radial-gradient(120% 55% at 50% 0%,rgba(224,120,47,.12),rgba(224,120,47,0) 62%),linear-gradient(180deg,#1a242b 0%,#0e1418 55%,#0a0e11 100%);box-shadow:0 0 0 1px rgba(0,0,0,.6),0 0 80px rgba(224,120,47,.16),0 30px 60px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,224,196,.1)}
.kc-reveal.is-demo .kc-reveal-card::before{background:linear-gradient(90deg,transparent,#f4ad70,transparent)}

/* 1. Headline + prize */
.kc-reveal .kc-reveal-tag{margin:0;white-space:nowrap;font-size:clamp(30px,9vw,48px);line-height:1;letter-spacing:.1em;padding-left:.1em}
.kc-reveal .kc-reveal-card img{
  width:min(210px,56%,24vh);height:auto;aspect-ratio:1/1;object-fit:contain;margin:14px auto 10px;
  background:radial-gradient(closest-side,rgba(255,194,74,.22),rgba(255,194,74,.06) 60%,rgba(255,194,74,0));border-radius:50%
}
.kc-reveal.is-demo .kc-reveal-card img{background:radial-gradient(closest-side,rgba(224,120,47,.16),rgba(224,120,47,.04) 60%,rgba(224,120,47,0))}
.kc-reveal .kc-reveal-card h2{margin:0;font-size:clamp(28px,7.5vw,38px);line-height:1.05;letter-spacing:.04em;color:#fff;text-wrap:balance;overflow-wrap:anywhere}
.kc-reveal #revealNote{margin:8px auto 0;max-width:34ch;font-size:14.5px;line-height:1.5;color:var(--dim);text-wrap:pretty}

/* 2. Main action, 3. secondary actions */
.kc-reveal .kc-choice,.kc-reveal .kc-gift{display:flex;flex-direction:column;gap:10px;margin:18px 0 0;text-align:left}
.kc-reveal .kc-choice::before,.kc-reveal .kc-gift::before{content:"";display:block;height:1px;margin:0 0 8px;background:linear-gradient(90deg,transparent,rgba(255,194,74,.4),transparent)}
.kc-reveal .kc-choice .kc-btn-main{flex:none;width:100%;min-width:0;min-height:62px;padding:10px 20px;margin:0;box-sizing:border-box;justify-content:center;gap:2px}
.kc-reveal .kc-choice .kc-btn-label{font-size:30px}
.kc-reveal .kc-choice .kc-btn-sub{font-size:12px;opacity:.78}
.kc-reveal .kc-choice-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.kc-reveal .kc-choice-row .kc-btn{min-width:0;min-height:56px;width:100%;box-sizing:border-box;margin:0!important;padding:8px 10px;flex:none}
.kc-reveal .kc-choice-row .kc-btn-ghost{background:rgba(255,255,255,.025);border-color:rgba(255,194,74,.28);font-size:15px;line-height:1.15;gap:3px}
.kc-reveal .kc-choice-row .kc-btn-ghost small{display:block;margin:0;font-size:11px;line-height:1.25;white-space:normal}
.kc-reveal .kc-choice-row .kc-btn-ghost:hover:not(:disabled){background:rgba(255,194,74,.07)}
.kc-reveal .kc-choice-row .kc-btn-ghost:focus-visible{box-shadow:0 0 0 3px rgba(255,194,74,.35)}

/* Gift form */
.kc-reveal .kc-gift label{align-items:center;text-align:center}
.kc-reveal .kc-gift input{text-align:center}
.kc-reveal .kc-gift .kc-choice-row{grid-template-columns:1fr 1.4fr}
.kc-reveal .kc-gift-send{min-height:56px;padding:8px 14px!important;justify-content:center}
.kc-reveal .kc-gift-send .kc-btn-label{font-size:24px}

/* Status line */
.kc-reveal .kc-choice-msg{margin:12px auto 0!important;max-width:36ch;text-align:center;font-size:13.5px;line-height:1.45}

/* Close + quiet link */
.kc-reveal #revealClose{width:min(260px,100%);min-width:0;min-height:56px;margin:20px auto 0;padding:10px 24px;box-sizing:border-box;justify-content:center;flex:none}
.kc-reveal #revealClose .kc-btn-label{font-size:30px}
.kc-reveal .kc-later{align-self:center;margin:8px auto 0;min-height:44px;padding:0 14px;font-size:12px;letter-spacing:.1em;color:var(--dim);text-decoration:underline;text-decoration-color:rgba(255,255,255,.18);text-underline-offset:4px}
.kc-reveal .kc-later:hover,.kc-reveal .kc-later:focus-visible{color:var(--gold);text-decoration-color:currentColor}
.kc-reveal .kc-later:focus-visible{outline:2px solid var(--gold);outline-offset:2px;border-radius:6px}

/* Phones */
@media (max-width:480px){
  .kc-reveal{padding:12px}
  .kc-reveal .kc-reveal-card{padding:22px 18px 16px;border-radius:18px;max-height:calc(100dvh - 24px)}
  .kc-reveal .kc-choice .kc-btn-label,.kc-reveal #revealClose .kc-btn-label{font-size:28px}
  .kc-reveal .kc-choice-row{gap:8px}
  .kc-reveal .kc-choice-row .kc-btn-ghost{font-size:14px;padding:8px 6px}
}
/* Short screens: shrink the art first so the actions stay on screen */
@media (max-height:780px){
  .kc-reveal .kc-reveal-card img{width:min(170px,48%,21vh);margin:10px auto 8px}
  .kc-reveal .kc-choice,.kc-reveal .kc-gift{margin-top:14px}
  .kc-reveal #revealClose{margin-top:16px}
}
@media (max-height:640px){
  .kc-reveal .kc-reveal-card img{width:min(120px,36%,18vh)}
  .kc-reveal .kc-reveal-tag{font-size:clamp(26px,8vw,38px)}
}