:root {
            --bg: #eef3f7;
            --card: #ffffff;
            --soft: #f6f8fb;
            --line: rgba(15, 23, 42, 0.10);
            --text: #17344d;
            --muted: #66788c;
            --brand: #0d5e86;
            --deep: #083f64;
            --accent: #b91c1c;
            --shadow: none;
        }
        * { box-sizing: border-box; }
        body {
            margin: 0;
            color: var(--text);
            font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
            background:
                linear-gradient(180deg, #f8fbfe 0%, #f3f6fa 240px, var(--bg) 240px, var(--bg) 100%);
        }
        a { color: inherit; text-decoration: none; }
        img { max-width: 100%; display: block; }

        .shell {
            width: min(1200px, calc(100% - 28px));
            margin: 0 auto;
            padding: 10px 0 28px;
        }
        .hero, .search, .split, .cats, .bottom, .footer-main, .portal-brandbar {
            display: grid;
            gap: 12px;
        }
        .hero {
            grid-template-columns: 1fr;
        }
        .split {
            grid-template-columns: 1fr;
        }
        .split > div {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
        }
        .search {
            grid-template-columns: 230px minmax(0, 1fr);
            align-items: center;
        }
        .cats {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
        .bottom, .portal-brandbar {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .card, .hero-side {
            background: var(--card);
            border: 1px solid var(--line);
            border-radius: 0;
            box-shadow: var(--shadow);
        }
        .hero-side, .card {
            padding: 20px;
        }

        .portal-header {
            background: var(--card);
            border: 1px solid var(--line);
            border-top: 4px solid var(--brand);
            border-radius: 0;
            overflow: hidden;
            box-shadow: var(--shadow);
        }
        .portal-topbar {
            display: flex;
            justify-content: space-between;
            gap: 12px;
            flex-wrap: wrap;
            padding: 10px 22px;
            background: #f4f6f9;
            border-bottom: 1px solid var(--line);
            color: var(--muted);
            font-size: 13px;
        }
        .portal-brandbar {
            padding: 18px 20px 16px;
            align-items: center;
        }
        .portal-brand {
            display: flex;
            gap: 18px;
            align-items: center;
        }
        .portal-brand-logo, .portal-brand-mark {
            width: 74px;
            height: 74px;
            flex: none;
            border-radius: 0;
        }
        .portal-brand-logo {
            object-fit: cover;
            border: 1px solid var(--line);
        }
        .portal-brand-mark {
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--brand), var(--deep));
            color: #fff;
            font-size: 18px;
            font-weight: 700;
        }
        .portal-brand-copy strong {
            display: block;
            font-size: 18px;
            line-height: 1.15;
            letter-spacing: 1px;
        }
        .portal-brand-copy span {
            display: block;
            margin-top: 10px;
            color: var(--muted);
            font-size: 14px;
            line-height: 1.85;
        }
        .portal-brand-meta {
            padding: 18px 20px;
            border-left: 4px solid var(--brand);
            background: transparent;
        }
        .portal-brand-meta b {
            display: block;
            font-size: 18px;
            line-height: 1.7;
        }
        .portal-brand-meta span {
            display: block;
            color: var(--muted);
            font-size: 13px;
        }
        .portal-nav {
            display: flex;
            overflow: auto;
            justify-content: flex-end;
            align-items: center;
            gap: 8px;
            padding: 0;
        }
        .portal-nav::-webkit-scrollbar { display: none; }
        .portal-nav-link {
            flex: 0 0 auto;
            padding: 10px 14px;
            color: var(--text);
            font-size: 14px;
            font-weight: 700;
        }
        .portal-nav-link.current,
        .portal-nav-link:hover {
            color: var(--brand);
            background: #f3f7fb;
        }

        .hero {
            margin-top: 12px;
        }
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 144px;
            padding: 13px 20px;
            font-size: 15px;
            font-weight: 700;
        }
        .btn.primary {
            background: #0d5e86;
            color: #fff;
        }
        .btn.secondary {
            background: #fff;
            border: 1px solid var(--line);
        }
        .hero-side {
            color: #fff;
            background:
                linear-gradient(160deg, rgba(7, 25, 46, 0.38), rgba(8, 63, 100, 0.8)),
                linear-gradient(135deg, var(--brand), var(--deep));
            background-size: cover;
            background-position: center;
            border-top: 4px solid #072842;
        }
        .hero-side h2 {
            margin: 18px 0 10px;
            font-size: 18px;
            line-height: 1.35;
        }
        .hero-side-list {
            display: grid;
            gap: 10px;
            margin-top: 18px;
        }
        .hero-side-item {
            display: block;
            padding: 12px 14px;
            background: rgba(255, 255, 255, 0.08);
            font-size: 14px;
            line-height: 1.7;
        }

        .search {
            margin-top: 12px;
            padding: 16px 20px;
            background: #fff;
            border: 1px solid var(--line);
            border-top: 4px solid #cfdbe6;
            box-shadow: var(--shadow);
        }
        .search strong {
            display: block;
            font-size: 18px;
        }
        .search span {
            display: block;
            margin-top: 8px;
            color: var(--muted);
            font-size: 13px;
            line-height: 1.8;
        }
        .search-form {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 12px;
        }
        .search-input {
            height: 54px;
            padding: 0 18px;
            border: 1px solid rgba(13, 94, 134, 0.18);
            background: #f8fbfe;
            font-size: 15px;
        }
        .search-button {
            height: 54px;
            padding: 0 24px;
            border: none;
            background: #0d5e86;
            color: #fff;
            font-size: 15px;
            font-weight: 700;
        }

        .quick {
            margin-top: 16px;
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 14px;
        }
        .quick a {
            display: grid;
            align-content: start;
            min-height: 150px;
            padding: 18px 18px 20px;
            background: #fff;
            border: 1px solid var(--line);
            border-top: 4px solid #c8d7e3;
            box-shadow: var(--shadow);
        }
        .quick a:nth-child(1) { border-top-color: var(--brand); }
        .quick a:nth-child(2) { border-top-color: var(--deep); }
        .quick a:nth-child(3) { border-top-color: #1f7a4f; }
        .quick a:nth-child(4) { border-top-color: var(--accent); }
        .quick strong {
            display: block;
            margin-top: 0;
            font-size: 18px;
            line-height: 1.45;
        }

        .ad {
            margin-top: 12px;
            display: flex;
            justify-content: center;
        }
        .card {
            margin-top: 12px;
            border-top: 4px solid #d8e2eb;
        }
        .split > div .card {
            margin-top: 0;
        }
        .head {
            display: flex;
            justify-content: space-between;
            gap: 12px;
            padding-bottom: 12px;
            border-bottom: 1px solid var(--line);
            margin-bottom: 14px;
        }
        .head > div {
            position: relative;
            padding-left: 14px;
        }
        .head > div::before {
            content: "";
            position: absolute;
            left: 0;
            top: 4px;
            bottom: 4px;
            width: 4px;
            background: var(--brand);
        }
        .head h2, .head h3 {
            margin: 0;
            font-size: 18px;
            line-height: 1.25;
        }
        .head p {
            margin: 8px 0 0;
            color: var(--muted);
            font-size: 13px;
        }

        .lead {
            display: grid;
            grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
            gap: 14px;
            padding-bottom: 14px;
            margin-bottom: 14px;
            border-bottom: 1px solid var(--line);
        }
        .lead-cover {
            min-height: 240px;
            background:
                linear-gradient(160deg, rgba(7, 25, 46, 0.28), rgba(8, 63, 100, 0.48)),
                linear-gradient(135deg, var(--brand), var(--deep));
            background-size: cover;
            background-position: center;
        }
        .lead-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            color: var(--muted);
            font-size: 13px;
        }
        .pill {
            display: inline-flex;
            padding: 6px 10px;
            background: #eef4f8;
            color: var(--brand);
            font-size: 12px;
            font-weight: 700;
        }
        .lead h3 {
            margin: 14px 0 12px;
            font-size: 18px;
            line-height: 1.35;
        }
        .lead p {
            margin: 0;
            color: var(--muted);
            font-size: 15px;
            line-height: 1.95;
        }

        .list, .side-list, .friend-list, .cat-list {
            display: grid;
            gap: 10px;
        }
        .item {
            display: grid;
            grid-template-columns: 96px minmax(0, 1fr);
            gap: 12px;
            align-items: start;
            padding-top: 12px;
            border-top: 1px solid var(--line);
        }
        .item:first-child, .cat-item:first-child {
            border-top: none;
            padding-top: 0;
        }
        .date {
            min-height: 76px;
            padding: 10px 8px;
            background: #f4f8fc;
            border-top: 3px solid var(--brand);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: var(--deep);
        }
        .date strong {
            font-size: 18px;
            line-height: 1;
        }
        .date span {
            margin-top: 6px;
            font-size: 12px;
        }
        .title {
            font-size: 18px;
            line-height: 1.65;
            font-weight: 700;
        }
        .desc {
            margin-top: 8px;
            color: var(--muted);
            font-size: 14px;
            line-height: 1.8;
        }
        .side, .friend {
            display: block;
            padding: 15px 16px;
            background: #ffffff;
            border-left: 4px solid #d7e1ea;
            border-top: 1px solid rgba(15, 23, 42, 0.07);
            border-right: 1px solid rgba(15, 23, 42, 0.07);
            border-bottom: 1px solid rgba(15, 23, 42, 0.07);
        }
        .side strong, .friend strong {
            display: block;
            font-size: 15px;
            line-height: 1.7;
            color: #213850;
        }
        .side span, .friend span {
            display: block;
            margin-top: 6px;
            color: var(--muted);
            font-size: 12px;
            line-height: 1.75;
            word-break: break-word;
        }

        .cats {
            margin-top: 12px;
        }
        .cat {
            padding: 18px;
            background: #fff;
            border: 1px solid var(--line);
            border-top: 4px solid var(--brand);
            border-radius: 0;
            box-shadow: var(--shadow);
        }
        .cat:nth-child(3n+2) { border-top-color: var(--deep); }
        .cat:nth-child(3n+3) { border-top-color: var(--accent); }
        .cat-head {
            display: flex;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 16px;
        }
        .cat-head h3 {
            margin: 0;
            font-size: 18px;
            line-height: 1.35;
        }
        .cat-head p {
            margin: 8px 0 0;
            color: var(--muted);
            font-size: 13px;
            line-height: 1.8;
        }
        .cat-links {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 14px;
            padding-bottom: 14px;
            border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        }
        .cat-link {
            display: inline-flex;
            padding: 8px 12px;
            background: #f7fafc;
            border: 1px solid #dde5ec;
            color: #34526b;
            font-size: 13px;
        }
        .cat-item {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 12px;
            align-items: start;
            padding-top: 12px;
            border-top: 1px solid var(--line);
        }
        .cat-item strong {
            display: block;
            font-size: 15px;
            line-height: 1.7;
            color: #213850;
        }
        .cat-item span {
            display: block;
            margin-top: 6px;
            color: var(--muted);
            font-size: 13px;
            line-height: 1.8;
        }
        .cat-item em {
            font-style: normal;
            color: #7a8da2;
            font-size: 12px;
            white-space: nowrap;
        }

        .notice {
            color: var(--muted);
            line-height: 1.9;
            min-height: 164px;
        }
        .empty {
            padding: 20px 18px;
            background: #f8fbff;
            border: 1px dashed #d7e2eb;
            color: #7a8a9c;
            line-height: 1.8;
            text-align: center;
        }

        .portal-footer {
            margin-top: 18px;
            overflow: hidden;
            background: #0a3553;
            border: none;
            color: #d7e4ef;
        }
        .footer-main {
            padding: 22px;
            grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.7fr) minmax(220px, 0.8fr);
            gap: 16px;
        }
        .footer-title {
            font-size: 18px;
            font-weight: 700;
            line-height: 1.3;
            color: #ffffff;
        }
        .footer-desc {
            margin-top: 12px;
            color: rgba(215, 228, 239, 0.86);
            font-size: 14px;
            line-height: 1.9;
        }
        .footer-col {
            display: grid;
            gap: 10px;
            align-content: start;
            padding-left: 18px;
            border-left: 1px solid rgba(255, 255, 255, 0.14);
        }
        .footer-col strong {
            font-size: 15px;
            color: #ffffff;
        }
        .footer-col a, .footer-col span {
            color: rgba(215, 228, 239, 0.86);
            font-size: 13px;
            line-height: 1.8;
        }
        .footer-bottom {
            display: flex;
            justify-content: space-between;
            gap: 12px;
            flex-wrap: wrap;
            padding: 14px 28px;
            border-top: 1px solid rgba(255, 255, 255, 0.12);
            background: #072842;
            color: rgba(215, 228, 239, 0.82);
            font-size: 13px;
        }

        @media (max-width: 1180px) {
            .hero, .split, .cats, .bottom, .portal-brandbar, .footer-main {
                grid-template-columns: 1fr;
            }
            .split > div {
                grid-template-columns: 1fr;
            }
            .cats {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }
        @media (max-width: 760px) {
            .shell {
                width: min(100%, calc(100% - 20px));
                padding-top: 12px;
            }
            .portal-topbar, .actions {
                flex-direction: column;
                align-items: flex-start;
            }
            .portal-brandbar, .hero-side, .card, .cat, .search {
                padding: 18px;
            }
            .portal-nav {
                justify-content: flex-start;
                width: 100%;
                padding-top: 12px;
                border-top: 1px solid var(--line);
            }
            .portal-brand {
                align-items: flex-start;
            }
            .portal-brand-logo, .portal-brand-mark {
                width: 58px;
                height: 58px;
            }
            .portal-brand-copy strong {
                font-size: 18px;
            }
            .search, .search-form, .lead, .cats {
                grid-template-columns: 1fr;
            }
            .item {
                grid-template-columns: 1fr;
            }
            .footer-col {
                padding-left: 0;
                border-left: none;
                padding-top: 14px;
                border-top: 1px solid rgba(255, 255, 255, 0.14);
            }
            .btn, .search-button {
                width: 100%;
            }
            .footer-bottom {
                padding: 14px 18px;
            }
        }
