* {
    box-sizing: border-box;
}

html {
    background: #eef3f7;
}

body {
    margin: 0;
    color: #26384d;
    font: 14px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
    background: #eef3f7;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.wrap,
.main-wrap {
    width: min(1050px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #dfe8f1;
    box-shadow: 0 2px 10px rgba(36, 65, 91, 0.08);
}

.topbar {
    min-height: 48px;
    color: #fff;
    background: #1684d8;
}

.topbar-inner,
.nav-inner,
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.topbar-inner {
    min-height: 48px;
}

.brand {
    display: flex;
    align-items: center;
    min-width: 210px;
    gap: 10px;
    color: #fff;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #1684d8;
    font-size: 19px;
    font-weight: 800;
    line-height: 1;
    background: #fff;
    border-radius: 5px;
}

.brand-text {
    display: flex;
    min-width: 0;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    overflow: hidden;
    font-size: 17px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.brand-text small {
    max-width: 180px;
    overflow: hidden;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.site-search {
    display: grid;
    flex: 1 1 420px;
    max-width: 430px;
    height: 31px;
    grid-template-columns: minmax(0, 1fr) 36px;
}

.site-search input,
.site-search button {
    min-width: 0;
    border: 0;
    outline: 0;
}

.site-search input {
    padding: 0 14px;
    color: #41546c;
    background: #fff;
    border-radius: 3px 0 0 3px;
}

.site-search button {
    color: #fff;
    font-size: 18px;
    background: #49a5dd;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
}

.account-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    padding: 4px 13px;
    color: #fff;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 4px;
}

.account-btn::before {
    content: "♙";
    margin-right: 5px;
}

.category-nav {
    min-height: 52px;
    background: #fff;
}

.nav-inner {
    justify-content: center !important;
    min-height: 52px;
}

.system-nav,
.system-nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.system-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    color: #1f2f43;
    font-size: 13px;
    line-height: 1.2;
    border-radius: 8px;
}

.system-nav > li:hover > a,
.system-nav > li:hover > .nav-toggle {
    color: #1684d8;
}

.system-nav {
    width: auto;
    max-width: 100%;
    flex-wrap: wrap;
    padding: 8px 0;
    margin: 0 auto;
}

.system-nav ul {
    position: absolute;
    z-index: 20;
    top: calc(100% + 8px);
    left: 0;
    display: none;
    min-width: 140px;
    gap: 0;
    padding: 6px 0;
    background: #fff;
    border: 1px solid #dfe8f1;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(31, 47, 67, 0.12);
}

.system-nav li {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    background: #f7fbff;
    border: 1px solid #dbe8f4;
    border-radius: 8px;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.system-nav li.open > ul,
.system-nav li.hover-open > ul,
.system-nav li:focus-within > ul {
    display: block;
}

.system-nav > li:hover,
.system-nav > li.hover-open {
    background: #eef8ff;
    border-color: #9fd1f4;
    box-shadow: 0 4px 12px rgba(22, 132, 216, 0.12);
}

.system-nav > li:active {
    background: #dff1ff;
    border-color: #1684d8;
    box-shadow: inset 0 2px 5px rgba(22, 132, 216, 0.15);
    transform: translateY(1px);
}

.system-nav > li.open,
.system-nav > li.on,
.system-nav > li.active,
.system-nav > li.current {
    background: #1684d8;
    border-color: #1684d8;
    box-shadow: 0 6px 16px rgba(22, 132, 216, 0.18);
}

.system-nav > li.open > a,
.system-nav > li.on > a,
.system-nav > li.active > a,
.system-nav > li.current > a,
.system-nav > li.open > .nav-toggle,
.system-nav > li.on > .nav-toggle,
.system-nav > li.active > .nav-toggle,
.system-nav > li.current > .nav-toggle {
    color: #fff;
}

.system-nav ul li,
.system-nav ul a {
    display: block;
    width: 100%;
}

.system-nav ul li {
    min-height: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.system-nav ul a {
    height: auto;
    padding: 8px 14px;
    white-space: nowrap;
    border-radius: 0;
}

.system-nav ul a:hover {
    color: #1684d8;
    background: #f0f8ff;
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-left: -8px;
    margin-right: 8px;
    color: #6a7b90;
    font-size: 13px;
    line-height: 1;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: color 0.18s ease, transform 0.18s ease;
}

.system-nav li.hover-open > .nav-toggle,
.system-nav li:focus-within > .nav-toggle {
    color: #1684d8;
    transform: rotate(180deg);
}

.system-nav > li.open > .nav-toggle {
    color: #fff;
    transform: rotate(180deg);
}

.main-wrap {
    padding: 14px 0 20px;
}

.hero-strip {
    position: relative;
    display: block;
    width: 100%;
    height: 220px;
    min-height: 220px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #dcecf8;
    border: 1px solid #d9edf9;
    border-radius: 8px;
}

.hero-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    visibility: hidden;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    background-color: #dcecf8;
    background-image: linear-gradient(115deg, #dbefff 0%, #f4fbff 48%, #cdeefa 100%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: opacity 0.26s ease, visibility 0.26s ease;
}

.hero-slide::before {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(14, 52, 84, 0.68), rgba(14, 52, 84, 0.28) 50%, rgba(14, 52, 84, 0.06));
}

.hero-slide.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.hero-slide-link {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 34px 72px;
    color: #fff;
}

.hero-copy {
    display: block;
    max-width: 430px;
}

.hero-copy strong {
    display: block;
    overflow-wrap: anywhere;
    font-size: 28px;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(8, 28, 46, 0.22);
}

.hero-copy em {
    display: block;
    max-width: 360px;
    margin-top: 9px;
    color: rgba(255, 255, 255, 0.88);
    font-style: normal;
    font-size: 14px;
    line-height: 1.65;
}

.download-btn,
.detail-download,
.comment-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 15px;
    color: #fff;
    font-weight: 700;
    background: #12b989;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
}

.download-btn {
    min-width: 72px;
    background: #1684d8;
}

.download-btn,
.mini-btn,
.detail-download {
    font-family: inherit;
}

.hero-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 36px;
    height: 52px;
    color: #fff;
    font-size: 30px;
    background: rgba(12, 36, 58, 0.24);
    border: 0;
    border-radius: 999px;
    transform: translateY(-50%);
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
}

.hero-arrow:hover {
    background: rgba(12, 36, 58, 0.42);
}

.hero-arrow:active {
    transform: translateY(-50%) scale(0.96);
}

.hero-arrow.prev {
    left: 16px;
}

.hero-arrow.next {
    right: 16px;
}

.hero-dots {
    position: absolute;
    z-index: 2;
    right: 50%;
    bottom: 8px;
    display: flex;
    gap: 7px;
    transform: translateX(50%);
}

.hero-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    background: rgba(255, 255, 255, 0.58);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.hero-dots .active {
    width: 24px;
    background: #fff;
    border-radius: 8px;
}

.section-heading,
.module-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin: 12px 0 10px;
}

