:root {
    --primary-color: #e74c3c;
    --primary-hover: #c0392b;
    --secondary-color: #2c3e50;
    --secondary-deep: #172b3a;
    --accent-color: #168f8a;
    --accent-hover: #0f746f;
    --background-color: #f5f6fa;
    --surface-color: #ffffff;
    --surface-muted: #f8f9fa;
    --text-color: #2c3e50;
    --muted-color: #667085;
    --border-color: #e4e7ec;
    --container-width: 90rem;
    --header-height: 3.75rem;
    --radius-sm: 0.375rem;
    --radius-md: 0.625rem;
    --radius-lg: 0.9375rem;
    --shadow-sm: 0 0.125rem 0.625rem rgba(23, 43, 58, 0.08);
    --shadow-md: 0 0.5rem 1.5rem rgba(23, 43, 58, 0.12);
    --transition-speed: 0.25s;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 20rem;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 1rem);
    -webkit-text-size-adjust: 100%;
}

body {
    min-width: 20rem;
    min-height: 100vh;
    margin: 0;
    color: var(--text-color);
    background: var(--background-color);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-x: clip;
}

body.nav-open {
    overflow: hidden;
}

img,
picture,
video,
canvas,
svg,
iframe {
    max-width: 100%;
}

img,
video {
    height: auto;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: var(--primary-color);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
    overflow-wrap: anywhere;
    transition: color var(--transition-speed) ease,
                background-color var(--transition-speed) ease,
                border-color var(--transition-speed) ease,
                box-shadow var(--transition-speed) ease,
                transform var(--transition-speed) ease,
                opacity var(--transition-speed) ease;
}

a:visited {
    color: #a33a31;
}

