html,
body {
    height: 100%;
}

body {
    overflow-x: hidden;
}

.app-shell {
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
}

.app-main {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

/* Header */
.app-header {
    padding: 14px 24px;
    border-bottom: 1px solid #eef0f3;
    background: #fff;
}

.app-header-inner {
    display: flex;
    align-items: center;
    max-width: 100%;
}

.app-header-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 6px;
}

.app-header-logo {
    width: 20px;
    height: 32px;
}

.app-header-title {
    font-size: 18px;
    font-weight: 700;
    color: #2A2C35;
    letter-spacing: 0.5px;
}

.app-header-domain {
    font-size: 13px;
    color: #B0B3BF;
    font-weight: 400;
}

.app-header-actions {
    margin-right: 6px;
}

.btn-login {
    padding: 7px 18px;
    background: linear-gradient(135deg, #1EBE9B, #16a987);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(30, 190, 155, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 190, 155, 0.4);
}

/* Empty upload card */
.upload-empty-card {
    max-width: 560px;
    width: 480px;
    height: 380px;
    border: 2px dashed #d4d6e0;
    border-radius: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fff;
    box-shadow: 0 2px 16px rgba(42, 44, 53, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.upload-empty-card:hover {
    border-color: #1EBE9B;
    box-shadow: 0 4px 20px rgba(30, 190, 155, 0.1);
}

.upload-empty-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(30, 190, 155, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-empty-icon {
    width: 40px;
    height: 34px;
    opacity: 0.7;
}

.upload-empty-hint {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: #8A8C99;
    line-height: 1.5;
}

.upload-empty-btn {
    width: 220px;
    height: 46px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1EBE9B, #16a987);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(30, 190, 155, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.upload-empty-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(30, 190, 155, 0.4);
}

/* Staging gridview (between upload and compose modes) */
.staging-shell {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 24px 32px;
    box-sizing: border-box;
    background: #f7f8fb;
    align-self: stretch;
}

.staging-header {
    flex: 0 0 auto;
    margin-bottom: 16px;
}

.staging-title {
    font-size: 18px;
    font-weight: 600;
    color: #2A2C35;
}

.staging-subtitle {
    margin-top: 4px;
    font-size: 13px;
    color: #8A8C99;
}

.staging-grid {
    flex: 1 1 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-content: flex-start;
    padding: 18px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(42, 44, 53, 0.05);
    overflow-y: auto;
    min-height: 200px;
}

.staging-grid-tile {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f2f7;
    cursor: grab;
    border: 2px solid transparent;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    flex: 0 0 auto;
    user-select: none;
}

.staging-grid-tile:hover {
    border-color: #1EBE9B;
    box-shadow: 0 4px 12px rgba(30, 190, 155, 0.18);
}

.staging-grid-tile.is-dragging {
    opacity: 0.35;
    cursor: grabbing;
}

.staging-grid-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    -webkit-user-drag: none;
}

.staging-grid-tile-index {
    position: absolute;
    top: 6px;
    left: 6px;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 11px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.staging-grid-tile-del {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    opacity: 1;
    transition: background 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 2;
}

.staging-grid-tile-del-icon {
    display: block;
    font-size: 16px;
    line-height: 1;
    transform: translateY(-1px);
    pointer-events: none;
}

.staging-grid-tile-del:hover {
    background: #ff4757;
}

.staging-grid-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 8px;
    border: 2px dashed #1EBE9B;
    background: rgba(30, 190, 155, 0.08);
    box-sizing: border-box;
    pointer-events: none;
    flex: 0 0 auto;
    animation: preview-sort-placeholder-pop 0.18s ease;
}

.staging-grid-add {
    display: inline-block;
    flex: 0 0 auto;
}

.staging-grid-add .el-upload {
    display: block;
}

.staging-grid-add-btn {
    width: 140px;
    height: 140px;
    border-radius: 8px;
    border: 2px dashed #d4d6e0;
    background: #fafbfd;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    color: #8A8C99;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
    box-sizing: border-box;
}

.staging-grid-add-btn:hover {
    border-color: #1EBE9B;
    color: #1EBE9B;
    background: rgba(30, 190, 155, 0.04);
}

.staging-grid-add-icon {
    font-size: 28px;
    line-height: 1;
}

.staging-grid-add-label {
    font-size: 13px;
}

.staging-actions {
    flex: 0 0 auto;
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

button.btn-staging-start {
    position: relative;
    min-width: 360px;
    max-width: 480px;
    min-height: 64px;
    padding: 10px 22px 10px 18px;
    border-radius: 14px;
    border: 1px solid #0f8a6e;
    -webkit-appearance: none;
    appearance: none;
    background-color: #16a987;
    background-image: linear-gradient(135deg, #1EBE9B 0%, #14a081 55%, #0c7a62 100%);
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    box-shadow:
        0 8px 22px rgba(15, 138, 110, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -2px 0 rgba(0, 0, 0, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
    overflow: hidden;
}

.btn-staging-start::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(30, 190, 155, 0.5);
    pointer-events: none;
    animation: btn-staging-pulse 2.2s ease-out infinite;
}

@keyframes btn-staging-pulse {
    0% { box-shadow: 0 0 0 0 rgba(30, 190, 155, 0.5); }
    70% { box-shadow: 0 0 0 14px rgba(30, 190, 155, 0); }
    100% { box-shadow: 0 0 0 0 rgba(30, 190, 155, 0); }
}

button.btn-staging-start:hover:not(:disabled) {
    transform: translateY(-2px);
    border-color: #119878;
    background-image: linear-gradient(135deg, #25cdaa 0%, #1ab896 55%, #129a7a 100%);
    box-shadow:
        0 14px 30px rgba(15, 138, 110, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-staging-start:active:not(:disabled) {
    transform: translateY(0);
    box-shadow:
        0 6px 16px rgba(30, 190, 155, 0.36),
        inset 0 2px 4px rgba(0, 0, 0, 0.12);
}

.btn-staging-start:disabled {
    cursor: not-allowed;
    filter: grayscale(0.5);
    opacity: 0.6;
    box-shadow: 0 4px 12px rgba(42, 44, 53, 0.15);
}

.btn-staging-start:disabled::after {
    animation: none;
}

.btn-staging-start-icon {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-staging-start-text {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
    text-align: left;
}

.btn-staging-start-label {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
}

.btn-staging-start-hint {
    margin-top: 4px;
    font-size: 12px;
    font-weight: 500;
    opacity: 0.88;
    letter-spacing: 0.2px;
    background: transparent;
    padding: 0;
}

.btn-staging-start-arrow {
    flex: 0 0 auto;
    font-size: 22px;
    line-height: 1;
    margin-left: 4px;
    transition: transform 0.2s ease;
    will-change: transform;
}

.btn-staging-start:hover:not(:disabled) .btn-staging-start-arrow {
    transform: translateX(6px);
}

@media (prefers-reduced-motion: reduce) {
    .btn-staging-start::after { animation: none; }
    .btn-staging-start-arrow { transition: none; }
}

/* Back-to-staging button inside settings panel */
.btn-back-to-staging {
    margin-top: 20px;
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e2e4ea;
    border-radius: 8px;
    background: #f7f8fb;
    color: #4a5160;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-back-to-staging:hover {
    background: #fff;
    color: #1EBE9B;
    border-color: #1EBE9B;
}

.btn-back-to-staging-arrow {
    font-size: 18px;
    line-height: 1;
    margin-top: -2px;
}

/* Settings panel */
.settings-panel {
    width: 300px;
    height: 100%;
    background: #fff;
    padding: 0 20px;
    overflow-y: auto;
}

.settings-section-title {
    margin-top: 24px;
    font-size: 15px;
    color: #2A2C35;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.settings-control-row {
    margin-top: 14px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.settings-control-label {
    font-size: 13px;
    color: #8A8C99;
    font-weight: 500;
}

.color-swatch-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.color-swatch {
    width: 24px;
    height: 24px;
    border-radius: 5px;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.color-swatch:hover {
    transform: scale(1.15);
}

.color-swatch.is-selected {
    border-color: #1EBE9B;
    box-shadow: 0 0 0 2px rgba(30, 190, 155, 0.2);
}

.download-actions {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-download {
    width: 100%;
    min-height: 52px;
    padding: 8px 14px;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    position: relative;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-download-label {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-download-hint {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.85;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.btn-download-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.btn-download-standard {
    background: linear-gradient(135deg, #1EBE9B, #16a987);
    box-shadow: 0 3px 12px rgba(30, 190, 155, 0.3);
}

.btn-download-standard:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(30, 190, 155, 0.42);
}

.btn-download-hd {
    background: linear-gradient(135deg, #5B6BFF, #8E5BFF);
    box-shadow: 0 3px 12px rgba(91, 107, 255, 0.32);
}

.btn-download-hd:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(91, 107, 255, 0.48);
    filter: brightness(1.05);
}

.btn-download:disabled {
    cursor: wait;
}

.preview-sort-container {
    width: 100%;
    height: 100%;
    margin: 0;
    padding-top: 20px;
    padding-bottom: 20px;
    overflow-y: auto;
    font-size: 0;
}

.preview-sort-container.is-horizontal {
    overflow-y: hidden;
    overflow-x: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

.preview-sort-content {
    transform-origin: top center;
    transition: transform 0.2s ease, opacity 0.2s ease;
    will-change: transform;
}

.preview-sort-container.is-horizontal .preview-sort-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    transform-origin: top left;
}

.preview-sort-container.is-drag-active .preview-sort-content {
    transform: scale(0.34);
    opacity: 0.96;
}

.preview-sort-container.is-drag-active.is-horizontal .preview-sort-content {
    transform: scale(0.34);
    opacity: 0.96;
}

.preview-sort-row {
    display: flex;
    justify-content: center;
    cursor: grab;
    transition: opacity 0.18s ease, filter 0.18s ease;
    user-select: none;
    position: relative;
}

.preview-sort-container.is-horizontal .preview-sort-row {
    flex-direction: column;
    flex: 0 0 auto;
}

.preview-sort-row.is-dragging {
    opacity: 0.35;
    filter: saturate(0.9);
    cursor: grabbing;
}

.preview-sort-placeholder {
    animation: preview-sort-placeholder-pop 0.18s ease;
}

@keyframes preview-sort-placeholder-pop {
    from {
        transform: scaleY(0.6);
        opacity: 0;
    }
    to {
        transform: scaleY(1);
        opacity: 1;
    }
}

.insert-after-btn {
    position: absolute;
    left: 50%;
    bottom: -16px;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #1EBE9B;
    color: #fff;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(30, 190, 155, 0.35);
    opacity: 0.85;
    transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    z-index: 5;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.insert-after-btn::before {
    content: '+';
    display: block;
    line-height: 1;
    transform: translateY(-1px);
}

.preview-sort-row:hover .insert-after-btn {
    opacity: 1;
    box-shadow: 0 6px 14px rgba(30, 190, 155, 0.5);
}

.insert-after-btn:hover {
    background: #16a987;
    transform: translateX(-50%) scale(1.1);
}

/* Horizontal mode: button sits at the right edge, vertically centered */
.preview-sort-container.is-horizontal .insert-after-btn {
    left: auto;
    right: -16px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
}

.preview-sort-container.is-horizontal .insert-after-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

.preview-sort-row.is-dragging .insert-after-btn {
    display: none;
}

/* Layout mode tab group */
.layout-tab-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 36px;
    padding: 6px;
    background: #f5f6f8;
    border-radius: 10px;
}

.layout-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 60px;
    padding: 10px 0 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    user-select: none;
}

.layout-tab-icon {
    width: 28px;
    height: 28px;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.layout-tab-label {
    font-size: 13px;
    line-height: 1;
    transition: color 0.2s ease;
}

/* Inactive state */
.layout-tab:not(.is-active) .layout-tab-icon {
    opacity: 0.5;
    filter: grayscale(0.6);
}

.layout-tab:not(.is-active) .layout-tab-label {
    color: #8A8C99;
}

.layout-tab:not(.is-active):hover {
    background: rgba(0, 0, 0, 0.04);
}

.layout-tab:not(.is-active):hover .layout-tab-icon {
    opacity: 0.75;
    filter: grayscale(0.3);
}

.layout-tab:not(.is-active):hover .layout-tab-label {
    color: #5a5d6b;
}

/* Active state */
.layout-tab.is-active {
    background: #fff;
    box-shadow: 0 2px 8px rgba(30, 190, 155, 0.18);
}

.layout-tab.is-active .layout-tab-icon {
    opacity: 1;
    filter: none;
}

.layout-tab.is-active .layout-tab-label {
    color: #12B385;
    font-weight: 600;
}

/* 登录和支付模块样式 */
.modal-mask {
    position: fixed;
    z-index: 9998;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}

.modal-container {
    width: 350px;
    margin: 0px auto;
    padding: 20px 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.33);
    transition: all 0.3s ease;
}

.modal-header {
    margin-top: 0;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #2A2C35;
    margin-bottom: 20px;
}

.modal-body {
    margin: 20px 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #8A8C99;
}

.form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.btn {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

.btn-primary {
    background-color: #1EBE9B;
    color: white;
}

.btn-secondary {
    background-color: #f5f5f5;
    color: #333;
    margin-top: 10px;
}

.modal-footer {
    text-align: center;
    font-size: 14px;
    color: #8A8C99;
    margin-top: 15px;
}

.modal-footer a {
    color: #1EBE9B;
    text-decoration: none;
    cursor: pointer;
}

/* 支付选择样式 */
.payment-options {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.payment-option {
    flex: 0 0 140px;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    margin: 0 10px;
    transition: all 0.2s ease;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.payment-option:hover {
    border-color: #1EBE9B;
    background-color: rgba(30, 190, 155, 0.05);
}

.payment-option.active {
    border-color: #1EBE9B;
    background-color: rgba(30, 190, 155, 0.1);
    box-shadow: 0 2px 8px rgba(30, 190, 155, 0.2);
}

.payment-option img {
    height: 20px;
    vertical-align: middle;
}

.payment-option div {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.payment-plan-fixed {
    border: 1px solid #1EBE9B;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 16px;
    background-color: rgba(30, 190, 155, 0.1);
    color: #2A2C35;
    font-size: 14px;
}

/* Payment Modal Improvements */
.modal-header h3 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.payment-account-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background-color: rgba(30, 190, 155, 0.05);
    border-radius: 8px;
    margin-bottom: 16px;
    border: 1px dashed #1EBE9B;
}

.account-label {
    font-size: 14px;
    color: #666;
}

.account-value {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #333;
}

.highlight-account span {
    color: #1EBE9B;
    font-weight: bold;
    font-size: 15px;
}

.user-avatar-small {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #1EBE9B;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.payment-plan-card {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(255, 165, 0, 0.3);
}

.plan-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.plan-price {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.plan-desc {
    font-size: 13px;
    opacity: 0.9;
}

.site-beian {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 30;
}

.site-beian-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 30px;
    padding: 0 11px 0 10px;
    border: 1px solid rgba(42, 44, 53, 0.07);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 10px 30px rgba(31, 35, 41, 0.10);
    color: #656C78;
    font-size: 11px;
    line-height: 30px;
    letter-spacing: 0.01em;
    text-decoration: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.site-beian-link:hover {
    color: #2A2C35;
    border-color: rgba(30, 190, 155, 0.22);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 36px rgba(30, 190, 155, 0.14);
    transform: translateY(-1px);
}

.site-beian-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #1EBE9B;
    box-shadow: 0 0 0 4px rgba(30, 190, 155, 0.10);
    flex: 0 0 5px;
}

@media (max-width: 768px) {
    .site-beian {
        right: 12px;
        bottom: 12px;
    }

    .site-beian-link {
        height: 28px;
        padding: 0 10px;
        font-size: 11px;
        line-height: 28px;
    }
}

.plan-benefits {
    margin-bottom: 20px;
    text-align: left;
    padding: 0 10px;
}

.benefit-item {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.payment-method-title {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
    text-align: left;
}

.btn-block {
    width: 100%;
    height: 44px;
    font-size: 16px;
    border-radius: 22px;
    background: linear-gradient(to right, #1EBE9B, #0DA885);
    border: none;
    box-shadow: 0 4px 10px rgba(30, 190, 155, 0.3);
}

.btn-block:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.payment-binding-tip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 12px;
    color: #8A8C99;
}

.payment-binding-tip img {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

/* 用户菜单样式 */
.user-menu {
    position: relative;
    display: inline-block;
}

.user-menu-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #fff;
    min-width: 240px;
    box-shadow: 0 12px 32px rgba(20, 28, 45, 0.16);
    z-index: 1;
    border-radius: 12px;
    border: 1px solid #edf0f3;
    overflow: hidden;
}

.user-info-panel {
    padding: 14px 16px 10px;
    background: linear-gradient(180deg, #f8fcfb 0%, #ffffff 100%);
    border-bottom: 1px solid #edf0f3;
}

.user-info-name {
    font-size: 15px;
    font-weight: 600;
    color: #2A2C35;
    margin-bottom: 10px;
}

.user-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: #5d6472;
    line-height: 1.8;
}

.user-info-label {
    color: #8A8C99;
}

.user-info-value {
    color: #2A2C35;
    text-align: right;
}

.user-info-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.user-menu-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

.user-menu-note {
    color: #1EBE9B;
    background-color: #f0fdf9;
    padding: 12px 16px;
    display: block;
    font-size: 14px;
    cursor: default;
    border-bottom: 1px solid #eef;
}

.user-menu-content a:hover {
    background-color: #f1f1f1;
}

.user-menu:hover .user-menu-content {
    display: block;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #1EBE9B;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
}

.vip-badge {
    background-color: #1EBE9B;
    color: #fff;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 10px;
    line-height: 1;
}

.vip-badge.permanent {
    background-color: #ff8a00;
}

.vip-badge.normal {
    background-color: #8A8C99;
}

.site-footer-list-links a {
    color: #c0c4cc;
    text-decoration: none;
    transition: color 0.15s ease;
}

.site-footer-list-links a:hover {
    color: #1EBE9B;
    text-decoration: underline;
}

.app-header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 16px;
}

.app-header-nav-link {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 12px;
    border-radius: 8px;
    color: #4a5160;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.app-header-nav-link:hover {
    background-color: rgba(30, 190, 155, 0.1);
    color: #1EBE9B;
}

.app-header-nav-link.is-active {
    background-color: rgba(30, 190, 155, 0.12);
    color: #1EBE9B;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-footer {
    background: #1a1d24;
    color: #c0c4cc;
    padding: 40px 24px 20px;
    font-size: 14px;
    line-height: 1.7;
}

.site-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 28px;
}

.site-footer-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px;
}

.site-footer-subtitle {
    color: #e0e0e0;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 10px;
}

.site-footer-desc {
    margin: 0;
    color: #a0a4b0;
    font-size: 13px;
    line-height: 1.8;
}

.site-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer-list li {
    color: #a0a4b0;
    font-size: 13px;
    padding: 3px 0;
}

.site-footer-faq dt {
    color: #d0d4dc;
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px;
}

.site-footer-faq dd {
    color: #a0a4b0;
    font-size: 13px;
    margin: 2px 0 0;
}

.site-footer .site-beian {
    position: static;
    text-align: center;
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .site-beian-link {
    display: inline-flex;
    color: #80848e;
    background: none;
    border: none;
    text-decoration: none;
    font-size: 12px;
}

.site-footer .site-beian-link:hover {
    color: #c0c4cc;
    background: none;
    border: none;
    transform: none;
}

@media (max-width: 768px) {
    .site-footer-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .site-footer {
        padding: 28px 16px 16px;
    }

    .site-footer .site-beian {
        margin-top: 20px;
    }
}