.section-heading p,
.module-heading p {
    margin: 0 0 2px;
    color: #1684d8;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.section-heading h2,
.module-heading h2 {
    margin: 0;
    color: #1f2f43;
    font-size: 20px;
    line-height: 1.3;
}

.section-heading span,
.module-heading span {
    color: #73849a;
    font-size: 12px;
}

.home-module {
    margin-bottom: 16px;
}

.module-body {
    display: grid;
    gap: 12px;
}

.software-center-layout {
    align-items: start;
    grid-template-columns: 300px minmax(0, 1fr);
}

.topic-center-layout {
    align-items: start;
    grid-template-columns: 1.2fr 1fr 1fr;
}

.recent-update-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 14px;
}

.panel,
.detail-panel,
.comments-panel,
.empty-state {
    background: #fff;
    border: 1px solid #dfe8f1;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(33, 63, 92, 0.07);
}

.panel {
    min-width: 0;
    padding: 12px;
}

.latest-wide-panel {
    min-height: 100%;
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 24px;
    margin-bottom: 10px;
}

.panel-head h3 {
    margin: 0;
    color: #1f2f43;
    font-size: 15px;
}

.panel-head a {
    color: #7b8ca1;
    font-size: 12px;
}

.rank-tabs {
    display: flex;
    gap: 16px;
    margin: 0 0 8px;
    color: #8795a8;
    font-size: 13px;
}

