*{box-sizing:border-box}body{margin:0;background:#f6f5f2;color:#20192a;font:16px/1.5 Inter,Arial,sans-serif}header,.bar,.controls,.chrome{display:flex;align-items:center;justify-content:space-between;gap:1rem}header{padding:20px 5vw;border-bottom:1px solid #d9d5de}header strong{font-size:1.5rem;letter-spacing:-.07em}header i,em{color:#7544cb}header span,small{font-size:.88rem}#gate{max-width:1320px;margin:5vh auto;padding:0 5vw;display:grid;grid-template-columns:1.18fr 1fr;align-items:center;gap:8%}.intro{overflow:hidden;background:#211432;color:white;position:relative;isolation:isolate;display:flex;align-items:end;min-height:65vh;padding:8%;border-radius:8px}.art{position:absolute;inset:0;z-index:-1;background:radial-gradient(at 93% 5%,#7844be,transparent 65%)}.art b{position:absolute;width:90%;height:43%;border:2px solid #baa1f8;border-radius:9px;transform:rotate(-23deg) skewX(10deg);top:3%;left:25%;background:linear-gradient(145deg,#ffffff22,#65409699);box-shadow:inset 0 13px #c9a7ff33,0 22px 30px #10032333}.art b:nth-child(2){top:9%;left:20%}.art b:nth-child(3){top:15%;left:15%}h1{font-size:clamp(4rem,8vw,8rem);line-height:.83;letter-spacing:-.08em;margin:0}em{font-family:Georgia,serif;font-weight:400;color:#d2abff}h2{font-size:clamp(1.5rem,3vw,2.5rem);letter-spacing:-.055em;margin:0}p{color:#5b5564}label{display:grid;gap:6px;font-size:.9rem;font-weight:650}form label{margin:20px 0}button,input,select{font:inherit;border:1px solid #bfb8c9;border-radius:6px;padding:12px;background:white;color:inherit}button,select{cursor:pointer}.primary{background:#542b86;color:white;width:100%;font-weight:bold}output{display:block;margin-top:10px}#review{padding:20px 3vw}.controls{justify-content:flex-start;align-items:end;flex-wrap:wrap;margin:15px 0}.controls label:first-child{flex:1}.controls select{max-width:100%}#stage{padding:12px;background:#e7e3ed;border-radius:10px}#frame{background:white;overflow:hidden;border:1px solid #c5bfcc;border-radius:8px}.chrome{padding:6px 14px;background:#f6f4f7;justify-content:flex-start;font-size:.85rem}.chrome span{color:#988ca5}#screen{height:80vh;height:80dvh;overflow:auto}#screen img,#screen video{width:100%;display:block}#screen.large>*{min-width:1280px}.monitor #frame{max-width:1050px;margin:auto;border:12px solid #232027;border-bottom-width:32px}.monitor #screen{height:min(52vw,56vh)}.monitor:after{content:'';display:block;margin:auto;width:22%;height:28px;background:linear-gradient(90deg,#aaa5ae,#d6d4d8,#9b969e);clip-path:polygon(35% 0,65% 0,69% 80%,100% 90%,100% 100%,0 100%,0 90%,31% 80%)}#exitFull{display:none}#stage.full{position:fixed;inset:0;z-index:5;padding:0;background:white;border-radius:0}#stage.full #frame{max-width:none;border:0}#stage.full #screen{height:100dvh}#stage.full .chrome,#stage.full:after{display:none}#stage.full #exitFull{display:block;position:absolute;bottom:12px;right:18px}[hidden]{display:none!important}@media(max-width:700px){#gate{display:block;margin:18px auto}.intro{min-height:180px;padding:28px;margin-bottom:22px}.controls{gap:6px}.controls label:first-child{flex-basis:100%}.controls button,.controls select{padding:9px}header{padding:14px 5vw}}
#pages,.actions{display:flex;gap:8px;flex-wrap:wrap}#pages{margin:18px 0 10px}#pages button{padding:8px 14px;border-radius:20px}#pages button[aria-pressed=true],.accent{background:#542b86;color:white;border-color:#542b86}.actions{justify-content:flex-end;margin:8px 0 14px}dialog{border:0;border-radius:14px;padding:clamp(20px,4vw,40px);width:min(520px,94vw);max-height:92dvh;color:inherit}dialog::backdrop{background:#20192a99}dialog label{margin:12px 0}textarea{font:inherit;resize:vertical;border:1px solid #bfb8c9;border-radius:6px;padding:10px}#screen img{max-width:2880px;margin:auto}
#screen iframe{display:block;border:none;width:100%;height:100%;background:white}
