
/* KVI PLAY | Stagecraft Studio. Scoped visuals; no theme, policy or checkout overrides. */
.kp-stage{background:#0c0919;color:#fffaf4}
.kp-stage [hidden]{display:none!important}
.kp-stage-main{width:min(1460px,94%);margin:0 auto}
.kp-stage-main>*{min-width:0}
.kp-stage-hero{min-height:610px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(20px,4vw,60px);align-items:center;padding:clamp(62px,7vw,120px) 0}
.kp-stage-hero-copy{min-width:0;position:relative;z-index:2}
.kp-stage-hero h1{font-size:clamp(58px,8vw,132px);letter-spacing:-.075em;line-height:.91;margin:22px 0 28px;overflow-wrap:anywhere}
.kp-stage-hero h1 em{color:#fac65d;font-style:normal;text-shadow:4px 5px 0 rgba(166,49,93,.28)}
.kp-stage-lead{max-width:670px;font-size:clamp(17px,1.7vw,21px);color:#e7dbea;line-height:1.75}
.kp-stage-actions{display:flex;gap:14px;flex-wrap:wrap;margin:33px 0}
.kp-stage-stats{display:flex;gap:11px;flex-wrap:wrap}
.kp-stage-stats span{font-size:11px;letter-spacing:.1em;font-weight:800;padding:9px 12px;border-radius:20px;border:1px solid rgba(250,198,93,.38);color:#ffe5aa;background:rgba(0,0,0,.12)}
.kp-stage-set{min-width:0;position:relative;isolation:isolate;min-height:480px;overflow:hidden;border-radius:33px;border:1px solid #9f5977;background:radial-gradient(ellipse at 50% 13%,rgba(250,198,93,.47),transparent 44%),linear-gradient(170deg,#2a1129,#0d0a17 72%);box-shadow:0 25px 100px rgba(0,0,0,.34),inset 0 0 65px rgba(233,136,63,.14)}
.kp-stage-lights{position:absolute;inset:-30% 8% 6%;z-index:1;clip-path:polygon(48% 0,52% 0,100% 100%,0 100%);background:linear-gradient(180deg,rgba(250,230,165,.36),rgba(250,198,93,.04))}
.kp-stage-curtain{position:absolute;z-index:2;top:0;height:100%;width:41%;background:repeating-linear-gradient(90deg,#700c35 0%,#a52551 14%,#540a30 30%,#320920 40%,#80163b 55%);box-shadow:inset 0 -20px 45px rgba(0,0,0,.65)}
.kp-stage-curtain-left{left:0;border-radius:0 0 76% 0;transform:translateX(-15%) rotate(-4deg);transform-origin:top left}
.kp-stage-curtain-right{right:0;border-radius:0 0 0 76%;transform:translateX(15%) rotate(4deg);transform-origin:top right}
.kp-stage-stagefloor{position:absolute;z-index:0;left:0;right:0;bottom:0;height:32%;background:repeating-linear-gradient(100deg,transparent 0 66px,rgba(255,198,111,.1) 67px,transparent 69px),linear-gradient(#45233d,#1a1121)}
.kp-stage-set-mark{position:absolute;z-index:3;left:50%;top:51%;transform:translate(-50%,-50%) rotate(-7deg);color:#fff;white-space:nowrap;text-align:center;font:900 clamp(75px,9vw,150px)/.8 Outfit,sans-serif;letter-spacing:-.075em;text-shadow:7px 10px 0 rgba(0,0,0,.45)}
.kp-stage-set-mark b{color:#fac65d;font-weight:900}
.kp-stage-set-star{position:absolute;z-index:3;bottom:9%;left:48%;font-size:56px;color:#fac65d}
.kp-stage-marquee{border-top:1px solid rgba(250,198,93,.3);border-bottom:1px solid rgba(250,198,93,.3);padding:21px 15px;text-align:center;letter-spacing:.18em;font-size:12px;font-weight:900;color:#f3d2dc}
.kp-stage-marquee span{color:#fac65d;padding:0 17px}
.kp-stage-section-nav{display:flex;justify-content:center;align-items:center;gap:clamp(14px,5vw,80px);padding:23px;flex-wrap:wrap;border-bottom:1px solid rgba(255,255,255,.15)}
.kp-stage-section-nav a{color:#f9dbab!important;font-size:12px;font-weight:800;letter-spacing:.12em}
.kp-stage-section-nav a:hover{color:#fff!important}
.kp-stage-section{padding:clamp(68px,9vw,132px) 0 28px;scroll-margin-top:15px}
.kp-stage-section-heading{max-width:900px;margin-bottom:42px}
.kp-stage-section-heading h2,.kp-stage-next h2{font-size:clamp(46px,7.3vw,104px);letter-spacing:-.075em;margin:16px 0 20px;line-height:.95}
.kp-stage-section-heading>p,.kp-stage-next>p{max-width:750px;color:#e0d4e6;line-height:1.85;font-size:clamp(16px,1.55vw,19px)}
.kp-stage-progress{margin-top:26px;max-width:420px;font-size:11px;font-weight:800;color:#fce4b1;letter-spacing:.08em}
.kp-stage-progress-track{background:#352641;height:9px;overflow:hidden;border-radius:999px;border:1px solid rgba(252,205,111,.35);margin-top:9px}
.kp-stage-progress-track>span{height:100%;width:0;display:block;background:linear-gradient(90deg,#f77dac,#fac65d);border-radius:999px;transition:width .25s ease}
.kp-stage-lesson-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}
.kp-stage-lesson{min-width:0;border-radius:23px;overflow:hidden;border:1px solid rgba(250,198,93,.33);background:linear-gradient(150deg,#382143,#191427);box-shadow:0 15px 42px rgba(0,0,0,.12)}
.kp-stage-lesson:nth-child(3n+2){background:linear-gradient(145deg,#203957,#191727)}
.kp-stage-lesson:nth-child(3n){background:linear-gradient(145deg,#4a263c,#191427)}
.kp-stage-lesson summary{list-style:none;padding:clamp(23px,3vw,36px);position:relative;display:flex;flex-direction:column;gap:10px;cursor:pointer;min-height:190px}
.kp-stage-lesson summary::-webkit-details-marker{display:none}
.kp-stage-lesson-number{font-size:11px;letter-spacing:.16em;color:#fac65d;font-weight:900}
.kp-stage-lesson summary strong{font:900 clamp(24px,3vw,37px)/1.06 Outfit,sans-serif;letter-spacing:-.04em;max-width:89%;overflow-wrap:anywhere}
.kp-stage-lesson summary small{font-size:13px;color:#e4d6e7;font-weight:600}
.kp-stage-open-icon{position:absolute;right:25px;top:25px;font-size:30px;color:#fac65d;font-weight:700}
.kp-stage-lesson details[open] .kp-stage-open-icon{transform:rotate(45deg)}
.kp-stage-lesson-body{padding:0 clamp(23px,3vw,36px) 31px;color:#f2e7ef;line-height:1.8}
.kp-stage-lesson-body p{margin:0 0 17px}
.kp-stage-try{background:rgba(250,198,93,.11);padding:17px 19px;border-left:3px solid #fac65d;border-radius:0 10px 10px 0;margin:23px 0}
.kp-stage-try span{color:#fac65d;font-size:11px;font-weight:900;letter-spacing:.15em}
.kp-stage-try p{margin:8px 0 0;font-size:15px}
.kp-stage-complete{border:1px solid #fac65d;border-radius:12px;padding:13px 17px;background:#fac65d;color:#241326!important;font-weight:900;font-size:12px;letter-spacing:.04em;min-height:45px;width:100%}
.kp-stage-complete[aria-pressed=true]{color:#fff!important;background:#49254c;border-color:#e8c2da}
.kp-stage-footnote{margin-top:18px;font-size:13px;color:#c8bed1;line-height:1.8}
.kp-stage-game-shell{min-height:400px;padding:clamp(26px,5vw,70px);border-radius:28px;position:relative;isolation:isolate;overflow:hidden;border:1px solid rgba(250,198,93,.43);background:radial-gradient(ellipse at 20% 5%,rgba(157,46,95,.5),transparent 55%),linear-gradient(135deg,#2a1d42,#101021)}
.kp-stage-game-intro,.kp-stage-game-results{text-align:center;max-width:660px;margin:auto}
.kp-stage-game-spotlight{font:900 clamp(70px,12vw,136px)/1 Outfit,sans-serif;color:#fac65d;text-shadow:0 15px 0 rgba(0,0,0,.25);margin-bottom:20px}
.kp-stage-game-intro h3,.kp-stage-game-results h3{font-size:clamp(38px,5vw,62px);margin:0 0 20px;line-height:1}
.kp-stage-game-intro p,.kp-stage-game-results p{color:#eadfed;font-size:17px;line-height:1.75;margin:0 0 25px}
.kp-stage-game-top{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;font-size:12px;font-weight:900;letter-spacing:.12em;color:#ffe1a2}
.kp-stage-game-play h3{font-size:clamp(26px,3.7vw,48px);line-height:1.12;margin:32px 0;max-width:900px}
.kp-stage-answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.kp-stage-answer{display:block;min-width:0;min-height:70px;border:1px solid rgba(250,198,93,.36);border-radius:15px;background:#29233d;color:#fff!important;text-align:left;padding:20px 22px;line-height:1.5;font-weight:750}
.kp-stage-answer:hover:not(:disabled){background:#463453;border-color:#fac65d}
.kp-stage-answer:disabled{cursor:default;opacity:1}
.kp-stage-answer.kp-stage-correct{background:#194a48;color:#fafff6!important;border-color:#baf3de}
.kp-stage-answer.kp-stage-incorrect{background:#58263b;color:#fff!important;border-color:#f3a8bc}
.kp-stage-feedback{min-height:35px;margin:24px 0!important;font-size:16px;color:#ffe6bc;font-weight:700}
.kp-stage-game-results{padding:18px 0}
.kp-stage-game-results p:first-of-type{font-weight:900;color:#ffe6a9;font-size:22px}
.kp-stage-desk{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:24px;align-items:start}
.kp-stage-desk-editor,.kp-stage-desk-preview{min-width:0;border-radius:24px;border:1px solid rgba(250,198,93,.3);background:linear-gradient(145deg,#2a213a,#121221);padding:clamp(22px,3vw,40px)}
.kp-stage-desk-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:28px}
.kp-stage-desk h3{font-size:clamp(28px,3vw,42px)}
.kp-stage-inline-btn{background:#fac65d;border:1px solid #fac65d;color:#211225!important;border-radius:12px;padding:12px 16px;font-weight:900;font-size:12px;letter-spacing:.03em;min-height:44px;overflow-wrap:anywhere}
.kp-stage-inline-btn:hover,.kp-stage-complete:hover:not([aria-pressed=true]){background:#ffe2a0}
.kp-stage-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.kp-stage-field{min-width:0;margin-bottom:18px}
.kp-stage-field label{display:block;margin-bottom:8px;color:#fce5b9;font-size:12px;font-weight:850;letter-spacing:.025em}
.kp-stage-field input,.kp-stage-field textarea{display:block;width:100%;min-width:0;border:1px solid #9b85ab;border-radius:12px;color:#fff!important;background:#111525!important;padding:14px 15px;outline-offset:3px;font:500 15px/1.6 'DM Sans',sans-serif;resize:vertical}
.kp-stage-field textarea{min-height:92px}
.kp-stage-field input::placeholder,.kp-stage-field textarea::placeholder{color:#bec0cb;opacity:1}
.kp-stage-field input:focus,.kp-stage-field textarea:focus{border-color:#fac65d;box-shadow:0 0 0 2px rgba(250,198,93,.18)}
.kp-stage-desk-buttons,.kp-stage-preview-actions{display:flex;flex-wrap:wrap;gap:11px}
.kp-stage-desk-buttons .kp-button{white-space:normal;min-height:49px}
.kp-stage-desk-status{min-height:29px;margin-top:14px!important;color:#ffdfac;font-weight:700;font-size:14px;line-height:1.6}
.kp-stage-desk-preview{position:sticky;top:20px;background:linear-gradient(155deg,#30213e,#151323)}
.kp-stage-preview-head{display:flex;justify-content:space-between;gap:15px;font-size:12px;letter-spacing:.13em;font-weight:900;color:#ffe0a6;border-bottom:1px solid rgba(255,255,255,.24);padding-bottom:22px}
.kp-stage-preview-head span:last-child{font-size:23px}
.kp-stage-desk-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;font:500 15px/1.85 'DM Sans',sans-serif;color:#fff9ec;background:rgba(10,10,21,.7);border:1px solid rgba(250,198,93,.22);border-radius:14px;margin:23px 0;padding:24px;min-height:300px;max-height:630px;overflow:auto}
.kp-stage-desk-preview>p{font-size:13px;line-height:1.8;color:#dad0df;margin:18px 0 0}
.kp-stage-clear{font-size:12px;text-decoration:underline;background:transparent;color:#fce5b6!important;border:0;padding:10px 0;margin-top:12px}
.kp-stage-next{margin:80px 0 100px;padding:clamp(36px,7vw,90px);border-radius:30px;border:1px solid rgba(250,198,93,.35);background:radial-gradient(circle at 84% 5%,rgba(252,161,86,.24),transparent 46%),linear-gradient(120deg,#401e45,#17223d)}
.kp-stage-next-links{display:flex;gap:14px;flex-wrap:wrap;margin-top:32px}
.kp-stage-next-links a{display:inline-flex;align-items:center;min-height:48px;padding:12px 19px;border-radius:12px;border:1px solid #fac65d;color:#fce6b5!important;font-weight:900;font-size:12px;letter-spacing:.04em}
.kp-stage-next-links a:hover{background:#fac65d;color:#201628!important}
/* Homepage invitation, intentionally confined to KVI PLAY arcade. */
.kp-stage-home-promo{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);border-radius:23px;border:1px solid rgba(250,198,93,.43);overflow:hidden;margin:20px 0;background:linear-gradient(140deg,#44213f,#17162b)}
.kp-stage-home-art{min-height:310px;display:grid;place-items:center;padding:28px;position:relative;background:repeating-linear-gradient(90deg,#5c1034 0%,#a82052 13%,#521130 26%,#360c2c 36%);box-shadow:inset 0 -30px 80px #110b1f}
.kp-stage-home-art span{font:900 clamp(58px,6vw,95px)/.88 Outfit,sans-serif;text-align:center;letter-spacing:-.07em;text-shadow:6px 9px 0 #2d102a;transform:rotate(-7deg);color:#fff}
.kp-stage-home-art em{color:#fac65d}
.kp-stage-home-copy{padding:clamp(29px,5vw,60px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:18px}
.kp-stage-home-copy h3{font-size:clamp(35px,4.7vw,64px);margin:0;line-height:1.01}
.kp-stage-home-copy p{color:#eadce7;line-height:1.8;font-size:17px}
@media(max-width:1050px){.kp-stage-hero{grid-template-columns:1fr;min-height:0}.kp-stage-set{min-height:340px}.kp-stage-set-mark{font-size:110px}.kp-stage-desk{grid-template-columns:1fr}.kp-stage-desk-preview{position:static}}
@media(max-width:700px){.kp-stage-main{width:94%}.kp-stage-hero{padding:60px 0 45px;gap:22px}.kp-stage-hero h1{font-size:clamp(47px,12vw,74px);margin:16px 0 23px}.kp-stage-lead{font-size:16px}.kp-stage-actions .kp-button{width:100%;justify-content:center;font-size:12px!important;white-space:normal}.kp-stage-set{min-height:250px;border-radius:20px}.kp-stage-set-mark{font-size:83px}.kp-stage-lesson-grid,.kp-stage-answers,.kp-stage-fields{grid-template-columns:1fr}.kp-stage-lesson summary{min-height:0}.kp-stage-marquee{font-size:10px;line-height:2;letter-spacing:.06em}.kp-stage-marquee span{padding:0 5px}.kp-stage-section-nav{gap:15px;padding:19px 5px}.kp-stage-section-nav a{font-size:11px}.kp-stage-section-heading h2,.kp-stage-next h2{font-size:clamp(39px,10vw,65px)}.kp-stage-section{padding-top:70px}.kp-stage-game-shell{padding:27px 19px}.kp-stage-game-play h3{font-size:29px}.kp-stage-answer{min-height:58px}.kp-stage-desk-editor,.kp-stage-desk-preview{padding:23px 18px}.kp-stage-desk-buttons .kp-button{width:100%;justify-content:center}.kp-stage-desk-preview pre{min-height:240px;padding:18px}.kp-stage-next{margin:60px 0 75px;padding:33px 20px}.kp-stage-next-links a{width:100%;justify-content:center}.kp-stage-home-promo{grid-template-columns:1fr}.kp-stage-home-art{min-height:180px}.kp-stage-home-art span{font-size:63px}.kp-stage-home-copy{padding:28px 22px}.kp-stage-home-copy h3{font-size:39px}.kp-stage-home-copy .kp-button{width:100%;white-space:normal;justify-content:center;font-size:12px!important}}
@media(max-width:390px){.kp-stage-hero h1{font-size:47px}.kp-stage-stats span{font-size:10px}.kp-stage-set{min-height:210px}.kp-stage-set-mark{font-size:70px}.kp-stage-home-art span{font-size:54px}.kp-stage-home-copy h3{font-size:34px}}
@media(prefers-reduced-motion:reduce){.kp-stage-progress-track>span{transition:none}}
