* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 0 28px 28px;
  color: #10243a;
  background-color: #eaf4fb;
  background-image: linear-gradient(rgba(238, 248, 253, 0.78), rgba(238, 248, 253, 0.88)), url('/p2p-background.svg');
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.share-header {
  display: flex;
  width: min(100%, 980px);
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #10243a;
  text-decoration: none;
}

.brand > span:last-child {
  display: grid;
  gap: 1px;
}

.brand strong {
  font-size: 18px;
  line-height: 1.2;
}

.brand small {
  color: #718096;
  font-size: 10px;
}

.mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(145deg, #3b82f6, #1d4ed8 54%, #10b981);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.2);
}

.mark svg,
.btn svg {
  display: block;
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.mark .logo-arrow {
  stroke-width: 2.7;
}

.home-link,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #2563eb;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.home-link {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.68);
}

.shell {
  display: grid;
  width: min(100%, 980px);
  min-height: 480px;
  grid-template-columns: minmax(0, 1fr) 300px;
  overflow: hidden;
  margin: 28px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 10px;
  background: rgba(248, 252, 255, 0.78);
  box-shadow: 0 24px 60px rgba(26, 63, 93, 0.15);
  backdrop-filter: blur(20px) saturate(118%);
}

.download-pane,
.service-pane {
  padding: 54px;
}

.download-pane {
  min-width: 0;
}

.service-pane {
  border-left: 1px solid rgba(190, 211, 228, 0.78);
  background: rgba(236, 246, 253, 0.72);
}

.eyebrow,
.service-label {
  color: #2563eb;
  font-size: 12px;
  font-weight: 800;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 15px;
}

.eyebrow > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  color: #0d2137;
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: 0;
}

.intro {
  margin-bottom: 34px;
  color: #718096;
  font-size: 14px;
}

.file-row {
  display: grid;
  min-width: 0;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  padding: 20px 0;
  border-top: 1px solid #dce8f1;
  border-bottom: 1px solid #dce8f1;
}

.file-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid #d8e5f2;
  border-radius: 8px;
  color: #2563eb;
  background: #edf4ff;
}

.file-icon span {
  max-width: 48px;
  overflow: hidden;
  font: 800 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-copy {
  min-width: 0;
}

.file-copy h2 {
  margin-bottom: 9px;
  overflow-wrap: anywhere;
  color: #17283b;
  font-size: 17px;
  line-height: 1.4;
}

.sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #718096;
  font-size: 12px;
}

.sub i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #a8b5c3;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid #2563eb;
  border-radius: 7px;
  color: #fff;
  background: #2563eb;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.btn:hover {
  background: #1d4ed8;
  box-shadow: 0 13px 26px rgba(37, 99, 235, 0.24);
  transform: translateY(-1px);
}

.btn.secondary {
  border-color: #cbd9e7;
  color: #2f4862;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: none;
}

.btn svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.9;
}

.hint {
  display: flex;
  gap: 7px;
  margin: 19px 0 0;
  color: #718096;
  font-size: 11px;
  line-height: 1.6;
}

.hint span {
  color: #059669;
  font-weight: 900;
}

.service-pane h2 {
  margin: 16px 0 12px;
  color: #1b3147;
  font-size: 21px;
  line-height: 1.45;
}

.service-pane > p {
  color: #66798d;
  font-size: 13px;
  line-height: 1.75;
}

.service-pane ul {
  display: grid;
  gap: 12px;
  margin: 30px 0 32px;
  padding: 0;
  list-style: none;
}

.service-pane li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #334b63;
  font-size: 13px;
  font-weight: 700;
}

.service-pane li span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #ceddeb;
  border-radius: 7px;
  color: #2563eb;
  background: rgba(255, 255, 255, 0.68);
  font-size: 10px;
}

.foot {
  width: min(100%, 980px);
  margin: 18px auto 0;
  color: #718096;
  font-size: 11px;
  text-align: center;
}

.empty-shell {
  min-height: 390px;
}

.state-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  color: #b45309;
  background: #fff7dd;
  font-size: 24px;
  font-weight: 850;
}

.empty-title {
  max-width: 420px;
}

.empty-copy {
  max-width: 500px;
  color: #66798d;
  font-size: 14px;
  line-height: 1.75;
}

