:root {
    --hr-blue: #1268f3;
    --hr-blue-dark: #082d65;
    --hr-navy: #071b36;
    --hr-ink: #111d31;
    --hr-muted: #65748a;
    --hr-line: #e6edf6;
    --hr-surface: #ffffff;
    --hr-background: #f6f9fd;
    --hr-shadow: 0 12px 34px rgba(20, 52, 93, 0.10);
    --hr-radius: 12px;
    --hr-container: 1440px;
}

html {
    scroll-behavior: smooth;
}

body.haoreview-site {
    margin: 0;
    color: var(--hr-ink);
    background: var(--hr-background);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.hr-page-shell *,
.hr-page-shell *::before,
.hr-page-shell *::after {
    box-sizing: border-box;
}

.hr-container {
    width: min(calc(100% - 48px), var(--hr-container));
    margin-inline: auto;
}

.hr-skip-link {
    position: fixed;
    z-index: 10000;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    color: #fff;
    background: var(--hr-blue);
    border-radius: 8px;
    transform: translateY(-160%);
}

.hr-skip-link:focus {
    transform: translateY(0);
}

.hr-topbar {
    color: #d9e7fa;
    background: #102d50;
    font-size: 13px;
}

.hr-topbar-inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.hr-topbar p {
    margin: 0;
}

.hr-topbar nav {
    display: flex;
    gap: 22px;
}

.hr-topbar a {
    color: inherit;
    text-decoration: none;
}

.hr-topbar a:hover {
    color: #fff;
}

.hr-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--hr-line);
    box-shadow: 0 5px 18px rgba(20, 52, 93, 0.04);
    backdrop-filter: blur(14px);
}

.hr-header-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.hr-brand {
    min-width: 270px;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: var(--hr-ink);
    text-decoration: none;
}

.hr-brand-mark {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(145deg, #1783ff, #2456e8);
    border-radius: 13px;
    box-shadow: 0 8px 20px rgba(22, 104, 243, 0.28);
    transform: rotate(-6deg);
}

.hr-brand-mark span {
    font-size: 27px;
    font-weight: 900;
    font-style: italic;
    transform: rotate(6deg);
}

.hr-brand-copy {
    display: grid;
    line-height: 1.15;
}

.hr-brand-copy strong {
    font-size: 27px;
    letter-spacing: -0.7px;
}

.hr-brand-copy small {
    margin-top: 5px;
    color: var(--hr-muted);
    font-size: 12px;
}

.hr-primary-nav {
    flex: 1;
}

.hr-nav-list {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 1.7vw, 31px);
    list-style: none;
}

.hr-nav-list a {
    position: relative;
    padding: 34px 0 31px;
    display: block;
    color: #1a2940;
    font-size: 15px;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}

.hr-nav-list a::after {
    position: absolute;
    right: 0;
    bottom: 24px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--hr-blue);
    border-radius: 3px;
    transform: scaleX(0);
    transition: transform 180ms ease;
}

.hr-nav-list a:hover,
.hr-nav-list .current-menu-item > a {
    color: var(--hr-blue);
}

.hr-nav-list a:hover::after,
.hr-nav-list .current-menu-item > a::after {
    transform: scaleX(1);
}

.hr-header-actions {
    display: flex;
    gap: 10px;
}

.hr-icon-button,
.hr-menu-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    display: grid;
    place-items: center;
    color: #18304f;
    background: #f1f5fa;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.hr-icon-button {
    font-size: 23px;
}

.hr-menu-toggle {
    display: none;
}

.hr-search-panel {
    padding: 18px 0;
    background: #fff;
    border-top: 1px solid var(--hr-line);
}

.hr-search-panel form {
    max-width: 720px;
    margin: auto;
    display: flex;
}

.hr-search-panel label {
    flex: 1;
}

.hr-search-panel input[type="search"] {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #ccd8e8;
    border-radius: 8px 0 0 8px;
}

.hr-search-panel input[type="submit"] {
    min-width: 100px;
    color: #fff;
    background: var(--hr-blue);
    border: 0;
    border-radius: 0 8px 8px 0;
}

.hr-home {
    padding-top: 18px;
    padding-bottom: 56px;
}

.hr-hero {
    position: relative;
    min-height: 356px;
    padding: 46px 56px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(3, 18, 39, 0.98) 0%, rgba(4, 31, 68, 0.96) 50%, rgba(7, 55, 115, 0.82) 100%),
        #061d3d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--hr-radius);
    box-shadow: var(--hr-shadow);
}

