:root {
  --bg: #0a0d10;
  --panel: rgba(19, 24, 29, 0.92);
  --panel2: #11161b;
  --line: rgba(255,255,255,.09);
  --text: #f4f7f8;
  --muted: #96a0a8;
  --accent: #b8ff5a;
  --accentText: #0a1103;
  --danger: #ff7272;
  --radius: 22px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 12% 5%, rgba(184,255,90,.08), transparent 28rem),
    radial-gradient(circle at 85% 35%, rgba(89,130,246,.06), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body { min-height: 100vh; }

button, input { font: inherit; }

.shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 42px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 74px;
}

.topActions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.languageSwitcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
}

.languageSwitcher button {
  min-width: 34px;
  height: 30px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  transition: background .18s ease, color .18s ease;
}

.languageSwitcher button:hover {
  color: var(--text);
  background: rgba(255,255,255,.055);
}

.languageSwitcher button.active {
  color: var(--accentText);
  background: var(--accent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.brandMark {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border: 1px solid rgba(184,255,90,.28);
  border-radius: 11px;
  background:
    radial-gradient(circle at 68% 28%, rgba(184,255,90,.16), transparent 36%),
    #101418;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.025),
    0 7px 22px rgba(0,0,0,.24);
  color: transparent;
  font-size: 0;
}

.brandMark::before {
  content: '';
  position: absolute;
  inset: 7px;
  border: 3px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(184,255,90,.16);
}

.brandMark::after {
  content: '';
  position: absolute;
  top: 7px;
  right: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(184,255,90,.42);
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--muted);
  font-size: 12px;
}

.hero { margin-bottom: 32px; }

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  margin: 0 0 12px;
}

h1 {
  margin: 0;
  font-size: clamp(46px, 9vw, 82px);
  line-height: .95;
  letter-spacing: -.065em;
}

h1 span { color: var(--muted); }
h1 .heroPrimary { color: var(--text); }

h2 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -.04em;
}

.lede {
  max-width: 670px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.lede.small { font-size: 16px; }

.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: 0 25px 80px rgba(0,0,0,.24);
}

.dropzone {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 17px;
  background: rgba(255,255,255,.025);
  cursor: pointer;
  transition: .2s ease;
}

.dropzone:hover, .dropzone.drag {
  border-color: rgba(184,255,90,.7);
  background: rgba(184,255,90,.055);
}

.dropIcon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 15px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accentText);
  font-size: 26px;
  font-weight: 800;
}

.dropzone strong { font-size: 18px; }
.dropzone > span:last-child { margin-top: 5px; color: var(--muted); font-size: 13px; }

.options {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 14px;
  margin: 16px 0;
}

.optionCard {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,0)),
    var(--panel2);
}

.optionLabel {
  display: block;
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 12px;
}

.ttlPicker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 12px;
  background: #0b0f13;
}

.ttlPicker button {
  min-height: 38px;
  padding: 0 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.ttlPicker button:hover {
  color: var(--text);
  background: rgba(255,255,255,.055);
}

.ttlPicker button.active {
  color: var(--accentText);
  background: var(--accent);
}

.ttlPicker button:active {
  transform: scale(.98);
}

.switchRow {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
}

.switchRow > span { margin: 0 !important; }
.switchRow strong { display: block; color: var(--text); font-size: 14px; }
.switchRow small { display: block; margin-top: 5px; color: var(--muted); line-height: 1.45; }

.switchRow input {
  position: relative;
  flex: 0 0 auto;
  width: 44px;
  height: 24px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: #090c0f;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.switchRow input::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform .2s ease, background .2s ease;
}

.switchRow input:checked {
  border-color: rgba(184,255,90,.55);
  background: rgba(184,255,90,.16);
}

.switchRow input:checked::after {
  transform: translateX(20px);
  background: var(--accent);
}

.primary, .ghost, .copyRow button {
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
}

.primary {
  width: 100%;
  min-height: 56px;
  padding: 0 20px;
  background: var(--accent);
  color: var(--accentText);
  font-size: 16px;
  letter-spacing: -.01em;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(184,255,90,.08);
  transition: transform .18s ease, filter .18s ease;
}

.primary:not(:disabled):hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.primary:not(:disabled):active {
  transform: translateY(0);
}

.primary:disabled { opacity: .35; cursor: not-allowed; }

.ghost {
  margin-top: 14px;
  padding: 11px 0;
  background: transparent;
  color: var(--muted);
}

.progressWrap { margin-top: 16px; }

.progress {
  overflow: hidden;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width .2s ease;
}

.progressWrap p {
  margin: 8px 2px 0;
  color: var(--muted);
  font-size: 12px;
}

.result { margin-top: 24px; }
.result .muted { color: var(--muted); line-height: 1.5; }
.result code { color: var(--accent); }

.copyRow {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.copyRow input {
  min-width: 0;
  flex: 1;
  height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  background: #090c0f;
  color: var(--text);
}

.copyRow button {
  padding: 0 18px;
  background: #252c32;
  color: var(--text);
}

.resultMeta { color: var(--muted); font-size: 12px; }

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0 70px;
}

.trust > div {
  padding: 15px 2px;
}

.trust strong, .trust span { display: block; }
.trust strong { font-size: 13px; }
.trust span { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.4; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  color: var(--muted);
  font-size: 12px;
}

.receiveShell { max-width: 740px; }
.receiveCard { padding: 32px; }
.receiveCard h1 {
  font-size: clamp(38px, 8vw, 62px);
  line-height: 1;
}

.filePanel {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 26px 0 16px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel2);
}

