/* =========================================================
   简洁查询页
   ========================================================= */

.simple-search-page {
    background:
        radial-gradient(circle at 84% 0, rgba(53, 109, 100, 0.09), transparent 28%),
        var(--paper);
}

.simple-hero {
    padding: 38px 0 15px;
}

.simple-hero > .container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.simple-kicker {
    color: #356d64;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.simple-hero h1 {
    margin: 8px 0 7px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 1;
}

.simple-hero p {
    color: var(--ink-3);
    font-size: 13px;
}

.simple-full-link {
    flex: 0 0 auto;
    padding: 7px 11px;
    border: 1px solid #ded5c7;
    border-radius: 999px;
    background: #fffdf8;
    color: #716151;
    font-size: 10px;
    font-weight: 600;
}

.simple-full-link span {
    margin-left: 4px;
    color: var(--maple-deep);
}

.simple-full-link:hover {
    border-color: #d1bda7;
    background: #fffaf1;
}

.simple-body {
    padding-bottom: 60px;
}

.simple-search-bar {
    max-width: 930px;
    margin: 0;
}

.simple-search-bar .region-select {
    min-width: 145px;
    max-width: 210px;
    height: 40px;
    padding: 0 28px 0 12px;
    border: 0;
    border-right: 1px solid var(--line);
    background: #fffdf9;
    font-family: var(--font-body, var(--font-sans, sans-serif));
    font-size: 13px;
    font-weight: 700;
}

.simple-result-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin: 24px 0 12px;
}

