:root {
  color-scheme: dark;
  font-family: Inter, system-ui, sans-serif;
  background: #100e13;
  color: #faf6fb;
  --lime: #d7fd70;
  --muted: #bab0c0;
  --border: #3d3442;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse 590px 450px at 72% 21%, #3a1831 0%, transparent 100%), #100e13;
}
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button:focus-visible, input:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.shell {
  width: min(100% - 3rem, 1080px);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  margin: auto;
}
.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.site-header { min-height: 83px; border-bottom: 1px solid #302632; }
.wordmark { display: flex; align-items: center; gap: .22em; font-weight: 850; letter-spacing: .055em; }
.mark {
  display: grid;
  width: 35px;
  height: 35px;
  margin-right: 9px;
  place-items: center;
  background: #fd6cbd;
  color: #1d1021;
  font-weight: 950;
  font-style: italic;
  border-radius: 11px 3px 11px 3px;
}
.brand-accent { color: #fd87ca; }
.header-label { color: var(--muted); font-size: .83rem; }
.header-label strong { color: #faf6fb; margin-left: 3px; }
main { flex: 1; width: min(100%, 600px); margin: 0 auto; padding: clamp(38px, 7vh, 76px) 0 35px; }
.intro { text-align: center; margin-bottom: 29px; }
h1 { font-size: clamp(2.45rem, 5.4vw, 3.55rem); line-height: 1.01; margin: 0; letter-spacing: -.075em; font-weight: 850; }
h1 em { font-style: normal; color: #ff85cc; }
.intro p { margin: 17px 0 0; color: #d1c6d4; line-height: 1.55; }
.mobile-break { display: none; }
.panel {
  background: #19151e;
  border: 1px solid #46364a;
  border-top-color: #765167;
  border-radius: 23px;
  box-shadow: 0 22px 70px #09060c70;
  overflow: hidden;
}
form, .result { padding: clamp(17px, 4.4vw, 30px); }
label, .result-label { display: block; font-weight: 700; font-size: .9rem; }
.input-row {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px;
  margin-top: 11px;
  background: #0f0c13;
  border: 1px solid var(--border);
  border-radius: 11px;
}
.input-row:focus-within { border-color: #e774b5; }
input { min-width: 0; flex: 1; color: #fff; padding: 11px; border: 0; background: transparent; }
input:focus-visible { outline: none; }
input::placeholder { color: #a59aac; }
.text-button { color: #e9ddeb; border: 0; border-radius: 7px; background: transparent; font-weight: 650; font-size: .82rem; padding: 10px; }
.text-button:hover { background: #3b2e40; color: white; }
.input-note, .error { margin: 10px 0 0; line-height: 1.45; font-size: .82rem; color: var(--muted); }
.error { color: #ffb0c4; }
.actions { display: flex; align-items: center; gap: 9px; margin-top: 18px; }
.primary { min-height: 44px; border: 0; border-radius: 9px; background: var(--lime); color: #222714; padding: 0 15px; font-weight: 800; font-size: .9rem; }
.primary:hover { background: #e7ffa4; }
.result { border-top: 1px solid #362c3b; background: #141118; }
.result-header, .result-row, .result-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.result-row { margin: 8px 0 15px; min-height: 57px; }
.timer { font: 650 .85rem ui-monospace, monospace; color: var(--lime); }
output { color: #9c899e; font: 650 clamp(1.55rem, 6.4vw, 3.3rem)/1 ui-monospace, monospace; white-space: nowrap; letter-spacing: -.035em; }
output[data-active] { color: var(--lime); }
.copy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #544459;
  border-radius: 9px;
  background: #221a27;
  color: #fbf1ff;
  min-height: 40px;
  padding: 0 11px;
  font-weight: 650;
  font-size: .83rem;
}
.copy:disabled { color: #a99eae; border-color: #3d3340; }
.copy:not(:disabled):hover { background: #3a2840; }
.copy-icon { width: 10px; height: 11px; border-radius: 2px; border: 1px solid currentColor; box-shadow: -3px -3px 0 -1px #221a27, -3px -3px 0 0 currentColor; }
progress { display: block; appearance: none; width: 100%; height: 5px; overflow: hidden; border-radius: 10px; border: 0; color: var(--lime); background: #342a39; }
progress::-webkit-progress-bar { background: #342a39; }
progress::-webkit-progress-value { background: var(--lime); border-radius: 10px; }
progress::-moz-progress-bar { background: var(--lime); border-radius: 10px; }
.result-footer { margin-top: 9px; font-size: .83rem; color: var(--muted); min-height: 38px; }
.clear { margin-right: -10px; }
.privacy { display: flex; align-items: baseline; justify-content: center; gap: 9px; color: var(--muted); font-size: .8rem; margin: 19px 0 0; }
.privacy span { width: 6px; height: 6px; flex: 0 0 6px; align-self: center; border-radius: 50%; background: #fd87ca; }
.site-footer { padding: 17px 0; border-top: 1px solid #302632; font-size: .72rem; color: #ab9db0; }
.site-footer span:first-child { font-weight: 750; letter-spacing: .06em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 480px) {
  .shell { width: calc(100% - 30px); }
  .site-header { min-height: 66px; }
  .mobile-break { display: initial; }
  .desktop-break { display: none; }
  .intro p { max-width: 290px; margin-inline: auto; }
  .privacy { line-height: 1.45; }
}
