* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft Yahei", sans-serif;
    background: #020617;
    color: #e5e7eb;
}

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

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    border-bottom: 1px solid rgba(148,163,184,0.3);
    background: rgba(15,23,42,0.98);
}

.site-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.site-brand {
    text-align: center;
    padding: 20px 16px 12px;
}

.site-brand a {
    font-size: 24px;
    font-weight: 700;
    color: #e5e7eb;
}

.site-nav-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    padding: 0 16px;
}

.site-nav-tabs a {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 0;
    background: rgba(30,64,175,0.6);
    color: #e5e7eb;
    border: none;
    transition: all 0.2s;
    position: relative;
    margin-right: 2px;
}

.site-nav-tabs a:first-child {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.site-nav-tabs a:last-child {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    margin-right: 0;
}

.site-nav-tabs a:hover {
    background: rgba(30,64,175,0.8);
}

.site-nav-tabs a.active {
    background: rgba(220,38,38,0.9);
    color: #ffffff;
    font-weight: 600;
    z-index: 1;
}

/* 应用详情页：Tabs（详情 / 程序更新记录） */
.app-detail-tabs {
    /* 在“简要说明卡片”和“内容卡片”之间留出视觉空隙 */
    margin: 12px 0 12px;
    border-bottom: none;
    padding-bottom: 0;
}

.app-detail-tabs a {
    /* 覆盖通用站点 tabs 的红色激活背景，让该页 tabs 更“中性” */
    background: rgba(15,23,42,0.45);
    border: 1px solid rgba(148,163,184,0.35);
    color: #e5e7eb;
    border-radius: 8px;
    margin-right: 10px;
    padding: 8px 16px;
    position: relative;
}

.app-detail-tabs a:last-child {
    margin-right: 0;
}

.app-detail-tabs a.active {
    background: rgba(56,189,248,0.18);
    border-color: rgba(56,189,248,0.65);
    color: #ffffff;
    font-weight: 600;
    z-index: 1;
}

.app-detail-tab-pane {
    display: none;
}

.app-detail-tab-pane.active {
    display: block;
}

/* 应用详情页：更新记录列表 */
.app-release-updates-box {
    min-height: 40px;
}

.app-release-item {
    padding: 14px 12px;
    border-radius: 12px;
    border: 1px solid rgba(148,163,184,0.25);
    background: rgba(30,41,59,0.4);
    margin-top: 12px;
}

.app-release-item:first-child {
    margin-top: 0;
}

.app-release-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.app-release-version {
    font-weight: 700;
    color: #e5e7eb;
    min-width: 0;
}

.app-release-date {
    font-size: 12px;
    color: #9ca3af;
    white-space: nowrap;
}

.app-release-snippet {
    margin-top: 8px;
    color: #d1d5db;
    font-size: 13px;
    line-height: 1.7;
    white-space: pre-wrap;
}

.app-release-details summary {
    cursor: pointer;
    color: #38bdf8;
    font-size: 12px;
}

.app-release-content {
    margin-top: 8px;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.7;
    white-space: pre-wrap;
    border-top: 1px dashed rgba(148,163,184,0.25);
    padding-top: 10px;
}

.app-release-empty {
    text-align: center;
    color: #9ca3af;
    padding: 18px 10px;
    background: rgba(15,23,42,0.4);
    border: 1px solid rgba(148,163,184,0.2);
    border-radius: 12px;
    margin-top: 12px;
}

.app-release-empty-error {
    color: #fecaca;
    border-color: rgba(248,113,113,0.35);
    background: rgba(248,113,113,0.08);
}

.app-release-loadmore-row {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

.app-release-pageinfo {
    margin-top: 10px;
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
}

.site-user {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.site-user-name {
    color: #9ca3af;
}

.btn-link {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid transparent;
}

.btn-link:hover {
    border-color: rgba(148,163,184,0.6);
}

.btn-primary-light {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg,#38bdf8,#6366f1);
    color: #eff6ff;
}

/* 默认内容区域：其他页面保持 700px 居中布局 */
.site-main {
    flex: 1;
    max-width: 700px;
    width: 100%;
    margin: 30px auto 40px;
    padding: 0 16px;
    box-sizing: border-box;
}

/* 个人中心专用：左侧菜单 + 右侧主内容的宽布局（挂在 main 上） */
.site-main.user-center-main {
    max-width: 1320px;
    margin: 30px auto 40px;
    padding: 0 16px;
    display: flex;
    gap: 24px;
    box-sizing: border-box;
}

.user-center-sidebar {
    width: 220px;
    flex-shrink: 0;
}

.user-center-sidebar-inner {
    background: radial-gradient(circle at top left, rgba(56,189,248,0.24), transparent 55%), rgba(15,23,42,0.98);
    border: 1px solid rgba(148,163,184,0.35);
    border-radius: 12px;
    padding: 18px 16px 16px;
    box-shadow: 0 8px 18px rgba(15,23,42,0.85);
    min-height: 220px;
}

.user-center-sidebar-title {
    font-size: 13px;
    font-weight: 600;
    color: #e5e7eb;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.75;
    padding-bottom: 8px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(148,163,184,0.25);
}

.user-center-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 2px;
}

.user-center-menu-item {
    display: block;
    padding: 8px 11px;
    border-radius: 8px;
    font-size: 13px;
    color: #e5e7eb;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: background 0.16s ease, color 0.16s ease, transform 0.08s ease, box-shadow 0.16s ease;
}

.user-center-menu-item:hover {
    background: rgba(148,163,184,0.2);
    color: #f9fafb;
    transform: translateX(2px);
    box-shadow: 0 3px 8px rgba(15,23,42,0.7);
}

.user-center-menu-item.active {
    background: linear-gradient(135deg,#38bdf8,#6366f1);
    color: #eff6ff;
    box-shadow: 0 4px 10px rgba(37,99,235,0.55);
}

.user-center-logout {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px dashed rgba(148,163,184,0.35);
}

.user-center-logout-button {
    width: 100%;
    margin-top: 10px;
    padding: 7px 10px;
    border-radius: 6px;
    font-size: 12px;
    color: #fecaca;
    background: rgba(239,68,68,0.08);
    border: 1px solid rgba(248,113,113,0.45);
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.08s ease;
}

.user-center-logout-button:hover {
    background: rgba(248,113,113,0.18);
    border-color: rgba(248,113,113,0.75);
    color: #fee2e2;
    transform: translateY(-1px);
}

.user-center-main-content {
    flex: 1;
    min-width: 0;
}

.main-card {
    width: 100%;
    max-width: 100%;
    background: rgba(15,23,42,0.98);
    border: 1px solid rgba(148,163,184,0.4);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    box-sizing: border-box;
}

.main-card .card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(148,163,184,0.3);
    text-align: center;
}

/* 个人中心首页模块 */
.uc-home-section {
    margin-bottom: 22px;
}

.uc-home-section-title {
    font-size: 15px;
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 10px;
}

.uc-home-section-body {
    padding: 14px 16px;
    border-radius: 8px;
    background: radial-gradient(circle at top left, rgba(56,189,248,0.12), transparent 55%), rgba(15,23,42,0.9);
    border: 1px solid rgba(148,163,184,0.45);
}

.uc-home-empty-text {
    font-size: 13px;
    color: #9ca3af;
}

.uc-home-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.uc-home-stat-card {
    padding: 14px 12px;
    border-radius: 10px;
    background: rgba(15,23,42,0.9);
    border: 1px solid rgba(148,163,184,0.35);
    box-shadow: 0 4px 10px rgba(15,23,42,0.8);
}

.uc-home-stat-label {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 6px;
}

.uc-home-stat-value {
    font-size: 20px;
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 4px;
}

.uc-home-stat-desc {
    font-size: 12px;
    color: #6b7280;
}

.query-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.query-form .form-group {
    margin-bottom: 0;
}

.query-form .form-label {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
    color: #e5e7eb;
}

.query-form .form-input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid rgba(148,163,184,0.5);
    background: rgba(30,41,59,0.8);
    color: #e5e7eb;
    font-size: 14px;
}

.query-form .form-input:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 0 2px rgba(56,189,248,0.2);
}

