body.ops-body {
    margin: 0;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    background:
        radial-gradient(circle at top right, rgba(87, 146, 255, 0.16), transparent 28%),
        linear-gradient(180deg, #f5f8fc 0%, #edf2f8 100%);
    color: #172033;
}

.ops-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 260px 1fr;
}

.ops-sidebar {
    padding: 28px 22px;
    background: rgba(12, 24, 46, 0.95);
    color: #f7fbff;
    box-shadow: 8px 0 36px rgba(12, 24, 46, 0.18);
}

.ops-brand {
    margin-bottom: 26px;
}

.ops-brand h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.ops-brand p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
    font-size: 13px;
}

.ops-nav {
    display: grid;
    gap: 10px;
}

.ops-nav button {
    border: 0;
    border-radius: 14px;
    padding: 13px 16px;
    color: #dce8ff;
    background: rgba(255, 255, 255, 0.06);
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: .2s ease;
}

.ops-nav button.active,
.ops-nav button:hover {
    background: linear-gradient(135deg, #5d8eff 0%, #2b64e3 100%);
    color: #fff;
}

.ops-sidebar .ops-foot {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
}

.ops-main {
    padding: 26px 30px 40px;
}

.ops-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}

.ops-title h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
}

.ops-title p {
    margin: 8px 0 0;
    color: #60708d;
    font-size: 14px;
}

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

.ops-chip,
.ops-button,
.ops-input,
.ops-select,
.ops-textarea {
    font: inherit;
}

.ops-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #e6efff;
    color: #2f5fd3;
    font-size: 13px;
}

.ops-button {
    border: 0;
    border-radius: 12px;
    padding: 11px 16px;
    background: linear-gradient(135deg, #244fbc 0%, #3776ff 100%);
    color: #fff;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
    box-shadow: 0 12px 26px rgba(55, 118, 255, 0.18);
}

.ops-button:hover {
    transform: translateY(-1px);
}

.ops-button.ghost {
    background: #fff;
    color: #24324e;
    border: 1px solid #d9e4f2;
    box-shadow: none;
}

.ops-button.warn {
    background: linear-gradient(135deg, #d85652 0%, #eb7d54 100%);
}

.ops-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.ops-stat,
.ops-panel,
.ops-login-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(210, 222, 238, 0.92);
    border-radius: 20px;
    box-shadow: 0 14px 36px rgba(21, 44, 81, 0.08);
}

.ops-stat {
    padding: 18px 18px 16px;
}

.ops-stat label {
    display: block;
    color: #697998;
    font-size: 13px;
}

.ops-stat strong {
    display: block;
    margin-top: 12px;
    font-size: 28px;
    color: #16233a;
}

.ops-panel {
    padding: 20px;
    margin-bottom: 20px;
}

.ops-panel h3 {
    margin: 0 0 14px;
    font-size: 18px;
}

.ops-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.ops-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    color: #5e6d8a;
}


.ops-checkline {
    display: flex !important;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid #dce7f5;
    border-radius: 12px;
    background: #f7faff;
    color: #263550 !important;
    cursor: pointer;
}

.ops-checkline input {
    width: 18px;
    height: 18px;
    accent-color: #2f6fff;
}

.ops-input,
.ops-select,
.ops-textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d2dcec;
    border-radius: 12px;
    background: #fff;
    padding: 11px 12px;
    color: #1b2840;
}

.ops-textarea {
    min-height: 100px;
    resize: vertical;
}

.ops-table-wrap {
    overflow: auto;
}

.ops-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 880px;
}

.ops-table th,
.ops-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e8eef7;
    text-align: left;
    font-size: 13px;
    vertical-align: top;
}

.ops-table th {
    color: #5a6985;
    font-weight: 600;
    background: #f7faff;
}

.ops-tag {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
}

.ops-tag.ok {
    background: #e9f8ee;
    color: #18794e;
}

.ops-tag.warn {
    background: #fff3df;
    color: #a25b00;
}

.ops-tag.danger {
    background: #ffe8e6;
    color: #c0392b;
}

.ops-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ops-inline-actions button {
    border: 0;
    border-radius: 10px;
    padding: 8px 11px;
    font-size: 12px;
    cursor: pointer;
    background: #eff4ff;
    color: #2457cc;
}

.ops-login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.ops-login-wrap {
    width: min(1080px, 100%);
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 22px;
}

.ops-login-hero {
    padding: 34px;
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(30, 63, 136, 0.96) 0%, rgba(25, 44, 81, 0.98) 100%);
    color: #fff;
    box-shadow: 0 22px 48px rgba(11, 28, 61, 0.22);
}