.hr-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(77, 156, 255, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(77, 156, 255, 0.2) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(90deg, transparent, #000);
}

.hr-hero-glow {
    position: absolute;
    right: -100px;
    bottom: -280px;
    width: 720px;
    height: 720px;
    background: radial-gradient(circle, rgba(27, 134, 255, 0.55), rgba(3, 34, 78, 0) 64%);
}

.hr-hero-content {
    position: relative;
    z-index: 3;
    width: 64%;
}

.hr-hero-eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 11px;
    color: #9dcaff;
    background: rgba(55, 139, 255, 0.12);
    border: 1px solid rgba(125, 185, 255, 0.22);
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.hr-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 3.1vw, 50px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.4px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.hr-hero-subtitle {
    margin: 14px 0 20px;
    color: #d6e7fc;
    font-size: 18px;
    letter-spacing: 0.4px;
}

.hr-hero-values {
    margin: 0 0 26px;
    padding: 0;
    display: flex;
    gap: 28px;
    list-style: none;
    color: #f0f6ff;
    font-weight: 650;
}

.hr-hero-values span {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    display: inline-grid;
    place-items: center;
    color: #86c9ff;
    background: rgba(90, 174, 255, 0.13);
    border-radius: 50%;
}

.hr-primary-button {
    min-height: 48px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    background: var(--hr-blue);
    border-radius: 99px;
    box-shadow: 0 10px 24px rgba(0, 105, 255, 0.34);
    font-weight: 700;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease;
}

.hr-primary-button:hover {
    color: #fff;
    background: #2785ff;
    transform: translateY(-2px);
}

.hr-hero-visual {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 43%;
    height: 100%;
}

.hr-globe {
    position: absolute;
    right: -70px;
    bottom: -250px;
    width: 620px;
    height: 620px;
    overflow: hidden;
    background:
        radial-gradient(circle at 34% 31%, rgba(71, 170, 255, 0.82), transparent 6%),
        radial-gradient(circle at 42% 39%, rgba(91, 188, 255, 0.48), transparent 2%),
        radial-gradient(circle at 48% 30%, rgba(26, 102, 180, 0.9), transparent 28%),
        radial-gradient(circle at 40% 38%, #0d5aa2, #052c66 55%, #03152e 74%);
    border: 1px solid rgba(92, 179, 255, 0.48);
    border-radius: 50%;
    box-shadow: inset 35px 18px 80px rgba(81, 177, 255, 0.18), 0 0 55px rgba(32, 132, 255, 0.25);
}

.hr-globe::before,
.hr-globe::after,
.hr-globe-line {
    position: absolute;
    inset: 9%;
    content: "";
    border: 1px solid rgba(122, 202, 255, 0.32);
    border-radius: 50%;
}

.hr-globe::before {
    transform: scaleX(0.55);
}

.hr-globe::after {
    transform: scaleY(0.42);
}

.hr-globe-line-a {
    transform: rotate(24deg) scaleY(0.32);
}

.hr-globe-line-b {
    transform: rotate(-24deg) scaleY(0.55);
}

.hr-globe-line-c {
    transform: rotate(62deg) scaleX(0.72);
}

.hr-globe-node {
    position: absolute;
    z-index: 2;
    width: 7px;
    height: 7px;
    background: #bbebff;
    border-radius: 50%;
    box-shadow: 0 0 15px 5px rgba(78, 190, 255, 0.65);
}

.hr-node-a { top: 24%; left: 31%; }
.hr-node-b { top: 35%; left: 49%; }
.hr-node-c { top: 29%; left: 63%; }

.hr-hero-visual p {
    position: absolute;
    z-index: 4;
    right: 42px;
    bottom: 28px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-family: Georgia, serif;
    font-size: 19px;
    font-style: italic;
    line-height: 1.35;
    transform: rotate(-7deg);
}

.hr-home-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(280px, 1fr);
    gap: 28px;
    align-items: start;
}

.hr-section,
.hr-side-card {
    background: var(--hr-surface);
    border: 1px solid var(--hr-line);
    border-radius: var(--hr-radius);
    box-shadow: 0 8px 26px rgba(20, 52, 93, 0.06);
}

.hr-section {
    padding: 30px;
}

.hr-section-heading {
    margin-bottom: 24px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
}

.hr-section-kicker,
.hr-side-label {
    color: var(--hr-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hr-section-heading h2,
.hr-side-card h2 {
    margin: 5px 0 0;
    color: var(--hr-ink);
    font-weight: 800;
}

.hr-section-heading h2 {
    font-size: 24px;
}

.hr-section-heading p {
    max-width: 420px;
    margin: 0;
    color: var(--hr-muted);
    font-size: 14px;
    line-height: 1.7;
}

.hr-topic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hr-topic-card {
    min-height: 156px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    color: var(--hr-ink);
    background: linear-gradient(145deg, #f9fbff, #eef5ff);
    border: 1px solid #deebfa;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hr-topic-card:hover {
    color: var(--hr-ink);
    border-color: #a9ccff;
    box-shadow: 0 12px 26px rgba(35, 102, 190, 0.11);
    transform: translateY(-3px);
}

.hr-topic-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 20px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--hr-blue);
    border-radius: 9px;
    font-size: 15px;
    font-weight: 900;
}

.hr-topic-card strong {
    font-size: 17px;
}

.hr-topic-card small {
    margin-top: 6px;
    color: var(--hr-muted);
}

.hr-sidebar {
    display: grid;
    gap: 18px;
}

.hr-side-card {
    padding: 24px;
}

.hr-side-card h2 {
    font-size: 20px;
}

.hr-category-links {
    margin-top: 16px;
    display: grid;
}

.hr-category-links a {
    padding: 13px 0;
    display: flex;
    justify-content: space-between;
    color: #263750;
    border-bottom: 1px solid var(--hr-line);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}

.hr-category-links a:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.hr-category-links b {
    color: var(--hr-blue);
}

.hr-side-accent {
    color: #d9eaff;
    background: linear-gradient(145deg, #0a3c84, #0b68dc);
    border-color: transparent;
}

.hr-side-accent .hr-side-label {
    color: #94c6ff;
}

.hr-side-accent h2 {
    color: #fff;
}

.hr-side-accent p {
    margin: 12px 0 0;
    color: #d9eaff;
    font-size: 14px;
    line-height: 1.75;
}

[data-bs-theme="dark"] body.haoreview-site {
    --hr-ink: #eff6ff;
    --hr-muted: #9fb0c5;
    --hr-line: #233b59;
    --hr-surface: #10243c;
    --hr-background: #081727;
}

[data-bs-theme="dark"] .hr-header,
[data-bs-theme="dark"] .hr-search-panel {
    background: rgba(13, 31, 51, 0.96);
}

[data-bs-theme="dark"] .hr-brand,
[data-bs-theme="dark"] .hr-nav-list a,
[data-bs-theme="dark"] .hr-topic-card,
[data-bs-theme="dark"] .hr-category-links a {
    color: var(--hr-ink);
}

[data-bs-theme="dark"] .hr-icon-button,
[data-bs-theme="dark"] .hr-menu-toggle,
[data-bs-theme="dark"] .hr-topic-card {
    background: #172d47;
}

.hr-main-content {
    min-width: 0;
    display: grid;
    gap: 36px;
}

.hr-content-section {
    min-width: 0;
}

.hr-section-title-row {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.hr-section-title-row > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hr-section-title-row h2 {
    margin: 0;
    color: var(--hr-ink);
    font-size: 24px;
    font-weight: 800;
}

.hr-section-title-row p {
    margin: 0;
    color: var(--hr-muted);
    font-size: 14px;
}

.hr-section-title-row > a {
    color: var(--hr-blue);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.hr-section-icon {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--hr-blue);
    border-radius: 9px;
    font-size: 14px;
}

.hr-featured-grid,
.hr-latest-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.hr-post-card {
    min-width: 0;
    overflow: hidden;
    background: var(--hr-surface);
    border: 1px solid var(--hr-line);
    border-radius: var(--hr-radius);
    box-shadow: 0 8px 24px rgba(20, 52, 93, 0.07);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.hr-post-card:hover {
    box-shadow: 0 14px 34px rgba(20, 52, 93, 0.12);
    transform: translateY(-3px);
}

.hr-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    display: block;
    overflow: hidden;
    background: #092a55;
}

.hr-card-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 260ms ease;
}

.hr-post-card:hover .hr-card-media img {
    transform: scale(1.035);
}

.hr-card-placeholder {
    position: absolute;
    inset: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    background:
        radial-gradient(circle at 85% 20%, rgba(43, 145, 255, 0.55), transparent 25%),
        linear-gradient(135deg, #071f42, #0c559e);
}

.hr-card-placeholder::after {
    position: absolute;
    right: -28px;
    bottom: -68px;
    width: 170px;
    height: 170px;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    box-shadow: 0 0 0 24px rgba(255, 255, 255, 0.04), 0 0 0 48px rgba(255, 255, 255, 0.03);
}

.hr-card-placeholder b {
    position: relative;
    z-index: 1;
    font-size: 25px;
    letter-spacing: -0.5px;
}

.hr-card-placeholder small {
    position: relative;
    z-index: 1;
    margin-top: 4px;
    color: #b9d9ff;
}

.hr-card-category {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 5px 9px;
    color: #fff;
    background: #ff9f0a;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
}

.hr-card-body {
    padding: 16px 17px 15px;
}

.hr-card-body h3 {
    min-height: 48px;
    margin: 0;
    display: -webkit-box;
    overflow: hidden;
    color: var(--hr-ink);
    font-size: 17px;
    font-weight: 780;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hr-card-body h3 a {
    color: inherit;
    text-decoration: none;
}

.hr-card-body p {
    min-height: 44px;
    margin: 10px 0 0;
    display: -webkit-box;
    overflow: hidden;
    color: var(--hr-muted);
    font-size: 13px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hr-card-meta {
    margin-top: 13px;
    padding-top: 11px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #8997aa;
    border-top: 1px solid var(--hr-line);
    font-size: 12px;
}

.hr-latest-grid .hr-card-body h3 {
    font-size: 16px;
}

.hr-side-heading h2 {
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--hr-ink);
    font-size: 19px;
}

.hr-side-heading h2 span {
    color: var(--hr-blue);
    font-size: 14px;
}

.hr-popular-list {
    margin: 0;
    padding: 0;
    display: grid;
    list-style: none;
}

.hr-popular-list li {
    padding: 12px 0;
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    border-bottom: 1px solid var(--hr-line);
}

.hr-popular-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.hr-rank {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    color: #526177;
    background: #edf2f8;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
}

.hr-popular-list li:first-child .hr-rank {
    color: #fff;
    background: #ff4d4f;
}

.hr-popular-list li:nth-child(2) .hr-rank {
    color: #6d4700;
    background: #ffc74e;
}

.hr-popular-list a {
    display: -webkit-box;
    overflow: hidden;
    color: var(--hr-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hr-side-empty,
.hr-empty-state {
    color: var(--hr-muted);
    font-size: 14px;
}

.hr-empty-state {
    padding: 30px;
    text-align: center;
    background: var(--hr-surface);
    border: 1px dashed #b8c7da;
    border-radius: var(--hr-radius);
}

.hr-deals-card {
    position: relative;
    overflow: hidden;
    color: #dbeaff;
    background: linear-gradient(135deg, #08469e, #086ff1);
    border: 0;
}

.hr-deals-card::after {
    position: absolute;
    right: -42px;
    bottom: -72px;
    width: 180px;
    height: 180px;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.05), 0 0 0 55px rgba(255, 255, 255, 0.03);
}

.hr-deals-card .hr-side-label {
    color: #a9d0ff;
}

.hr-deals-card h2 {
    position: relative;
    z-index: 1;
    color: #fff;
}

.hr-deals-card p {
    position: relative;
    z-index: 1;
    margin: 12px 0 18px;
    color: #dbeaff;
    font-size: 13px;
    line-height: 1.7;
}

.hr-deals-link,
.hr-affiliate-button {
    position: relative;
    z-index: 1;
    min-height: 40px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 99px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.hr-footer {
    margin-top: 20px;
    padding: 48px 0 24px;
    color: #b8c8dc;
    background: #081b31;
}

.hr-footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.hr-footer-brand {
    color: #fff;
    font-size: 25px;
    font-weight: 850;
    text-decoration: none;
}

.hr-footer p {
    margin: 8px 0 0;
    font-size: 13px;
}

.hr-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.hr-footer nav a {
    color: #d6e3f2;
    font-size: 13px;
    text-decoration: none;
}

.hr-footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    color: #8195ad;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
}

[data-bs-theme="dark"] .hr-rank {
    color: #d8e6f6;
    background: #243c58;
}
