:root{color-scheme:dark;--bg:#0d1214;--panel:#171f22;--panel2:#1e292c;--edge:#304043;--text:#eef6f4;--muted:#a4b5b6;--accent:#ebc477;--accent-d:#49371a}*{box-sizing:border-box}html{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}body{margin:0;background:radial-gradient(ellipse 70% 24% at 72% 0,rgba(133,98,41,.16),transparent),var(--bg);color:var(--text)}
/* Keep the footer at the bottom of short pages. */
.shell{max-width:1180px;margin:auto;padding:0 28px;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}.topbar{height:88px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--edge);gap:24px}.brand{display:flex;gap:13px;align-items:center;text-decoration:none;color:var(--text);font-size:19px;letter-spacing:-.02em}.brand-icon{height:40px;width:40px;border:1px solid #aa8c54;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0;white-space:nowrap;line-height:1;color:var(--accent);font-weight:850;letter-spacing:-.05em}.brand-icon span{color:white}.brand strong{font-weight:780}.topbar nav{display:flex;gap:26px;align-items:center;flex-wrap:nowrap}.topbar nav a,footer a{color:var(--muted);text-decoration:none;font-size:15px}.topbar nav a:hover,footer a:hover{color:var(--accent)}.hero{padding:32px 0 28px;max-width:880px}.hero h1{font-size:clamp(32px,4.2vw,52px);line-height:1.12;letter-spacing:-.018em;font-weight:520;margin:0 0 12px}.hero h1 em{font-style:normal;color:var(--accent)}.hero>p{max-width:none;color:var(--muted);font-size:19px;line-height:1.55;margin:0}.search{background:linear-gradient(140deg,#1b2b2d,#152023);border:1px solid #395052;border-radius:18px;padding:30px 34px;box-shadow:0 18px 50px rgba(0,0,0,.15)}.search-top,.result-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.search h2,.results-section h2{font-size:21px;letter-spacing:-.02em;margin:0}.search-top span{font-size:14px;color:var(--muted)}.modes{display:flex;max-width:100%;flex-wrap:wrap;gap:3px;padding:4px;width:fit-content;background:#10191b;border:1px solid var(--edge);border-radius:11px;margin:24px 0 18px}.modes button{border:0;border-radius:7px;background:none;color:var(--muted);padding:10px 16px;cursor:pointer;font-size:15px;font-weight:600}.modes button.active{color:#30230e;background:var(--accent)}form{display:flex;gap:10px}input{width:100%;background:#0c1518;color:var(--text);border:1px solid #547073;border-radius:10px;font:inherit;font-size:18px;padding:16px 17px;outline:none;min-width:0}input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(235,196,119,.16)}form>button{background:var(--accent);border:0;color:#30230e;border-radius:10px;padding:0 26px;font-size:16px;font-weight:760;cursor:pointer;white-space:nowrap}form>button:hover{background:#f6dca6}form>button:disabled{opacity:.6;cursor:wait}.hint{font-size:14px;color:var(--muted);margin:13px 0 0}.results-section{margin:55px 0 70px;min-height:0}.result-heading{border-bottom:1px solid var(--edge);padding:0 0 18px}.result-heading span{font-size:14px;color:var(--muted)}.results{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;margin:20px 0}.empty{padding:50px 20px;text-align:center;background:#11191b;border:1px dashed var(--edge);border-radius:14px;color:var(--muted)}.empty strong{color:var(--text)}.card{padding:23px 25px;background:var(--panel);border:1px solid var(--edge);border-radius:13px}.card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.card h3{font-size:18px;font-weight:730;overflow-wrap:anywhere;margin:0 0 7px;line-height:1.4}.card .size{font-size:14px;color:var(--muted);white-space:nowrap;padding-top:2px}.hashline{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:15px}.hashline span{font-size:13px;color:var(--muted);width:7ch;flex-shrink:0;white-space:nowrap}.hashline code{font-size:14px;color:#d1d9dc;word-break:break-all}.copy{background:transparent;color:var(--muted);border:1px solid var(--edge);border-radius:7px;font-size:13px;padding:6px 9px;cursor:pointer}.copy:hover{border-color:#77888d;color:var(--text)}.sources{margin-top:20px;border-top:1px solid var(--edge);padding-top:16px;display:grid;gap:12px}.source{background:#10191c;border-radius:10px;padding:13px 15px}.source-line{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.pill{color:#d0d9dc;background:#2a3539;padding:5px 9px;border-radius:50px;font-size:13px;font-weight:700}.source .path{user-select:text;margin:11px 0 10px;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;font-size:14px;line-height:1.55}.source a{color:var(--accent);font-size:14px;text-decoration:none}.source a:hover{text-decoration:underline}.small{font-size:13px;color:var(--muted)}#more{font-size:16px;display:block;margin:25px auto 0;background:var(--panel2);border:1px solid #49595e;color:var(--text);padding:12px 22px;border-radius:9px;cursor:pointer}#more[hidden]{display:none}footer{display:flex;justify-content:space-between;gap:20px;padding:22px 0 40px;border-top:1px solid var(--edge);font-size:14px;color:var(--muted)}.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}@media(max-width:650px){.shell{padding:0 17px}.topbar{height:auto;padding:20px 0;align-items:center;flex-wrap:wrap;gap:10px}.topbar nav{gap:10px}.hero{padding:24px 0}.search{padding:22px 17px}.search-top{align-items:flex-start;flex-direction:column}.modes button{padding:9px 13px}form{flex-direction:column}form>button{padding:15px}.card{padding:17px}.hashline span{width:unset}.results-section{margin:40px 0 55px}footer{flex-direction:column}}

/* Result metadata and source details. */
.midlet-summary{display:flex;flex-wrap:wrap;gap:8px;margin:9px 0 18px}
.midlet-summary span{display:inline-flex;color:#c9d3d6;font-size:14px;padding:5px 8px;border:1px solid #3e4c51;background:#222c30;border-radius:6px}
.metadata-toggle{margin:18px 0 0;padding:10px 13px;background:#222d31;border:1px solid #49595e;border-radius:9px;color:#d0d9dc;font:inherit;font-size:15px;cursor:pointer;text-align:left}
.metadata-toggle:hover{color:var(--text);background:#2e3b40;border-color:#718186}.metadata-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.metadata-body{margin-top:13px;background:#101a1c;border:1px solid #304043;border-radius:10px;padding:16px;overflow-wrap:anywhere}
.metadata-body[hidden]{display:none}.detail-group+.detail-group{border-top:1px solid var(--edge);margin-top:20px;padding-top:18px}
.detail-group h4{font-size:17px;margin:0 0 15px}.detail-group h5{font-size:15px;margin:22px 0 8px}
.manifest-grid{display:grid;grid-template-columns:minmax(140px,220px) minmax(0,1fr);gap:11px 17px;margin:0;font-size:14px}
.manifest-grid dt{color:var(--muted)}.manifest-grid dd{margin:0;color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere}
.original-paths{display:grid;gap:10px}.original-path{padding:9px 10px;background:#182326;border-radius:7px;display:flex;justify-content:space-between;gap:10px;align-items:center}
.original-path code{color:#c1cbd0;font-size:13px;overflow-wrap:anywhere;word-break:break-word;min-width:0}
@media(max-width:650px){.manifest-grid{grid-template-columns:1fr;gap:4px}.manifest-grid dd{margin-bottom:11px}.original-path{align-items:flex-start;flex-direction:column}}

/* Short, permanent provenance note beneath the search field. */
.provenance{margin-top:6px;color:#a2b4b1;line-height:1.55;max-width:860px}

/* Streamlined per-archive file cards: archive + CRC, single full path, link. */
.source-head{justify-content:flex-start;gap:14px}
.source-crc{color:var(--muted);font-size:13px;white-space:nowrap}
.source-crc code{color:#c1cbd0;font-size:13px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.source .path-filename{font-weight:400;font-style:italic;color:var(--text)}
/* Make the JAR download link more prominent */
.source a.jar-download-link {
  font-size: 18px;
  font-weight: 650;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.source a.jar-download-link:hover {
  color: #f6dca6;
}
.source a.jar-download-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Per-result fallback: quick copy action and expandable download instructions. */
.fallback-download{margin-top:15px;padding-top:15px;border-top:1px solid var(--edge)}
.fallback-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.fallback-help-toggle,.fallback-copy{max-width:100%;padding:11px 15px;border:1px solid;border-radius:9px;font:inherit;font-size:15px;font-weight:650;cursor:pointer;line-height:1.4;text-align:left}
.fallback-help-toggle{background:#3b301d;border-color:#80693e;color:#f4dfb5}
.fallback-help-toggle:hover{background:#514024;border-color:var(--accent);color:#fff}
.fallback-copy{background:#222c2f;border-color:#4b5c5f;color:#e6efec}
.fallback-copy:hover{background:#303e40;border-color:#8ba4a1;color:#fff}
.fallback-help-toggle:focus-visible,.fallback-copy:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.fallback-help-panel{margin-top:13px;padding:16px 18px;border:1px solid var(--edge);border-radius:10px;background:#10191c;color:var(--muted);font-size:15px;line-height:1.6;overflow-wrap:anywhere}
.fallback-help-panel[hidden]{display:none}
.fallback-help-panel h4{margin:0 0 9px;color:var(--text);font-size:16px}
.fallback-help-panel p{margin:9px 0}
.fallback-help-panel a{color:var(--accent);text-underline-offset:3px}
.fallback-help-panel a:hover{color:#f6dca6}
.fallback-help-panel a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.fallback-help-panel pre{max-width:100%;overflow-x:auto;margin:12px 0;padding:12px;border:1px solid var(--edge);border-radius:8px;background:#0c1416;color:var(--text);line-height:1.6}
.fallback-help-panel code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:14px}
.fallback-help-panel p code{overflow-wrap:anywhere;word-break:break-word}
@media(max-width:650px){.fallback-actions{flex-direction:column;align-items:stretch}.fallback-help-toggle,.fallback-copy{width:100%;text-align:center}.fallback-help-panel{padding:14px}.fallback-download{margin-top:13px}}


/* OS-specific fallback download command buttons */
.fallback-copy-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.fallback-copy-label {
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
}
.fallback-copy-group .fallback-copy {
  width: auto;
  text-align: center;
}
@media (max-width: 650px) {
  .fallback-copy-group { width: 100%; }
  .fallback-copy-label { flex-basis: 100%; }
  .fallback-copy-group .fallback-copy { flex: 1 1 120px; }
}

/* Refinement and sorting apply to every match in the original search. */
.result-tools{margin:20px 0;padding:18px;border:1px solid var(--edge);border-radius:12px;background:var(--panel)}
.result-tools[hidden]{display:none}
.refine-form{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.refine-form label{flex-basis:100%;font-size:15px;font-weight:600}
.refine-form input{flex:1 1 240px;width:auto;font-size:16px;padding:12px 14px}
.refine-form>button{padding:12px 18px;font-size:15px}
.refine-form>.refine-clear{background:var(--panel2);color:var(--text);border:1px solid var(--edge);font-weight:500}
.result-sort-label{display:inline-block;margin:16px 10px 0 0;font-size:15px}
/* Match the filled down triangle used by the Download links button. */
#result-sort{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  max-width:100%;
  padding:10px 33px 10px 12px;
  background-color:var(--panel2);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0h10L5 6Z' fill='%23a4b5b6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 12px center;
  background-size:10px 6px;
  color:var(--text);
  border:1px solid var(--edge);
  border-radius:8px;
  font:inherit;
  font-size:15px;
}
.result-tools .small{margin:12px 0 0;line-height:1.5}
.result-tools button:focus-visible,#result-sort:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.result-tools :disabled{opacity:.6}
@media(max-width:650px){.refine-form{align-items:stretch}.refine-form input{flex-basis:auto;width:100%}.refine-form>button{width:100%}.result-sort-label{display:block;margin-bottom:8px}#result-sort{width:100%}}

/* BEGIN compact download list (v2) */
.download-section { margin-top:20px; border-top:1px solid var(--edge); padding-top:16px; }
.download-heading { margin:0 0 12px; font-size:16px; line-height:1.45; font-weight:650; color:var(--text); }
.download-list { display:grid; gap:9px; }
.download-row { display:grid; grid-template-columns:44px max-content minmax(0,1fr); gap:10px;
  align-items:start; border:1px solid var(--edge); border-radius:9px; padding:10px;
  background:#10191c; min-width:0; }
.download-number { display:flex; align-items:center; justify-content:center; min-height:37px;
  border:1px solid #9a7b43; background:#3c301d; color:#f4d599; text-decoration:none;
  border-radius:7px; font-size:15px; font-weight:750; }
.download-number:hover { background:#574123; border-color:var(--accent); color:#fff; }
.download-number:focus-visible, .download-path summary:focus-visible {
  outline:2px solid var(--accent); outline-offset:3px; }
.download-archive { display:flex; align-items:center; min-height:37px; padding:6px 11px;
  border:1px solid #42545a; border-radius:7px; color:#d0d9dc; background:#233036;
  white-space:nowrap; font-size:14px; line-height:1.35; }
.download-path { min-width:0; border:1px solid #405357; border-radius:7px;
  background:#172226; color:var(--text); }
.download-path summary { min-height:35px; padding:7px 11px; cursor:pointer;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  font-size:14px; line-height:1.5; }
.download-path summary:hover { background:#203137; border-radius:6px; }
.download-filename { font-style:normal; }
.download-path[open] summary { white-space:normal; overflow-wrap:anywhere;
  border-bottom:1px solid #405357; }
.download-path-full { padding:10px 11px; color:var(--muted); }
.download-path-full code { font-size:13px; line-height:1.6; white-space:pre-wrap;
  overflow-wrap:anywhere; word-break:break-word; user-select:text; }
.crc-warning { color:var(--muted); font-size:13px; }
@media (max-width:650px) {
  /* Keep all three controls together when they fit. */
  .download-row { grid-template-columns:44px max-content minmax(0,1fr); gap:8px; }
  .download-number { grid-row:auto; }
  .download-archive { grid-column:auto; width:auto; max-width:100%; white-space:nowrap; }
  .download-path { grid-column:auto; }
}
@media (max-width:340px) {
  /* On extremely narrow screens, preserve readable controls. */
  .download-row { grid-template-columns:44px minmax(0,1fr); }
  .download-number { grid-row:1 / span 2; }
  .download-archive { grid-column:2; width:fit-content; white-space:normal; }
  .download-path { grid-column:2; }
}
.download-mirror-group{margin-top:22px}
/* END compact download list (v2) */

.shell main {
  flex: 1;
}
.shell footer {
  margin-top: auto;
}

/* Compact search box without heading */
.search > .modes { margin-top: 0; }

/* Compact native language picker; works on desktop and mobile. */
.language-picker{display:inline-flex;align-items:center;gap:8px;position:relative;
  padding:8px 10px;border:1px solid var(--edge);border-radius:9px;
  color:var(--text);background:var(--panel);white-space:nowrap}
.language-picker:focus-within{outline:2px solid var(--accent);outline-offset:2px}
.language-globe{font-size:17px;line-height:1}
.language-picker select{appearance:none;-webkit-appearance:none;border:0;outline:0;
  background:transparent;color:inherit;font:inherit;font-size:14px;cursor:pointer;
  padding:0 14px 0 0;max-width:173px;min-width:0}
/* Same filled down triangle as Download links (no font-dependent glyph). */
.language-picker::after{
  content:'';
  position:absolute;
  right:9px;
  top:50%;
  transform:translateY(-50%);
  width:0;
  height:0;
  border-left:5px solid transparent;
  border-right:5px solid transparent;
  border-top:6px solid currentColor;
  pointer-events:none;
  color:var(--muted);
}
.language-picker option{background:var(--panel);color:var(--text)}
@media(max-width:390px){.topbar nav a{font-size:12px}.language-picker{padding:7px}
  .language-picker select{font-size:13px;max-width:95px}}


/* Compact disclosure above each result's download sources. */
.download-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.download-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  padding: 11px 15px;
  border: 1px solid #80693e;
  border-radius: 9px;
  background: #3b301d;
  color: #f4dfb5;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}
/* CSS triangle prevents the arrow from being rendered as a colorful emoji. */
.download-toggle::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
}
.download-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }
/* While optional sources load, keep the download panel closed so every link
   appears together. Reuse the disclosure arrow area for a compact spinner. */
.download-toggle[aria-busy="true"]::after {
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: download-toggle-spin .8s linear infinite;
}
@keyframes download-toggle-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .download-toggle[aria-busy="true"]::after { animation: none; }
}
.download-toggle:hover { background: #514024; border-color: var(--accent); color: #fff; }
.download-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}
.download-panel { margin-top: 18px; }
.download-panel[hidden] { display: none; }

/* Manifest control remains outside the collapsed download panel. */
.download-bar .metadata-action {
  display: flex;
  align-items: center;
  margin-left: auto;
  padding-left: 14px;
  border-left: 2px solid #50636b;
  min-width: 0;
}
.download-bar .metadata-toggle {
  margin: 0;
  padding: 10px 12px;
  font-size: 14px;
  text-align: center;
}

/* On mobile, place the longer manifest button on its own full-width row. */
@media (max-width: 650px) {
  .download-bar .metadata-action {
    width: 100%;
    margin-left: 0;
    padding: 12px 0 0;
    border-left: 0;
    border-top: 1px solid var(--edge);
  }
  .download-bar .metadata-toggle {
    width: 100%;
    white-space: normal;
  }
}

/* Optional archive-folder browser: a restrained, collapsed action next to downloads. */
.folder-toggle{
  display:inline-flex;align-items:center;gap:8px;max-width:100%;
  padding:9px 11px;border:1px solid #46565a;border-radius:8px;
  background:#202c30;color:#cbd6d8;font:inherit;font-size:14px;
  line-height:1.45;cursor:pointer;white-space:nowrap;
}
.folder-toggle::after{
  content:'';width:0;height:0;border-left:4px solid transparent;
  border-right:4px solid transparent;border-top:5px solid currentColor;
}
.folder-toggle[aria-expanded="true"]::after{transform:rotate(180deg)}
.folder-toggle:hover{background:#303f44;border-color:#70848a;color:#fff}
.folder-toggle:focus-visible,.folder-file-link:focus-visible,.folder-more:focus-visible,
.folder-panel input:focus-visible,.folder-panel select:focus-visible{
  outline:2px solid var(--accent);outline-offset:3px;
}
.folder-panel{margin-top:16px;padding:15px;border-radius:10px;
  border:1px solid var(--edge);background:#111a1d;min-width:0}
.folder-panel[hidden]{display:none}
.folder-title{font-size:15px;font-weight:650;margin-bottom:12px;overflow-wrap:anywhere}
.folder-choice{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 13px}
.folder-choice label{font-size:14px;color:var(--muted)}
.folder-choice select{max-width:100%;min-width:0;border-radius:8px;border:1px solid var(--edge);
  padding:9px;background:var(--panel2);color:var(--text);font:inherit;font-size:14px}
.folder-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.folder-tools input{width:auto;flex:1 1 230px;min-width:0;padding:10px 12px;border-radius:8px;font-size:14px}
.folder-counter{font-size:13px;color:var(--muted)}
.folder-files{display:grid;gap:6px}
.folder-file{display:flex;align-items:center;justify-content:space-between;gap:14px;
  background:#1b262a;border:1px solid #304043;border-radius:8px;padding:11px 12px;min-width:0}
.folder-file-main{min-width:0;flex:1}
.folder-file-title{font-size:14px;font-weight:620;line-height:1.5;overflow-wrap:anywhere}
.folder-file-meta{display:flex;flex-wrap:wrap;gap:4px 11px;font-size:12px;
  color:var(--muted);margin-top:3px;overflow-wrap:anywhere}
.folder-file-link{font-size:13px;color:var(--accent);white-space:nowrap;text-decoration:none}
.folder-file-link:hover{text-decoration:underline}
.folder-more{display:block;margin:14px auto 0;padding:9px 15px;border-radius:8px;
  border:1px solid #526266;background:var(--panel2);color:var(--text);font:inherit;
  font-size:14px;cursor:pointer}
.folder-more[hidden]{display:none}
.folder-error{font-size:14px;color:#f5b0a7;overflow-wrap:anywhere}
@media(max-width:650px){
  .download-bar{gap:8px}
  .folder-toggle{font-size:13px;padding:10px 11px}
  .folder-panel{padding:12px}
  .folder-file{align-items:flex-start;flex-direction:column;gap:8px}
  .folder-file-link{align-self:flex-end}
  .folder-tools input{flex-basis:100%}
}

.folder-file-sha{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}

.results > .card { min-width: 0; }

/* Search result pagination actions. */
.result-pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.result-pagination > button[hidden] { display: none !important; }
#show-all { font: inherit; padding: 0.7rem 1.1rem; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 0.65rem; cursor: pointer; }
#show-all:disabled { opacity: 0.55; cursor: wait; }

/* Narrow screens: long hashes and archive paths scroll within their own boxes,
   like the fallback downloader command, instead of stretching result cards. */
@media (max-width:650px) {
  .hashline {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    column-gap:8px;
    row-gap:6px;
    align-items:center;
  }
  .hashline span { grid-column:1/-1; }
  .hashline code {
    display:block;
    min-width:0;
    max-width:100%;
    padding:8px 10px;
    border:1px solid var(--edge);
    border-radius:7px;
    background:#0c1416;
    white-space:nowrap;
    overflow-wrap:normal;
    word-break:normal;
    overflow-x:auto;
  }
  .hashline .copy { justify-self:start; }

  .download-path-full { min-width:0; padding:8px; }
  .download-path-full code,
  .original-path code {
    display:block;
    min-width:0;
    max-width:100%;
    padding:7px 9px;
    border:1px solid var(--edge);
    border-radius:7px;
    background:#0c1416;
    white-space:pre;
    overflow-wrap:normal;
    word-break:normal;
    overflow-x:auto;
    user-select:text;
  }
  .original-path { min-width:0; }
  .original-path code { width:100%; }
}

/* Recovery action shown only when the initial index load finally fails. */
.startup-reload{display:block;margin:16px auto 0;background:var(--panel2);border:1px solid #49595e;border-radius:9px;color:var(--text);padding:10px 18px;font:inherit;font-size:14px;cursor:pointer}
.startup-reload:hover{border-color:var(--accent);color:var(--accent)}
.startup-reload:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

.search-retry{display:block;margin:16px auto 0;background:var(--panel2);border:1px solid #49595e;border-radius:9px;color:var(--text);padding:10px 18px;font:inherit;font-size:14px;cursor:pointer}
.search-retry:hover{border-color:var(--accent);color:var(--accent)}
.search-retry:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