.ops-login-hero h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1.1;
}

.ops-login-hero p {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.9;
}

.ops-login-cards {
    display: grid;
    gap: 18px;
}

.ops-login-card {
    padding: 24px;
}

.ops-login-card h3 {
    margin: 0 0 16px;
}

.ops-section-hidden {
    display: none;
}

.ops-tip {
    margin-top: 10px;
    color: #6d7c98;
    font-size: 12px;
    line-height: 1.7;
}

.ops-modal-mask {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(10, 18, 34, 0.42);
    backdrop-filter: blur(8px);
}

.ops-modal {
    width: min(520px, 100%);
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(214, 226, 240, 0.96);
    box-shadow: 0 22px 58px rgba(17, 34, 68, 0.18);
    overflow: hidden;
}

.ops-modal-head {
    padding: 20px 22px 0;
}

.ops-modal-head h4 {
    margin: 0;
    font-size: 20px;
}

.ops-modal-body {
    padding: 16px 22px 20px;
    color: #4d5d79;
    line-height: 1.8;
}

.ops-modal-foot {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 0 22px 22px;
}

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

.ops-recharge-tier {
    position: relative;
    display: flex;
    min-height: 86px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 16px 16px 14px;
    border: 2px solid #dbe6f5;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    color: #263550;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(39, 73, 128, 0.08);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
    text-align: left;
}

.ops-recharge-tier strong {
    font-size: 24px;
    line-height: 1;
    letter-spacing: .2px;
}

.ops-recharge-tier em {
    font-style: normal;
    font-size: 12px;
    color: #73829c;
}

.ops-recharge-tier:hover {
    transform: translateY(-2px);
    border-color: #9db8ff;
    box-shadow: 0 14px 28px rgba(55, 118, 255, 0.16);
}

.ops-recharge-tier.active {
    border-color: #2f6fff;
    background: linear-gradient(135deg, #2456d9 0%, #3d7dff 100%);
    color: #fff;
    box-shadow: 0 18px 34px rgba(55, 118, 255, 0.32);
}

.ops-recharge-tier.active em {
    color: rgba(255, 255, 255, .82);
}

.ops-recharge-tier-check {
    position: absolute;
    right: 12px;
    top: 12px;
    display: none;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, .22);
    color: #fff;
    font-weight: 800;
}

.ops-recharge-tier.active .ops-recharge-tier-check {
    display: inline-flex;
}

.ops-recharge-tier.custom strong {
    font-size: 20px;
}

.ops-recharge-selected {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #edf4ff;
    color: #51617d;
    font-size: 13px;
}

.ops-recharge-selected strong {
    color: #2456d9;
}


.ops-slider-captcha {
    position: relative;
    overflow: hidden;
    border: 1px solid #dce7f5;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
    padding: 10px;
    user-select: none;
}

.ops-slider-stage {
    position: relative;
    height: 160px;
    overflow: hidden;
    border-radius: 14px;
    background-color: #dfeafa;
    background-size: 100% 100%;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
}

.ops-slider-piece {
    position: absolute;
    z-index: 2;
    filter: drop-shadow(0 8px 14px rgba(20, 50, 100, .26));
    pointer-events: none;
}

.ops-slider-loading {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #53637d;
    background: rgba(246, 250, 255, .82);
    font-size: 13px;
}

.ops-slider-track {
    position: relative;
    height: 44px;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 999px;
    border: 1px solid #d7e3f4;
    background: #f3f7fd;
}

.ops-slider-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(55, 118, 255, .22), rgba(55, 118, 255, .08));
    pointer-events: none;
}

.ops-slider-handle {
    position: absolute;
    z-index: 3;
    top: 3px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #2456d9 0%, #3d7dff 100%);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(55, 118, 255, .28);
    cursor: grab;
    touch-action: none;
    transform: translateX(-1px);
}

.ops-slider-captcha.dragging .ops-slider-handle {
    cursor: grabbing;
}

.ops-slider-status {
    position: relative;
    z-index: 2;
    height: 44px;
    line-height: 44px;
    font-size: 12px;
    color: #63738f;
    text-align: center;
    pointer-events: none;
}

