:root { color-scheme:dark; --ink:#e6f3f2; --muted:#a9c0c8; --line:#2e4952; --accent:#73dce3; --paper:#0a171e; }
body.results-home, body.results-view { margin:0; min-height:100vh; background:var(--paper); color:var(--ink); font:16px/1.6 system-ui,sans-serif; }
.site-head, .home-main { box-sizing:border-box; width:min(88%,68rem); margin-inline:auto; }
.site-head { padding:22px 0; border-bottom:1px solid var(--line); }
.site-head a, .site-logo { display:block; width:clamp(152px,20vw,200px); height:auto; }
.home-main { display:grid; grid-template-columns:1.25fr 1fr; align-items:center; gap:6%; padding:clamp(48px,11vh,120px) 0; }
.home-message h1 { margin:0; font:400 clamp(46px,6vw,86px)/1.06 Georgia,serif; letter-spacing:-.045em; text-wrap:balance; }
.home-message h1 em { display:block; color:var(--accent); }
.home-message p { margin:24px 0 28px; max-width:35ch; color:var(--muted); font-size:clamp(1rem,1.5vw,1.18rem); }
.home-message h2 { margin:0 0 14px; padding-top:20px; border-top:1px solid var(--line); font:500 clamp(18px,2vw,23px)/1.3 Georgia,serif; }
.home-button { display:inline-flex; align-items:center; justify-content:center; gap:18px; padding:12px 22px; border-radius:9px; background:var(--accent); color:#0d252c; font-weight:650; text-decoration:none; }
.home-button:hover { background:#99eced; }
.home-button:focus-visible, .site-head a:focus-visible { outline:2px solid #fff; outline-offset:5px; }
.ghost-scene { display:grid; place-items:center; min-height:clamp(210px,26vw,320px); background:radial-gradient(ellipse closest-side,#21525888,transparent); }
.ghost-scene img { width:clamp(110px,15vw,185px); height:auto; filter:drop-shadow(0 12px 22px #082024); }
.results-view header { min-height:70px; }
.results-view section { max-width:51rem; }
.results-view h1 { font:400 clamp(36px,5vw,58px)/1.12 Georgia,serif; }
.results-view #return, .results-view form { background:#11232c; border-radius:12px; }
.results-view button { border-radius:7px; color:#0c252c; }
.results-view .secondary, .results-view .back { color:var(--ink); }
.results-view #link { background:#0c1a22; color:var(--ink); border-radius:5px; }
.results-view #folder-list [data-state=done] .file-state { color:#95ddb2; }
.results-view #next-photo { margin-top:28px; }
.results-view #unavailable-help { max-width:52ch; color:var(--muted); }
@media (max-width:660px) {
  .home-main { grid-template-columns:1fr; gap:18px; padding:22px 0 50px; }
  .ghost-scene { grid-row:1; min-height:155px; }
  .home-message { text-align:center; }
  .home-message p { margin:18px auto 24px; }
}
