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-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;
}

@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;
    }
}

/* 浪漫水世界注册页 /zc */
body.zc-body {
    margin: 0;
    min-height: 100vh;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    color: #0d3b66;
    background: linear-gradient(160deg, #0a4d7a 0%, #1a8fc9 38%, #7ec8e8 72%, #c5e8f7 100%);
    overflow-x: hidden;
}

.zc-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 20px 40px;
    position: relative;
}

.zc-bg-wave {
    position: fixed;
    left: -10%;
    width: 120%;
    height: 120px;
    border-radius: 45%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
    animation: zc-wave 8s ease-in-out infinite;
}

.zc-bg-wave-1 { bottom: 8%; animation-delay: 0s; }
.zc-bg-wave-2 { bottom: 14%; opacity: 0.6; animation-delay: -2.5s; height: 90px; }
.zc-bg-wave-3 { bottom: 20%; opacity: 0.35; animation-delay: -5s; height: 70px; }

@keyframes zc-wave {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(-4%) rotate(1.5deg); }
}

.zc-card {
    position: relative;
    z-index: 1;
    width: min(440px, 100%);
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 28px 80px rgba(0, 48, 88, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    backdrop-filter: blur(12px);
}

.zc-header {
    text-align: center;
    padding: 36px 28px 24px;
    background: linear-gradient(145deg, #0277bd 0%, #01579b 55%, #004d73 100%);
    color: #fff;
}

.zc-logo {
    width: 72px;
    height: 72px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.zc-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 3px;
}

.zc-tagline {
    margin: 10px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: 1px;
}

.zc-form {
    padding: 28px 26px 8px;
}

.zc-form-title {
    margin: 0 0 6px;
    font-size: 18px;
    color: #01579b;
}

.zc-form-hint {
    margin: 0 0 20px;
    font-size: 13px;
    color: #5c7a99;
}

.zc-field {
    margin-bottom: 16px;
}

.zc-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #37474f;
}

.zc-input {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;
    border: 1px solid #b3d4f0;
    border-radius: 12px;
    font-size: 15px;
    color: #1b2840;
    background: #fafcff;
    transition: border-color .2s, box-shadow .2s;
}

.zc-input:focus {
    outline: none;
    border-color: #29b6f6;
    box-shadow: 0 0 0 3px rgba(41, 182, 246, 0.22);
    background: #fff;
}

.zc-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
    padding-bottom: 8px;
}

.zc-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: 0;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s;
}

.zc-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #29b6f6, #0288d1, #0277bd);
    box-shadow: 0 10px 28px rgba(2, 136, 209, 0.4);
    letter-spacing: 2px;
}

.zc-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(2, 136, 209, 0.48);
}

.zc-btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.zc-btn-ghost {
    color: #1565c0;
    background: #e3f2fd;
    border: 1px solid #90caf9;
}

.zc-btn-ghost:hover {
    background: #bbdefb;
}

.zc-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 20px 22px;
    font-size: 12px;
    color: #78909c;
    border-top: 1px dashed #e1f0fa;
}

.zc-modal {
    width: min(400px, 100%);
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 48, 88, 0.25);
}

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

.zc-modal-head h4 {
    margin: 0;
    font-size: 18px;
    color: #01579b;
}

.zc-modal-body {
    padding: 14px 22px 20px;
    color: #546e7a;
    line-height: 1.8;
    white-space: pre-wrap;
}

.zc-modal-foot {
    padding: 0 22px 22px;
}