.ops-slider-captcha.verified {
    border-color: #28a86b;
    background: linear-gradient(180deg, #f2fff8 0%, #e5fff1 100%);
}

.ops-slider-captcha.verified .ops-slider-handle {
    background: linear-gradient(135deg, #17a463 0%, #35c981 100%);
    box-shadow: 0 8px 20px rgba(40, 168, 107, .26);
}

.ops-slider-captcha.verified .ops-slider-status {
    color: #16824d;
    font-weight: 700;
}


.ops-reward-panel {
    margin-top: 18px;
    padding: 20px;
    border-radius: 24px;
    border: 1px solid rgba(214, 226, 240, .95);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 18px 42px rgba(39, 73, 128, .08);
}

.ops-reward-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.ops-reward-head span {
    color: #2f6fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.ops-reward-head h3 {
    margin: 4px 0 4px;
    font-size: 22px;
}

.ops-reward-head p {
    margin: 0;
    color: #66758f;
    font-size: 13px;
}

.ops-reward-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.ops-reward-summary div {
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f6f9ff 0%, #edf4ff 100%);
}

.ops-reward-summary label {
    display: block;
    color: #687894;
    font-size: 12px;
    margin-bottom: 4px;
}

.ops-reward-summary strong {
    font-size: 24px;
    color: #263550;
}

.ops-reward-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ops-reward-card {
    padding: 14px;
    border-radius: 20px;
    border: 1px solid #dfe8f5;
    background: #fff;
}

.ops-reward-card.ready {
    border-color: #2f6fff;
    box-shadow: 0 16px 30px rgba(55, 118, 255, .16);
}

.ops-reward-card.claimed {
    opacity: .72;
}

.ops-reward-card-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.ops-reward-card-head strong,
.ops-reward-card-head span {
    display: block;
}

.ops-reward-card-head strong {
    color: #24324e;
    font-size: 16px;
}

.ops-reward-card-head span,
.ops-reward-meta {
    color: #6d7c96;
    font-size: 12px;
}

.ops-reward-card-head em {
    align-self: flex-start;
    padding: 4px 8px;
    border-radius: 999px;
    background: #edf4ff;
    color: #2f6fff;
    font-size: 12px;
    font-style: normal;
    white-space: nowrap;
}

.ops-reward-card.ready .ops-reward-card-head em {
    background: #2f6fff;
    color: #fff;
}

.ops-reward-progress {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e9f0fa;
    margin-bottom: 8px;
}

.ops-reward-progress i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2f6fff, #45c4ff);
}

.ops-reward-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-height: 38px;
    margin-bottom: 10px;
}

@media (max-width: 760px) {
    .ops-reward-head {
        flex-direction: column;
    }

    .ops-reward-head .ops-button {
        width: 100%;
    }

    .ops-reward-list {
        grid-template-columns: 1fr;
    }
}

.ops-auth-center-wrap {
    width: min(1180px, 100%);
}

.ops-auth-center-shell .ops-login-card {
    padding: 24px;
}

.ops-store-shell {
    width: min(1080px, 100%);
    margin: 0 auto;
    padding: 18px;
    box-sizing: border-box;
}

.ops-store-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    padding: 22px;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(135deg, #143b8f 0%, #2f75ff 64%, #58d1ff 100%);
    box-shadow: 0 18px 46px rgba(47, 117, 255, 0.26);
}

.ops-store-eyebrow {
    font-size: 12px;
    opacity: .76;
    letter-spacing: 2px;
}

.ops-store-header h1 {
    margin: 8px 0 8px;
    font-size: 30px;
}

.ops-store-header p {
    margin: 0;
    color: rgba(255, 255, 255, .82);
    line-height: 1.6;
}

.ops-store-auth {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    min-width: 150px;
}

.ops-balance-card {
    min-width: 118px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .26);
    text-align: right;
}

.ops-balance-card span {
    display: block;
    font-size: 12px;
    opacity: .82;
}

.ops-balance-card strong {
    display: block;
    margin-top: 4px;
    font-size: 24px;
}

.ops-store-user,
.ops-recharge-card {
    margin-top: 16px;
}

.ops-store-user {
    display: grid;
    grid-template-columns: minmax(130px, 200px) minmax(160px, 240px) minmax(220px, 1fr);
    gap: 12px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(210, 222, 238, .92);
    box-shadow: 0 12px 30px rgba(21, 44, 81, .07);
}

.ops-store-user label {
    display: block;
    margin-bottom: 6px;
    color: #6a7892;
    font-size: 12px;
}

.ops-store-user strong {
    font-size: 20px;
}

.ops-store-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
    padding: 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(214, 226, 240, .92);
    box-shadow: 0 12px 30px rgba(21, 44, 81, .06);
}