a:hover {
    color: var(--primary-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
    outline: 0.1875rem solid rgba(22, 143, 138, 0.38);
    outline-offset: 0.1875rem;
}

a:active,
button:active {
    transform: translateY(0.0625rem);
}

a[aria-disabled="true"],
a:not([href]),
button:disabled,
button[aria-disabled="true"] {
    color: #98a2b3;
    background-color: #f2f4f7;
    border-color: #e4e7ec;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.72;
    box-shadow: none;
    transform: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
    margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-color);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

p {
    overflow-wrap: anywhere;
}

.sr-only {
    position: absolute;
    width: 0.0625rem;
    height: 0.0625rem;
    padding: 0;
    margin: -0.0625rem;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    width: 100%;
    height: var(--header-height);
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 0.125rem 0.625rem rgba(23, 43, 58, 0.1);
    transition: transform var(--transition-speed) ease,
                box-shadow var(--transition-speed) ease;
}

.site-header.nav-hidden {
    transform: translateY(-100%);
}

.site-nav,
.nav-container {
    height: 100%;
}

.nav-container {
    width: min(100% - 2rem, var(--container-width));
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.logo {
    min-width: 0;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 1004;
}

.logo-text {
    display: block;
    max-width: min(42vw, 28rem);
    color: var(--secondary-color);
    font-size: clamp(1.05rem, 1.6vw, 1.5rem);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logo-text:visited {
    color: var(--secondary-color);
}

.logo-text:hover,
.logo-text:focus-visible {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0.625rem;
    border: 0;
    border-radius: var(--radius-sm);
    color: var(--secondary-color);
    background: transparent;
    cursor: pointer;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.3125rem;
    z-index: 1004;
    transition: color var(--transition-speed) ease,
                background-color var(--transition-speed) ease,
                transform var(--transition-speed) ease;
}

.menu-toggle:hover {
    color: var(--accent-color);
    background: rgba(22, 143, 138, 0.09);
}

.menu-toggle-line {
    display: block;
    width: 1.5rem;
    height: 0.125rem;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
    transition: transform var(--transition-speed) ease,
                opacity var(--transition-speed) ease;
}

.menu-toggle.is-active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.menu-toggle.is-active .menu-toggle-line:nth-child(1) {
    transform: translateY(0.4375rem) rotate(45deg);
}

.menu-toggle.is-active .menu-toggle-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .menu-toggle-line:nth-child(3) {
    transform: translateY(-0.4375rem) rotate(-45deg);
}

.nav-menu {
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(0.75rem, 1.5vw, 1.75rem);
}

.nav-menu li {
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu a {
    position: relative;
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    color: #344054;
    font-size: 0.975rem;
    text-decoration: none;
    white-space: nowrap;
}

.nav-menu a:visited {
    color: #344054;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 0.125rem;
    border-radius: 999px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-speed) ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a.active,
.nav-menu a[aria-current="page"] {
    color: var(--primary-color);
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after,
.nav-menu a.active::after,
.nav-menu a[aria-current="page"]::after {
    transform: scaleX(1);
}

.nav-menu a:active {
    color: var(--primary-hover);
}

.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 1001;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background: rgba(18, 42, 55, 0.68);
    backdrop-filter: blur(0.125rem);
    transition: opacity var(--transition-speed) ease,
                visibility var(--transition-speed) ease;
}

main {
    flex: 1 0 auto;
    width: 100%;
    padding: calc(var(--header-height) + 1.5rem) 1rem 4rem;
}

main > section,
main > article,
main > .breadcrumb {
    width: min(100%, var(--container-width));
    margin-inline: auto;
}

main > section + section {
    margin-top: 2rem;
}

.breadcrumb {
    min-height: 3.75rem;
    margin-bottom: 1.25rem;
    padding: 0.875rem clamp(1rem, 2vw, 2rem);
    color: var(--muted-color);
    background: var(--surface-color);
    border: 0.0625rem solid rgba(228, 231, 236, 0.85);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
}

.breadcrumb ul {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.55rem;
}

.breadcrumb li {
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-wrap: anywhere;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:visited {
    color: var(--primary-color);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
    color: var(--primary-hover);
    text-decoration: underline;
}

.breadcrumb .separator {
    color: #98a2b3;
    user-select: none;
}

.breadcrumb .current {
    color: #475467;
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    background: var(--surface-color);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease,
                visibility 0.4s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader {
    text-align: center;
}

.loader p {
    margin: 0.75rem 0 0;
}

.circular {
    width: 3.125rem;
    height: 3.125rem;
    animation: loader-rotate 2s linear infinite;
}

.path {
    stroke: currentColor;
    stroke-dasharray: 89, 200;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: loader-dash 1.5s ease-in-out infinite;
}

@keyframes loader-rotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes loader-dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -2.1875rem;
    }
    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -7.75rem;
    }
}

#slider {
    padding: 0;
    overflow: hidden;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.slider-container {
    position: relative;
    width: 100%;
    height: clamp(20rem, 34vw, 34rem);
    overflow: hidden;
    background: var(--secondary-color);
}

.slide {
    position: relative;
    display: none;
    width: 100%;
    height: 100%;
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(13, 29, 40, 0.72), rgba(13, 29, 40, 0.12));
}

.slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-text {
    position: absolute;
    z-index: 2;
    left: clamp(1.25rem, 5vw, 4.5rem);
    right: clamp(1.25rem, 30vw, 30rem);
    bottom: clamp(3rem, 7vw, 5.5rem);
    color: #ffffff;
    text-align: left;
    text-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.45);
}

.slide-text h2 {
    margin-bottom: 0.6rem;
    color: inherit;
    font-size: clamp(1.65rem, 3.2vw, 3rem);
}

.slide-text p {
    margin-bottom: 0;
    font-size: clamp(0.95rem, 1.5vw, 1.25rem);
}

.prev,
.next {
    position: absolute;
    z-index: 3;
    top: 50%;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: 0;
    color: #ffffff;
    background: rgba(13, 29, 40, 0.42);
    cursor: pointer;
    transform: translateY(-50%);
    transition: color var(--transition-speed) ease,
                background-color var(--transition-speed) ease,
                transform var(--transition-speed) ease;
}

.prev {
    left: 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.next {
    right: 0;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.prev:hover,
.next:hover,
.prev:focus-visible,
.next:focus-visible {
    color: #ffffff;
    background: rgba(13, 29, 40, 0.8);
}

.prev:active,
.next:active {
    transform: translateY(-48%);
}

.dots {
    position: absolute;
    z-index: 3;
    inset: auto 0 1.25rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.dot {
    width: 0.75rem;
    height: 0.75rem;
    padding: 0;
    border: 0.125rem solid rgba(255, 255, 255, 0.78);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition: background-color var(--transition-speed) ease,
                border-color var(--transition-speed) ease,
                transform var(--transition-speed) ease;
}

.dot:hover,
.dot:focus-visible,
.dot.active,
.dot[aria-current="true"] {
    border-color: #ffffff;
    background: #ffffff;
    transform: scale(1.16);
}

.fade {
    animation: slide-fade 0.7s ease;
}

@keyframes slide-fade {
    from {
        opacity: 0.45;
    }
    to {
        opacity: 1;
    }
}

#hero,
#features,
#download,
#news,
#friend-links {
    padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 3rem);
    border-radius: var(--radius-lg);
}

#hero {
    color: #ffffff;
    text-align: center;
    background: linear-gradient(135deg, #a38ee1 0%, #a530d6 50%, #c0392b 100%);
}

#hero h2,
#hero p {
    color: inherit;
}

#hero h2,
#features > h2,
#download > h2,
#news > h2,
#friend-links > .friend-links-title {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    overflow-wrap: anywhere;
}

.video-container {
    width: min(100%, 62.5rem);
    margin: 2rem auto;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.16);
    box-shadow: 0 0.5rem 1.5rem rgba(23, 43, 58, 0.2);
}

#promo-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.cta-button,
.download-button,
.buy-button,
.more-button {
    display: inline-flex;
    min-height: 2.875rem;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border: 0.125rem solid transparent;
    border-radius: 999px;
    color: #ffffff;
    background: var(--primary-color);
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 0.25rem 0.875rem rgba(231, 76, 60, 0.22);
}

.cta-button:visited,
.download-button:visited,
.buy-button:visited {
    color: #ffffff;
}