.rank-tabs span {
    padding-bottom: 3px;
}

.rank-tabs .active {
    color: #1684d8;
    border-bottom: 2px solid #1684d8;
}

.rank-list,
.card-stack,
.list-stack {
    display: grid;
    gap: 9px;
}

.rank-item {
    display: grid;
    align-items: center;
    min-height: 48px;
    grid-template-columns: 22px 44px minmax(0, 1fr);
    gap: 8px;
}

.rank-num {
    color: #9aa8b8;
    font-weight: 800;
    text-align: center;
}

.rank-copy {
    min-width: 0;
}

.rank-copy strong,
.mini-card h4,
.soft-card-title h4 {
    display: block;
    overflow: hidden;
    margin: 0;
    color: #1f2f43;
    font-size: 13px;
    line-height: 1.3;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-copy small,
.mini-card p,
.soft-card-title p {
    display: block;
    overflow: hidden;
    margin: 3px 0 0;
    color: #63768c;
    font-size: 11px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.app-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    overflow: hidden;
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-icon-1 {
    background: #2f9df3;
}

.app-icon-2 {
    background: #27b66f;
}

.app-icon-3 {
    background: #f59b2f;
}

.app-icon-4 {
    background: #ef5d64;
}

.app-icon-5 {
    background: #22a7a1;
}

.app-icon-6 {
    background: #7867d8;
}

.soft-card {
    position: relative;
    min-width: 0;
    padding: 0 0 10px;
    border-bottom: 1px solid #ecf1f5;
}

.soft-card:last-child,
.mini-card:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.soft-card-top {
    display: grid;
    align-items: center;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 10px;
}

.soft-card-title {
    min-width: 0;
}

.soft-card-title h4 {
    font-size: 14px;
}

.soft-badge {
    align-self: start;
    padding: 1px 6px;
    color: #12a77e;
    font-size: 11px;
    background: #e9fbf5;
    border-radius: 4px;
}

.soft-desc {
    display: -webkit-box;
    overflow: hidden;
    min-height: 40px;
    margin: 9px 0 8px;
    color: #5f7085;
    font-size: 12px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.soft-meta,
.soft-card-actions,
.mini-rating,
.article-footer,
.tag-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.soft-card-actions {
    justify-content: space-between;
    color: #7b8ca1;
    font-size: 12px;
}

.stars {
    display: inline-flex;
    gap: 1px;
    color: #cbd4df;
    font-size: 12px;
    line-height: 1;
}

.stars .on {
    color: #ffb020;
}

.soft-meta {
    justify-content: space-between;
    margin-bottom: 8px;
    color: #8a98aa;
    font-size: 12px;
}

.mini-card {
    display: grid;
    align-items: center;
    min-width: 0;
    min-height: 62px;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 10px;
    padding-bottom: 9px;
    border-bottom: 1px solid #ecf1f5;
}

.mini-card > div {
    min-width: 0;
}

.mini-rating {
    margin-top: 5px;
    color: #8b99aa;
    font-size: 11px;
}

.mini-btn {
    border: 0;
    cursor: pointer;
    min-width: 62px;
    padding: 4px 9px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    background: #1684d8;
    border-radius: 5px;
}

.double-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.list-panel {
    padding: 14px;
}

.list-stack {
    gap: 16px;
}

.list-stack .soft-card {
    padding-bottom: 16px;
}

.top-card {
    padding-top: 20px;
}

.top-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    padding: 2px 7px;
    color: #fff;
    font-size: 11px;
    background: #ef5d64;
    border-radius: 0 8px 0 8px;
}

.pagebar {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 18px 0 4px;
}

.pagebar .page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    color: #53677e;
    background: #fff;
    border: 1px solid #dce6f0;
    border-radius: 5px;
}

.pagebar .now-page,
.pagebar a:hover {
    color: #fff;
    background: #1684d8;
    border-color: #1684d8;
}

.single-wrap {
    width: min(900px, calc(100% - 32px));
}

.detail-panel {
    padding: 18px;
}

.detail-hero {
    display: grid;
    align-items: center;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #edf2f7;
}

.detail-hero .app-icon {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
    font-size: 28px;
}

.detail-title {
    min-width: 0;
}

.detail-title p,
.page-title p {
    margin: 0 0 4px;
    color: #1684d8;
    font-weight: 700;
}

.detail-title h1,
.page-title h1 {
    overflow-wrap: anywhere;
    margin: 0;
    color: #1f2f43;
    font-size: 25px;
    line-height: 1.35;
}

.detail-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    color: #7c8da1;
    font-size: 12px;
}

