*{box-sizing:border-box}html{background:#031020;color:#f6f4eb;font-family:Inter,"Segoe UI",Arial,sans-serif}body{margin:0;min-height:100vh;background:radial-gradient(circle at 50% 25%,#123a60 0,#07192f 45%,#030b18 100%)}main{max-width:1740px;margin:auto}.setup{max-width:1200px;min-height:calc(100vh - 90px);margin:auto;display:grid;grid-template-columns:1fr 460px;gap:8%;align-items:center;padding:50px 5%}.eyebrow{color:#f3c666;letter-spacing:.2em;font-size:13px;font-weight:800}.online-intro h1{font-size:clamp(48px,6vw,92px);line-height:1.05;margin:24px 0}.online-intro h1 em{font-style:normal;color:#f5cb69;text-shadow:0 0 28px #f7b94975}.online-intro p{color:#b8cbe2;font-size:19px;line-height:1.65;max-width:620px}form{border:1px solid #ba914f;background:linear-gradient(145deg,#102b4c,#071626);border-radius:24px;padding:34px;box-shadow:0 15px 80px #0009,0 0 38px #dba74429}form h2{margin:0 0 28px;font-size:27px}label{display:block;margin:0 0 20px;color:#d8e2ee;font-weight:600}input{display:block;width:100%;margin-top:9px;border:1px solid #657f9a;border-radius:12px;background:#031426;color:#fff;padding:14px 16px;font:inherit;font-size:18px}input:focus{outline:2px solid #f5ca65}.fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}form button{width:100%;border:0;border-radius:14px;padding:16px;background:linear-gradient(#ffe698,#d89731);color:#132037;font-size:19px;font-weight:800;cursor:pointer;box-shadow:0 7px 0 #8f5817,0 0 28px #e6aa4a66}form button:hover{filter:brightness(1.15)}form button:active{transform:translateY(5px);box-shadow:0 2px 0 #8f5817}form small{display:block;color:#aabed4;line-height:1.5;margin-top:20px}#error{min-height:1.2em;color:#ffb5a9}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:8px 3%;color:#ecd396}.toolbar button{background:#123455;border:1px solid #5b8fac;color:#fff;padding:10px 16px;border-radius:9px;cursor:pointer}.toolbar button:hover{background:#1b527e}.toolbar>div{display:flex;gap:9px}.stage-wrap{padding:0 1.5%}canvas{display:block;width:100%;height:auto;max-height:calc(100vh - 135px);margin:auto;object-fit:contain;touch-action:manipulation}.stage-help{text-align:center;color:#a6b9cc;font-size:13px;margin:8px 0 24px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}:fullscreen{background:#031020}:fullscreen .stage-wrap{height:calc(100vh - 70px);display:flex;align-items:center}:fullscreen canvas{max-height:calc(100vh - 70px)}@media(max-width:850px){header span{display:none}.setup{display:block;padding:30px 5%}.online-intro h1{font-size:50px}form{margin:35px auto;max-width:500px}.toolbar{font-size:13px}.toolbar button{padding:8px}}@media(max-width:600px){.toolbar{flex-wrap:wrap}.toolbar strong{order:-1;width:100%;text-align:center}.stage-wrap{overflow-x:auto}canvas{min-width:800px}}
.legal{text-align:center;padding:18px;color:#a9bbcb}.legal a{color:#d8bd78}
[hidden]{display:none!important}

.confirm-dialog{max-width:480px;border:1px solid #c09a55;border-radius:22px;background:linear-gradient(145deg,#102c4b,#061426);color:#f5f5f1;padding:0;box-shadow:0 30px 100px #000c,0 0 30px #daa94e44}.confirm-dialog::backdrop{background:#010916b8;backdrop-filter:blur(5px)}.confirm-dialog form{padding:34px;margin:0;border:0;background:none;box-shadow:none}.confirm-dialog h2{font-size:29px;margin:16px 0}.confirm-dialog p{line-height:1.6;color:#c0d0e0}.dialog-actions{display:flex;gap:12px;margin-top:24px}.confirm-dialog button{width:auto;flex:1;padding:13px 15px;font-size:15px;box-shadow:none}.confirm-dialog button:first-child{background:#183958;color:#fff;border:1px solid #6188a4}.confirm-dialog button:last-child{background:linear-gradient(#ffe698,#d89731);color:#172333;border:0}
.online-intro h1{font-size:clamp(46px,5vw,78px);hyphens:none;word-break:normal;overflow-wrap:normal}.online-intro h1 em{hyphens:none}

.setup-preview{grid-column:1/-1;margin:0 auto 35px;width:100%;max-width:1100px}.setup-preview img{display:block;width:100%;height:auto;border:1px solid #c9a35f;border-radius:14px;box-shadow:0 25px 80px #0009}.setup-preview figcaption{text-align:center;color:#aebfd3;font-size:14px;margin-top:12px}