.cta-button:hover,
.cta-button:focus-visible,
.download-button:hover,
.download-button:focus-visible,
.buy-button:hover,
.buy-button:focus-visible {
    color: #ffffff;
    background: var(--primary-hover);
    transform: translateY(-0.125rem);
    box-shadow: 0 0.5rem 1.125rem rgba(231, 76, 60, 0.3);
}

.cta-button:active,
.download-button:active,
.buy-button:active {
    color: #ffffff;
    background: #ad3025;
    transform: translateY(0.0625rem);
}

#features,
#news,
#friend-links {
    background: var(--surface-color);
    box-shadow: var(--shadow-sm);
}

.feature-grid,
.download-steps,
.membership-cards {
    display: grid;
    gap: clamp(1rem, 2.5vw, 2rem);
}

.feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 2rem;
}

.feature-item,
.step {
    min-width: 0;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    border: 0.0625rem solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity 0.55s ease,
                transform 0.55s ease,
                border-color var(--transition-speed) ease,
                box-shadow var(--transition-speed) ease;
}

.feature-item.visible,
.step.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-item:hover,
.feature-item:focus-within,
.step:hover,
.step:focus-within {
    border-color: rgba(231, 76, 60, 0.35);
    box-shadow: var(--shadow-md);
}

.feature-item h3,
.step h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.feature-item p,
.step p {
    margin-bottom: 0;
    color: var(--muted-color);
}

#download {
    text-align: center;
}

.membership-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 2.5rem 0;
    text-align: left;
}

.card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 0.0625rem solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--surface-color);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-speed) ease,
                box-shadow var(--transition-speed) ease,
                border-color var(--transition-speed) ease;
}

.card:hover,
.card:focus-within {
    border-color: rgba(231, 76, 60, 0.35);
    transform: translateY(-0.375rem);
    box-shadow: var(--shadow-md);
}

.card.popular {
    border-color: var(--primary-color);
}

.popular-tag {
    position: absolute;
    z-index: 2;
    top: 1rem;
    right: -2.5rem;
    width: 9rem;
    padding: 0.35rem 0.5rem;
    color: #ffffff;
    background: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
    transform: rotate(45deg);
}

.card-header,
.card-footer {
    padding: 1.5rem;
    text-align: center;
    background: var(--surface-muted);
}

.card-header {
    border-bottom: 0.0625rem solid var(--border-color);
}

.card-footer {
    border-top: 0.0625rem solid var(--border-color);
}

.card-header h3 {
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.price {
    display: flex;
    min-height: 4.25rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--primary-color);
    text-align: center;
}

.price .amount {
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
}

.price .period {
    color: var(--muted-color);
    font-size: 0.92rem;
}

.card-body {
    padding: 1.5rem;
}

.features {
    margin: 0;
    padding: 0;
    list-style: none;
}

.features li {
    margin: 0;
    padding: 0.55rem 0;
    color: #475467;
    list-style: none;
    border-bottom: 0.0625rem dashed #eaecf0;
    overflow-wrap: anywhere;
}

.features li:last-child {
    border-bottom: 0;
}

.download-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 2rem 0;
}

.step {
    text-align: center;
}

#news {
    padding-inline: clamp(1rem, 3vw, 2.5rem);
}

.news-list {
    width: min(100%, 68.75rem);
    margin-inline: auto;
}

.news-item {
    display: grid;
    grid-template-columns: 9.375rem minmax(0, 1fr);
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding: 1.25rem;
    overflow: hidden;
    border: 0.0625rem solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-speed) ease,
                box-shadow var(--transition-speed) ease,
                border-color var(--transition-speed) ease;
}

.news-item:hover,
.news-item:focus-within {
    border-color: rgba(231, 76, 60, 0.35);
    transform: translateY(-0.1875rem);
    box-shadow: var(--shadow-md);
}

.news-thumb {
    width: 100%;
    aspect-ratio: 15 / 11;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: #eaecf0;
}

.news-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.news-item:hover .news-thumb img,
.news-item:focus-within .news-thumb img {
    transform: scale(1.04);
}

.news-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.news-title {
    color: var(--text-color);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
}

.news-title:visited {
    color: var(--text-color);
}

.news-title:hover,
.news-title:focus-visible {
    color: var(--primary-color);
}

.news-summary {
    margin: 0.65rem 0 0;
    color: var(--muted-color);
}

.news-date {
    margin-top: auto;
    padding-top: 0.7rem;
    color: var(--muted-color);
    font-size: 0.9rem;
}

.news-more {
    margin-top: 2rem;
    text-align: center;
}

.more-button {
    color: var(--primary-color);
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: none;
}

.more-button:visited {
    color: var(--primary-color);
}

.more-button:hover,
.more-button:focus-visible {
    color: #ffffff;
    background: var(--primary-color);
    transform: translateY(-0.125rem);
    box-shadow: 0 0.5rem 1.125rem rgba(231, 76, 60, 0.24);
}

.more-button:active {
    color: #ffffff;
    background: var(--primary-hover);
}