.ops-store-tabs button {
    border: 0;
    border-radius: 14px;
    padding: 12px 14px;
    background: transparent;
    color: #53637d;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ops-store-tabs button.active {
    background: linear-gradient(135deg, #2456d9 0%, #3d7dff 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(55, 118, 255, .22);
}

.ops-store-tabs button:active {
    transform: scale(.98);
}

.ops-store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.ops-product-card,
.ops-empty-card {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .98);
    border: 1px solid rgba(210, 222, 238, .92);
    box-shadow: 0 14px 34px rgba(21, 44, 81, .08);
}

.ops-product-card.locked {
    filter: grayscale(.15);
}

.ops-product-card.locked .ops-product-head,
.ops-product-card.locked p,
.ops-product-card.locked .ops-product-reward {
    opacity: .58;
}

.ops-product-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
}

.ops-product-head h3 {
    margin: 0;
    font-size: 18px;
}

.ops-product-head span {
    white-space: nowrap;
    color: #2f5fd3;
    font-weight: 700;
}

.ops-product-card p {
    margin: 12px 0;
    color: #66738a;
    line-height: 1.6;
}

.ops-product-reward {
    min-height: 42px;
    margin-bottom: 14px;
    padding: 10px;
    border-radius: 14px;
    background: #f3f7ff;
    color: #43516b;
    font-size: 13px;
    line-height: 1.6;
}

.ops-button:disabled {
    cursor: not-allowed;
    opacity: .62;
    transform: none;
}

.ops-link-button {
    margin-top: 8px;
    border: 0;
    background: transparent;
    color: #2f66e8;
    cursor: pointer;
}

.ops-section-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.ops-section-title h3 {
    margin-bottom: 4px;
}

.ops-section-title p {
    margin: 0 0 14px;
    color: #6d7c98;
    font-size: 13px;
}

@media (max-width: 980px) {
    .ops-shell {
        grid-template-columns: 1fr;
    }

    .ops-sidebar {
        border-radius: 0 0 24px 24px;
    }

    .ops-login-wrap {
        grid-template-columns: 1fr;
    }

    .ops-topbar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .ops-store-shell {
        padding: 12px;
    }

    .ops-store-header {
        flex-direction: column;
        padding: 18px;
    }

    .ops-store-header h1 {
        font-size: 26px;
    }

    .ops-store-auth {
        width: 100%;
        justify-content: flex-start;
    }

    .ops-store-auth .ops-button {
        flex: 1;
    }

    .ops-balance-card {
        width: 100%;
        text-align: left;
    }

    .ops-store-user {
        grid-template-columns: 1fr;
    }

    .ops-store-grid {
        grid-template-columns: 1fr;
    }

    .ops-store-tabs {
        gap: 8px;
        padding: 6px;
        border-radius: 16px;
    }

    .ops-store-tabs button {
        min-height: 46px;
        padding: 11px 10px;
        font-size: 14px;
    }


    .ops-modal-mask {
        align-items: flex-end;
        padding: 12px;
    }

    .ops-modal {
        border-radius: 22px;
    }
}