.detail-download {
    border: 0;
    cursor: pointer;
    min-width: 96px;
    min-height: 36px;
    background: #12b989;
}

.detail-download.muted {
    color: #8290a3;
    background: #edf2f7;
    cursor: default;
}

.detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin: 16px 0;
    background: #e6eef6;
    border: 1px solid #e6eef6;
    border-radius: 8px;
}

.detail-meta-grid div {
    min-width: 0;
    padding: 12px;
    background: #f8fbfe;
}

.detail-meta-grid span {
    display: block;
    color: #7e8fa4;
    font-size: 12px;
}

.detail-meta-grid strong {
    display: block;
    overflow: hidden;
    margin-top: 3px;
    color: #283a4f;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.article-content {
    color: #2d3c4f;
    font-size: 15px;
    line-height: 1.85;
}

.article-content h1,
.article-content h2,
.article-content h3 {
    color: #1f2f43;
    line-height: 1.35;
}

.article-content pre,
.article-content code {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
}

.article-content th,
.article-content td {
    padding: 8px;
    border: 1px solid #dfe8f1;
}

.tag-list {
    flex-wrap: wrap;
    margin-top: 16px;
}

.tag-list a {
    padding: 4px 9px;
    color: #1684d8;
    background: #ecf7ff;
    border-radius: 5px;
}

.article-footer {
    flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 12px;
    color: #7d8da1;
    border-top: 1px solid #edf2f7;
}

.page-title {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf2f7;
}

.comments-panel {
    margin-top: 14px;
    padding: 16px;
}

.comments-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.comments-title h3 {
    margin: 0;
    font-size: 17px;
}

.comments-title span {
    color: #7b8ca1;
}

.comment-item {
    padding: 12px 0;
    border-top: 1px solid #edf2f7;
}

.comment-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-head .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.comment-head strong,
.comment-head span {
    display: block;
}

.comment-head span {
    color: #8b99aa;
    font-size: 12px;
}

.reply-link {
    margin-left: auto;
    color: #1684d8;
}

.comment-body {
    margin: 8px 0 0 46px;
    color: #40546b;
}

.comment-form {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #edf2f7;
}

.comment-form-title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 700;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 8px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    min-width: 0;
    padding: 9px 11px;
    color: #26384d;
    background: #f8fbfe;
    border: 1px solid #dfe8f1;
    border-radius: 5px;
    outline: 0;
}

.comment-form textarea {
    display: block;
    resize: vertical;
}

.comment-form button {
    min-width: 86px;
    margin-top: 10px;
}

.side-module {
    margin-bottom: 12px;
    padding: 12px;
    background: #fff;
    border: 1px solid #dfe8f1;
    border-radius: 8px;
}

.side-module h3 {
    margin: 0 0 8px;
    font-size: 15px;
}

.side-module ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.side-module li {
    padding: 5px 0;
    border-bottom: 1px solid #eef3f7;
}

.side-module li:last-child {
    border-bottom: 0;
}

.empty-state {
    padding: 38px 20px;
    color: #6d7e92;
    text-align: center;
}

.error-state strong {
    display: block;
    color: #1684d8;
    font-size: 52px;
    line-height: 1;
}