#friend-links {
    padding-block: clamp(1.5rem, 3vw, 2.5rem);
    text-align: center;
}

#friend-links > .friend-links-title {
    margin-bottom: 1.25rem;
}

#friend-links .links-grid {
    width: min(100%, 62.5rem);
    margin-inline: auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

#friend-links .links-grid a {
    width: min(100%, 14.5rem);
    min-width: 0;
    min-height: 2.625rem;
    padding: 0.5rem 0.8rem;
    display: flex;
    flex: 0 1 14.5rem;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    background: var(--background-color);
    border: 0.0625rem solid transparent;
    border-radius: var(--radius-sm);
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
}

#friend-links .links-grid a:visited {
    color: var(--text-color);
}

#friend-links .links-grid a:hover,
#friend-links .links-grid a:focus-visible {
    color: var(--primary-color);
    background: #ffffff;
    border-color: rgba(231, 76, 60, 0.35);
    box-shadow: var(--shadow-sm);
}

#friend-links .links-grid a:active {
    color: var(--primary-hover);
    background: #fff5f4;
}

#articles {
    padding: clamp(1.25rem, 3vw, 2.5rem);
    border-radius: var(--radius-lg);
    background: var(--surface-color);
    box-shadow: var(--shadow-sm);
}

#articles > h1 {
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.article-zflys {
    width: 100%;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.category {
    display: inline-flex;
    min-height: 2.5rem;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.1rem;
    color: var(--text-color);
    background: var(--background-color);
    border: 0.0625rem solid var(--border-color);
    border-radius: 999px;
    font-size: 0.92rem;
    text-align: center;
    text-decoration: none;
}

.category:visited {
    color: var(--text-color);
}

.category:hover,
.category:focus-visible,
.category.active,
.category[aria-current="page"] {
    color: #ffffff;
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-0.125rem);
    box-shadow: 0 0.35rem 0.875rem rgba(231, 76, 60, 0.22);
}

.category:active {
    color: #ffffff;
    background: var(--primary-hover);
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.article-item {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(13rem, 18.75rem) minmax(0, 1fr);
    gap: clamp(1rem, 2.5vw, 2rem);
    padding: 1.25rem;
    overflow: hidden;
    border: 0.0625rem solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-speed) ease,
                box-shadow var(--transition-speed) ease,
                border-color var(--transition-speed) ease;
}

.article-item:hover,
.article-item:focus-within {
    border-color: rgba(231, 76, 60, 0.35);
    transform: translateY(-0.1875rem);
    box-shadow: var(--shadow-md);
}

.article-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 3;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: #eaecf0;
}

.article-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.article-item:hover .article-thumb img,
.article-item:focus-within .article-thumb img {
    transform: scale(1.04);
}

