.top-actions .tools-link { display: inline-flex; align-items: center; min-height: 36px; padding: 0 4px; color: var(--ink); text-decoration: none; font: 600 13px/1.2 Inter, Arial, sans-serif; }
.top-actions .tools-link:is(:hover, :focus-visible) { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.archive-entry {
  --ink: #f4f7f5;
  --muted: #c1cbc6;
  --line: #ffffff3d;
  --green: #acf1cc;
  color-scheme: dark;
  color: var(--ink);
  background: #101211;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
}
.archive-entry .topbar { margin: 0; padding-inline: 5%; height: 64px; }
.archive-entry .issue-mark { font: 700 15px/1 Inter, Arial, sans-serif; }
.archive-entry .role-label { color: var(--muted); }
.archive-entry main { max-width: none; padding: 0; min-height: 0; }
.archive-entry .gate {
  min-height: max(570px, calc(100svh - 132px)); display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 410px);
  align-items: center; gap: 32px; padding: 48px 8%;
  background: linear-gradient(90deg, #08111420, #08111468 44%, #081114ed 82%), linear-gradient(0deg,#081114ab,transparent 50%), url('images/preview-tide.webp') center / cover;
}
.archive-entry .gate-content { grid-column: 2; width: 100%; }
.archive-entry #gate-title { font: 600 32px/1.25 inherit; font-family: inherit; font-size: 32px; line-height: 1.25; font-weight: 600; margin: 0 0 20px; }
.archive-entry .entry-signature { position: absolute; bottom: 6%; left: 5%; font: 750 80px/.95 Inter, Arial, sans-serif; }
.archive-entry :is(.entry-signature, #gate-title) span { color: var(--green); }
.archive-entry .gate-switch { color: var(--muted); border-color: var(--line); font-size: 12px; }
.archive-entry .gate-switch button, .archive-entry .reveal-button { color: var(--green); font-size: 12px; }
.archive-entry .form-heading { display: none; }
.archive-entry .form-panel { padding-top: 20px; }
.archive-entry .form-panel label { color: var(--ink); font-size: 14px; }
.archive-entry .form-panel input { height: 48px; border: 1px solid #ffffff70; border-radius: 5px; background: #152220db; color: var(--ink); font-size: 16px; }
.archive-entry .form-panel input::placeholder { color: #aab9b2; }
.archive-entry .form-panel .button { justify-content: space-between; background: var(--green); color: #12251a; border-radius: 5px; min-height: 46px; font-size: 14px; }
.archive-entry .form-panel .button:hover { background: #d1ffe3; }
.archive-entry .input-help { color: var(--muted); font-size: 12px; }
.archive-entry .error { color: #ffcebc; }
.archive-entry :is(button, input, a):focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.archive-entry .site-footer { max-width: none; margin: 0; padding: 16px 5%; color: var(--muted); }
@media (max-width: 800px) {
  .archive-entry .gate { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 24px; min-height: max(440px, calc(100svh - 150px)); padding: 36px max(6%, calc((100% - 410px)/2)); background: linear-gradient(0deg,#071012ed,#071012a6), url('images/preview-tide.webp') center / cover; }
  .archive-entry .entry-signature { position: static; font-size: 34px; order: -1; }
  .archive-entry #gate-title { font-size: 25px; margin-bottom: 8px; }
}
@supports (backdrop-filter: blur(8px)) { .archive-entry .form-panel input { background: #1522209c; backdrop-filter: blur(8px); } }