@media (max-width: 720px) {
  body {
    padding: 0 14px 22px;
    background-attachment: scroll;
  }

  .share-header {
    min-height: 66px;
  }

  .brand small {
    display: none;
  }

  .home-link {
    min-height: 34px;
    padding: 0 9px;
    font-size: 11px;
  }

  .shell {
    min-height: 0;
    grid-template-columns: 1fr;
    margin-top: 14px;
  }

  .download-pane,
  .service-pane {
    padding: 28px 22px;
  }

  .service-pane {
    border-top: 1px solid rgba(190, 211, 228, 0.78);
    border-left: 0;
  }

  h1 {
    font-size: 24px;
  }

  .intro {
    margin-bottom: 24px;
  }

  .file-row {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    padding: 17px 0;
  }

  .file-icon {
    width: 48px;
    height: 48px;
  }

  .file-copy h2 {
    font-size: 15px;
  }

  .sub i {
    display: none;
  }

  .sub span {
    margin-right: 8px;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .btn {
    min-width: 0;
    padding: 0 10px;
  }

  .service-pane ul {
    margin: 22px 0 24px;
  }
}

@media (max-width: 390px) {
  .brand > span:last-child strong {
    font-size: 17px;
  }

  .mark {
    width: 34px;
    height: 34px;
  }

  .download-pane,
  .service-pane {
    padding: 24px 18px;
  }

  .actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}
.unlock-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  width: min(100%, 520px);
  margin: 22px auto 0;
  text-align: left;
}

.unlock-form label {
  grid-column: 1 / -1;
  color: #243b53;
  font-size: 13px;
  font-weight: 800;
}

.unlock-form input {
  min-width: 0;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid #cbdbea;
  border-radius: 10px;
  color: #102a43;
  font: 700 18px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 2px;
  background: #fff;
}

.unlock-form .btn {
  border: 0;
  cursor: pointer;
}

.unlock-error {
  width: min(100%, 520px);
  margin: 14px auto 0;
  padding: 9px 12px;
  border-radius: 8px;
  color: #b42318;
  font-size: 13px;
  background: #fff1f0;
}

@media (max-width: 600px) {
  .unlock-form {
    grid-template-columns: 1fr;
  }
}
.legal-shell {
  width: min(900px, calc(100% - 32px));
  margin: 36px auto 56px;
  padding: 34px;
  border: 1px solid #dbe7f1;
  border-radius: 18px;
  color: #243b53;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 60px rgba(16, 42, 70, 0.1);
}

.legal-shell > header {
  padding-bottom: 24px;
  border-bottom: 1px solid #e5edf4;
}

.legal-shell > header h1 {
  margin: 8px 0 10px;
  color: #102a43;
  font-size: clamp(30px, 5vw, 46px);
  letter-spacing: 0;
}

.legal-shell > header p,
.legal-shell > header small {
  color: #627d98;
  line-height: 1.7;
}

.legal-shell > section {
  padding: 22px 0;
  border-bottom: 1px solid #e9f0f6;
}

.legal-shell > section h2 {
  margin-bottom: 8px;
  color: #102a43;
  font-size: 18px;
  letter-spacing: 0;
}

.legal-shell > section p {
  color: #486581;
  line-height: 1.85;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding-top: 24px;
}

.legal-nav a {
  color: #1268d8;
  font-size: 13px;
  font-weight: 700;
}

.report-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.report-form label {
  display: grid;
  gap: 7px;
  color: #243b53;
  font-size: 13px;
  font-weight: 800;
}

.report-form input,
.report-form select,
.report-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #cbdbea;
  border-radius: 9px;
  color: #102a43;
  font: inherit;
  background: #fff;
}

.report-form textarea {
  resize: vertical;
}

.report-form .btn {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.report-success {
  margin-top: 20px;
  padding: 12px 14px;
  border: 1px solid #9ce0c2;
  border-radius: 9px;
  color: #067647;
  background: #ecfdf3;
}

@media (max-width: 600px) {
  .legal-shell {
    width: calc(100% - 20px);
    margin: 16px auto 34px;
    padding: 22px 18px;
    border-radius: 14px;
  }
}
