:root{
  color-scheme:light;
  font-family:Inter,"Segoe UI",Arial,sans-serif;
  font-synthesis:none;
  --ink:#202943;
  --muted:#536079;
  --focus:#4f55b5;
}
*{box-sizing:border-box}
html{background:#e5e9fa}
body{
  margin:0;
  min-width:280px;
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  background:
    radial-gradient(ellipse at 9% 13%,#b9daf5 0,transparent 52%),
    radial-gradient(ellipse at 88% 84%,#f3cddb 0,transparent 52%),
    radial-gradient(ellipse at 88% 12%,#d7c7f5 0,transparent 48%),
    linear-gradient(145deg,#e8f1fa,#dfdff5 55%,#f4e1e9);
}
button,textarea{font:inherit}
.page{
  min-height:100vh;
  min-height:100svh;
  display:grid;
  place-items:center;
  padding:24px;
  padding-top:max(16px,env(safe-area-inset-top));
  padding-bottom:max(16px,env(safe-area-inset-bottom));
  padding-left:max(16px,env(safe-area-inset-left));
  padding-right:max(16px,env(safe-area-inset-right));
}
.cleaner{
  width:min(100%,440px);
  min-width:0;
  padding:28px;
  border:1px solid #ffffffd9;
  border-radius:28px;
  background:linear-gradient(145deg,#fffffff0,#f2f3fcee);
  box-shadow:0 22px 70px -24px #4f56894a,inset 0 1px 0 #fff,inset 0 -1px 0 #ffffff70;
}
@supports ((backdrop-filter:blur(20px)) or (-webkit-backdrop-filter:blur(20px))){
  .cleaner{
    background:linear-gradient(145deg,#ffffffa6,#ffffff4d);
    -webkit-backdrop-filter:blur(22px);
    backdrop-filter:blur(22px);
  }
}
.heading{display:flex;justify-content:center;align-items:center;gap:10px;margin-bottom:24px}
.brand-mark{
  width:34px;height:34px;flex:none;display:grid;place-items:center;
  border:1px solid #ffffffd9;border-radius:11px;background:#ffffff60;
  box-shadow:inset 0 1px 0 #fff;color:#555ac3;
}
.brand-mark svg{width:22px;height:22px}
h1{display:flex;align-items:center;justify-content:center;gap:10px;font-size:30px;line-height:1.2;letter-spacing:-1.1px;font-weight:650;margin:0}
.brand-dot{color:#646ad0}
.fields{display:grid;gap:16px}
.field-group{min-width:0}
label{display:block;font-size:13px;line-height:18px;font-weight:550;margin:0 0 8px 2px;color:#46516b}
textarea{
  display:block;width:100%;min-width:0;height:80px;resize:none;
  border:0;border-left:2px solid #a6afd080;border-radius:0;padding:10px 12px;
  background:transparent;color:var(--ink);font-size:16px;line-height:1.5;
  overflow-wrap:anywhere;word-break:break-all;scrollbar-width:thin;
  caret-color:transparent;box-shadow:none;cursor:default;
}
textarea::placeholder{color:#59657c;opacity:1}
#cleaned{background:transparent;border-left-color:#777fc580}
.has-link #cleaned{cursor:pointer}
.actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}
.button{
  position:relative;display:flex;align-items:center;justify-content:center;gap:8px;
  min-width:0;min-height:60px;padding:9px 10px 25px;border:1px solid #ffffffd9;border-radius:14px;
  cursor:pointer;font-size:14px;line-height:20px;font-weight:600;
  -webkit-tap-highlight-color:transparent;
  transition:background .15s,box-shadow .15s,transform .15s;
}
.button-step{position:absolute;left:12px;bottom:6px;font-size:10px;line-height:12px;font-weight:500}
.button svg{width:17px;height:17px;flex:none}
.button-paste{background:linear-gradient(150deg,#ffffffd9,#ffffff73);color:#343d5d;box-shadow:inset 0 1px 0 #fff,0 3px 8px #64699a09}
.button-copy{background:linear-gradient(120deg,#5265c4,#7756b0);border-color:#ffffff50;color:#fff;box-shadow:inset 0 1px 0 #ffffff30,0 4px 12px #655f9d26}
.button:disabled{cursor:default;background:#ffffff45;border-color:#ffffff99;box-shadow:none;color:#68728a}
.button[aria-busy="true"]{cursor:wait}
.button:active:not(:disabled){transform:translateY(1px)}
@media(hover:hover){
  .button-paste:hover{background:linear-gradient(150deg,#fff,#ffffffad)}
  .button-copy:hover:not(:disabled){box-shadow:inset 0 1px 0 #ffffff30,0 5px 17px #655f9d40}
}
:where(button,textarea,a):focus-visible{outline:2px solid var(--focus);outline-offset:4px}
#status{min-height:32px;margin:12px 0 0;display:grid;align-content:center;text-align:center;font-size:12px;line-height:16px;color:var(--muted);overflow-wrap:anywhere}
#status[data-tone="error"]{color:#96384c}
#status[data-tone="success"]{color:#3e508a}
.sponsor[hidden]{display:none}
.sponsor{border-top:1px solid #ffffffa6;padding-top:12px;margin-top:14px}
.sponsor-label{display:block;text-align:center;font-size:9px;letter-spacing:1px;color:var(--muted);margin-bottom:8px}
.sponsor a{display:grid;grid-template-columns:1fr auto;gap:4px 10px;color:var(--ink);text-decoration:none;padding:12px;background:#ffffff50;border:1px solid #ffffffb3;border-radius:12px}
#sponsor-name{font-size:13px;font-weight:600}
#sponsor-copy{font-size:11px;color:var(--muted);grid-row:2}
.sponsor-arrow{grid-column:2;grid-row:1 / 3;align-self:center}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.no-script{font-size:12px;text-align:center;color:#96384c}
@media(max-width:480px),(max-height:600px){
  .page{padding-top:max(12px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom))}
  .cleaner{padding:20px;border-radius:24px}
  .heading{margin-bottom:18px}
  h1{font-size:28px}
  .fields{gap:12px}
  label{margin-bottom:6px}
  textarea{height:74px;padding:12px}
  .actions{margin-top:16px;gap:10px}
  #status{margin-top:8px}
}
@media(max-height:440px) and (min-width:560px){
  .cleaner{width:min(100%,640px);padding:16px 20px;border-radius:22px}
  .heading{margin-bottom:12px}
  h1{font-size:26px}
  .brand-mark{width:30px;height:30px}
  .fields{grid-template-columns:1fr 1fr;gap:16px}
  textarea{height:64px;padding:9px 12px}
  .actions{margin-top:12px}
  .button{min-height:56px;padding:7px 10px 23px}
  #status{min-height:20px;margin-top:8px}
}
@media(max-height:480px) and (max-width:559px){
  .cleaner{padding:16px}
  .heading{margin-bottom:12px}
  .fields{gap:10px}
  textarea{height:60px;padding:8px 11px}
  .actions{margin-top:12px}
  .button{min-height:56px;padding:7px 10px 23px}
  #status{margin-top:8px}
}
@media(prefers-reduced-transparency:reduce){
  .cleaner{background:#f2f3fc;-webkit-backdrop-filter:none;backdrop-filter:none}
  .button-paste{background:#fff}
}
@media(prefers-reduced-motion:reduce){.button{transition:none}}
@media(forced-colors:active){
  .cleaner,textarea,#cleaned,.button{background:Canvas;color:CanvasText;border:1px solid CanvasText;box-shadow:none}
  .button:disabled{color:GrayText}
}
