:root {
    color-scheme: light;
    --brand: #2878e5;
    --brand-dark: #175fc4;
    --surface: #ffffff;
    --page: #eef3f9;
    --text: #243044;
    --muted: #68758a;
    --line: #e5ebf3;
    --radius: 12px;
}

html {
    max-width: 760px;
    background: var(--page);
    -webkit-user-select: text;
    user-select: text;
}

body {
    background: var(--page);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(255, 196, 61, 0.95);
    outline-offset: 2px;
}

.header {
    padding: 0 14px 14px;
    background: var(--brand);
    background: linear-gradient(145deg, #4b9bf4 0%, var(--brand) 65%, var(--brand-dark) 100%);
}

.dh-header {
    height: 62px;
    background: transparent;
}

.dh-header::before {
    width: 184px;
    height: 28px;
    margin-top: 19px;
}

.header-site {
    height: auto;
    margin-bottom: 10px;
    padding-bottom: 13px;
}

.header .area-logo {
    min-height: 58px;
}

.header .logo {
    top: 19px;
}

.header .logo-title {
    margin-top: 20px;
    font-size: 18px;
}

.m-serch {
    margin: 0 0 14px;
}

.header-site .m-serch {
    margin-bottom: 0;
}

.m-serch-area {
    display: flex;
    margin-top: 0;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(17, 72, 145, 0.18);
}

.m-serch-ipt {
    min-width: 0;
    height: 46px;
    padding-left: 42px;
    padding-right: 42px;
    border-radius: 10px 0 0 10px;
    font-size: 16px;
}

.m-serch-btn {
    flex: 0 0 88px;
    width: 88px;
    height: 46px;
    line-height: 46px;
    border-radius: 0 10px 10px 0;
    background: #ffca43;
    background-image: linear-gradient(180deg, #ffd867, #ffc230);
    color: #533b00;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.m-serch-btn:hover {
    background: #ffd35a;
}

.m-serch-iclose {
    right: 88px;
    height: 46px;
}

.m-serch-think {
    overflow: hidden;
    margin-top: 6px;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(25, 53, 91, 0.16);
}

.serch-think-ul li a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-size: 15px;
}

.serch-think-ul li a:hover {
    background: #f1f7ff;
    color: var(--brand-dark);
}

.search-empty {
    padding: 15px;
    color: var(--muted);
    text-align: center;
    font-size: 14px;
}

.m-boxA,
.m-boxF,
.module-boxA {
    overflow: hidden;
    margin: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 3px 14px rgba(38, 64, 99, 0.05);
}

.m-boxA-hd,
.module-boxA-hd,
.m-listC-tit,
.m-listD-tit {
    background: linear-gradient(90deg, #f4f8ff, #ffffff);
}

.m-boxA-tit,
.module-boxA-tit,
.m-listC-tit,
.m-listD-tit {
    color: #2f5f9f;
    font-weight: 600;
}

.m-listA li,
.m-listB li,
.m-listB-4 li,
.m-listB-5 li,
.module-listA li {
    font-size: 14px;
}

.m-listA li a,
.m-listB li a,
.m-listB-4 li a,
.m-listB-5 li a,
.module-listA li a {
    transition: color 0.15s ease, background-color 0.15s ease;
}

.m-listA li a:hover,
.m-listB li a:hover,
.m-listB-4 li a:hover,
.m-listB-5 li a:hover,
.module-listA li a:hover {
    background: #f2f7ff;
    color: var(--brand-dark);
}

.m-news-title {
    color: var(--text);
    font-size: 16px;
    line-height: 1.45;
}

.m-news-date {
    color: var(--muted);
    font-size: 13px;
}

.news-hidden {
    display: none;
}

.news-toggle {
    display: block;
    width: calc(100% - 24px);
    margin: 8px 12px 12px;
    padding: 10px 12px;
    border: 1px solid #cfe0f6;
    border-radius: 9px;
    background: #f3f8ff;
    color: var(--brand-dark);
    font: inherit;
    cursor: pointer;
}

.a0119content_where {
    margin: 10px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    color: var(--muted);
    font-size: 14px;
}

.footer-site {
    padding: 18px 10px 24px;
    color: var(--muted);
}

#mh-rtop {
    display: none;
    right: 16px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(31, 50, 76, 0.82);
}

#mh-rtop.is-visible {
    display: block;
}

