/* 主域名首页 — 极简搜索页（LOGO / 站名 / 域名 / 搜索框） */
* { box-sizing: border-box; margin: 0; padding: 0; }

body.box-body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: #3b2b15;
    background: #fbf7ee;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; }

.landing {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 没有搜索关键词时，整个品牌区在视口里垂直居中 */
.landing-empty .landing-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.landing-wrap {
    width: 1046px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: 46px 0 0;
    flex: 1 1 auto;
}

/* 品牌区 */
.landing-brand { text-align: center; }

.landing-logo {
    width: 96px;
    height: 96px;
    margin: 0 auto 22px;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 20px rgba(88, 64, 30, .10);
}
.landing-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.landing-logo-txt {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 44px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #7d5628, #a9783f);
}

.landing-name {
    font-size: 30px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: 2px;
    color: #3b2b15;
}

.landing-domain {
    margin-top: 8px;
    font-size: 14px;
    color: #a49b8c;
    letter-spacing: .3px;
}

/* 搜索 */
.landing-search {
    display: flex;
    align-items: stretch;
    gap: 16px;
    margin: 26px 0 0;
}

.landing-search input[type=search] {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    padding: 0 16px;
    font-size: 14px;
    color: #3b2b15;
    background: #fff;
    border: 1px solid #e6dfd1;
    border-radius: 8px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .15s, box-shadow .15s;
}
.landing-search input[type=search]::placeholder { color: #b7ae9f; }
.landing-search input[type=search]:focus {
    border-color: #b08a52;
    box-shadow: 0 0 0 3px rgba(176, 138, 82, .14);
}
.landing-search input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none; }

.landing-search button {
    flex: 0 0 89px;
    height: 44px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
    background: #66431f;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s;
}
.landing-search button:hover { background: #7a5227; }
.landing-search button:active { background: #553617; }

.landing-notice {
    margin-top: 18px;
    font-size: 12.5px;
    line-height: 1.8;
    color: #a2947d;
    text-align: center;
}

/* 搜索结果 */
.lr { margin-top: 34px; }
.lr-head {
    font-size: 13px;
    color: #9b917f;
    margin-bottom: 12px;
    text-align: center;
}
.lr-head b { color: #66431f; font-size: 14px; }

.lr-list { display: flex; flex-direction: column; gap: 10px; }

.lr-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #eee7d9;
    border-radius: 12px;
    padding: 10px 14px;
    transition: box-shadow .15s, border-color .15s, transform .15s;
}
.lr-item:hover {
    border-color: #e2d6c0;
    box-shadow: 0 6px 18px rgba(88, 64, 30, .08);
    transform: translateY(-1px);
}

.lr-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.lr-icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    overflow: hidden;
    background: #f4efe4;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lr-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lr-icon-txt { font-size: 22px; font-weight: 700; color: #b08a52; }

.lr-body { flex: 1 1 auto; min-width: 0; display: block; }
.lr-body b {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #3b2b15;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lr-body i {
    display: inline-block;
    font-style: normal;
    font-size: 12px;
    color: #b08a52;
    background: #fbf3e4;
    border-radius: 4px;
    padding: 1px 7px;
    margin-top: 4px;
}
.lr-body em {
    display: block;
    font-style: normal;
    font-size: 12.5px;
    line-height: 1.6;
    color: #a49b8c;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lr-go {
    flex: 0 0 auto;
    font-size: 13px;
    color: #66431f;
    white-space: nowrap;
}
.lr-dl {
    flex: 0 0 auto;
    height: 32px;
    line-height: 30px;
    padding: 0 14px;
    font-size: 13px;
    color: #66431f;
    border: 1px solid #ddcfb4;
    border-radius: 7px;
    background: #fffdf8;
    white-space: nowrap;
}
.lr-dl:hover { background: #66431f; border-color: #66431f; color: #fff; }

.lr-empty {
    text-align: center;
    font-size: 13.5px;
    color: #a49b8c;
    background: #fff;
    border: 1px dashed #e6dcc8;
    border-radius: 12px;
    padding: 26px 16px;
    line-height: 1.8;
}

/* 页脚 */
.landing-footer {
    padding: 28px 20px 30px;
    text-align: center;
    font-size: 12px;
    line-height: 1.9;
    color: #b3a894;
}
.landing-copy { margin-bottom: 4px; }
.gb-beian a { color: #a2947d; }
.gb-beian a:hover { color: #66431f; }
.gb-beian-sep { margin: 0 8px; color: #d3c8b6; }

/* 手机 */
@media (max-width: 768px) {
    .landing-wrap { padding-top: 34px; }
    .landing-logo-txt { font-size: 36px; }
    .landing-logo { width: 76px; height: 76px; border-radius: 18px; margin-bottom: 16px; }
    .landing-name { font-size: 23px; letter-spacing: 1px; }
    .landing-domain { font-size: 13px; margin-top: 6px; }
    /* 手机端：输入框占满整行，搜索按钮落到下方居中 */
    .landing-search { flex-direction: column; gap: 12px; margin-top: 22px; }
    .landing-search input[type=search] { flex: 0 0 auto; width: 100%; height: 46px; font-size: 14px; padding: 0 14px; }
    .landing-search button { flex: 0 0 auto; width: 132px; height: 44px; margin: 0 auto; font-size: 15px; }
    .landing-notice { font-size: 11.5px; margin-top: 16px; text-align: left; line-height: 1.9; }
    .lr { margin-top: 26px; }
    .lr-head { text-align: left; }
    .lr-item { padding: 10px; border-radius: 10px; gap: 8px; }
    .lr-icon { flex-basis: 46px; width: 46px; height: 46px; border-radius: 11px; }
    .lr-body b { font-size: 15px; }
    .lr-body em { display: none; }
    .lr-go { display: none; }
    .lr-dl { height: 30px; line-height: 28px; padding: 0 12px; font-size: 12px; }
}

@media (max-width: 380px) {
    .landing-search button { width: 118px; }
}