.simple-result-kicker {
    color: #9a8a77;
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.simple-result-head h2 {
    margin-top: 3px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 27px;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.simple-result-count {
    color: var(--ink-4);
    font-family: var(--mono);
    font-size: 10px;
    white-space: nowrap;
}

.simple-result-board {
    margin-top: 0;
    border-color: #d6dfe3;
    border-radius: 12px;
    background: #fffef8;
}

.simple-result-table {
    font-size: 13px;
}

.simple-result-table th {
    padding: 10px 14px;
    font-size: 12px;
}

.simple-result-table th:first-child {
    width: 24%;
}

.simple-result-table td {
    padding: 11px 14px;
    color: var(--ink-3);
    text-align: left;
    vertical-align: middle;
}

.simple-result-name {
    white-space: normal;
}

.simple-result-name a {
    display: inline;
    color: #1739c8;
    font-size: 13.5px;
    font-weight: 750;
    line-height: 1.45;
}

.simple-result-name a:hover {
    color: var(--maple-deep);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.simple-result-name small {
    display: block;
    margin-top: 2px;
    color: #a0917f;
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 500;
}

.simple-result-desc {
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: #53626b !important;
}

.simple-category-pill {
    flex: 0 0 auto;
    padding: 2px 6px;
    border-radius: 4px;
    background: #edf4f0;
    color: #4e7465;
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
}

.simple-result-text {
    min-width: 0;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.simple-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 52px 20px;
    border: 1px dashed #d9cbbb;
    border-radius: 16px;
    background: rgba(255, 253, 249, 0.7);
    text-align: center;
}

.simple-empty > span {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 4px;
    place-items: center;
    border: 1px dashed #d9c8b5;
    border-radius: 50%;
    color: #8ba69a;
    font-size: 21px;
}

.simple-empty h3 {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
}

.simple-empty p {
    color: var(--ink-4);
    font-size: 11px;
}

.simple-empty .button {
    margin-top: 9px;
}

.simple-pagination {
    margin-top: 22px;
}

/* 首页入口 */
.simple-entry-row {
    display: flex;
    justify-content: flex-end;
    max-width: 930px;
    margin: 7px auto 0;
}

.simple-entry-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border: 1px solid #dfd5c6;
    border-radius: 999px;
    background: rgba(255, 253, 249, 0.8);
    color: #796855;
    font-size: 10px;
    font-weight: 600;
}

.simple-entry-link span {
    color: var(--maple-deep);
}

.simple-entry-link:hover {
    border-color: #cfb9a3;
    background: #fffaf1;
}

@media (max-width: 760px) {
    .simple-hero {
        padding-top: 25px;
    }

    .simple-hero > .container {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .simple-hero h1 {
        font-size: 40px;
    }

    .simple-search-bar {
        flex-wrap: wrap;
    }

    .simple-search-bar .region-select {
        flex: 0 0 150px;
        max-width: 150px;
        min-width: 0;
        height: 40px;
        padding: 0 22px 0 9px;
        font-size: 11.5px;
    }

    .simple-search-bar .search-icon {
        width: 30px;
    }

    .simple-search-bar input {
        flex: 1 1 140px;
        height: 40px;
        min-width: 0;
    }

    .simple-search-bar .button {
        min-height: 38px;
    }

    .simple-result-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .simple-result-head h2 {
        font-size: 24px;
    }

    .simple-result-table th:first-child {
        width: 35%;
    }

    .simple-result-table th,
    .simple-result-table td {
        padding: 9px 10px;
    }

    .simple-result-desc {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .simple-result-name a {
        font-size: 12.5px;
    }
}

/* 简洁查询：名称前的 ID 标签 */
.simple-id-tag {
    display: inline-block;
    margin-right: 6px;
    padding: 2px 6px;
    border: 1px solid #d6e3de;
    border-radius: 4px;
    background: #eef6f1;
    color: #4d7465;
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.5;
    vertical-align: 1px;
    white-space: nowrap;
}

/* 简洁查询：独立 ID 列 */
.simple-result-table th:nth-child(1) {
    width: 13%;
}

.simple-result-table th:nth-child(2) {
    width: 23%;
}

.simple-result-id {
    text-align: center !important;
    white-space: nowrap;
}

.simple-result-id .simple-id-tag {
    margin: 0;
}

@media (max-width: 760px) {
    .simple-result-table th:nth-child(1) {
        width: 20%;
    }

    .simple-result-table th:nth-child(2) {
        width: 35%;
    }
}

/* 简洁查询：ID 红色显示，列表文字增强 */
.simple-id-tag {
    padding: 3px 7px;
    border-color: #ebc2b8;
    background: #fff1ed;
    color: #b2382a;
    font-size: 11px;
    font-weight: 750;
}

.simple-result-table {
    font-size: 14px;
}

.simple-result-table td {
    color: #34464e;
    line-height: 1.65;
}

.simple-result-name a {
    color: #1c3fbf;
    font-size: 15px;
}

.simple-result-text {
    color: #3b4d56;
    font-size: 13.5px;
}

.simple-category-pill {
    padding: 3px 7px;
    font-size: 10px;
}

.simple-result-name small {
    font-size: 10px;
}

@media (max-width: 760px) {
    .simple-id-tag {
        font-size: 10px;
        padding: 2px 5px;
    }

    .simple-result-name a {
        font-size: 14px;
    }

    .simple-result-text {
        font-size: 12.5px;
    }
}

/* 简洁查询：ID 后面的复制按钮 */
.simple-result-id {
    white-space: nowrap;
}

.simple-copy-id {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    margin-left: 4px;
    padding: 2px 5px;
    border: 1px solid #e3d7c6;
    border-radius: 4px;
    background: #fffaf1;
    color: #8b7559;
    font-family: var(--mono);
    font-size: 8px;
    font-weight: 600;
    line-height: 1.4;
    vertical-align: 1px;
    cursor: pointer;
}

.simple-copy-id:hover,
.simple-copy-id:focus-visible {
    border-color: #cfb89d;
    background: #fff4e4;
    color: #6e573e;
    outline: 0;
}

.simple-copy-id.is-copied {
    border-color: #b9d5c0;
    background: #eef7ef;
    color: #4f7658;
}

@media (max-width: 760px) {
    .simple-copy-id {
        margin-left: 3px;
        padding: 2px 4px;
        font-size: 7.5px;
    }
}

/* 复制ID按钮清晰化 */
.simple-copy-id {
    min-height: 27px;
    padding: 3px 7px;
    border-color: #d6c3aa;
    background: #fff8eb;
    color: #6f5638;
    font-size: 10px;
    font-weight: 700;
}

.simple-copy-id:hover,
.simple-copy-id:focus-visible {
    border-color: #bca07d;
    background: #ffefd8;
    color: #513b22;
}

.simple-copy-id.is-copied {
    border-color: #a9c9b1;
    background: #eaf6ec;
    color: #356345;
}

@media (max-width: 760px) {
    .simple-copy-id {
        min-height: 25px;
        padding: 2px 5px;
        font-size: 9px;
    }
}

/* 复制ID：高对比大按钮 */
.simple-result-table th:nth-child(1) {
    width: 18%;
}

.simple-result-table th:nth-child(2) {
    width: 20%;
}

.simple-copy-id {
    min-height: 31px;
    margin-left: 5px;
    padding: 4px 9px;
    border-color: #6d4f32;
    border-radius: 5px;
    background: #6d4f32;
    color: #fffdf8;
    font-size: 11.5px;
    font-weight: 750;
}

.simple-copy-id:hover,
.simple-copy-id:focus-visible {
    border-color: #523a23;
    background: #523a23;
    color: #fff;
}

.simple-copy-id.is-copied {
    border-color: #3f7351;
    background: #3f7351;
    color: #fff;
}

@media (max-width: 760px) {
    .simple-result-table th:nth-child(1) {
        width: 25%;
    }

    .simple-result-table th:nth-child(2) {
        width: 30%;
    }

    .simple-copy-id {
        min-height: 28px;
        margin-left: 3px;
        padding: 3px 6px;
        font-size: 10px;
    }
}

/* 去掉复制按钮后恢复 ID / 名称列宽 */
.simple-result-table th:nth-child(1) {
    width: 13%;
}

.simple-result-table th:nth-child(2) {
    width: 23%;
}

@media (max-width: 760px) {
    .simple-result-table th:nth-child(1) {
        width: 20%;
    }

    .simple-result-table th:nth-child(2) {
        width: 35%;
    }
}

/* ID 前的独立图标标签 */
.simple-result-id {
    white-space: nowrap;
}

.simple-id-icon {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
    overflow: hidden;
    border: 1px solid #dbe3e0;
    border-radius: 6px;
    background: #f7faf8;
    color: #91a59b;
    font-size: 16px;
    vertical-align: middle;
}

.simple-id-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 760px) {
    .simple-id-icon {
        width: 30px;
        height: 30px;
        margin-right: 4px;
    }
}

/* ID 后面的复制ID按钮（浅紫样式） */
.simple-result-table th:nth-child(1) {
    width: 20%;
}

.simple-result-table th:nth-child(2) {
    width: 20%;
}

.simple-copy-id {
    display: inline-flex;
    min-width: 54px;
    height: 30px;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
    padding: 0 7px;
    border: 1px solid #e6d8f6;
    border-radius: 8px;
    background: #f8f2ff;
    color: #7c3fae;
    font-family: var(--font-body, var(--font-sans, sans-serif));
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    vertical-align: middle;
    cursor: pointer;
}

.simple-copy-id:hover,
.simple-copy-id:focus-visible {
    border-color: #d5bcec;
    background: #f1e5ff;
    color: #682e97;
    outline: 0;
}

.simple-copy-id.is-copied {
    border-color: #c8b4e6;
    background: #efe4fb;
    color: #5d2b86;
}

@media (max-width: 760px) {
    .simple-result-table th:nth-child(1) {
        width: 30%;
    }

    .simple-result-table th:nth-child(2) {
        width: 28%;
    }

    .simple-copy-id {
        min-width: 48px;
        height: 28px;
        margin-left: 3px;
        padding: 0 5px;
        font-size: 10px;
    }
}

/* 简洁查询：搜索栏分类 */
.simple-search-bar .simple-category-select {
    flex: 0 0 auto;
    max-width: 145px;
    height: 34px;
    padding: 0 24px 0 10px;
    border: 0;
    border-left: 1px solid var(--line);
    outline: 0;
    color: #5f6d76;
    background: transparent;
    font-family: var(--font-body, var(--font-sans, sans-serif));
    font-size: 11.5px;
    cursor: pointer;
}

@media (max-width: 760px) {
    .simple-search-bar .simple-category-select {
        order: 4;
        flex: 0 0 100%;
        width: 100%;
        max-width: none;
        height: 38px;
        padding-left: 12px;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .simple-search-bar .button {
        order: 5;
    }
}

/* 完整版查询按钮与结果计数清晰化 */
.simple-full-link {
    padding: 9px 14px;
    border-color: #cdbba5;
    background: #fffdf8;
    color: #5d4935;
    font-size: 12px;
    font-weight: 750;
    box-shadow: 0 3px 8px rgba(98, 76, 52, 0.08);
}

.simple-full-link span {
    color: #b54f39;
    font-weight: 700;
}

.simple-full-link:hover {
    border-color: #b99f83;
    background: #fff8eb;
    color: #49331f;
}

.simple-result-count {
    padding: 5px 10px;
    border: 1px solid #ded2c2;
    border-radius: 999px;
    background: #f8f3e9;
    color: #46565f;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

@media (max-width: 760px) {
    .simple-full-link {
        padding: 7px 11px;
        font-size: 11px;
    }

    .simple-result-count {
        padding: 4px 8px;
        font-size: 11px;
    }
}

/* 名称与详细列居中 */
.simple-result-table td.simple-result-name {
    text-align: center;
}

.simple-result-desc {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.simple-result-text {
    text-align: center;
}

/* 简洁查询页广告 */
.simple-image-ads {
    margin-top: 14px;
}

.simple-ad-title {
    margin: 16px 0 7px;
    color: #8d7b65;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.simple-ad-title span {
    margin-right: 5px;
    color: #356d64;
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.simple-text-ads {
    margin-top: 0;
    margin-bottom: 0;
}

.simple-text-ads .server-table {
    font-size: 12px;
}

.simple-bottom-ads {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 26px;
}

.simple-bottom-ad {
    width: 300px;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid #ded5c8;
    border-radius: 10px;
    background: #fffdf8;
}

.simple-bottom-ad img {
    display: block;
    width: 100%;
    height: auto;
}

/* 简洁查询搜索框居中 */
.simple-search-bar {
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 760px) {
    .simple-search-bar {
        width: 100%;
    }
}

/* 去掉顶部标题后，只保留完整版入口 */
.simple-top-actions {
    display: flex;
    justify-content: flex-end;
    padding: 24px 0 10px;
}

@media (max-width: 760px) {
    .simple-top-actions {
        padding: 15px 0 9px;
    }
}

/* 搜索框与导航栏留出间距 */
.simple-body {
    padding-top: 28px;
}

@media (max-width: 760px) {
    .simple-body {
        padding-top: 18px;
    }
}