#mh-rtop a {
    width: 100%;
    height: 100%;
    margin: 0;
    background-position: center;
    background-repeat: no-repeat;
    color: transparent;
}

.ad-module {
    position: relative;
    margin: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 3px 12px rgba(31, 50, 76, 0.07);
}

.ad-module-link,
.ad-module img {
    display: block;
    width: 100%;
}

.ad-module-link { position: relative; }
.ad-module img { height: auto; max-height: 180px; object-fit: cover; }
.ad-module-badge {
    position: absolute;
    right: 8px;
    bottom: 7px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 11px;
    line-height: 1.5;
}

.featured-link.featured-color-red { color: #e1262f !important; }
.featured-link.featured-color-orange { color: #e56612 !important; }
.featured-link.featured-color-blue { color: #176fd1 !important; }
.featured-link.featured-color-green { color: #14815a !important; }
.featured-link.featured-bold,
.featured-link.featured-bold .featured-label,
.featured-link.featured-bold .m-news-title {
    font-weight: 900 !important;
    letter-spacing: 0.02em;
    text-shadow: 0.35px 0 currentColor, -0.35px 0 currentColor;
}
.featured-tag {
    display: inline-block;
    min-width: 20px;
    margin-left: 4px;
    padding: 1px 4px;
    border-radius: 4px;
    background: linear-gradient(135deg, #ff5a45, #df1727);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
    vertical-align: 2px;
    box-shadow: 0 1px 4px rgba(206, 30, 46, 0.25);
}
.featured-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 4px;
    object-fit: contain;
    vertical-align: -4px;
}
.m-listF .featured-icon {
    display: block;
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 0.54167rem;
}
.m-listF {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
}
.m-listF li {
    float: none;
    width: auto;
    min-width: 0;
}
.m-listF li a {
    height: 100%;
}
.m-listF .featured-label {
    overflow-wrap: anywhere;
}
.m-news-item .featured-icon {
    width: 22px;
    height: 22px;
}

.site-notice {
    margin: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 3px 12px rgba(31, 50, 76, 0.07);
}
.site-notice-inner { padding: 13px; }
.site-notice-title {
    margin: 0 0 4px;
    color: var(--brand-dark);
    font-size: 18px;
    line-height: 1.4;
}
.site-notice-content {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}
.site-notice-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}
.site-notice-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}
.site-notice-button:active { transform: scale(0.985); }
.notice-button-primary { background:#2878e5; color:#fff; box-shadow:0 3px 8px rgba(40,120,229,.2); }
.notice-button-red { background:#df3542; color:#fff; box-shadow:0 3px 8px rgba(223,53,66,.2); }
.notice-button-orange { background:#ef841f; color:#fff; box-shadow:0 3px 8px rgba(239,132,31,.2); }
.notice-button-green { background:#19966a; color:#fff; box-shadow:0 3px 8px rgba(25,150,106,.2); }
.notice-button-outline { border-color:#78aef2; background:#fff; color:#176fd1; }

@media (max-width: 480px) {
    .m-boxA,
    .m-boxF,
    .module-boxA,
    .a0119content_where {
        margin-right: 7px;
        margin-left: 7px;
        border-radius: 10px;
    }

    .header {
        padding-right: 10px;
        padding-left: 10px;
    }

    .site-notice { margin-right: 7px; margin-left: 7px; }
    .site-notice-buttons { grid-template-columns: 1fr; }

    .m-listA li {
        width: 25%;
    }

    .module-listA li {
        width: 33.333%;
    }

    .module-listA li:nth-child(4n)::after {
        display: block;
    }

    .module-listA li:nth-child(3n)::after {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