.article-category,
.article-thumb > a.article-category {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    max-width: calc(100% - 1.5rem);
    padding: 0.25rem 0.75rem;
    color: #ffffff;
    background: rgba(23, 43, 58, 0.78);
    border-radius: 999px;
    font-size: 0.82rem;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-item .article-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.article-title {
    margin-bottom: 0.75rem;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.article-title a {
    color: var(--text-color);
    text-decoration: none;
}

.article-title a:visited {
    color: var(--text-color);
}

.article-title a:hover,
.article-title a:focus-visible {
    color: var(--primary-color);
}

.article-item .article-summary {
    margin-bottom: 1rem;
    color: var(--muted-color);
}

.article-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}

.article-meta {
    color: var(--muted-color);
    font-size: 0.9rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.read-more:visited {
    color: var(--primary-color);
}

.read-more:hover,
.read-more:focus-visible {
    color: var(--primary-hover);
    transform: translateX(0.1875rem);
}

.read-more:active {
    color: #ad3025;
}

.pagination,
.page,
#page,
ul.pagination,
ul.page {
    margin: 2rem auto 0;
    padding: 0;
    list-style: none;
}

.pagination,
.page,
#page,
ul.pagination,
ul.page,
.pagination ul,
.page ul,
#page ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pagination ul,
.page ul,
#page ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pagination li,
.page li,
#page li,
ul.pagination > li,
ul.page > li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pagination > a,
.pagination > span,
.pagination li > a,
.pagination li > span,
.page > a,
.page > span,
.page li > a,
.page li > span,
#page > a,
#page > span,
#page li > a,
#page li > span,
ul.pagination > li > a,
ul.pagination > li > span,
ul.page > li > a,
ul.page > li > span {
    display: inline-flex;
    min-width: 2.375rem;
    min-height: 2.375rem;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.75rem;
    color: #475467;
    background: #ffffff;
    border: 0.0625rem solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.pagination a:visited,
.page a:visited,
#page a:visited,
ul.pagination a:visited,
ul.page a:visited {
    color: #475467;
}

.pagination a:hover,
.pagination a:focus-visible,
.page a:hover,
.page a:focus-visible,
#page a:hover,
#page a:focus-visible,
ul.pagination a:hover,
ul.pagination a:focus-visible,
ul.page a:hover,
ul.page a:focus-visible {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: #fff8f7;
    transform: translateY(-0.0625rem);
}

.pagination a:active,
.page a:active,
#page a:active,
ul.pagination a:active,
ul.page a:active {
    color: #ffffff;
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

.pagination .active,
.pagination .current,
.pagination [aria-current="page"],
.page .active,
.page .current,
.page [aria-current="page"],
#page .active,
#page .current,
#page [aria-current="page"],
ul.pagination .active,
ul.pagination .current,
ul.pagination [aria-current="page"],
ul.page .active,
ul.page .current,
ul.page [aria-current="page"] {
    color: #ffffff;
    background: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 700;
    cursor: default;
}

.pagination .active a,
.pagination .current a,
.pagination li[aria-current="page"] a,
.page .active a,
.page .current a,
.page li[aria-current="page"] a,
#page .active a,
#page .current a,
#page li[aria-current="page"] a,
ul.pagination .active a,
ul.pagination .current a,
ul.pagination li[aria-current="page"] a,
ul.page .active a,
ul.page .current a,
ul.page li[aria-current="page"] a {
    color: #ffffff;
    background: var(--primary-color);
    border-color: var(--primary-color);
    pointer-events: none;
}

.pagination .disabled,
.pagination [aria-disabled="true"],
.page .disabled,
.page [aria-disabled="true"],
#page .disabled,
#page [aria-disabled="true"],
ul.pagination .disabled,
ul.pagination [aria-disabled="true"],
ul.page .disabled,
ul.page [aria-disabled="true"] {
    color: #98a2b3;
    background: #f2f4f7;
    border-color: #e4e7ec;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.72;
}

.article-detail {
    min-width: 0;
    padding: clamp(1.25rem, 3vw, 2.75rem);
    overflow: hidden;
    border: 0.0625rem solid rgba(228, 231, 236, 0.85);
    border-radius: var(--radius-lg);
    background: var(--surface-color);
    box-shadow: var(--shadow-sm);
}

.article-detail .article-header {
    margin-bottom: 2rem;
}

.article-detail .article-info {
    text-align: center;
}

.article-detail .article-info h1 {
    max-width: 70rem;
    margin: 0 auto 0.8rem;
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    line-height: 1.35;
}

.article-detail .article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    color: var(--muted-color);
    text-align: center;
}

.article-detail .article-content {
    min-width: 0;
    max-width: 100%;
    color: #344054;
    font-size: clamp(0.98rem, 1.1vw, 1.0625rem);
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.article-detail .article-content *,
.article-detail .article-content *::before,
.article-detail .article-content *::after {
    box-sizing: border-box;
    max-width: 100%;
}

.article-detail .article-content > :first-child {
    margin-top: 0;
}

.article-detail .article-content > :last-child {
    margin-bottom: 0;
}

.article-detail .article-content p {
    margin: 0 0 1.3rem;
    color: #475467;
    line-height: 1.85;
}

.article-detail .article-content .article-summary {
    margin: 0 0 2rem;
    padding: 1.1rem 1.35rem;
    color: #475467;
    background: var(--background-color);
    border-left: 0.25rem solid var(--primary-color);
    border-radius: var(--radius-sm);
    font-size: 1.03rem;
    line-height: 1.75;
}

.article-detail .article-content h1,
.article-detail .article-content h2,
.article-detail .article-content h3,
.article-detail .article-content h4,
.article-detail .article-content h5,
.article-detail .article-content h6 {
    margin: 2em 0 0.75em;
    color: var(--text-color);
    font-weight: 700;
    line-height: 1.35;
}

.article-detail .article-content h1 {
    font-size: clamp(1.75rem, 3.2vw, 2.35rem);
}

.article-detail .article-content h2 {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.article-detail .article-content h3 {
    font-size: clamp(1.3rem, 2.3vw, 1.7rem);
}

.article-detail .article-content h4 {
    font-size: clamp(1.15rem, 2vw, 1.4rem);
}

.article-detail .article-content h5 {
    font-size: 1.05rem;
}

.article-detail .article-content h6 {
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.article-detail .article-content strong {
    color: var(--text-color);
    font-weight: 700;
}

.article-detail .article-content em {
    font-style: italic;
}

.article-detail .article-content mark {
    padding: 0.08em 0.25em;
    color: var(--text-color);
    background: #fff3cd;
    border-radius: 0.2rem;
}

.article-detail .article-content ul,
.article-detail .article-content ol {
    margin: 0 0 1.4rem;
    padding-left: 1.6rem;
    color: #475467;
}

.article-detail .article-content ul {
    list-style: disc outside;
}

.article-detail .article-content ol {
    list-style: decimal outside;
}

.article-detail .article-content li {
    margin: 0.35rem 0;
    padding-left: 0.2rem;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.article-detail .article-content li::marker {
    color: var(--primary-color);
}

.article-detail .article-content li > ul,
.article-detail .article-content li > ol {
    margin: 0.45rem 0 0.65rem;
}

.article-detail .article-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.article-detail .article-content a:visited {
    color: #a33a31;
}

.article-detail .article-content a:hover,
.article-detail .article-content a:focus-visible {
    color: var(--primary-hover);
}

.article-detail .article-content a:active {
    color: #ad3025;
}

.article-detail .article-content img,
.article-detail .article-content video,
.article-detail .article-content iframe,
.article-detail .article-content svg {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
}

.article-detail .article-content img {
    margin: 1.5rem auto;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    object-fit: contain;
}

.article-detail .article-content figure {
    margin: 2rem 0;
    overflow: hidden;
}

.article-detail .article-content figure img {
    margin-top: 0;
    margin-bottom: 0;
}

.article-detail .article-content figcaption {
    margin-top: 0.7rem;
    color: var(--muted-color);
    font-size: 0.9rem;
    line-height: 1.65;
    text-align: center;
}

.article-detail .article-content table {
    display: block;
    width: 100%;
    margin: 2rem 0;
    overflow-x: auto;
    border-collapse: collapse;
    border-spacing: 0;
    color: #475467;
    -webkit-overflow-scrolling: touch;
}

.article-detail .article-content caption {
    display: block;
    width: 100%;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-weight: 700;
    text-align: left;
}

.article-detail .article-content thead {
    background: var(--background-color);
}

.article-detail .article-content tbody {
    background: #ffffff;
}

.article-detail .article-content tr {
    border: 0;
}

.article-detail .article-content th,
.article-detail .article-content td {
    min-width: 7rem;
    padding: 0.8rem 1rem;
    border: 0.0625rem solid var(--border-color);
    text-align: left;
    vertical-align: top;
    white-space: normal;
    overflow-wrap: anywhere;
}

.article-detail .article-content th {
    color: var(--text-color);
    font-weight: 700;
}

.article-detail .article-content blockquote {
    margin: 2rem 0;
    padding: 1.15rem 1.35rem;
    color: #475467;
    background: var(--background-color);
    border-left: 0.25rem solid var(--accent-color);
    border-radius: var(--radius-sm);
}

.article-detail .article-content blockquote p:last-child {
    margin-bottom: 0;
}

.article-detail .article-content cite {
    display: block;
    margin-top: 0.75rem;
    color: var(--muted-color);
    font-size: 0.92rem;
    font-style: normal;
}

.article-detail .article-content code,
.article-detail .article-content pre,
.article-detail .article-content kbd {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.article-detail .article-content code {
    padding: 0.12em 0.35em;
    color: #b42318;
    background: #fff1f0;
    border: 0.0625rem solid #fecdca;
    border-radius: 0.25rem;
    font-size: 0.92em;
    overflow-wrap: anywhere;
}

.article-detail .article-content pre {
    width: 100%;
    margin: 2rem 0;
    padding: 1rem 1.2rem;
    overflow-x: auto;
    color: #e5e7eb;
    background: #111827;
    border-radius: var(--radius-sm);
    line-height: 1.7;
    tab-size: 4;
    -webkit-overflow-scrolling: touch;
}

.article-detail .article-content pre code {
    display: block;
    width: max-content;
    min-width: 100%;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    border-radius: 0;
    white-space: pre;
    word-break: normal;
    overflow-wrap: normal;
}

.article-detail .article-content kbd {
    display: inline-block;
    padding: 0.12rem 0.38rem;
    color: var(--text-color);
    background: #f2f4f7;
    border: 0.0625rem solid #d0d5dd;
    border-bottom-width: 0.125rem;
    border-radius: 0.25rem;
    font-size: 0.86em;
    line-height: 1.4;
}

.article-detail .article-content details {
    margin: 1.5rem 0;
    padding: 1rem 1.2rem;
    color: #475467;
    background: #ffffff;
    border: 0.0625rem solid var(--border-color);
    border-radius: var(--radius-sm);
}

.article-detail .article-content summary {
    color: var(--text-color);
    font-weight: 700;
    cursor: pointer;
}

.article-detail .article-content details[open] summary {
    margin-bottom: 0.75rem;
}

.article-detail .article-content abbr[title] {
    cursor: help;
    text-decoration: underline dotted;
    text-underline-offset: 0.18em;
}

.article-detail .article-content time {
    color: var(--muted-color);
    font-variant-numeric: tabular-nums;
}

.article-detail .article-content hr {
    height: 0;
    margin: 2rem 0;
    border: 0;
    border-top: 0.0625rem solid var(--border-color);
}

.article-detail .article-content audio {
    width: 100%;
    max-width: 100%;
    margin: 1.5rem 0;
}

.article-detail .article-content sub,
.article-detail .article-content sup {
    line-height: 0;
}

.article-detail .article-content p:empty {
    display: none;
}

.article-tags {
    margin: 2rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.tag {
    display: inline-flex;
    min-height: 2.25rem;
    align-items: center;
    padding: 0.35rem 0.85rem;
    color: var(--primary-color);
    background: var(--background-color);
    border: 0.0625rem solid rgba(231, 76, 60, 0.18);
    border-radius: 999px;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.article-navigation {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 0.0625rem solid var(--border-color);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.article-navigation > span {
    min-width: 0;
    min-height: 4rem;
    display: flex;
    align-items: stretch;
    color: #98a2b3;
    background: #f2f4f7;
    border: 0.0625rem solid var(--border-color);
    border-radius: var(--radius-sm);
    text-align: center;
    overflow-wrap: anywhere;
}

.article-navigation > span:not(:empty) {
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1rem;
}

.article-navigation > span > a {
    width: calc(100% + 2rem);
    min-height: calc(4rem - 0.125rem);
    margin: -0.9rem -1rem;
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    background: #ffffff;
    border-radius: calc(var(--radius-sm) - 0.0625rem);
    text-decoration: none;
}

.article-navigation > span > a:visited {
    color: var(--text-color);
}

.article-navigation > span > a:hover,
.article-navigation > span > a:focus-visible {
    color: var(--primary-color);
    background: #fff8f7;
    box-shadow: inset 0.2rem 0 0 var(--primary-color);
}

.article-navigation > span > a:active {
    color: var(--primary-hover);
    background: #fff1f0;
}

.site-footer {
    flex: 0 0 auto;
    margin-top: auto;
    padding: 2.25rem 1rem;
    color: rgba(255, 255, 255, 0.76);
    background: linear-gradient(135deg, #a38ee1 0%, #a530d6 50%, #2c3e50 100%);
    text-align: center;
}

.footer-inner {
    width: min(100%, var(--container-width));
    margin-inline: auto;
}

.site-footer p {
    margin: 0.75rem 0;
    overflow-wrap: anywhere;
}

.footer-nav {
    margin: 1.25rem 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.75rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.site-footer a:visited {
    color: rgba(255, 255, 255, 0.82);
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

.site-footer a:active {
    color: #ffe3df;
}

@media (max-width: 74.999rem) {
    .feature-grid,
    .membership-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nav-menu {
        gap: 0.85rem;
    }

    .nav-menu a {
        font-size: 0.92rem;
    }
}

@media (max-width: 62rem) {
    .site-header {
        --mobile-drawer-width: min(76vw, 22rem);
    }

    .nav-container {
        width: min(100% - 1.5rem, var(--container-width));
        gap: 0.75rem;
    }

    .logo-text {
        max-width: calc(100vw - 5.5rem);
    }

    .menu-toggle {
        display: inline-flex;
    }

    .menu-toggle.is-active {
        position: fixed;
        z-index: 1004;
        top: 0.75rem;
        right: 0.75rem;
        width: 3rem;
        height: 3rem;
        padding: 0.7rem;
        color: #ffffff;
        background: rgba(255, 255, 255, 0.1);
        border: 0.0625rem solid rgba(255, 255, 255, 0.18);
        border-radius: 0.55rem;
        box-shadow: none;
    }

    .menu-toggle.is-active:hover,
    .menu-toggle.is-active:focus-visible {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.18);
    }

    .nav-menu {
        position: fixed;
        z-index: 1002;
        inset: 0 0 0 auto;
        width: var(--mobile-drawer-width);
        min-width: 0;
        height: 100dvh;
        margin: 0;
        padding: 4.75rem 1.25rem 1rem;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        color: #ffffff;
        background: linear-gradient(180deg, var(--secondary-deep) 0%, var(--secondary-color) 72%, var(--accent-hover) 100%);
        box-shadow: -0.65rem 0 1.75rem rgba(13, 29, 40, 0.24);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(100%);
        transition: transform 0.32s ease,
                    visibility 0.32s ease;
        scrollbar-color: rgba(255, 255, 255, 0.38) rgba(255, 255, 255, 0.08);
        scrollbar-width: thin;
        touch-action: pan-y;
    }

    .nav-menu.active {
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
    }

    .nav-menu > li {
        width: 100%;
        min-width: 0;
        min-height: 3.5rem;
        margin: 0;
        padding: 0;
        display: flex;
        flex: 1 0 3.5rem;
        align-items: stretch;
        justify-content: flex-start;
        border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.14);
    }

    .nav-menu > li:first-child {
        border-top: 0.0625rem solid rgba(255, 255, 255, 0.14);
    }

    .nav-menu > li > a {
        width: 100%;
        min-width: 0;
        min-height: 3.5rem;
        margin: 0;
        padding: 0.75rem 1rem;
        display: flex;
        flex: 1 1 auto;
        align-items: center;
        justify-content: flex-start;
        color: rgba(255, 255, 255, 0.92);
        font-size: 1rem;
        font-weight: 500;
        line-height: 1.45;
        text-align: left;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .nav-menu > li > a:visited {
        color: rgba(255, 255, 255, 0.92);
    }

    .nav-menu > li > a::after {
        inset: 0 auto 0 0;
        width: 0.18rem;
        height: auto;
        border-radius: 0;
        background: #ffffff;
        transform: scaleY(0);
        transform-origin: center;
    }

    .nav-menu > li > a:hover,
    .nav-menu > li > a:focus-visible,
    .nav-menu > li > a.active,
    .nav-menu > li > a[aria-current="page"] {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.09);
    }

    .nav-menu > li > a:hover::after,
    .nav-menu > li > a:focus-visible::after,
    .nav-menu > li > a.active::after,
    .nav-menu > li > a[aria-current="page"]::after {
        transform: scaleY(1);
    }

    .nav-menu > li > a:active {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.15);
    }

    .nav-overlay.active {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    main {
        padding-inline: 0.75rem;
    }

    .article-item {
        grid-template-columns: minmax(11rem, 15rem) minmax(0, 1fr);
    }
}

@media (max-width: 48rem) {
    main {
        padding-top: calc(var(--header-height) + 0.75rem);
        padding-bottom: 2.5rem;
    }

    main > section + section {
        margin-top: 1rem;
    }

    .breadcrumb {
        min-height: 3.25rem;
        margin-bottom: 0.75rem;
        padding: 0.7rem 0.85rem;
        border-radius: var(--radius-sm);
        box-shadow: none;
    }

    .breadcrumb ul {
        display: flex;
        width: 100%;
        min-width: 0;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 0.2rem 0.45rem;
        overflow: visible;
        line-height: 1.6;
    }

    .breadcrumb li {
        min-width: 0;
        margin: 0;
        padding: 0;
        flex: 0 0 auto;
    }

    .breadcrumb li:not(.current) {
        white-space: nowrap;
    }

    .breadcrumb .separator {
        flex: 0 0 auto;
    }

    .breadcrumb .current,
    .breadcrumb li:last-child {
        min-width: 0;
        max-width: 100%;
        flex: 1 1 12rem;
        color: #475467;
        white-space: normal;
        overflow: visible;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .slider-container {
        height: clamp(17rem, 70vw, 23rem);
    }

    .slide-text {
        right: 1.25rem;
        bottom: 3.25rem;
    }

    .slide-text p {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .prev,
    .next {
        width: 2.5rem;
        height: 2.75rem;
    }

    #hero,
    #features,
    #download,
    #news,
    #friend-links,
    #articles,
    .article-detail {
        padding: 1.25rem;
        border-radius: var(--radius-md);
    }

    .feature-grid,
    .membership-cards,
    .download-steps {
        grid-template-columns: 1fr;
    }

    .news-item,
    .article-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .news-thumb,
    .article-thumb {
        aspect-ratio: 16 / 9;
    }

    #friend-links {
        padding: 1rem;
    }

    #friend-links > .friend-links-title {
        margin-bottom: 0.75rem;
        font-size: 1.2rem;
    }

    #friend-links .links-grid {
        gap: 0.5rem;
    }

    #friend-links .links-grid a {
        width: calc(50% - 0.25rem);
        min-height: 2.25rem;
        padding: 0.35rem 0.55rem;
        flex: 0 1 calc(50% - 0.25rem);
        font-size: 0.875rem;
        line-height: 1.35;
    }

    .article-zflys {
        justify-content: flex-start;
    }

    .category {
        flex: 1 1 auto;
    }

    .article-navigation {
        grid-template-columns: 1fr;
    }

    .article-detail .article-content table {
        font-size: 0.92rem;
    }

    .article-detail .article-content th,
    .article-detail .article-content td {
        min-width: 6.5rem;
        padding: 0.7rem 0.8rem;
    }

    .footer-nav {
        gap: 0.65rem 1rem;
    }
}

@media (max-width: 40rem) {
    .site-header {
        --mobile-drawer-width: min(82vw, 21rem);
    }
}

@media (max-width: 30rem) {
    #friend-links .links-grid a {
        padding-inline: 0.4rem;
        font-size: 0.84rem;
    }

    .logo-text {
        max-width: calc(100vw - 5.25rem);
        font-size: 1.05rem;
    }

    .article-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .pagination,
    .page,
    #page,
    ul.pagination,
    ul.page,
    .pagination ul,
    .page ul,
    #page ul {
        gap: 0.35rem;
    }

    .pagination > a,
    .pagination > span,
    .pagination li > a,
    .pagination li > span,
    .page > a,
    .page > span,
    .page li > a,
    .page li > span,
    #page > a,
    #page > span,
    #page li > a,
    #page li > span,
    ul.pagination > li > a,
    ul.pagination > li > span,
    ul.page > li > a,
    ul.page > li > span {
        min-width: 2.1rem;
        min-height: 2.1rem;
        padding-inline: 0.55rem;
        font-size: 0.84rem;
    }

    .article-detail .article-content ul,
    .article-detail .article-content ol {
        padding-left: 1.3rem;
    }

    .article-detail .article-content pre {
        padding: 0.85rem 0.9rem;
    }

    .site-footer {
        padding-inline: 0.75rem;
        font-size: 0.92rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .site-header,
    .nav-menu,
    .nav-overlay,
    .menu-toggle,
    .menu-toggle-line,
    .nav-menu a,
    .nav-menu a::after,
    a,
    button,
    .feature-item,
    .step,
    .card,
    .news-item,
    .article-item,
    .news-thumb img,
    .article-thumb img,
    .page-loader {
        transition-duration: 0.01ms;
    }

    .circular,
    .path,
    .fade {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
    }
}
