:root {
    color-scheme: dark;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #f5f5f1;
    background: #101113;
    --lime: #c9f66a;
    --ink: #172113;
    --muted: #b9bfb5;
    --border: #445044;
}

* { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; overflow-wrap: anywhere; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { color: var(--lime); }
button, input, select { font: inherit; color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
    outline: 3px solid var(--lime);
    outline-offset: 4px;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.1; }
.wrap { max-width: 77rem; width: calc(100% - 4rem); margin-inline: auto; }
.skip {
    position: absolute;
    z-index: 1;
    top: .75rem;
    left: .75rem;
    transform: translateY(-150%);
    padding: .7rem 1rem;
    background: var(--lime);
    color: var(--ink);
}
.skip:focus { transform: translateY(0); color: var(--ink); }
.header, .hero { border-bottom: 1px solid #353c34; }
.header-inner, .footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    column-gap: 2rem;
    padding-block: .75rem;
}
.brand { color: var(--lime); font-size: 1.2rem; font-weight: 800; letter-spacing: -.045em; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
nav a, .footer a, .brand, .back, .host-profile, .clear {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
}
.hero { background: radial-gradient(ellipse at 72% 85%, #283923, transparent 63%); }
.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5.5rem);
    align-items: center;
    padding-block: clamp(3rem, 7vw, 6.25rem);
}
h1 {
    max-width: 13ch;
    font-size: clamp(2.75rem, 6vw, 5.5rem);
    letter-spacing: -.065em;
    font-weight: 850;
}
.hero h1 span { color: var(--lime); }
.hero p { max-width: 44ch; margin-top: 1rem; color: var(--muted); }
.button {
    display: inline-flex;
    gap: 1rem;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    padding: .5rem 1rem;
    border: 1px solid var(--lime);
    border-radius: .25rem;
    color: var(--ink);
    background: var(--lime);
    font-weight: 750;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}
.button:hover { color: #10190c; background: #defbaa; border-color: #defbaa; }
.hero .button { margin-top: 1.75rem; }
.host {
    color: var(--ink);
    background: #d6efa9;
    border-left: .35rem solid #a2d946;
    border-radius: .35rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding: clamp(1rem, 3vw, 2.25rem);
}
.host h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
.host p { color: #293729; margin-top: .6rem; }
.host a:hover { color: #203812; }
.host a:focus-visible, .apply a:focus-visible { outline-color: #182c13; }
.host .portrait { background: transparent; }
.host .portrait > * { width: 3.25rem; height: 3.25rem; font-size: 1rem; }
.host .channels { margin-top: .35rem; }
.host .channels a { border-color: #536447; }
.host .channels a:hover { border-color: #182c13; background: #e6f6ca; }
.directory { padding-block: clamp(2.75rem, 6vw, 5rem); }
.directory h2, .apply h2 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.05em; }
.search {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto auto;
    align-items: end;
    gap: .75rem;
    margin-top: 1.4rem;
    padding: clamp(1rem, 3vw, 1.5rem);
    border: 1px solid var(--border);
    border-radius: .45rem;
    background: #191d1a;
}
.search label { display: block; padding-bottom: .3rem; font-weight: 650; }
.search input, .search select {
    width: 100%;
    height: 3rem;
    padding: .45rem .65rem;
    border: 1px solid #768274;
    border-radius: .25rem;
    background: #101412;
}
.clear { margin-inline: .25rem; }
.empty, .count { margin-top: 1.35rem; color: var(--muted); }
.empty { border: 1px solid var(--border); padding: 1.15rem; border-radius: .3rem; }
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
    gap: 1rem;
    margin-top: .75rem;
}
.card { border: 1px solid var(--border); border-radius: .5rem; background: #191d1a; }
.portrait {
    display: grid;
    place-items: center;
    background: radial-gradient(ellipse at 42% 30%, #33482d, #202822 70%);
}
.card .portrait { min-height: 8.6rem; border-radius: .5rem .5rem 0 0; }
.portrait > * { width: 5rem; height: 5rem; border: 1px solid #829b71; border-radius: 50%; }
.portrait img { object-fit: cover; }
.initials {
    display: grid;
    place-items: center;
    background: #141c14;
    color: var(--lime);
    font-size: 1.65rem;
    font-weight: 800;
    text-transform: uppercase;
}
.card-body { padding: 1.15rem; }
.card h3 { font-size: 1.4rem; }
.handle { margin-top: .35rem; color: var(--muted); }
.bio { margin-top: .65rem; }
.topics, .channels { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: .8rem 0 0; list-style: none; }
.topics li { padding: .2em .55em; background: #2e3a28; border-radius: .2rem; color: #e0efc8; font-size: .82rem; }
.channels a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: .25rem .65rem;
    border: 1px solid #61745d;
    border-radius: .25rem;
    font-size: .875rem;
    font-weight: 650;
    text-decoration: none;
}
.channels a:hover { border-color: var(--lime); text-decoration: underline; }
.watch { margin-top: .9rem; padding-top: .65rem; border-top: 1px solid var(--border); }
.watch p { font-size: .85rem; color: var(--muted); }
.watch a { display: inline-block; margin-top: .25rem; color: var(--lime); }
.apply { color: var(--ink); background: #d6efa9; }
.apply-inner { display: flex; flex-wrap: wrap; gap: 1.3rem 2.5rem; align-items: center; justify-content: space-between; padding-block: 2.5rem; }
.apply p { margin-top: .75rem; }
.apply .button { background: #22361c; border-color: #22361c; color: #f4f8ee; }
.apply .button:hover { color: #fff; background: #162911; }
.footer { border-top: 1px solid #353c34; }
.footer-inner { justify-content: start; font-size: .93rem; color: var(--muted); }
.profile-page, .message { padding-block: clamp(2rem, 6vw, 5rem); }
.back { margin-bottom: 1.25rem; }
.profile {
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.8fr);
    max-width: 65rem;
    border: 1px solid var(--border);
    border-radius: .5rem;
    background: #191d1a;
}
.profile .portrait { min-height: 12rem; border-radius: .5rem 0 0 .5rem; }
.profile .portrait > * { width: 7rem; height: 7rem; font-size: 2.15rem; }
.profile-body { padding: clamp(1.1rem, 4vw, 3.4rem); }
.profile h1 { font-size: clamp(2.2rem, 5.5vw, 4.2rem); }
.profile-bio, .profile-detail, .message p { margin-top: .9rem; }
.profile-bio { font-size: 1.1rem; }
.profile-detail { white-space: pre-line; }
.message .button { margin-top: 1.25rem; }

@media (max-width: 48rem) {
    .wrap { width: calc(100% - 2rem); }
    .hero-inner { grid-template-columns: minmax(0, 1fr); }
    .search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 32rem) {
    .search, .profile { grid-template-columns: minmax(0, 1fr); }
    .host { grid-template-columns: minmax(0, 1fr); }
    .host .portrait { justify-items: start; }
    .profile .portrait { min-height: 10rem; border-radius: .5rem .5rem 0 0; }
}
