:root {
  font-family: system-ui, "Microsoft YaHei", sans-serif;
  color: #19312a;
  background: #f4f7f3;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.download-shell { width: min(880px, calc(100% - 32px)); margin: auto; padding-bottom: 48px; }
.site-header { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #cfdbd3; }
.brand { font-size: 24px; font-weight: 850; letter-spacing: .04em; color: #155844; text-decoration: none; }
.home-link { color: #155844; text-underline-offset: 4px; }
.download-intro { margin: clamp(30px, 7vw, 76px) 0 26px; }
h1 { font-size: clamp(32px, 6vw, 54px); margin: 0; line-height: 1.15; }
h2 { font-size: 21px; margin: 0 0 8px; }
p { color: #465d53; line-height: 1.6; margin: 8px 0 0; }
.download-card { padding: clamp(18px, 4vw, 32px); border: 1px solid #cfdcd4; border-radius: 16px; background: #fff; }
#unlock-panel { max-width: 600px; }
label { display: block; font-weight: 650; margin: 18px 0 8px; }
.password-row, .files-head { display: flex; align-items: flex-start; gap: 12px; }
.files-head { justify-content: space-between; }
input, button, .download-link { font: inherit; min-height: 46px; border-radius: 8px; }
.password-row input { flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid #789488; }
button, .download-link { display: inline-flex; justify-content: center; align-items: center; padding: 10px 16px; background: #155844; color: #fff; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; }
.secondary { color: #155844; background: #e6efe9; }
:focus-visible { outline: 3px solid #936115; outline-offset: 3px; }
#unlock-result { display: block; color: #922727; min-height: 1.5em; margin: 8px 0; }
.security-note { font-size: 14px; }
.download-list { display: grid; gap: 10px; margin: 20px 0; }
.download-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; border: 1px solid #d5e2da; border-radius: 10px; padding: 14px; }
.download-item h2 { font-size: 17px; overflow-wrap: anywhere; }
.download-meta { font-size: 14px; color: #465d53; }
.download-hash { grid-column: 1 / -1; font: 12px ui-monospace, Consolas, monospace; color: #465d53; overflow-wrap: anywhere; }
@media (max-width: 490px) {
  .password-row { flex-direction: column; align-items: stretch; }
  .download-item { grid-template-columns: minmax(0, 1fr); }
  .download-link { justify-self: start; }
}

