*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: radial-gradient(circle at 15% 5%, rgba(119, 226, 196, 0.09), transparent 28rem), #0d1117;
  color: #f2f6fb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.page-shell {
  width: min(960px, 100% - 32px);
  margin: 0 auto;
  padding: 28px 0 48px;
}
.page-shell--wide {
  width: min(1180px, 100% - 32px);
}
.page-shell--centered {
  display: grid;
  min-height: 100vh;
  place-items: center;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 48px;
  margin-bottom: 52px;
}
.site-header__note {
  color: #94a3b8;
  font-size: 0.875rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f2f6fb;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand__mark {
  display: grid;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(119, 226, 196, 0.35);
  border-radius: 10px;
  background: #102d29;
  color: #77e2c4;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  place-items: center;
}

.editor-card,
.paste-card,
.empty-state {
  border: 1px solid #2a3545;
  border-radius: 22px;
  background: rgba(21, 27, 35, 0.96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.editor-card {
  overflow: hidden;
}
.editor-card__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 32px 24px;
  border-bottom: 1px solid #2a3545;
}

.eyebrow {
  margin: 0 0 6px;
  color: #77e2c4;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.privacy-note {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid #2a3545;
  border-radius: 999px;
  color: #94a3b8;
  font-size: 0.75rem;
}

#paste-content {
  display: block;
  width: 100%;
  min-height: 430px;
  resize: vertical;
  padding: 26px 32px;
  border: 0;
  outline: 0;
  background: #10161e;
  color: #e6edf5;
  caret-color: #77e2c4;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.94rem;
  line-height: 1.65;
  tab-size: 4;
}
#paste-content::placeholder {
  color: #66758a;
}
#paste-content:focus {
  box-shadow: inset 0 0 0 2px rgba(119, 226, 196, 0.5);
}

.editor-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px 16px 32px;
  border-top: 1px solid #2a3545;
}
.editor-footer__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.counter,
.shortcut,
.page-hint,
.paste-meta {
  color: #94a3b8;
  font-size: 0.8rem;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 750;
  text-decoration: none;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}
.button:hover {
  transform: translateY(-1px);
}
.button:focus-visible {
  outline: 3px solid rgba(119, 226, 196, 0.34);
  outline-offset: 2px;
}
.button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}
.button--primary {
  background: #77e2c4;
  color: #09211d;
}
.button--secondary {
  border-color: #2a3545;
  background: #1b2330;
  color: #f2f6fb;
}
.button--secondary:hover {
  border-color: #435269;
}
.button--small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.875rem;
}

.message {
  margin: 18px 24px 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
}
.message--error {
  border: 1px solid rgba(255, 154, 154, 0.25);
  background: #321b22;
  color: #ff9a9a;
}

.save-result {
  display: grid;
  gap: 16px;
  margin: 20px 24px 24px;
  padding: 20px;
  border: 1px solid rgba(119, 226, 196, 0.28);
  border-radius: 14px;
  background: rgba(16, 45, 41, 0.66);
}
.save-result__title {
  margin: 0 0 3px;
  font-weight: 800;
}
.save-result__description {
  margin: 0;
  color: #94a3b8;
  font-size: 0.875rem;
}

.share-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}
.share-row input {
  min-width: 0;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid #2a3545;
  border-radius: 10px;
  outline: 0;
  background: #0d141c;
  color: #f2f6fb;
}
.share-row input:focus {
  border-color: #77e2c4;
}

.page-hint {
  margin: 18px 0 0;
  text-align: center;
}

.paste-card {
  overflow: hidden;
}

.paste-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  border-bottom: 1px solid #2a3545;
}

.paste-meta {
  display: flex;
  gap: 8px;
  margin: 0;
}

.paste-content {
  min-height: 340px;
  max-height: calc(100vh - 220px);
  margin: 0;
  overflow: auto;
  padding: 28px;
  background: #0e141c;
  color: #e6edf5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  line-height: 1.65;
  tab-size: 4;
  white-space: pre-wrap;
  word-break: break-word;
}

.empty-state {
  width: min(540px, 100%);
  padding: 52px 32px;
  text-align: center;
}
.empty-state__code {
  margin: 0 0 4px;
  color: #77e2c4;
  font: 800 0.85rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.12em;
}
.empty-state p:not(.empty-state__code) {
  max-width: 400px;
  margin: 14px auto 28px;
  color: #94a3b8;
}

.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;
}

.clipboard-helper {
  position: fixed;
  inset: auto auto 0 -9999px;
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 960px);
    padding-top: 14px;
  }
  .site-header {
    margin-bottom: 24px;
  }
  .site-header__note {
    display: none;
  }
  .editor-card__heading,
  .paste-toolbar {
    padding: 20px;
  }
  .editor-card__heading {
    display: block;
  }
  .privacy-note {
    display: inline-block;
    margin-top: 14px;
  }
  #paste-content {
    min-height: 48vh;
    padding: 20px;
    font-size: 0.875rem;
  }
  .editor-footer {
    align-items: stretch;
    padding: 14px;
  }
  .editor-footer__actions {
    margin-left: auto;
  }
  .shortcut {
    display: none;
  }
  .share-row {
    grid-template-columns: 1fr;
  }
  .paste-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .paste-toolbar .button {
    width: 100%;
  }
  .paste-content {
    max-height: none;
    padding: 20px;
  }
}

/*# sourceMappingURL=style.css.map */