.query-form select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23e5e7eb' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

/* 登录注册页面的按钮居中 */
.main-card .query-form .form-actions {
    justify-content: center;
}

.announcement-content {
    font-size: 13px;
    line-height: 1.8;
    color: #cbd5e1;
}

.announcement-content p {
    margin-bottom: 8px;
}

.landing-hero {
    margin-bottom: 32px;
}

.landing-hero-banner {
    width: 100%;
    border-radius: 16px;
    padding: 56px 40px 44px;
    background: radial-gradient(circle at top, rgba(30,64,175,0.5), rgba(15,23,42,0.96));
    border: 1px solid rgba(59,130,246,0.7);
    box-shadow: 0 24px 50px rgba(15,23,42,0.9);
    text-align: center;
}

.landing-hero-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 12px;
}

.landing-hero-sub {
    font-size: 13px;
    color: #cbd5f5;
    margin-bottom: 22px;
}

.landing-hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.section-block {
    margin-bottom: 32px;
}

.section-header {
    margin-bottom: 16px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.section-subtitle {
    font-size: 12px;
    color: #9ca3af;
}

.card {
    border-radius: 14px;
    padding: 14px 16px;
    background: rgba(15,23,42,0.98);
    border: 1px solid rgba(30,64,175,0.7);
    box-shadow: 0 10px 22px rgba(15,23,42,0.9);
}

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

.card-title {
    font-size: 15px;
    font-weight: 600;
}

.card-desc {
    font-size: 12px;
    color: #9ca3af;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
    margin-top: 10px;
}

.app-item {
    padding: 12px 12px;
    border-radius: 12px;
    background: rgba(15,23,42,0.96);
    border: 1px solid rgba(55,65,81,0.8);
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
}

.app-item-name {
    font-size: 14px;
    font-weight: 600;
}

.app-item-meta {
    color: #9ca3af;
}

.app-item-actions {
    margin-top: 6px;
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.btn-primary {
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg,#3b82f6,#2563eb);
    color: #ffffff;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
}

.btn-primary:hover {
    background: linear-gradient(135deg,#2563eb,#1d4ed8);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(59,130,246,0.3);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-primary:disabled:hover {
    background: linear-gradient(135deg,#3b82f6,#2563eb);
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    border: 1px solid rgba(148,163,184,0.6);
    background: transparent;
    color: #e5e7eb;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.form-card {
    max-width: 100%;
    width: 100%;
    margin: 0;
}

.form-card .card-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

.form-card .card-header > div {
    width: 100%;
}

.form-card .card-title {
    margin-bottom: 8px;
}

.form-card .card-desc {
    margin-top: 0;
}

.auth-form-card {
    padding-top: 18px;
    padding-bottom: 18px;
}

.auth-side-card {
    padding-top: 16px;
    padding-bottom: 16px;
}

.auth-side {
    font-size: 12px;
}

.auth-steps {
    list-style: none;
    margin: 10px 0 10px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-steps li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.step-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(37,99,235,0.35);
    color: #dbeafe;
    font-size: 11px;
    flex-shrink: 0;
}

.auth-hint {
    margin-top: 6px;
    font-size: 11px;
    color: #9ca3af;
}

.app-list-card {
    margin-top: 0;
}

.home-form-tip {
    margin-top: 2px;
}

.landing-app-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 20px;
    max-width: 720px;
    margin: 0 auto;
}

.landing-app-card {
    border-radius: 14px;
    overflow: hidden;
    background: rgba(15,23,42,0.98);
    border: 1px solid rgba(30,64,175,0.7);
    box-shadow: 0 10px 24px rgba(15,23,42,0.9);
    display: flex;
    flex-direction: column;
}

.landing-app-cover {
    padding: 16px 16px 14px;
    background: radial-gradient(circle at top left, rgba(56,189,248,0.25), rgba(15,23,42,0.96));
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.landing-app-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(15,23,42,0.75);
    color: #bae6fd;
    font-size: 11px;
    margin-bottom: 6px;
}

.landing-app-name {
    font-size: 14px;
    font-weight: 600;
}

.landing-app-body {
    padding: 10px 14px 12px;
    font-size: 12px;
}

.landing-app-desc {
    color: #e5e7eb;
    margin-bottom: 6px;
}

.landing-app-meta {
    color: #9ca3af;
    margin-bottom: 8px;
}

.landing-app-actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.landing-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.landing-service-card {
    border-radius: 16px;
    padding: 16px 14px 14px;
    background: rgba(15,23,42,0.98);
    border: 1px solid rgba(30,64,175,0.6);
    box-shadow: 0 10px 24px rgba(15,23,42,0.9);
    font-size: 12px;
}

.service-icon-dot {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: radial-gradient(circle at top left, rgba(56,189,248,0.6), rgba(15,23,42,0.96));
    margin-bottom: 8px;
}

.service-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.service-desc {
    font-size: 12px;
    color: #9ca3af;
}

.landing-bottom-banner {
    margin-top: 8px;
}

.landing-bottom-inner {
    border-radius: 18px;
    padding: 30px 20px 32px;
    background: linear-gradient(135deg, rgba(56,189,248,0.4), rgba(15,23,42,0.98));
    text-align: center;
    box-shadow: 0 24px 50px rgba(15,23,42,0.95);
}

.bottom-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 14px;
}

.bottom-actions {
    display: flex;
    justify-content: center;
}

.form-group {
    margin-bottom: 12px;
}

.form-label {
    font-size: 12px;
    margin-bottom: 4px;
}

.form-input {
    width: 100%;
    padding: 8px 10px;
    border-radius: 9px;
    border: 1px solid rgba(148,163,184,0.7);
    background: rgba(15,23,42,0.96);
    color: #e5e7eb;
    font-size: 13px;
}

.form-input:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 0 1px rgba(56,189,248,0.4);
}

.form-error {
    margin-bottom: 10px;
    font-size: 12px;
    color: #fecaca;
}

.site-footer {
    border-top: 1px solid rgba(31,41,55,0.9);
    background: rgba(15,23,42,0.98);
    margin-top: auto;
}

.site-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #9ca3af;
}

