/* ===================================================================
   应用下载站 · 样式表
   移动端优先；前台（下载页/列表）+ 管理后台共用
   =================================================================== */

:root {
    --brand: #07C160;
    --brand-d: #04A052;
    --ink: #111827;
    --ink-2: #374151;
    --muted: #6B7280;
    --muted-2: #9CA3AF;
    --line: #E5E7EB;
    --bg: #F4F6F8;
    --radius: 16px;
    --shadow: 0 6px 24px rgba(17, 24, 39, .07);
}

* {
    -webkit-tap-highlight-color: transparent;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
        "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--brand-d);
}

/* ---------------- 顶部 ---------------- */

.hero {
    padding: 34px 20px 56px;
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 255, 255, .22), transparent 45%),
        linear-gradient(135deg, #0DCB6B, #04A052);
    color: #fff;
}

.hero-sm {
    padding-bottom: 42px;
}

.hero-inner {
    max-width: 560px;
    margin: 0 auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 500;
    opacity: .95;
}

.brand-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .22);
}

.hero h1 {
    margin: 14px 0 6px;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: .5px;
    line-height: 1.25;
}

.hero-sub {
    margin: 0;
    font-size: 13px;
    opacity: .9;
    line-height: 1.6;
}

/* ---------------- 内容容器 ---------------- */

.wrap {
    max-width: 560px;
    margin: -40px auto 0;
    padding: 0 16px 10px;
}

.card {
    background: #fff;
    border: 1px solid rgba(17, 24, 39, .04);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px;
    margin-bottom: 14px;
}

.card-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.card-head h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
}

.count {
    font-size: 12px;
    color: var(--muted);
    background: #F3F4F6;
    border-radius: 999px;
    padding: 1px 8px;
}

/* ---------------- 应用卡片 ---------------- */

.app-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.app-icon,
.row-icon,
.adm-ico {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    font-weight: 600;
    flex: 0 0 auto;
}

.app-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(17, 24, 39, .14);
}

.row-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    font-size: 20px;
}

.adm-ico {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    font-size: 19px;
}

.app-icon img,
.row-icon img,
.adm-ico img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-title {
    min-width: 0;
    flex: 1;
}

.app-title h2 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
    word-break: break-word;
}

.tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    font-size: 12px;
    font-weight: 600;
    padding: 2px 9px;
    border-radius: 999px;
    background: #EAF9F1;
    color: #089B4F;
    white-space: nowrap;
}

.tag.line {
    background: #F3F4F6;
    color: #6B7280;
}

.tag.off {
    background: #FEF2F2;
    color: #DC2626;
}

/* ---------------- 三列数据 ---------------- */

.meta3 {
    display: flex;
    margin: 18px 0 16px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.meta3>div {
    flex: 1;
    text-align: center;
    position: relative;
    min-width: 0;
}

.meta3>div+div::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 1px;
    background: var(--line);
}

.meta3 b {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 4px;
}

.meta3 span {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    color: var(--muted-2);
}

/* ---------------- 按钮 ---------------- */

.btn-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0DCB6B, #04A052);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(7, 193, 96, .26);
    transition: transform .12s ease, box-shadow .12s ease;
}

.btn-main:active {
    transform: translateY(1px);
    box-shadow: 0 4px 12px rgba(7, 193, 96, .22);
}

.btn-sub {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    margin-top: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
}

.btn-sub:active {
    background: #F9FAFB;
}

.hint {
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted-2);
    text-align: center;
}

/* ---------------- 说明 / 信息 ---------------- */

.changelog {
    font-size: 14px;
    line-height: 1.85;
    color: var(--ink-2);
    word-break: break-word;
}

.kv {
    margin: 0;
}

.kv>div {
    display: flex;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 13px;
}

.kv>div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.kv dt {
    margin: 0;
    flex: 0 0 66px;
    color: var(--muted);
}

.kv dd {
    margin: 0;
    flex: 1;
    color: var(--ink-2);
    word-break: break-all;
}

.mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
}

/* ---------------- 列表（前台首页） ---------------- */

.rows {
    display: flex;
    flex-direction: column;
}

.row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #F1F3F5;
    text-decoration: none;
}