/* 后台 /admin /agent 移动端优化 */
@media (max-width: 980px) {
    .ops-shell {
        display: block;
        min-height: 100vh;
    }

    .ops-sidebar {
        position: sticky;
        top: 0;
        z-index: 20;
        padding: 14px 14px 12px;
        border-radius: 0 0 20px 20px;
        box-shadow: 0 10px 28px rgba(12, 24, 46, 0.2);
    }

    .ops-brand {
        margin-bottom: 12px;
    }

    .ops-brand h1 {
        font-size: 20px;
    }

    .ops-brand p {
        margin-top: 4px;
        font-size: 12px;
        line-height: 1.45;
    }

    .ops-nav {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding: 2px 2px 8px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .ops-nav button {
        flex: 0 0 auto;
        min-width: 92px;
        padding: 10px 12px;
        border-radius: 999px;
        text-align: center;
        white-space: nowrap;
        scroll-snap-align: start;
    }

    .ops-sidebar .ops-foot {
        margin-top: 8px;
        padding-top: 10px;
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 8px;
        font-size: 12px;
    }

    .ops-sidebar .ops-foot > div:last-child {
        margin-top: 0 !important;
    }

    .ops-sidebar .ops-foot .ops-button {
        width: auto !important;
        padding: 8px 12px;
        border-radius: 999px;
    }

    .ops-main {
        padding: 16px 14px 28px;
    }

    .ops-topbar {
        position: sticky;
        top: 134px;
        z-index: 10;
        margin: -2px -6px 14px;
        padding: 12px 6px;
        border-radius: 16px;
        background: rgba(245, 248, 252, 0.94);
        backdrop-filter: blur(10px);
    }

    .ops-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .ops-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 14px;
    }

    .ops-stat {
        padding: 14px;
        border-radius: 16px;
    }

    .ops-stat strong {
        margin-top: 8px;
        font-size: 22px;
        word-break: break-all;
    }

    .ops-panel {
        padding: 15px;
        border-radius: 18px;
        margin-bottom: 14px;
    }

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

    .ops-table-wrap {
        margin: 0 -8px;
        padding: 0 8px 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ops-table-wrap::after {
        content: '可左右滑动查看更多';
        display: block;
        margin-top: 8px;
        color: #8a97ad;
        font-size: 12px;
    }

    .ops-table {
        min-width: 720px;
    }

    .ops-table th,
    .ops-table td {
        padding: 10px 8px;
        font-size: 12px;
    }

    .ops-inline-actions {
        gap: 6px;
    }

    .ops-inline-actions button {
        padding: 7px 10px;
        border-radius: 999px;
        white-space: nowrap;
    }
}

@media (max-width: 640px) {
    html {
        -webkit-text-size-adjust: 100%;
    }

    body.ops-body {
        background: linear-gradient(180deg, #f7faff 0%, #edf3fa 100%);
    }

    .ops-login-shell {
        min-height: 100dvh;
        padding: 14px;
        place-items: stretch;
    }

    .ops-login-wrap {
        width: 100%;
        align-content: center;
        gap: 12px;
    }

    .ops-login-hero {
        padding: 22px;
        border-radius: 22px;
    }

    .ops-login-hero h2 {
        font-size: 28px;
    }

    .ops-login-hero p {
        margin-top: 8px;
        line-height: 1.6;
    }

    .ops-login-card {
        padding: 18px;
        border-radius: 18px;
    }

    .ops-sidebar {
        padding: 12px;
        max-height: 52vh;
        overflow: auto;
    }

    .ops-brand h1 {
        font-size: 18px;
    }

    .ops-brand p br {
        display: none;
    }

    .ops-nav button {
        min-width: 82px;
        padding: 9px 11px;
        font-size: 13px;
    }

    .ops-sidebar .ops-foot {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .ops-sidebar .ops-foot .ops-button {
        width: 100% !important;
    }

    .ops-main {
        padding: 12px 10px 24px;
    }

    .ops-topbar {
        top: 0;
        position: relative;
        margin: 0 0 12px;
        padding: 0;
        background: transparent;
    }

    .ops-title h2 {
        font-size: 22px;
    }

    .ops-title p {
        font-size: 12px;
        line-height: 1.5;
    }

    .ops-chip {
        padding: 7px 10px;
        font-size: 12px;
    }

    .ops-card-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .ops-stat label {
        font-size: 12px;
    }

    .ops-stat strong {
        font-size: 20px;
    }

    .ops-panel {
        padding: 13px;
        border-radius: 16px;
    }

    .ops-panel h3 {
        font-size: 16px;
    }

    .ops-row {
        grid-template-columns: 1fr;
        margin-bottom: 10px;
    }

    .ops-field label {
        margin-bottom: 6px;
    }

    .ops-input,
    .ops-select,
    .ops-textarea {
        min-height: 44px;
        padding: 10px 11px;
        border-radius: 10px;
        font-size: 16px;
    }

    .ops-button {
        min-height: 42px;
        padding: 10px 14px;
        border-radius: 11px;
    }

    .ops-table {
        min-width: 660px;
    }

    .ops-modal-mask {
        align-items: flex-end;
        padding: 10px;
    }

    .ops-modal {
        max-height: 86dvh;
        overflow: auto;
        border-radius: 20px;
    }

    .ops-modal-head {
        padding: 18px 18px 0;
    }

    .ops-modal-body {
        padding: 14px 18px 18px;
    }

    .ops-modal-foot {
        position: sticky;
        bottom: 0;
        background: #fff;
        padding: 10px 18px 18px;
    }

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

    .ops-recharge-tier {
        min-height: 76px;
        padding: 13px 13px 12px;
        border-radius: 16px;
    }

    .ops-recharge-tier strong {
        font-size: 21px;
    }

    .ops-recharge-tier.custom strong {
        font-size: 18px;
    }
}

@media (max-width: 420px) {
    .ops-card-grid {
        grid-template-columns: 1fr;
    }

    .ops-actions {
        gap: 6px;
    }

    .ops-chip {
        flex: 1 1 auto;
        justify-content: center;
    }
}

