body.x-search-hub-body {
    background: #222;
    color: #f4f4f5;
    min-height: 100vh;
}

.x-search-hub-body #wrap {
    background: #222;
    min-height: 100vh;
    padding-top: 5rem;
}

.x-search-hub {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 900px;
    min-height: calc(100vh - 5rem);
    padding: 80px 30px 110px;
}

.x-search-hub__hero {
    margin: 0 auto 56px;
    max-width: 760px;
    text-align: center;
}

.x-search-hub__eyebrow {
    color: #2e62d0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .22em;
    margin: 0 0 16px;
}

.x-search-hub h1 {
    color: #fff;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -.04em;
    line-height: 1.2;
    margin: 0;
}

.x-search-hub__subtitle {
    color: #999;
    font-size: 15px;
    margin: 16px 0 28px;
}

.x-search-hub__form {
    align-items: center;
    background: #2c2a2a;
    border: 1px solid #454242;
    border-radius: 16px;
    display: flex;
    gap: 12px;
    margin: 0 auto;
    max-width: 760px;
    padding: 8px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.x-search-hub__form:focus-within {
    border-color: #2e62d0;
    box-shadow: 0 0 0 4px rgba(46, 98, 208, .14);
}

.x-search-hub__input-wrap {
    align-items: center;
    color: #999;
    display: flex;
    flex: 1;
    gap: 12px;
    min-width: 0;
    padding: 0 10px;
}

.x-search-hub__input-wrap > i {
    font-size: 16px;
}

.x-search-hub__input-wrap input {
    background: transparent;
    border: 0;
    box-sizing: border-box;
    color: #fff;
    font-size: 15px;
    height: 42px;
    min-width: 0;
    outline: 0;
    padding: 0;
    width: 100%;
}

.x-search-hub__input-wrap input::placeholder {
    color: #777;
}

.x-search-hub__clear {
    background: transparent;
    border: 0;
    color: #aaa;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    padding: 0 4px;
}

.x-search-hub__submit {
    background: #2e62d0;
    border: 0;
    border-radius: 11px;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    height: 42px;
    min-width: 92px;
    padding: 0 22px;
    transition: background-color .2s ease, transform .2s ease;
}

.x-search-hub__submit:hover {
    background: #3b72e5;
    transform: translateY(-1px);
}

.x-search-hub__section {
    border-top: 1px solid #373434;
    padding-top: 22px;
}

.x-search-hub__section + .x-search-hub__section {
    margin-top: 36px;
}

.x-search-hub__section-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.x-search-hub__section-head h2 {
    color: #eee;
    font-size: 18px;
    margin: 0;
}

.x-search-hub__section-note,
.x-search-hub__clear-history {
    color: #8d8a8a;
    font-size: 13px;
}

.x-search-hub__clear-history {
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 4px 0;
}

.x-search-hub__clear-history:hover {
    color: #2e62d0;
}

.x-search-hub__history-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.x-search-hub__history-item {
    align-items: center;
    background: #2c2a2a;
    border: 1px solid #4a4646;
    border-radius: 8px;
    display: inline-flex;
    overflow: hidden;
}

.x-search-hub__history-word,
.x-search-hub__history-remove {
    background: transparent;
    border: 0;
    color: #d8d6d6;
    cursor: pointer;
    font-size: 13px;
    padding: 8px 10px;
}

.x-search-hub__history-remove {
    border-left: 1px solid #4a4646;
    color: #888;
    padding-left: 9px;
    padding-right: 9px;
}

.x-search-hub__history-word:hover,
.x-search-hub__history-remove:hover {
    color: #fff;
}

.x-search-hub__hot-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.x-search-hub__hot-item {
    align-items: center;
    border-bottom: 1px solid #302e2e;
    display: flex;
    gap: 16px;
    min-height: 54px;
}

.x-search-hub__hot-rank {
    color: #777;
    font-size: 14px;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

.x-search-hub__hot-rank--1,
.x-search-hub__hot-rank--2,
.x-search-hub__hot-rank--3 {
    color: #2e62d0;
}

.x-search-hub__hot-link {
    align-items: center;
    color: #d5d2d2;
    display: flex;
    flex: 1;
    gap: 12px;
    justify-content: space-between;
    min-width: 0;
    text-decoration: none;
}

.x-search-hub__hot-word {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.x-search-hub__hot-count {
    color: #2e62d0;
    flex: 0 0 auto;
    font-size: 12px;
}

.x-search-hub__message {
    color: #777;
    font-size: 13px;
    margin: 18px 0 0;
    text-align: center;
}

@media (max-width: 767px) {
    .x-search-hub-body #wrap {
        padding-top: 0;
    }

    .x-search-hub {
        min-height: 100vh;
        padding: 40px 16px 80px;
    }

    .x-search-hub__hero {
        margin-bottom: 40px;
    }

    .x-search-hub__form {
        align-items: stretch;
        flex-direction: column;
    }

    .x-search-hub__submit {
        width: 100%;
    }
}