.row:last-child {
    border-bottom: 0;
    padding-bottom: 2px;
}

.row-main {
    flex: 1;
    min-width: 0;
}

.row-main b {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.row-main span {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    color: var(--muted);
}

.row-cta {
    flex: 0 0 auto;
    padding: 5px 14px;
    border-radius: 999px;
    background: #EAF9F1;
    color: #07A552;
    font-size: 13px;
    font-weight: 600;
}

/* ---------------- 空状态 / 页脚 ---------------- */

.empty-card {
    text-align: center;
    padding: 34px 20px;
}

.empty-ico {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #F3F4F6;
    color: var(--muted-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
}

.empty-card h2 {
    margin: 0 0 6px;
    font-size: 17px;
}

.muted {
    color: var(--muted);
    font-size: 13px;
}

.center-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    margin-top: 0;
    padding-top: 20px;
}

.center-page .card {
    width: 100%;
}

.back-row {
    margin: 18px 0 0;
    text-align: center;
}

.back {
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
}

.foot {
    padding: 18px 16px 30px;
    text-align: center;
    font-size: 12px;
    color: var(--muted-2);
    line-height: 1.7;
}

/* ---------------- 微信内提示 ---------------- */

.wxbar {
    padding: 9px 16px;
    background: #FFF8E6;
    border-bottom: 1px solid #FDE9B8;
    color: #8A5A00;
    font-size: 12px;
    text-align: center;
    line-height: 1.6;
}

.wxbar b {
    display: block;
    font-size: 12.5px;
}

.wxbar span {
    opacity: .85;
}

.wxmask {
    position: fixed;
    inset: 0;
    z-index: 99;
    display: none;
    padding: 24px;
    background: rgba(17, 24, 39, .8);
    color: #fff;
    text-align: center;
}

.wxmask.show {
    display: block;
}

.wxmask-arrow {
    float: right;
    margin-right: 6px;
    font-size: 36px;
    line-height: 1;
}

.wxmask p {
    margin: 96px auto 0;
    max-width: 260px;
    font-size: 15px;
    line-height: 1.9;
}

.wxmask b {
    letter-spacing: 2px;
}

/* ===================================================================
   管理后台
   =================================================================== */

.adm-top {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.adm-top-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.adm-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
}

.adm-brand::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 4px rgba(7, 193, 96, .14);
}

.adm-brand span {
    padding: 2px 7px;
    border-radius: 6px;
    background: #F3F4F6;
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
}

.adm-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.adm-links a {
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
}

.adm-links a:hover {
    color: var(--brand-d);
}

.adm-wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 18px 16px 60px;
}

.grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 14px;
    align-items: start;
}

.field {
    margin-bottom: 12px;
}

.field label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}

.field input[type=text],
.field input[type=password],
.field input[type=number],
.field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #FAFBFC;
    color: var(--ink);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color .15s, background .15s;
}

.field input:focus,
.field textarea:focus {
    border-color: #0DCB6B;
    background: #fff;
}

.field textarea {
    resize: vertical;
    line-height: 1.7;
}

.row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 14px;
    padding: 22px 14px;
    border: 1.5px dashed #D1D5DB;
    border-radius: 14px;
    background: #FAFBFC;
    text-align: center;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

.drop:hover {
    border-color: #0DCB6B;
    background: #F3FCF7;
}

.drop.filled {
    border-color: #0DCB6B;
    background: #F3FCF7;
}

.drop input {
    display: none;
}

.drop-ico {
    font-size: 20px;
    line-height: 1;
    color: var(--muted-2);
}

.drop strong {
    font-size: 14px;
    color: var(--ink-2);
    font-weight: 600;
    word-break: break-all;
}

.drop em {
    font-style: normal;
    font-size: 12px;
    color: var(--muted-2);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 11px;
    background: var(--brand);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
}

.btn-primary:active {
    background: var(--brand-d);
}

.btn-block {
    width: 100%;
}

.btn-sec {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
}

.btn-sec:hover {
    border-color: var(--brand);
    color: var(--brand-d);
}

.adm-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid #F1F3F5;
}

.adm-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.adm-main {
    flex: 1;
    min-width: 0;
}

