/* Minimal — plain text links centered on the screen */
@import url("../hover.css");
:root { --bg: #fafaf9; --text: #18181b; --muted: #71717a; }
@media (prefers-color-scheme: dark) {
    :root { --bg: #0c0c0d; --text: #ffffff; --muted: #a1a1aa; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 Urbanist, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: inherit; text-decoration: none; }

/* Equal 1fr rows above and below keep the links centered on screen while the logo sits at the top. */
.page {
    min-height: 100vh; max-width: 960px; margin: 0 auto; padding: 48px 16px;
    display: grid; grid-template-rows: 1fr auto 1fr; text-align: center;
}
.hero { align-self: start; margin-bottom: 32px; }
.logo { display: block; height: 64px; width: auto; margin: 0 auto; color: var(--text); }
.empty { color: var(--muted); }

/* Links in one row, separated by thin vertical lines; wraps to more rows when they don't fit. */
.links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; row-gap: 4px; }
.links li { display: flex; align-items: center; }
.links li + li::before { content: ""; width: 1px; height: 14px; margin: 0 8px; background: var(--text); opacity: .25; }
/* .row-start is set by a small script in index.php on the first link of each wrapped row. */
.links li.row-start::before { display: none; }
/* Case and letter-spacing come from admin settings (--link-case, --link-ls in index.php).
   Left padding matches the trailing letter-spacing so the text stays visually centered. */
.link {
    display: inline-block; padding: 8px 12px 8px calc(12px + var(--link-ls, 0em)); color: var(--text);
    font-size: 1rem; font-weight: 600;
}
/* Grey by default, white on hover — the animation comes from hover.css (.hv-<key> on <body>). */
.num, .icon, .host, .desc, .arrow { display: none; }
.title { font-weight: 600; }

.admin-btn { position: fixed; right: 16px; bottom: 12px; color: var(--text); font-size: .75rem; opacity: .15; transition: opacity .2s; }
.admin-btn:hover { opacity: .6; }
