@font-face{font-family:Saira;src:url('../fonts/saira-latin-variable.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:'Press Start 2P';src:url('../fonts/press-start-2p-giggles.ttf') format('truetype');font-weight:400;font-display:swap}
:root{color-scheme:dark;--bg:#080808;--fg:#e7e6e1;--muted:#96968f;--line:#282827;--accent:#b9acdc}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--fg);font-family:Saira,Arial,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}
a:focus-visible,button:focus-visible,input:focus-visible{outline:1px solid var(--accent);outline-offset:6px}
[hidden]{display:none!important}::selection{background:var(--accent);color:var(--bg)}
/* Match the homepage's 1600px shell and 8% inner gutters. */
.registry-wrap{width:84%;max-width:1344px;margin-inline:auto}
.site-header{position:relative;width:100%;max-width:1600px;height:calc(max(38px,5svh) + 65px);margin-inline:auto}
.site-header>.brand{position:absolute;left:8%;top:max(38px,5svh)}
.brand{display:flex;align-items:baseline;gap:14px;font-weight:750;font-size:26px;line-height:1;letter-spacing:-.03em;color:#d6d5d0;white-space:nowrap}
.brand-byline{font-family:'Press Start 2P',monospace;font-size:8px;font-weight:400;line-height:1.4;letter-spacing:.02em;color:var(--muted)}
.brand-byline a,.brand-byline a:hover,.brand-byline a:focus,.brand-byline a:visited{color:inherit;text-decoration:none;cursor:pointer}
.site-header nav{position:absolute;right:8%;top:max(38px,5svh);height:26px;display:flex;align-items:center;font-size:14px;color:var(--muted)}.site-header nav a{padding:10px 0;transition:color .2s}.site-header nav a:hover{color:var(--fg)}
.skip{position:fixed;left:20px;top:20px;padding:14px;background:var(--fg);color:var(--bg);z-index:10;transform:translateY(-180%)}.skip:focus{transform:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.registry-intro{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:50px;padding:73px 0 57px}
h1{font-size:clamp(54px,7vw,100px);line-height:1.02;letter-spacing:-.065em;font-weight:750;margin:0}
.registry-intro p{max-width:580px;font-size:15px;line-height:1.85;color:var(--muted);margin:0}
.registry-intro .registry-preview{font-size:12px;margin-top:19px;color:#b4adbd}
.submit-link{display:inline-flex;align-items:center;justify-content:space-between;gap:32px;padding:16px 25px;border-radius:999px;background:var(--fg);color:#131311;font-size:13px;font-weight:500;white-space:nowrap;transition:background .2s}
.submit-link:hover{background:var(--accent)}.submit-link span{font-size:19px}
.registry-submission{max-width:255px;padding-bottom:2px}
.registry-toolbar{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:0 0 22px;border-bottom:1px solid var(--line)}
.registry-count{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.registry-search{position:relative;width:310px}.registry-search input{width:100%;border:0;border-bottom:1px solid #41413e;border-radius:0;background:transparent;color:var(--fg);font-size:13px;padding:12px 33px 12px 0;appearance:none}.registry-search input::placeholder{color:var(--muted);opacity:1}.registry-search input::-webkit-search-cancel-button{display:none}
.clear-search{position:absolute;right:0;top:4px;width:32px;height:36px;background:none;border:0;color:var(--muted);font-size:22px}
.registry-table{width:100%;border-collapse:collapse;table-layout:fixed;text-align:left;margin-bottom:40px}
.registry-table th{font-size:10px;line-height:1.5;letter-spacing:.08em;text-transform:uppercase;font-weight:500;color:var(--muted);padding:19px 12px 17px}
.registry-table th:first-child,.registry-table td:first-child{padding-left:0}.registry-table th:last-child,.registry-table td:last-child{padding-right:0}
.registry-table th:nth-child(1){width:44%}.registry-table th:nth-child(2){width:26%}.registry-table th:nth-child(3){width:30%}
.registry-table td{border-bottom:1px solid #222221;padding:17px 12px;font-size:14px;vertical-align:middle;overflow-wrap:anywhere}
.registry-table tbody tr:hover{background:#ffffff02}
.registry-ghost{display:flex;align-items:center;gap:15px}.registry-ghost canvas{width:50px;height:56px;flex:none;display:block}
.registry-id{font-size:14px;font-weight:550;font-variant-numeric:tabular-nums;letter-spacing:.03em;white-space:nowrap}.registry-rarity{font-size:11px;color:var(--muted);margin-top:4px}
.registry-place small{display:block;color:var(--muted);font-size:11px;margin-top:3px}
.registry-table .empty-cell{text-align:center;padding:65px 20px;color:var(--muted);font-size:14px}
.registry-note{color:var(--muted);font-size:12px;line-height:1.8;margin:0 0 70px;width:100%;text-align:center}
.registry-footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:24px;padding:29px 0 35px;color:var(--muted);font-size:11px}
.registry-footer .brand{font-size:24px}
@media(max-width:1000px){
  .registry-wrap{width:85%;margin-left:7%;margin-right:8%}.site-header>.brand{left:7%;font-size:22px}
}
@media(max-width:900px){
  .registry-intro{gap:30px}.registry-ghost{gap:9px}.registry-ghost canvas{width:40px;height:45px}.registry-id{font-size:12px}.registry-table td{padding-inline:8px}
}
@media(max-width:700px){
  .registry-wrap{width:calc(100% - 48px);margin-inline:auto}.site-header{height:66px}.brand{font-size:20px;gap:10px}.site-header>.brand{left:24px;top:30px;font-size:20px}.brand-byline{font-size:7px}.site-header nav{right:24px;top:27px;font-size:12px}.desktop-only{display:none}
  .registry-intro{display:block;padding:44px 0 40px;text-align:center}h1{font-size:clamp(43px,11vw,72px);margin-bottom:20px}.registry-intro p{font-size:14px;line-height:1.8}.registry-intro .registry-preview{font-size:11px;margin-top:15px}.registry-submission{margin-top:27px;max-width:100%}.submit-link{padding:14px 23px}
  .registry-toolbar{align-items:stretch;flex-direction:column;gap:9px;padding-bottom:13px}.registry-count{display:none}.registry-search{width:100%}
  .registry-table{display:block;margin:18px 0 24px}.registry-table tbody{display:grid;gap:12px}.registry-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  /* One compact identity card per ghoost, using the same searchable table rows. */
  .registry-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"ghost" "person" "place";row-gap:5px;padding:18px;border:1px solid var(--line);border-radius:16px;background:#111110}
  .registry-table tbody tr:hover{background:#111110}
  .registry-table td{display:block;min-width:0;border:0;padding:0!important;font-size:14px}
  .registry-table .ghost-cell{grid-area:ghost;padding-bottom:13px!important;margin-bottom:8px;border-bottom:1px solid var(--line)}
  .registry-ghost{gap:12px}.registry-ghost canvas{width:60px;height:auto;aspect-ratio:100/112}.registry-ghost>div{min-width:0}.registry-id{font-size:13px;letter-spacing:.01em}.registry-rarity{font-size:11px;margin-top:5px}
  .registry-person{grid-area:person;font-weight:550}.registry-place{grid-area:place;text-align:left;font-size:12px!important;color:var(--muted)}.registry-place small{display:inline;font-size:inherit;margin:0}.registry-place small::before{content:", "}
  .registry-table .empty-cell{grid-area:ghost;padding:24px 0!important}
  .registry-note{font-size:11px;margin-bottom:45px}
  .registry-footer{align-items:center;flex-direction:column;gap:17px;padding-block:25px;text-align:center}.registry-footer .brand{font-size:20px}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
