@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;450;500;550;600;650;700;750;800&display=swap');
:root{font-family:Manrope,Arial,sans-serif;color:#22212a;background:#f9f9fc;font-synthesis:none;--accent:#6844ec;--muted:#75747f;--line:#25223921}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,summary,label.dropzone{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}button:focus-visible,a:focus-visible,summary:focus-visible,.dropzone:focus-visible{outline:3px solid #ff8c4a;outline-offset:5px}button{border:0}a{color:inherit;text-decoration:none}[hidden]{display:none!important}header{height:104px;margin:0 5.5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:13px;font-size:22px;font-weight:800;letter-spacing:-1px}.brand svg{width:31px;height:31px;stroke:var(--accent);stroke-width:3;stroke-linecap:round;fill:none}.beta{font:10px monospace;letter-spacing:1px;color:var(--muted);margin:5px 0 0 12px}.text-button{background:transparent;color:var(--muted);font-size:14px;padding:10px 0;transition:color .2s}.text-button:hover{color:var(--accent)}.text-button span{margin-left:14px}main{max-width:1510px;margin:auto;padding:0 5.5%}.intro{display:flex;justify-content:space-between;align-items:flex-end;padding:47px 0 42px}.eyebrow{font-size:12px;font-weight:750;letter-spacing:1.8px;margin:0}.intro .eyebrow{color:var(--accent);display:flex;align-items:center;gap:8px}.tiny-wave{font-size:23px;line-height:10px}h1{font-size:clamp(52px,5.7vw,84px);line-height:1.02;letter-spacing:-5px;font-weight:650;margin:20px 0 0}h1 br{display:none}h1 span,h2 span{color:var(--accent)}.intro-aside{padding-bottom:3px}.intro-aside p{font-size:15px;line-height:1.8;color:#62616d;margin:0 0 10px}.technical{font:10px monospace;letter-spacing:.8px;color:#8b8a94}.workspace{display:grid;grid-template-columns:1.05fr 1fr;gap:6.6%;border-top:1px solid var(--line);padding-top:32px}.editor{min-width:0}.mode-tabs{display:flex;gap:10px;margin-bottom:29px}.mode-tabs button{padding:14px 27px;border-radius:9px;background:transparent;font-weight:650;font-size:16px;color:#77737f;position:relative;overflow:hidden}.mode-tabs .selected{background:#25232c;color:white}.mode-tabs button:not(.selected):hover{background:#6844ec0e}.mode-tabs span{font-size:22px;margin-right:10px}.section-line{display:flex;justify-content:space-between;align-items:center;gap:12px}.mono{font:12px 'SFMono-Regular',Consolas,monospace;letter-spacing:.3px;color:#8a8795}.input-tabs{display:flex;gap:23px}.input-tabs button{color:var(--muted);padding:0 0 9px;background:none;font-size:14px;position:relative}.input-tabs .active{color:var(--accent);font-weight:700}.input-tabs .active:after{content:'';height:2px;background:var(--accent);position:absolute;left:0;right:0;bottom:0}textarea{width:100%;height:150px;resize:vertical;min-height:110px;max-height:360px;border:0;background:none;padding:20px 0 10px;outline:none;font-size:26px;line-height:1.45;letter-spacing:-.9px;color:#36303e}textarea::placeholder{color:#bebbc9;white-space:pre-line}textarea:focus-visible{box-shadow:0 2px var(--accent)}.settings{padding:18px 0 16px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);border-bottom:1px solid var(--line);gap:10px}.settings label{font-size:12px;color:var(--muted);display:block;margin-bottom:7px}.select-wrap{position:relative}.select-wrap select{font-weight:650;border:0;background:transparent;padding:0 28px 0 0;appearance:none;cursor:pointer;max-width:100%;color:#25212f}.select-wrap span{position:absolute;right:0;pointer-events:none;color:var(--accent)}select option{background:#fff;color:#27232e;padding:15px;border-bottom:1px solid var(--line)}.rate{text-align:right}.rate span{font-size:14px;color:var(--accent);font-weight:650}.rate small{display:block;margin-top:6px;color:var(--muted);font-size:11px}.correction{margin:15px 0 18px;color:var(--muted);font-size:12px}summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between}summary::-webkit-details-marker{display:none}.correction summary span{font-size:17px}.correction p{font-size:12px;line-height:1.6}.code-row{display:flex;align-items:center;justify-content:space-between;margin-top:12px;gap:15px}.code-row input{width:90px;background:transparent;border:1px solid var(--line);padding:10px;border-radius:5px;letter-spacing:6px;color:var(--accent)}.primary{width:100%;padding:19px 23px;background:var(--accent);color:#fff;border-radius:8px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:16px;font-weight:650;position:relative;overflow:hidden;isolation:isolate}.primary .arrow{font-size:25px;line-height:20px}.glitter canvas,.sparkle-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:-1}.hint{font-size:12px;text-align:center;color:var(--muted);margin:12px 0 0}.monitor{border-left:1px solid var(--line);padding-left:12%;min-width:0;padding-top:10px}.monitor .eyebrow{font-size:11px;letter-spacing:1.4px}.status{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted);white-space:nowrap}.status i,footer i{display:inline-block;width:5px;height:5px;border-radius:50%;background:#ada8b8}.status.live i{background:var(--accent);box-shadow:0 0 10px #6844ec60}.spectrum-wrap{height:149px;position:relative;margin-top:16px;background:repeating-linear-gradient(to top,transparent 0,transparent 36px,#25223908 36px,#25223908 37px)}#spectrum{width:100%;height:100%;display:block}#spectrum-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;pointer-events:none;color:#8a819a;font-size:13px}#spectrum-empty small{font-size:11px;color:#a9a2b4}.axis{display:flex;justify-content:space-between;font-size:10px;margin-top:9px}.metrics{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin:25px 0 27px}.metrics>div>span{font-size:11px;color:var(--muted)}.metrics strong{font-size:31px;display:block;letter-spacing:-1px;font-weight:550;margin-top:4px}.metrics small{font-size:11px;font-weight:400;letter-spacing:0;color:#95909f}.transfer-title,.transfer strong{font-size:13px;font-weight:600}progress{display:block;width:100%;height:3px;border:0;appearance:none;margin:13px 0 10px;border-radius:4px;overflow:hidden;background:#e8e5ef}progress::-webkit-progress-bar{background:#e8e5ef}progress::-webkit-progress-value{background:var(--accent);transition:width .3s}progress::-moz-progress-bar{background:var(--accent)}.transfer-meta{font-size:11px;color:var(--muted)}.blocks{display:flex;flex-wrap:wrap;gap:3px;margin-top:10px;max-height:38px;overflow:auto}.block{width:7px;height:7px;background:#d6d0e4;border-radius:1px}.block.ok{background:var(--accent)}.block.bad{background:#f79454}.steps{list-style:none;padding:0;margin:19px 0 0;display:flex;flex-direction:column;gap:13px;font-size:12px;color:#9b96a4}.steps li{display:flex;align-items:center;gap:15px}.steps b{font:10px monospace;color:#aaa5b2}.steps li>span{margin-left:auto}.steps li.active,.steps li.done{color:var(--accent)}.log-details{margin-top:22px;padding-top:12px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}#log{max-height:170px;overflow:auto;font:11px/1.7 monospace}#log p{margin:8px 0;overflow-wrap:anywhere}footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:20px;margin:42px 0 0;padding:22px 0;color:#938d9e;font-size:11px}footer span:first-child{color:#696471}footer i{background:var(--accent);margin-right:8px}footer p{margin:0}.dropzone{min-height:150px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;cursor:pointer;border-bottom:1px dashed transparent;text-align:center}.dropzone:hover,.dropzone.dragging{background:#6844ec05;border-color:#6844ec60}.upload-icon{color:var(--accent);font-size:36px}.dropzone strong{font-size:17px;font-weight:600;word-break:break-all}.dropzone>span:last-child{font-size:12px;color:var(--muted)}h2{font-size:39px;letter-spacing:-2px;line-height:1.2;margin:17px 0}.receiver-label{margin-top:35px;color:var(--muted)}.receive-copy{font-size:15px;color:var(--muted);line-height:1.8;max-width:390px;margin:0 0 35px}#correction-result{font-size:15px;margin:20px 0}#profile-code{font-size:32px;letter-spacing:8px;color:var(--accent);margin-left:15px}#correction-result p{font-size:12px;line-height:1.6}.stop{display:block;margin:10px auto;color:#d26142}#notice{border-left:2px solid var(--accent);padding:5px 12px;font-size:13px;line-height:1.6;margin-top:20px}#notice.error{border-color:#eb7d39;color:#ae4520}#result{margin-top:25px;padding-top:20px;border-top:1px solid var(--line);font-size:14px}#result-text{font:16px/1.6 Manrope,Arial;white-space:pre-wrap;overflow-wrap:anywhere;max-height:300px;overflow:auto}.success{color:var(--accent);font:11px monospace}dialog{background:#f9f9fc;color:#25212f;border:1px solid var(--line);border-radius:16px;max-width:560px;padding:40px}dialog::backdrop{background:#1d142960;backdrop-filter:blur(6px)}dialog .close{position:absolute;right:22px;top:10px;font-size:28px}dialog ol{padding-left:20px;font-size:15px;line-height:1.7}dialog li{margin-bottom:12px}dialog>p:not(.eyebrow){font-size:13px;line-height:1.7;color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(min-width:1500px){.intro{padding-top:60px;padding-bottom:55px}.workspace{padding-top:40px}.spectrum-wrap{height:175px}textarea{height:175px}header{max-width:1344px;margin:auto}}
@media(max-width:1050px){h1{letter-spacing:-3px}h1 br{display:block}.intro-aside{max-width:250px}.workspace{gap:5%}.monitor{padding-left:9%}.beta{display:none}.mode-tabs button{padding:13px 20px}.settings{align-items:flex-start}.rate small{max-width:100px}.metrics strong{font-size:27px}}
@media(max-width:720px){header{height:80px;margin:0 6%}.brand{font-size:20px}.brand svg{width:25px}.text-button{font-size:12px}header>.text-button{max-width:95px;text-align:right}header>.text-button span{margin-left:3px}main{padding:0 6%}.intro{padding:32px 0 28px;display:block}h1{font-size:57px;letter-spacing:-3.6px;margin-top:14px}h1 br{display:none}.intro .eyebrow{font-size:10px}.intro-aside{max-width:none;margin-top:17px}.intro-aside p{font-size:13px;line-height:1.6}.intro-aside p br{display:none}.technical{font-size:9px}.workspace{display:block;padding-top:23px}.mode-tabs{margin-bottom:23px}.mode-tabs button{flex:1;font-size:15px;padding:12px 10px}.monitor{padding:30px 0 0;border-left:0;border-top:1px solid var(--line);margin-top:32px}.spectrum-wrap{height:150px}textarea{font-size:25px;height:143px}.metrics{margin:24px 0}.metrics strong{font-size:32px}.steps{gap:15px}.monitor .eyebrow{font-size:11px}.status{font-size:11px}footer{flex-wrap:wrap;margin-top:30px;padding-bottom:24px;gap:15px}footer p{order:3;width:100%;font-size:10px}.hint{font-size:11px}.rate small{max-width:none;font-size:10px}.rate span{font-size:12px}.settings select{font-size:14px}dialog{padding:32px 25px;margin:20px;max-height:90vh}dialog h2{font-size:36px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.sparkle-canvas{display:none}}
.settings label,.correction,.hint,.monitor .eyebrow,.status,.metrics>div>span,.transfer strong,.steps,.log-details{font-size:14px}.rate small,.transfer-meta,.axis{font-size:12px}.metrics small{font-size:12px}.receiver-label{font-size:12px}.correction p,.code-row label{font-size:13px}#spectrum-empty{font-size:14px}#spectrum-empty small{font-size:12px}@media(max-width:720px){.monitor .eyebrow,.status{font-size:12px}.hint{font-size:12px}.metrics>div>span,.steps{font-size:14px}}
#speed-trigger{padding:0 28px 0 0;background:transparent;text-align:left;font-size:16px;font-weight:650;color:#25212f;overflow:visible!important;min-height:25px}#speed-trigger span{top:1px}#speed-menu{position:absolute;top:calc(100% + 12px);left:0;z-index:20;min-width:290px;background:#faf9fff2;backdrop-filter:blur(20px);box-shadow:0 12px 50px #3b236b1b;border:1px solid #69558220;border-radius:10px;padding:4px 16px}#speed-menu button{display:flex;flex-direction:column;gap:6px;text-align:left;background:transparent;width:100%;padding:15px 0;border-bottom:1px solid #76678425;color:#48424f}#speed-menu button:last-child{border-bottom:0}#speed-menu strong{font-size:14px;font-weight:650}#speed-menu small{font-size:12px;color:#89808e}#speed-menu button[aria-selected=true] strong{color:var(--accent)}#speed-menu button:hover strong{color:var(--accent)}@media(max-width:720px){#speed-trigger{font-size:14px}#speed-menu{min-width:275px}}

/* Smooth hover colours and an independently rounded particle surface. */
button,.text-button,.mode-tabs button,.dropzone,#speed-menu strong {
  transition: color 280ms ease, background-color 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}
.primary:hover:not(:disabled) { background-color: #7350ef; }
.sparkle-canvas {
  display: block;
  border-radius: var(--glitter-radius, 8px);
  clip-path: inset(0 round var(--glitter-radius, 8px));
  overflow: hidden;
}