.adm-name {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.adm-sub {
    margin-top: 4px;
    font-size: 12px;
    color: var(--muted);
    word-break: break-all;
    line-height: 1.6;
}

.adm-link {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.adm-link code {
    padding: 3px 7px;
    border-radius: 6px;
    background: #F3F4F6;
    color: #4B5563;
    font-size: 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.adm-acts {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex: 0 0 auto;
    max-width: 300px;
}

.adm-acts form {
    margin: 0;
}

.mini {
    padding: 4px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: #4B5563;
    font-size: 12px;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
}

.mini:hover {
    border-color: var(--brand);
    color: var(--brand-d);
}

.mini.danger:hover {
    border-color: #EF4444;
    color: #DC2626;
}

.flash {
    margin-bottom: 14px;
    padding: 11px 14px;
    border-radius: 11px;
    font-size: 13px;
    line-height: 1.6;
    word-break: break-all;
}

.flash.ok {
    background: #EAF9F1;
    border: 1px solid #BFEBD4;
    color: #067A44;
}

.flash.err {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #B91C1C;
}

/* ---------------- 登录 / 初始化 ---------------- */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    background: linear-gradient(160deg, #F0FBF5, #F5F7FA);
}

.auth-card {
    width: 100%;
    max-width: 380px;
    padding: 26px 22px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 40px rgba(17, 24, 39, .09);
}

.auth-logo {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 15px;
    background: linear-gradient(135deg, #0DCB6B, #04A052);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(7, 193, 96, .28);
}

.auth-card h1 {
    margin: 0 0 6px;
    font-size: 20px;
    text-align: center;
    color: var(--ink);
}

.auth-card .sub {
    margin: 0 0 18px;
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--muted);
    text-align: center;
}

/* ---------------- 其它 ---------------- */

.tips {
    font-size: 12px;
    line-height: 1.9;
    color: var(--muted);
    word-break: break-all;
}

.tips code {
    padding: 1px 5px;
    border-radius: 4px;
    background: #F3F4F6;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

hr.sep {
    margin: 16px 0;
    border: 0;
    border-top: 1px solid var(--line);
}

.edit-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.icon-pick {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 12px;
    font-size: 13px;
    color: var(--ink-2);
}

.check input {
    width: 16px;
    height: 16px;
    accent-color: var(--brand);
}

@media (max-width: 820px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .adm-row {
        flex-wrap: wrap;
    }

    .adm-acts {
        width: 100%;
        max-width: none;
        justify-content: flex-start;
    }

    .hero {
        padding: 28px 18px 52px;
    }

    .hero h1 {
        font-size: 23px;
    }

    .app-title h2 {
        font-size: 18px;
    }
}

/* ===================================================================
   下载页 · 仿蓝奏云风格
   =================================================================== */

.lz-body {
    background: #f2f4f7;
    color: #333;
    font-size: 14px;
}

.lz-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid #e6ebf2;
    box-shadow: 0 1px 3px rgba(20, 60, 120, .05);
}

.lz-nav-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    max-width: 760px;
    height: 52px;
    margin: 0 auto;
    padding: 0 14px;
}

.lz-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: #1f2d3d;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

.lz-brand i {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    margin: 0;
    border-radius: 6px;
    background: linear-gradient(135deg, #4aa8f0, #1f7ad4);
    color: #fff;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
}

.lz-brand b {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 600;
}

.lz-nav-link a {
    color: #5a6b80;
    font-size: 13px;
    text-decoration: none;
}

.lz-main {
    max-width: 760px;
    margin: 0 auto;
    padding: 14px 12px 8px;
}

.lz-crumb {
    margin: 0 2px 10px;
    font-size: 12px;
    color: #8b96a5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lz-crumb a {
    color: #8b96a5;
    text-decoration: none;
}

.lz-crumb em {
    margin: 0 6px;
    font-style: normal;
    color: #c2cad6;
}

.lz-panel {
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid #e4e8ee;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(20, 40, 80, .04);
}

.lz-panel-hd {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: linear-gradient(#fafcff, #f0f7fe);
    border-bottom: 1px solid #e1eaf6;
}

.lz-fileico {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 5px;
    background: linear-gradient(135deg, #4aa8f0, #1f7ad4);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
    box-shadow: 0 2px 5px rgba(31, 122, 212, .25);
}

.lz-panel-hd h1 {
    margin: 0;
    color: #1f2d3d;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    word-break: break-all;
}

.lz-hd-txt {
    min-width: 0;
}

.lz-hd-txt p {
    margin: 3px 0 0;
    color: #8b96a5;
    font-size: 12px;
}

.lz-tb {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.lz-tb th {
    width: 92px;
    padding: 8px 0 8px 14px;
    color: #8b96a5;
    font-size: 13px;
    font-weight: 400;
    text-align: left;
    vertical-align: top;
}

.lz-tb td {
    padding: 8px 14px 8px 0;
    color: #333;
    font-size: 13px;
    line-height: 1.6;
    word-break: break-all;
}

.lz-tb tr+tr th,
.lz-tb tr+tr td {
    border-top: 1px dashed #eef1f5;
}

.lz-tb .mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
}

.lz-dl {
    padding: 14px 14px 16px;
    border-top: 1px solid #f1f4f8;
}

.lz-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    border-radius: 4px;
    background: linear-gradient(#3f9df0, #1f7ad4);
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .5px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(31, 122, 212, .3);
    transition: filter .15s ease, transform .12s ease;
}

.lz-btn:active {
    transform: translateY(1px);
}

.lz-btn:hover {
    filter: brightness(1.05);
}

.lz-btn.busy {
    background: #a8bccd;
    box-shadow: none;
    pointer-events: none;
}

.lz-alt {
    margin-top: 10px;
    color: #9aa5b4;
    font-size: 12px;
    line-height: 1.7;
    text-align: center;
}

.lz-alt[hidden] {
    display: none;
}

.lz-alt a {
    color: #1f7ad4;
    text-decoration: none;
}

.lz-note {
    margin: 10px 0 0;
    color: #9aa5b4;
    font-size: 12px;
    line-height: 1.7;
    text-align: center;
}

.lz-tools {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
    font-size: 13px;
}

.lz-tools button {
    padding: 0;
    border: 0;
    background: none;
    color: #1f7ad4;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
}

.lz-tools a {
    color: #7b8798;
    text-decoration: none;
}

.lz-h2bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 11px 14px;
    background: #fafcfe;
    border-bottom: 1px solid #eef1f5;
    color: #1f2d3d;
    font-size: 14px;
    font-weight: 600;
}

.lz-h2bar h1,
.lz-h2bar h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #1f2d3d;
}

.lz-h2bar .lz-count {
    flex: 0 0 auto;
    padding: 1px 8px;
    border-radius: 10px;
    background: #f2f5f9;
    color: #8b96a5;
    font-size: 12px;
    font-weight: 400;
}

.lz-h2bar span {
    color: #8b96a5;
    font-size: 12px;
    font-weight: 400;
}

/* ---------------- 应用列表（首页） ---------------- */

.lz-items {
    display: block;
}

.lz-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: inherit;
    text-decoration: none;
    transition: background .15s ease;
}

/* 覆盖整行的隐形链接：点行 → 详情页 */
.lz-item-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.lz-item+.lz-item {
    border-top: 1px dashed #eef1f5;
}

.lz-item:hover {
    background: #f7fbff;
}

.lz-item .row-icon {
    width: 44px;
    height: 44px;
    border-radius: 7px;
    font-size: 18px;
}

.lz-item-main {
    flex: 1;
    min-width: 0;
}

.lz-item-main b {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #1f2d3d;
    font-size: 14px;
    font-weight: 600;
}

.lz-item-main em {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #8b96a5;
    font-size: 12px;
    font-style: normal;
}

.lz-item-btn {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    height: 30px;
    padding: 0 14px;
    border-radius: 3px;
    background: linear-gradient(#3f9df0, #1f7ad4);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(31, 122, 212, .22);
}

.lz-item:active .lz-item-btn,
.lz-item-btn:hover {
    filter: brightness(1.06);
}

.lz-empty {
    padding: 30px 14px;
    color: #8b96a5;
    font-size: 13px;
    text-align: center;
}

.lz-empty p {
    margin: 0 0 14px;
}

.lz-btn-sm {
    display: inline-flex;
    width: auto;
    height: 38px;
    padding: 0 20px;
    font-size: 14px;
}

.lz-text {
    padding: 12px 14px;
    color: #4a5568;
    font-size: 13px;
    line-height: 1.9;
    word-break: break-word;
}

.lz-tip {
    margin: 0 0 12px;
    padding: 10px 12px;
    border: 1px solid #dceafa;
    border-radius: 4px;
    background: #f4f9ff;
    color: #5f7d9c;
    font-size: 12px;
    line-height: 1.8;
}

.lz-tip b {
    color: #1f7ad4;
    font-weight: 600;
}

.lz-warn {
    margin: 0 0 12px;
    padding: 10px 12px;
    border: 1px solid #f6e0b5;
    border-radius: 4px;
    background: #fffaf0;
    color: #8a5a00;
    font-size: 12px;
    line-height: 1.8;
}

.lz-warn b {
    font-weight: 600;
}

.lz-foot {
    padding: 6px 12px 30px;
    color: #9aa5b4;
    font-size: 12px;
    line-height: 1.9;
    text-align: center;
}

.lz-foot p {
    margin: 0;
}

@media (max-width: 400px) {
    .lz-tb th {
        width: 80px;
        padding-left: 12px;
    }

    .lz-tb td {
        padding-right: 12px;
    }

    .lz-panel-hd {
        padding: 11px 12px;
    }

    .lz-dl {
        padding: 12px 12px 14px;
    }

    .lz-btn {
        height: 44px;
        font-size: 15px;
    }

    .lz-item {
        gap: 10px;
        padding: 11px 12px;
    }

    .lz-item .row-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .lz-item-btn {
        height: 28px;
        padding: 0 11px;
        font-size: 12px;
    }
}

/* ===================================================================
   管理后台 · 下载统计
   =================================================================== */

.st-nums {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 10px;
}

.st-num {
    min-width: 0;
    padding: 12px 6px;
    border: 1px solid #eef1f5;
    border-radius: 10px;
    background: #fcfdfe;
    text-align: center;
}

.st-num b {
    display: block;
    color: #1f2d3d;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.st-num span {
    display: block;
    margin-top: 3px;
    color: #8b96a5;
    font-size: 12px;
}

.st-chart {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 150px;
    padding: 8px 2px 0;
    border-bottom: 1px solid #eef1f5;
    overflow-x: auto;
}

.st-col {
    flex: 1 1 0;
    min-width: 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.st-col b {
    min-height: 10px;
    margin-bottom: 3px;
    color: #6B7280;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
}

.st-col i {
    display: block;
    width: 100%;
    max-width: 24px;
    border-radius: 2px 2px 0 0;
    background: linear-gradient(#3fd189, #07C160);
}

.st-col i.zero {
    background: #e8eef0;
}

.st-col em {
    margin-top: 5px;
    color: #9CA3AF;
    font-size: 9px;
    font-style: normal;
    white-space: nowrap;
}

.st-tb {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.st-tb th {
    padding: 6px 4px;
    border-bottom: 1px solid #eef1f5;
    color: #8b96a5;
    font-size: 12px;
    font-weight: 500;
    text-align: left;
}

.st-tb td {
    padding: 7px 4px;
    border-bottom: 1px solid #f6f8fa;
    color: #374151;
}

.st-tb tbody tr:last-child td {
    border-bottom: 0;
}

.st-tb td.n,
.st-tb th.n {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.st-tb th:nth-child(3),
.st-tb td:nth-child(3) {
    width: 38%;
}

.st-bar-line {
    height: 6px;
    border-radius: 3px;
    background: #eef7f2;
    overflow: hidden;
}

.st-bar-line i {
    display: block;
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #3fd189, #07C160);
}

@media (max-width: 480px) {
    .st-nums {
        grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
        gap: 8px;
    }

    .st-num {
        padding: 10px 4px;
    }

    .st-num b {
        font-size: 17px;
    }

    .st-col em {
        font-size: 8px;
    }

    /* 手机上日期标签隔一个显示，避免挤成一团 */
    .st-col:nth-child(even) em {
        visibility: hidden;
    }
}