@media (max-width: 768px) {
    /* 移动端：主内容和底部之间留一点空隙，避免“贴”在一起 */
    .main-card {
        margin-bottom: 16px;
    }
}

/* 竖式卡片网格布局 */
.app-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

@media (min-width: 1100px) {
    /* 桌面宽屏下一行固定显示 3 个卡片，更整齐 */
    .app-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* 竖式卡片 */
.app-card-vertical {
    background: rgba(15,23,42,0.98);
    border: 1px solid rgba(148,163,184,0.4);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}

.app-card-vertical:hover {
    border-color: rgba(148,163,184,0.6);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

/* 图片区域 */
.app-card-image {
    width: 100%;
    /* 稍微矮一点的矩形容器，兼顾横图和竖图展示 */
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: rgba(30,41,59,0.5);
}

/* 应用详情页：图片区域更大、更“饱满”，并且宽度自适应 */
.app-detail-left {
    width: clamp(220px, 28vw, 340px);
    max-width: 100%;
}

.app-detail-image {
    aspect-ratio: 1 / 1;
    background: rgba(30,41,59,0.55);
}

.app-image-logo {
    width: 100%;
    height: 100%;
    /* 铺满容器，更美观（可能会裁剪边缘） */
    object-fit: cover;
    object-position: center;
    display: block;
}

/* 列表页（下载程序）：图片按比例完整展示，不裁剪 */
.app-card-grid .app-card-image {
    /* 不固定高度/比例：由图片本身决定高度，避免两侧留白（pillarbox） */
    aspect-ratio: auto;
    overflow: visible;
    padding: 0;
    display: block;
}

.app-card-grid .app-image-logo {
    width: 100%;
    height: auto;
    object-fit: contain; /* 等比例缩放，不裁剪 */
}

/* 详情页：保持“铺满更饱满”的封面效果 */
.app-detail-image .app-image-logo {
    object-fit: cover;
}

/* 列表页无图占位：给一个最小高度，避免卡片头部塌陷 */
.app-card-grid .app-image-placeholder {
    min-height: 180px;
}

/* 卡片内容 */
.app-card-content {
    padding: 16px;
    flex: 1;
}

.app-card-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #e5e7eb;
    text-align: center;
}

.app-card-desc {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 8px;
    line-height: 1.5;
}

.app-card-meta {
    font-size: 12px;
    color: #64748b;
    margin-top: 8px;
}

/* 按钮区域 */
.app-card-actions {
    padding: 16px;
    border-top: 1px solid rgba(148,163,184,0.2);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
}

.app-card-actions .btn-primary {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
    white-space: nowrap;
    min-width: 0;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: rgba(15,23,42,0.98);
    border: 1px solid rgba(148,163,184,0.4);
    border-radius: 12px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 48px rgba(0,0,0,0.6);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid rgba(148,163,184,0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #e5e7eb;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.modal-close:hover {
    background: rgba(148,163,184,0.2);
    color: #e5e7eb;
}

.modal-content form {
    padding: 24px;
    overflow-y: auto;
}

.modal-content .form-group {
    margin-bottom: 18px;
}

.modal-content .form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #e2e8f0;
}

.required-star {
    color: #fecaca;
    margin-left: 2px;
}

.modal-content .form-input {
    width: 100%;
    padding: 10px 12px;
    background: rgba(30,41,59,0.6);
    border: 1px solid rgba(148,163,184,0.3);
    border-radius: 6px;
    color: #e5e7eb;
    font-size: 14px;
    transition: all 0.2s;
}

.modal-content .form-input:focus {
    outline: none;
    border-color: rgba(59,130,246,0.6);
    background: rgba(30,41,59,0.8);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.modal-content .form-input::placeholder {
    color: #64748b;
}

.modal-content .form-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(148,163,184,0.2);
}

.modal-content .form-actions .btn-primary {
    min-width: 120px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.modal-content .form-actions .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 旧的下载列表样式（保留以防其他地方使用） */
.down-app-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.down-app-item {
    padding: 16px;
    background: rgba(30,41,59,0.5);
    border: 1px solid rgba(148,163,184,0.3);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
}

.down-app-item:hover {
    background: rgba(30,41,59,0.7);
    border-color: rgba(148,163,184,0.5);
}

.down-app-info {
    flex: 1;
}

.down-app-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #e5e7eb;
}

.down-app-meta {
    font-size: 12px;
    color: #9ca3af;
}

.down-app-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.table th,
.table td {
    padding: 6px 8px;
    border-bottom: 1px solid rgba(31,41,55,0.9);
}

.table th {
    text-align: left;
    color: #9ca3af;
    font-weight: 500;
}

.tag-status {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    border-radius: 999px;
    font-size: 11px;
}

.tag-status-ok {
    background: rgba(22,163,74,0.16);
    color: #bbf7d0;
}

.tag-status-expired {
    background: rgba(220,38,38,0.12);
    color: #fecaca;
}

.text-muted {
    color: #9ca3af;
}