.fileIcon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(184,255,90,.12);
  color: var(--accent);
  font-size: 20px;
  font-weight: 900;
}

.filePanel strong, .filePanel span { display: block; }
.filePanel span { margin-top: 4px; color: var(--muted); font-size: 12px; }

.notice {
  margin-top: 18px;
  padding: 13px 15px;
  border: 1px solid rgba(255,114,114,.25);
  border-radius: 12px;
  color: #ffb6b6;
  background: rgba(255,114,114,.06);
  font-size: 13px;
}

.hidden { display: none !important; }

@media (max-width: 680px) {
  .shell { width: min(100% - 22px, 920px); padding-top: 18px; }
  .topbar { margin-bottom: 52px; }
  .pill { display: none; }
  .topActions { margin-left: auto; }
  .languageSwitcher button { min-width: 32px; padding: 0 6px; }
  .options, .trust { grid-template-columns: 1fr; }
  .trust { margin-bottom: 44px; }
  .card, .receiveCard { padding: 14px; }
  .dropzone { min-height: 180px; }
  .copyRow { flex-direction: column; }
  .copyRow button { height: 46px; }
  footer { flex-direction: column; }
  .footerLinks { flex-wrap: wrap; }
  .legalCard { padding: 17px; }
  .legalNote { margin-bottom: 38px; }
}


.termsNotice {
  margin: 11px 2px 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
}

.termsNotice a {
  color: var(--muted);
  text-decoration: none;
}

.termsNotice a:hover {
  color: var(--text);
  text-decoration: underline;
}

.footerLinks {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

footer a {
  color: var(--muted);
  text-decoration: none;
}

footer a:hover {
  color: var(--text);
  text-decoration: underline;
}

.legalShell {
  max-width: 780px;
}

.legalHero {
  margin-bottom: 30px;
}

.legalHero h1 {
  max-width: 720px;
  font-size: clamp(42px, 8vw, 70px);
}

.legalCard {
  margin-bottom: 12px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.legalCard h2 {
  margin-bottom: 10px;
  font-size: 19px;
  letter-spacing: -.025em;
}

.legalCard p,
.legalCard li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.legalCard p {
  margin: 0;
}

.legalCard ul {
  margin: 12px 0 0;
  padding-left: 21px;
}

.legalCard li + li {
  margin-top: 7px;
}

.legalNote {
  margin: 20px 3px 54px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}


.abuseContact {
  margin-top: 12px !important;
}

.abuseContact a,
.legalCard a {
  color: var(--accent);
  text-decoration: none;
}

.abuseContact a:hover,
.legalCard a:hover {
  text-decoration: underline;
}


.dangerAction {
  color: #ff9b9b;
}

.dangerAction:hover {
  color: #ffd0d0;
}

.deleteHint {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}


.recentCard {
  margin-top: 18px;
}

.recentIntro {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 13px;
}

.recentList {
  display: grid;
  gap: 8px;
}

.recentItem {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel2);
}

.recentInfo {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.recentInfo strong {
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recentInfo span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.recentDelete {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid rgba(255,114,114,.22);
  border-radius: 10px;
  background: rgba(255,114,114,.05);
  color: #ffabab;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.recentDelete:hover {
  border-color: rgba(255,114,114,.4);
  background: rgba(255,114,114,.09);
}

.recentDelete:disabled {
  opacity: .45;
  cursor: wait;
}

@media (max-width: 560px) {
  .recentItem {
    align-items: stretch;
    flex-direction: column;
  }

  .recentDelete {
    width: 100%;
  }
}


.faqList {
  display: grid;
  gap: 10px;
}

.faqList details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.faqList summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  color: var(--text);
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  list-style: none;
}

.faqList summary::-webkit-details-marker {
  display: none;
}

.faqList summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 19px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  transition: transform .18s ease, color .18s ease, border-color .18s ease;
}

.faqList details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  border-color: rgba(184,255,90,.32);
  color: var(--accent);
}

.faqList summary:hover {
  background: rgba(255,255,255,.018);
}

.faqList details[open] summary {
  border-bottom: 1px solid var(--line);
}

.faqList details p {
  margin: 0;
  padding: 17px 20px 19px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 560px) {
  .faqList summary {
    padding: 16px 48px 16px 16px;
  }

  .faqList details p {
    padding: 15px 16px 17px;
  }
}
