/* =========================================================
  應用程式頁面
   ========================================================= */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 14px 0;
    font-size: 11px;
    color: #68738c;
}

.breadcrumb a {
    color: #0757c9;
    font-weight: 800;
}

.app-page {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-bottom: 28px;
    box-sizing: border-box;
}


/* =========================================================
應用程式佈局
   ========================================================= */

.app-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 18px;
    align-items: start;
}

.app-main {
    min-width: 0;
}


/* =========================================================
   应用之星
   ========================================================= */

.app-hero {
    background: #fff;
    border: 1px solid #dfe6f0;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 18px;
    box-shadow: 0 10px 30px rgba(16, 20, 59, .07);
    overflow: hidden;
    box-sizing: border-box;
}

.app-hero-content {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
}

.app-main-icon {
    width: 128px;
    height: 128px;
    object-fit: cover;
    border-radius: 26px;
    box-shadow: 0 12px 25px rgba(16, 20, 59, .15);
}

.app-main-info {
    min-width: 0;
}

.app-badges {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.badge {
    padding: 5px 9px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 900;
}

.badge.verified {
    background: #e8f8ef;
    color: #098447;
}

.badge.popular {
    background: #eaf2ff;
    color: #1264e8;
}

.app-main-info h1 {
    margin: 0;
    color: #10143b;
    font-size: clamp(25px, 2.25vw, 34px);
    line-height: 1.12;
    letter-spacing: -0.02em;
    word-break: break-word;
}

.app-tagline {
    margin: 5px 0;
    color: #66708b;
    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   可选：应用评分/信任度
   ========================================================= */

.app-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    font-size: 12px;
}

.app-rating span {
    color: #f5aa00;
    letter-spacing: 1px;
}

.app-rating b {
    color: #10143b;
}

.app-rating strong {
    color: #5e6b84;
}

.app-rating small {
    color: #7b8498;
}

.app-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.app-trust span {
    background: #f0fbf5;
    color: #087e45;
    border: 1px solid #d9f1e3;
    border-radius: 7px;
    padding: 5px 8px;
    font-size: 9px;
    font-weight: 900;
}


/* =========================================================
   操作按钮
   ========================================================= */

.app-actions {
    display: flex;
    gap: 10px;
    margin-top: 13px;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
    min-height: 42px;
    padding: 0 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 900;
    box-sizing: border-box;
}

.primary-btn {
    background: #f23636;
    color: #fff;
    box-shadow: 0 6px 15px rgba(242, 54, 54, .18);
}

.secondary-btn {
    border: 1px solid #10143b;
    color: #10143b;
    background: #fff;
}

.primary-btn:hover {
    background: #db2e2e;
}

.secondary-btn:hover {
    background: #10143b;
    color: #fff;
}

.download-guide-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.download-guide-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.download-guide-logo img {
    width: 180px;
    height: 100px;
    object-fit: contain;
    border-radius: 18px;
    display: block;
}

.download-guide-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* =========================================================
   促销
   ========================================================= */

.app-promo {
    min-height: 140px;
    padding: 20px;
    border-radius: 11px;
    color: #fff;
    background:
        radial-gradient(
            circle at 80% 35%,
            rgba(255, 201, 40, .28),
            transparent 35%
        ),
        linear-gradient(
            120deg,
            #0e0b45,
            #251044,
            #721c20
        );
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.promo-title {
    font-size: 16px;
    font-weight: 950;
}

.promo-big {
    color: #ffc928;
    font-size: 22px;
    line-height: 1;
    font-weight: 950;
    margin: 3px 0 9px;
}

.promo-points {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 9px;
    font-weight: 700;
}

.app-promo button {
    width: fit-content;
    margin-top: 9px;
    border: 0;
    background: #f23636;
    color: #fff;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 950;
    cursor: pointer;
}


/* =========================================================
   内容板块
   ========================================================= */

.app-section {
    background: #fff;
    border: 1px solid #dfe6f0;
    border-radius: 16px;
    padding: 22px 24px;
    margin-bottom: 18px;
    box-shadow: 0 8px 28px rgba(16, 20, 59, .055);
    box-sizing: border-box;
    scroll-margin-top: 90px;
}

.app-section h2 {
    margin: 0 0 14px;
    padding-left: 12px;
    border-left: 4px solid #f23636;
    color: #10143b;
    font-size: clamp(19px, 1.7vw, 23px);
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.app-section h3 {
    font-size: 16px;
    line-height: 1.35;
    color: #10143b;
    margin: 18px 0 8px;
}

.app-section p {
    max-width: 78ch;
    margin: 9px 0;
    color: #52617b;
    font-size: 14px;
    line-height: 1.78;
}

.app-section strong {
    color: #293554;
}

.app-section ol,
.app-section ul {
    padding-left: 22px;
    margin: 12px 0 4px;
}

.app-section li {
    color: #5b6880;
    font-size: 14px;
    line-height: 1.7;
    margin: 7px 0;
}

.app-content-list {
    padding-left: 22px;
    margin-top: 12px;
}

.app-content-list li {
    color: #5b6880;
    font-size: 14px;
    line-height: 1.7;
    margin: 7px 0;
}


/* =========================================================
  详细信息表
   ========================================================= */

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

.details-grid table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid #dfe6f0;
    border-radius: 11px;
    overflow: hidden;
}

.details-grid tr:not(:last-child) th,
.details-grid tr:not(:last-child) td {
    border-bottom: 1px solid #dfe6f0;
}

.details-grid th,
.details-grid td {
    padding: 11px 12px;
    font-size: 12px;
    line-height: 1.5;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
    border-right: 1px solid #dfe6f0;
}

.details-grid th {
    width: 42%;
    background: #f5f8fc;
    color: #10143b;
    font-weight: 900;
}

.details-grid td {
    color: #43506a;
    border-right: 0;
}


/* =========================================================
   下载 / 信息提示框
   ========================================================= */

.info-callout {
    background: #f6f9ff;
    border: 1px solid #dce8fb;
    border-radius: 9px;
    padding: 11px 12px;
    color: #46546d;
    font-size: 11px;
    line-height: 1.6;
    margin: 12px 0;
}

.download-note {
    max-width: none;
    margin: 0 0 15px;
    padding: 13px 15px;
    border: 1px solid #d7e9ff;
    border-left: 4px solid #1264e8;
    border-radius: 10px;
    background: linear-gradient(135deg, #f1f8ff, #f8fbff);
    color: #50617c;
    font-size: 13px;
    line-height: 1.65;
}


/* =========================================================
   文章截图
   ========================================================= */

.article-screenshot-wrap {
    margin: 14px 0 4px;
    text-align: center;
}

.article-screenshot-wrap img {
    display: block;
    width: 100%;
    max-width: 900px;
    max-height: 420px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    border: 1px solid #dfe6f0;
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(16, 20, 59, .08);
    cursor: zoom-in;
}

.article-screenshot-wrap figcaption {
    margin-top: 6px;
    color: #7a8498;
    font-size: 9px;
    line-height: 1.4;
}

.article-screenshot {
    width: 100%;
    margin: 18px auto 20px;
    padding: 0;
    text-align: center;
}

.article-screenshot img {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 760px;
    margin: 0 auto !important;
    object-fit: contain !important;
    border: 1px solid #dfe6f0;
    border-radius: 12px;
    background: #f7f9fc;
    box-shadow: 0 10px 28px rgba(16, 20, 59, .10);
}


/* =========================================================
   截图网格
   ========================================================= */

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.screenshot-grid figure {
    margin: 0;
}

.screenshot-grid img {
    width: 100%;
    max-height: 245px;
    object-fit: contain;
    display: block;
    background: #10143b;
    border: 1px solid #dfe6f0;
    border-radius: 9px;
    cursor: zoom-in;
}

.screenshot-grid figcaption {
    padding-top: 5px;
    color: #7a8498;
    font-size: 9px;
    line-height: 1.35;
}


/* =========================================================
  旧版截图区块
   ========================================================= */

.section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title-row span {
    font-size: 10px;
    color: #1264e8;
    font-weight: 900;
}

.screenshots {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 9px;
}

.screenshot-card {
    border-radius: 9px;
    overflow: hidden;
    border: 1px solid #dfe6f0;
    background: #10143b;
}

.screenshots img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
}

.screenshot-card figcaption {
    padding: 8px 9px;
    font-size: 11px;
    line-height: 1.4;
    color: #5e6b84;
    background: #fff;
    font-weight: 800;
}

.fake-screen {
    height: 135px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(
            circle at 75% 35%,
            rgba(255, 201, 40, .25),
            transparent 30%
        ),
        linear-gradient(
            140deg,
            #100b43,
            #541743,
            #921e20
        );
}

.fake-screen strong {
    color: #ffc928;
    font-size: 14px;
    font-weight: 950;
}

.fake-screen span {
    font-size: 11px;
    font-weight: 950;
}

.fake-screen small {
    margin-top: 12px;
    font-size: 14px;
    letter-spacing: 5px;
}


/* =========================================================
  特征
   ========================================================= */

.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.feature-card {
    border: 1px solid #dfe6f0;
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
    min-height: 120px;
}

.feature-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.feature-card h3 {
    margin: 0;
    color: #10143b;
    font-size: 11px;
}

.feature-card p {
    margin: 5px 0 0;
    font-size: 9px;
    line-height: 1.4;
}


/* =========================================================
   步骤
   ========================================================= */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.step-card {
    position: relative;
    border: 1px solid #dfe6f0;
    border-radius: 10px;
    padding: 12px;
    min-height: 110px;
}

.step-card > span {
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #1264e8;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 9px;
}

.step-card h3 {
    margin: 0;
    color: #10143b;
    font-size: 11px;
}

.step-card p {
    margin-top: 5px;
    font-size: 9px;
}


/* =========================================================
 常问问题
   ========================================================= */

.faq-section {
    padding-bottom: 10px;
}

.faq-item {
    border-bottom: 1px solid #e4e9f1;
}

.faq-item:last-child {
    border-bottom: 0;
}

.faq-item button {
    width: 100%;
    min-height: 54px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 15px 6px;
    border: 0;
    background: transparent;
    color: #10143b;
    text-align: left;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 800;
    cursor: pointer;
}

.faq-item button span {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f4f7fb;
    color: #4f5d77;
    font-size: 12px;
    transition: transform .2s;
}

.faq-item.open button span {
    transform: rotate(180deg);
    background: #eef4ff;
    color: #1264e8;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 10px;
    color: #5f6d85;
    font-size: 13px;
    line-height: 1.7;
    transition: max-height .28s ease, padding .28s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 10px 16px;
}


/* =========================================================
   侧边栏 — 比赛
   ========================================================= */

.sidebar {
    min-width: 0;
    position: sticky;
    top: 86px;
}

.similar-apps {
    background: #fff;
    border: 1px solid #dfe6f0;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 18px;
    box-shadow: 0 8px 28px rgba(16, 20, 59, .055);
    box-sizing: border-box;
}

.similar-apps-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.similar-apps-header h2 {
    margin: 0;
    padding-left: 10px;
    border-left: 4px solid #f23636;
    color: #10143b;
    font-size: 18px;
    line-height: 1.25;
}

.similar-apps-header a {
    flex: 0 0 auto;
    color: #1264e8;
    font-size: 10px;
    font-weight: 900;
    text-decoration: none;
}

.similar-apps-header a:hover {
    text-decoration: underline;
}


/* =========================================================
侧边栏生成的应用项目
   ========================================================= */

.similar-apps [data-similar-list] {
    width: 100%;
}

.similar-app {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 58px;
    padding: 12px 0;
    border-bottom: 1px solid #e2e7ef;
    box-sizing: border-box;
}

.similar-app:last-child {
    border-bottom: 0;
}

.similar-app-main {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}

.similar-app-main img {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 5px 14px rgba(16, 20, 59, .08);
}

.similar-app-main span {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.similar-app-main strong {
    color: #10143b;
    font-size: 12px;
    line-height: 1.25;
    white-space: normal;
}

.similar-app-main small {
    color: #6c7891;
    font-size: 10px;
    line-height: 1.25;
}

.similar-download-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 7px;
    background: #f23636;
    color: #fff;
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 7px 15px rgba(242, 54, 54, .16);
}

.similar-download-btn:hover {
    background: #db2e2e;
}


/* 侧边栏为空时的提示信息 */

.similar-apps [data-similar-list]:empty::after {
    content: "No apps available.";
    display: block;
    padding: 14px 0 2px;
    color: #6c7891;
    font-size: 11px;
}

.similar-apps [data-similar-list] {
    color: #6c7891;
    font-size: 11px;
}


/* =========================================================
   页面公告
   ========================================================= */

.page-notice {
    background: #fff6d8;
    border: 1px solid #f1d479;
    color: #6f5600;
    border-radius: 10px;
    padding: 12px 14px;
    margin: 1px 0 18px;
    font-size: 12px;
    line-height: 1.55;
    font-weight: 800;
    box-sizing: border-box;
}


/* =========================================================
   页脚
   ========================================================= */

.simple-footer {
    width: 100%;
    min-height: 0;
    display: block;
    margin: 0;
    padding: 16px 10px;
    background: #10143b;
    color: #fff;
    text-align: center;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 700;
    border: 0;
    box-sizing: border-box;
}


/* =========================================================
   移动端导航
   ========================================================= */

.mobile-nav {
    display: none;
}


/* =========================================================
  药片
   ========================================================= */

@media (max-width: 1000px) {

    .app-page {
        max-width: 900px;
    }

    .app-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .app-hero-content {
        grid-template-columns: 118px minmax(0, 1fr);
    }

    .app-promo {
        grid-column: 1 / -1;
    }

    .screenshots {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* =========================================================
  移动的
   ========================================================= */

@media (max-width: 680px) {

    body {
        padding-bottom: 68px;
    }

    .breadcrumb {
        padding: 10px 2px;
        font-size: 10px;
        line-height: 1.4;
        white-space: nowrap;
        overflow: hidden;
    }

    .app-page {
        padding-bottom: 18px;
    }

    .app-hero {
        padding: 14px;
        margin-bottom: 12px;
        border-radius: 14px;
    }

    .app-hero-content {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 12px;
    }

    .app-main-icon {
        width: 76px;
        height: 76px;
        border-radius: 17px;
    }

    .app-badges {
        gap: 5px;
        margin-bottom: 6px;
    }

    .badge {
        padding: 4px 7px;
        font-size: 9px;
    }

    .app-main-info h1 {
        font-size: 20px;
        line-height: 1.15;
    }

    .app-tagline {
        margin: 4px 0;
        font-size: 10px;
        line-height: 1.4;
    }

    .app-rating {
        font-size: 9px;
        gap: 3px;
    }

    .app-rating span {
        font-size: 10px;
    }

    .app-trust {
        gap: 4px;
        margin-top: 7px;
    }

    .app-trust span {
        padding: 4px 5px;
        font-size: 7px;
    }

    .app-actions {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 3px;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        min-height: 42px;
        padding: 0 8px;
        border-radius: 9px;
        font-size: 10px;
    }


    /* -------------------------------
       章节
    ------------------------------- */

    .app-section {
        padding: 16px 15px;
        margin-bottom: 11px;
        border-radius: 13px;
    }

    .app-section h2 {
        font-size: 18px;
        line-height: 1.28;
        margin-bottom: 11px;
        padding-left: 9px;
    }

    .app-section p {
        max-width: none;
        margin: 8px 0;
        font-size: 13px;
        line-height: 1.72;
    }

    .app-section ol,
    .app-section ul {
        padding-left: 21px;
        margin-top: 10px;
    }

    .app-section li {
        font-size: 13px;
        line-height: 1.65;
        margin: 6px 0;
    }


    /* -------------------------------
       细节
    ------------------------------- */

    .details-grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .details-grid table {
        table-layout: auto;
    }

    .details-grid th,
    .details-grid td {
        padding: 9px 10px;
        font-size: 11px;
        line-height: 1.45;
    }


    /* -------------------------------
     大喊
    ------------------------------- */

    .info-callout {
        padding: 10px;
        font-size: 10px;
        line-height: 1.55;
    }

    .download-note {
        padding: 11px 12px;
        font-size: 12px;
        line-height: 1.6;
    }


    /* -------------------------------
      截图
    ------------------------------- */

    .screenshot-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .article-screenshot-wrap img {
        max-height: 260px;
    }

    .article-screenshot img {
        width: 100% !important;
        max-width: 360px !important;
        max-height: none !important;
        border-radius: 10px;
    }

    .screenshot-grid img {
        max-height: 220px;
    }

    .screenshots {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .screenshots img {
        height: 180px;
    }

    .screenshot-card:nth-child(n+5) {
        display: none;
    }

    .screenshot-card figcaption {
        font-size: 10px;
        padding: 7px;
    }


    /* -------------------------------
       特征
    ------------------------------- */

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .feature-card {
        min-height: 105px;
        padding: 10px 6px;
    }

    .feature-icon {
        font-size: 20px;
    }

    .feature-card h3 {
        font-size: 10px;
    }

    .feature-card p {
        font-size: 8px;
    }


    /* -------------------------------
       步骤
    ------------------------------- */

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .step-card {
        min-height: 105px;
        padding: 9px;
    }

    .step-card h3 {
        font-size: 10px;
    }

    .step-card p {
        font-size: 8px;
    }


    /* =====================================================
       移动端侧边栏
       ===================================================== */

    .sidebar {
        width: 100%;
        margin-top: 2px;
    }

    .similar-apps {
        width: 100%;
        padding: 14px;
        margin-bottom: 10px;
        border-radius: 13px;
        box-sizing: border-box;
    }

    .similar-apps-header {
        margin-bottom: 7px;
    }

    .similar-apps-header h2 {
        font-size: 16px;
        line-height: 1.25;
        padding-left: 9px;
        border-left-width: 4px;
    }

    .similar-apps-header a {
        font-size: 9px;
    }

    .similar-app {
        min-height: 54px;
        padding: 11px 0;
        gap: 8px;
    }

    .similar-app-main {
        gap: 9px;
    }

    .similar-app-main img {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        border-radius: 10px;
    }

    .similar-app-main strong {
        font-size: 11px;
    }

    .similar-app-main small {
        font-size: 9px;
    }

    .similar-download-btn {
        min-width: 82px;
        min-height: 30px;
        padding: 0 8px;
        border-radius: 6px;
        font-size: 8px;
    }


    /* -------------------------------
      常问问题
    ------------------------------- */

    .faq-section {
        padding-bottom: 7px;
    }

    .faq-item button {
        min-height: 52px;
        padding: 13px 4px;
        gap: 10px;
        font-size: 13px;
        line-height: 1.45;
    }

    .faq-item button span {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }

    .faq-answer {
        padding-inline: 6px;
        font-size: 12px;
        line-height: 1.65;
    }

    .faq-item.open .faq-answer {
        padding: 0 6px 14px;
    }


    /* -------------------------------
       注意
    ------------------------------- */

    .page-notice {
        margin: 1px 0 12px;
        padding: 10px 11px;
        font-size: 10px;
        line-height: 1.5;
    }


    /* -------------------------------
     页脚
    ------------------------------- */

    .simple-footer {
        padding: 14px 8px;
        font-size: 9px;
    }


    /* -------------------------------
       移动端底部导航
    ------------------------------- */

    .mobile-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 62px;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        background: #fff;
        border-top: 1px solid #dfe6f0;
        box-shadow: 0 -6px 20px rgba(16, 20, 59, .12);
        z-index: 999999;
        padding: 0;
        margin: 0;
    }

    .mobile-nav a {
        width: 100%;
        height: 62px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        padding: 0;
        margin: 0;
        background: transparent;
        color: #64708a;
        text-decoration: none;
        font-size: 8px;
        line-height: 1;
        font-weight: 800;
    }

    .mobile-nav a b {
        display: block;
        margin: 0;
        padding: 0;
        color: inherit;
        font-size: 17px;
        line-height: 1;
    }

    .mobile-nav a span {
        display: block;
        color: inherit;
        font-size: 8px;
        line-height: 1;
    }

    .mobile-nav a.active,
    .mobile-nav a:hover {
        color: #f23636;
    }
}


/* =========================================================
   小尺寸手机
   ========================================================= */

@media (max-width: 480px) {

    .app-hero-content {
        grid-template-columns: 74px minmax(0, 1fr);
        gap: 10px;
    }

    .app-main-icon {
        width: 74px;
        height: 74px;
        border-radius: 17px;
    }

    .app-main-info h1 {
        font-size: 20px;
    }

    .app-tagline {
        font-size: 9px;
    }

    .app-actions {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
        gap: 7px;
    }

    .primary-btn,
    .secondary-btn {
        min-height: 38px;
        font-size: 9px;
        padding: 0 5px;
    }

    .similar-app-main img {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .similar-download-btn {
        min-width: 78px;
    }
}


/* =========================================================
   超小型手机
   ========================================================= */

@media (max-width: 390px) {

    .app-hero-content {
        grid-template-columns: 68px minmax(0, 1fr);
        gap: 10px;
    }

    .app-main-icon {
        width: 68px;
        height: 68px;
        border-radius: 15px;
    }

    .app-main-info h1 {
        font-size: 18px;
    }

    .app-tagline {
        font-size: 9px;
    }

    .app-section {
        padding: 14px 13px;
    }

    .app-section h2 {
        font-size: 17px;
    }

    .app-section p,
    .app-section li,
    .app-content-list li {
        font-size: 12.5px;
    }

    .faq-item button {
        font-size: 12.5px;
    }

    .faq-answer {
        font-size: 11.5px;
    }

    .similar-app {
        gap: 6px;
    }

    .similar-app-main {
        gap: 7px;
    }

    .similar-app-main img {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 9px;
    }

    .similar-app-main strong {
        font-size: 10.5px;
    }

    .similar-app-main small {
        font-size: 8.5px;
    }

    .similar-download-btn {
        min-width: 70px;
        min-height: 29px;
        padding: 0 6px;
        font-size: 7.5px;
    }
}


/* =========================================================
  全球安全 / 溢流
   ========================================================= */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.app-page {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    box-sizing: border-box;
}

.app-layout,
.app-main,
.sidebar {
    max-width: 100%;
    box-sizing: border-box;
}


/* =========================================================
   无障碍服务
   ========================================================= */

.app-actions a,
.faq-item button,
.similar-app {
    -webkit-tap-highlight-color: transparent;
}

.app-actions a:focus-visible,
.faq-item button:focus-visible,
.similar-app:focus-visible {
    outline: 3px solid rgba(18, 100, 232, .22);
    outline-offset: 2px;
}


/* =========================================================
   减少动态效果
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .faq-answer,
    .faq-item button span {
        transition: none;
    }
}

/* =====================================================
   应用内容图片
===================================================== */

.download-guide-image {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
    margin: 18px auto 22px;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.games-section-image {
    display: block;
    width: 100%;
    max-width: 720px;
    height: auto;
    margin: 20px auto 28px;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.10);
}

@media (max-width: 600px) {

    .download-guide-image {
        width: 180px;
        margin: 16px auto 20px;
        border-radius: 15px;
    }

    .games-section-image {
        width: 100%;
        margin: 16px auto 24px;
        border-radius: 12px;
    }

}

/* =====================================================
应用内容图片
===================================================== */

.app-section > img {
    display: block;
    width: 100%;
    max-width: 620px;
    height: auto;
    margin: 20px auto 24px;
    border-radius: 12px;
    object-fit: contain;
}

.games-section-image {
    display: block;
    width: 100%;
    max-width: 620px;
    height: auto;
    margin: 20px auto 26px;
    border-radius: 12px;
    object-fit: contain;
}

.download-guide-image {
    display: block;
    width: 100%;
    max-width: 620px;
    height: auto;
    margin: 20px auto 26px;
    border-radius: 12px;
    object-fit: contain;
}

.download-guide-image[src*="game-rummy-logo"] {
    width: 180px;
    max-width: 180px;
    margin: 18px auto 22px;
    border-radius: 16px;
}

@media (max-width: 600px) {

    .app-section > img,
    .games-section-image {
        width: 100%;
        max-width: 100%;
        margin: 16px auto 22px;
        border-radius: 10px;
    }

    .download-guide-image {
        width: 100%;
        max-width: 100%;
        margin: 16px auto 22px;
        border-radius: 10px;
    }

    .download-guide-image[src*="game-rummy-logo"] {
        width: 160px;
        max-width: 160px;
    }

}

.app-section > img.download-guide-image {
    width: 160px;
    max-width: 160px;
    height: auto;
    display: block;
    margin: 18px auto 22px;
    object-fit: contain;
    border-radius: 16px;
}

@media (max-width: 600px) {
    .app-section > img.download-guide-image {
        width: 160px;
        max-width: 160px;
        height: auto;
        margin: 16px auto 22px;
    }
}
.download-guide-actions {
    justify-content: center;
    margin: 0 auto 24px;
}

/* =====================================================
额外设计
===================================================== */

[data-download-steps] .screenshot-grid { margin: 14px 0 18px; }
[data-download-steps] figure { margin: 0; }
[data-download-steps] figcaption { padding-top: 5px; color: #7a8498; font-size: 9px; line-height: 1.35; }
.game-item .games-section-image { margin-top: 10px; }

.screenshot-grid:has(figure:only-child) {
    grid-template-columns: 1fr;
}

.screenshot-grid:has(figure:only-child) img {
    width: 100%;
    max-width: 700px;
    max-height: none;
    margin: 0 auto;
}

.download-guide-actions {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 520px;
    margin: 18px auto 26px;
    gap: 14px;
}

.download-guide-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.download-guide-logo img {
    width: 88px;
    height: 88px;
    object-fit: contain;
    display: block;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.14);
}

.download-guide-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 430px;
    gap: 10px;
}

.download-guide-buttons .primary-btn,
.download-guide-buttons .secondary-btn {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    box-sizing: border-box;
}

@media (max-width: 680px) {

    .download-guide-actions {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        margin: 16px auto 22px;
        gap: 12px;
    }

    .download-guide-logo img {
        width: 82px;
        height: 82px;
        border-radius: 17px;
    }

    .download-guide-buttons {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        max-width: 100%;
        gap: 8px;
    }

    .download-guide-buttons .primary-btn,
    .download-guide-buttons .secondary-btn {
        width: 100%;
        min-height: 42px;
        padding: 0 7px;
        border-radius: 9px;
        font-size: 10px;
        white-space: nowrap;
    }
}

@media (max-width: 390px) {

    .download-guide-actions {
        gap: 11px;
    }

    .download-guide-logo img {
        width: 76px;
        height: 76px;
        border-radius: 15px;
    }

    .download-guide-buttons {
        gap: 7px;
    }

    .download-guide-buttons .primary-btn,
    .download-guide-buttons .secondary-btn {
        min-height: 40px;
        font-size: 9px;
        padding: 0 5px;
    }
}