/* Xenonhead links 0.5.7. Scoped to the dedicated page; no image background. */
body:has(.xh-links) { margin: 0; background: #101417; }
.xh-links, .xh-links * { box-sizing: border-box; }
.xh-links {
    color: #f4f6f7;
    background: #101417;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    align-items: center;
    padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
.xh-links__inner { width: min(100%, 480px); margin-inline: auto; }
.xh-links__header { text-align: center; margin: 0 0 20px; }
.xh-links__brand { display: inline-flex; align-items: center; justify-content: center; color: #f4f6f7; text-decoration: none; }
.xh-links .brand-creator { display: inline-flex; align-items: center; gap: 8px; }
.xh-links .brand-avatar { width: 54px; height: 57px; flex: 0 0 54px; object-fit: contain; }
.xh-links .brand-wordmark { font-size: 30px; font-weight: 850; line-height: 1.1; letter-spacing: -.045em; color: #f4f6f7; }
.xh-links .brand-logo { display: block; max-width: min(260px, 100%); width: auto; height: 57px; object-fit: contain; }
.xh-links__tagline { margin: 7px 0 0; color: #aab4bc; font-size: 14px; line-height: 1.4; }
.xh-links__search { display: flex; margin: 0 0 12px; min-width: 0; height: 46px; border: 1px solid #2a3238; border-radius: 5px; background: #141c22; }
.xh-links__search input { flex: 1; min-width: 0; width: 100%; padding: 0 13px; border: 0; border-radius: 5px 0 0 5px; background: transparent; color: #f4f6f7; font: inherit; font-size: 16px; line-height: normal; box-shadow: none; }
.xh-links__search input::placeholder { color: #aab4bc; opacity: 1; font-size: 14px; }
.xh-links__search button { display: grid; place-items: center; flex: 0 0 46px; min-width: 46px; padding: 0; margin: -1px; border: 1px solid #377fe8; border-radius: 0 5px 5px 0; background: #377fe8; color: #fff; cursor: pointer; }
.xh-links__search button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.xh-links__list { display: grid; gap: 10px; padding: 0; margin: 0; }
.xh-links__card { display: flex; align-items: center; gap: 13px; min-width: 0; min-height: 70px; padding: 11px 15px; border: 1px solid #2a3238; border-radius: 5px; background: #19232a; color: #f4f6f7; text-decoration: none; transition: border-color .15s, background-color .15s; }
.xh-links__card--primary { border-color: #345783; background: #18293d; }
.xh-links__icon { display: grid; place-items: center; flex: 0 0 30px; width: 30px; color: #c3ccd4; }
.xh-links__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.xh-links__card--primary .xh-links__icon { color: #79abf2; }
.xh-links__copy { display: grid; gap: 4px; min-width: 0; flex: 1; }
.xh-links__copy strong { font-size: 16px; font-weight: 650; line-height: 1.2; color: #f4f6f7; }
.xh-links__copy > span { color: #b4bfc8; font-size: 12px; line-height: 1.35; }
.xh-links__arrow { flex: 0 0 10px; font-size: 27px; font-weight: 400; line-height: 1; color: #aab4bc; }
.xh-links__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; margin-top: 14px; }
.xh-links__legal a { display: inline-flex; align-items: center; min-height: 28px; color: #aab4bc; font-size: 11px; line-height: 1.4; text-decoration: none; }
.xh-links :where(a, button, input):focus-visible { outline: 2px solid #8cbbff; outline-offset: 3px; }
.xh-links__search:focus-within { border-color: #8cbbff; }
.xh-links__legal a:hover { text-decoration: underline; }
.xh-links__sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (hover: hover) { .xh-links__card:hover { border-color: #5a90d9; background: #203247; } .xh-links__search button:hover { background: #2c6fd2; } }
@media (max-width: 600px) {
    .xh-links { align-items: start; padding-top: max(18px, env(safe-area-inset-top)); }
    .xh-links__header { margin-bottom: 16px; }
    .xh-links__card { min-height: 64px; padding: 9px 12px; gap: 11px; }
    .xh-links__copy strong { font-size: 15px; }
    .xh-links__list { gap: 8px; }
}
@media (max-height: 660px) {
    .xh-links { padding-top: max(8px, env(safe-area-inset-top)); padding-bottom: max(6px, env(safe-area-inset-bottom)); }
    .xh-links__header { margin-bottom: 10px; }
    .xh-links .brand-avatar { width: 42px; height: 44px; flex-basis: 42px; }
    .xh-links .brand-logo { height: 44px; }
    .xh-links .brand-wordmark { font-size: 27px; }
    .xh-links__tagline { margin-top: 3px; font-size: 12px; }
    .xh-links__search { margin-bottom: 8px; height: 44px; }
    .xh-links__list { gap: 6px; }
    .xh-links__card { min-height: 58px; padding-block: 7px; }
    .xh-links__copy { gap: 3px; }
    .xh-links__legal { margin-top: 6px; }
}
@media (max-width: 359px) { .xh-links__card { gap: 8px; padding-inline: 9px; } .xh-links__icon { flex-basis: 25px; width: 25px; } .xh-links__copy > span { font-size: 11px; } }
@media (max-height: 540px) and (max-width: 599px) {
    .xh-links__tagline { display: none; }
    .xh-links .brand-avatar { width: 36px; height: 38px; flex-basis: 36px; }
    .xh-links .brand-logo { height: 38px; }
    .xh-links__header { margin-bottom: 8px; }
    .xh-links__card { min-height: 52px; padding-block: 6px; }
    .xh-links__legal a { min-height: 24px; }
}
@media (max-height: 480px) and (min-width: 600px) {
    .xh-links__inner { width: min(100%, 820px); }
    .xh-links__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .xh-links__card:first-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .xh-links__card { transition: none; } }
