:root {
    --bg: #111111;
    --panel: #181818;
    --panel-2: #202020;
    --text: #f5f1ea;
    --muted: #b8b0a5;
    --orange: #ff7a18;
    --orange-dark: #d95f00;
    --border: rgba(255,255,255,.1);
    --shadow: 0 20px 60px rgba(0,0,0,.35);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(255,122,24,.16), transparent 35%),
        var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

a {
    color: var(--orange);
}

.wrap {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    padding: 34px 0;
    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-mark {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #111;
    display: grid;
    place-items: center;
    font-weight: 900;
    letter-spacing: -1px;
    box-shadow: var(--shadow);
}

.brand h1,
.brand p {
    margin: 0;
}

.brand p,
.meta,
.kicker,
.site-footer {
    color: var(--muted);
}

.hero-card,
.result-card {
    background: linear-gradient(180deg, var(--panel), var(--panel-2));
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.hero-card {
    margin: 42px 0;
    padding: 34px;
}

.hero-card.narrow {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.kicker {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .78rem;
    font-weight: 800;
    color: var(--orange);
}

h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.05;
    margin: 0 0 26px;
    letter-spacing: -0.05em;
}

h3 {
    margin: 0 0 8px;
}

.search-box input,
input,
textarea {
    width: 100%;
    border: 1px solid var(--border);
    background: #0c0c0c;
    color: var(--text);
    border-radius: 16px;
    padding: 16px 18px;
    font: inherit;
    outline: none;
}

.search-box input {
    font-size: 1.3rem;
}

input:focus,
textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(255,122,24,.13);
}

.results {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.results.empty {
    color: var(--muted);
    border: 1px dashed var(--border);
    border-radius: 18px;
    padding: 22px;
}

.result-card {
    padding: 24px;
}

.result-person {
    color: var(--orange);
    font-weight: 900;
    font-size: 1.1rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--orange);
    color: #111;
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    margin-top: 12px;
}

.button:hover {
    background: #ff8d3a;
}

.button.full {
    width: 100%;
}

.button.ghost {
    background: transparent;
    color: var(--orange);
    border: 1px solid var(--border);
}

label {
    display: block;
    font-weight: 800;
    margin: 18px 0 8px;
}

.notice {
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 16px;
}

.notice.error {
    background: rgba(255, 122, 24, .12);
    border: 1px solid rgba(255, 122, 24, .35);
}

.admin-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.list-section {
    margin-bottom: 50px;
}

.site-footer {
    padding: 30px 0;
    border-top: 1px solid var(--border);
}

@media (max-width: 700px) {
    .hero-card {
        padding: 24px;
    }

    .admin-top {
        align-items: flex-start;
        flex-direction: column;
    }
}