.error-state h1 {
    margin: 8px 0;
}

.site-footer {
    margin-top: 8px;
    padding: 13px 0;
    color: #5d6e82;
    background: #edf3f8;
    border-top: 1px solid #dce6f0;
}

.download-modal-open {
    overflow: hidden;
}

.download-modal[hidden] {
    display: none;
}

.download-modal {
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.download-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(15, 30, 45, 0.42);
}

.download-modal-card {
    position: relative;
    z-index: 1;
    width: min(430px, 100%);
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(15, 30, 45, 0.22);
}

.download-modal-card h3 {
    margin: 0;
    padding-right: 36px;
    color: #1f2f43;
    font-size: 19px;
    line-height: 1.35;
}

.download-modal-tip {
    margin: 6px 0 14px;
    color: #73849a;
    font-size: 13px;
}

.download-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    color: #6f7f92;
    font-size: 22px;
    line-height: 1;
    background: #f2f6fa;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.download-modal-list {
    display: grid;
    gap: 9px;
}

.download-modal-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 42px;
    padding: 10px 12px;
    color: #fff;
    background: #1684d8;
    border-radius: 6px;
}

.download-modal-item span {
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
    white-space: nowrap;
}

.download-modal-empty {
    margin: 0;
    color: #73849a;
}

.site-footer p {
    margin: 2px 0;
    font-size: 12px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.socials {
    display: flex;
    gap: 10px;
}

.socials span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #47576b;
    font-size: 12px;
    font-weight: 800;
    background: #fff;
    border: 1px solid #dbe5ef;
    border-radius: 50%;
}

@media (max-width: 1100px) {
    .software-center-layout {
        grid-template-columns: 270px minmax(0, 1fr);
    }

    .topic-center-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .topic-center-layout .pick-panel {
        grid-column: 1 / -1;
    }

    .hero-strip {
        height: 200px;
        min-height: 200px;
    }
}

@media (max-width: 820px) {
    .topbar-inner {
        flex-wrap: wrap;
        padding: 10px 0;
    }

    .brand,
    .account-btn {
        min-width: 0;
        flex: 1 1 auto;
    }

    .account-btn {
        justify-content: flex-end;
    }

    .site-search {
        order: 3;
        flex-basis: 100%;
        max-width: none;
    }

    .nav-inner {
        align-items: center;
        gap: 0;
        padding: 0;
        justify-content: flex-start !important;
    }

    .system-nav {
        width: 100%;
        gap: 8px;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 8px 2px 10px;
        margin-left: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .system-nav::-webkit-scrollbar {
        display: none;
    }

    .system-nav > li {
        flex: 0 0 auto;
    }

    .system-nav ul {
        top: calc(100% + 6px);
        width: max-content;
        max-width: min(260px, calc(100vw - 24px));
    }

    .hero-slide-link {
        padding: 28px 58px;
    }

    .hero-copy strong {
        font-size: 24px;
    }

    .software-center-layout,
    .topic-center-layout,
    .recent-update-grid,
    .double-stack,
    .detail-meta-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .detail-hero {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .detail-hero .app-icon {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
    }

    .detail-download {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 560px) {
    .wrap,
    .main-wrap,
    .single-wrap {
        width: min(100% - 20px, 1050px);
    }

    .brand-text small {
        display: none;
    }

    .hero-strip {
        height: 170px;
        min-height: 170px;
    }

    .hero-slide-link {
        padding: 24px 44px;
    }

    .hero-copy strong {
        font-size: 21px;
    }

    .hero-copy em {
        max-width: 280px;
        font-size: 12px;
    }

    .hero-arrow {
        width: 30px;
        height: 44px;
        font-size: 24px;
    }

    .hero-arrow.prev {
        left: 8px;
    }

    .hero-arrow.next {
        right: 8px;
    }

    .section-heading,
    .module-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .mini-card {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .mini-btn {
        grid-column: 1 / -1;
        width: 100%;
    }

    .soft-card-top {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .soft-badge {
        grid-column: 1 / -1;
        width: max-content;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}
