body.profile-page {
    margin: 0;
    background: #f8fafc;
    color: #1f2937;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

.profile-top {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e5edf6;
    backdrop-filter: blur(16px);
}

.profile-brand {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0.85rem 1rem 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.profile-menu-btn {
    display: none;
    margin-left: auto;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: #eef4ff;
    color: #2563eb;
    cursor: pointer;
}

.profile-menu-backdrop {
    display: none;
}

.profile-brand i {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #eaf3ff;
    color: #2563eb;
}

.profile-logo {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: block;
    border-radius: 12px;
    object-fit: contain;
}

.profile-brand strong,
.profile-brand span {
    display: block;
}

.profile-brand strong {
    font-size: 1.08rem;
}

.profile-brand span,
.muted {
    color: #667085;
    font-size: 0.88rem;
}

.profile-tabs {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1rem 0.7rem;
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
}

.profile-tabs button,
.profile-tabs a,
.icon-btn,
.upload-btn,
.exam-shortcuts button,
.action-btn {
    border: 0;
    cursor: pointer;
    font: inherit;
}

.profile-tabs button,
.profile-tabs a {
    height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0 0.8rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475467;
    white-space: nowrap;
    font-weight: 800;
    text-decoration: none;
}

.profile-tabs button.active,
.profile-tabs a.active {
    background: #0f766e;
    color: #fff;
}

.profile-tabs .profile-nav-qr {
    margin-left: auto;
}

.profile-tabs .profile-center-tab {
    margin-left: 0;
}

.profile-tabs .profile-workbench-tab {
    background: #111827;
    color: #fff;
}

.profile-tabs .profile-workbench-tab i {
    color: #fff;
}

.profile-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 1rem 1rem 1.4rem;
}

.profile-project-footer {
    max-width: 1180px;
    margin: 0 auto;
    min-height: 96px;
    padding: 1rem 1rem 1.85rem;
    display: grid;
    place-items: center;
    gap: 0.45rem;
    color: #98a2b3;
    font-size: 0.78rem;
    line-height: 1.5;
    text-align: center;
}

.profile-project-footer span {
    display: block;
    max-width: min(100%, 760px);
    overflow-wrap: anywhere;
}

@media (max-width: 640px) {
    .profile-project-footer {
        min-height: 112px;
        padding: 1.2rem 1rem 2rem;
        gap: 0.38rem;
    }
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-panel.recruit-shell,
.tab-panel.performance-shell {
    display: none;
}

.tab-panel.recruit-shell.active,
.tab-panel.performance-shell.active {
    display: grid;
}

.hero-panel,
.section-head,
.metric-grid article,
.article-card,
.course-card,
.bank-card,
.active-exam,
.simple-table,
.knowledge-tree,
.knowledge-list,
.file-card,
.profile-modal .modal-panel {
    border: 1px solid #e5edf6;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.hero-panel {
    min-height: 220px;
    display: grid;
    align-content: center;
    padding: 1.4rem;
}

.page-kicker {
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-panel h1,
.section-head h2 {
    margin: 0.25rem 0;
}

.hero-panel p {
    max-width: 700px;
    color: #667085;
    line-height: 1.8;
}

.profile-tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 0.9rem;
    margin-top: 0.9rem;
}

.profile-tool-card {
    min-height: 132px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.9rem;
    position: relative;
    padding: 1rem;
    border: 1px solid #dce8f6;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffffff 0%, #eef9ff 100%);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.profile-tool-card.is-disabled {
    cursor: default;
}

.profile-tool-card.cloud-card-tool {
    cursor: pointer;
    border-color: rgba(15, 118, 110, 0.28);
    background:
        radial-gradient(circle at 12% 10%, rgba(20, 184, 166, 0.18), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #ecfeff 52%, #f0fdf4 100%);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.profile-tool-card.cloud-card-tool:hover,
.profile-tool-card.cloud-card-tool:focus-visible {
    border-color: #0f766e;
    box-shadow: 0 18px 42px rgba(15, 118, 110, 0.14);
    outline: 0;
    transform: translateY(-2px);
}

.profile-tool-card.cloud-card-tool em {
    background: #dcfce7;
    color: #047857;
}

.profile-tool-card.cloud-card-tool em {
    font-size: 0;
}

.profile-tool-card.cloud-card-tool em::after {
    content: "已开放";
    font-size: 0.72rem;
}

.profile-tool-icon {
    width: 58px;
    height: 58px;
    position: relative;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #e0f2fe;
    color: #0284c7;
}

.profile-tool-icon .fa-cloud {
    font-size: 2rem;
    opacity: 0.92;
}

.profile-tool-icon .fa-address-card {
    position: absolute;
    right: 9px;
    bottom: 9px;
    font-size: 1.05rem;
    color: #0f766e;
    filter: drop-shadow(0 1px 0 #fff);
}

.profile-tool-icon.copy-tool {
    background: #fef3c7;
    color: #b45309;
}

.profile-tool-icon.copy-tool .fa-pen-nib {
    font-size: 1.85rem;
}

.profile-tool-icon.copy-tool .fa-message {
    position: absolute;
    right: 9px;
    bottom: 9px;
    font-size: 1rem;
    color: #7c3aed;
    filter: drop-shadow(0 1px 0 #fff);
}

.profile-tool-icon.image-tool {
    background: #fce7f3;
    color: #be185d;
}

.profile-tool-icon.image-tool .fa-image {
    font-size: 1.9rem;
}

.profile-tool-icon.image-tool .fa-wand-magic-sparkles {
    position: absolute;
    right: 8px;
    bottom: 8px;
    font-size: 0.95rem;
    color: #2563eb;
    filter: drop-shadow(0 1px 0 #fff);
}

.profile-tool-icon.video-tool {
    background: #ede9fe;
    color: #6d28d9;
}

.profile-tool-icon.video-tool .fa-video {
    font-size: 1.85rem;
}

.profile-tool-icon.video-tool .fa-play {
    position: absolute;
    right: 10px;
    bottom: 9px;
    font-size: 0.88rem;
    color: #ef4444;
    filter: drop-shadow(0 1px 0 #fff);
}

.profile-tool-main strong {
    display: block;
    font-size: 1.05rem;
    color: #0f172a;
}

.profile-tool-main span {
    display: block;
    margin-top: 0.28rem;
    color: #64748b;
    font-size: 0.88rem;
}

.profile-tool-card em {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    padding: 0.22rem 0.5rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 800;
}

.cloud-card-stage {
    margin-top: 1rem;
}

.cloud-card-page .profile-top {
    position: sticky;
    top: 0;
    z-index: 10;
}

.profile-card-back {
    margin-left: auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0 0.85rem;
    border: 1px solid #d8e1ec;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-weight: 900;
    text-decoration: none;
}

.cloud-card-page-shell {
    display: grid;
    gap: 1rem;
}

.cloud-card-page-hero {
    padding: 1rem 1.1rem;
    border: 1px solid #e5edf6;
    border-radius: 22px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 58%, #ecfdf5 100%);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.cloud-card-page-hero h1 {
    margin: 0.2rem 0 0.35rem;
    color: #0f172a;
}

.cloud-card-page-hero p {
    margin: 0;
    max-width: 720px;
    color: #64748b;
    line-height: 1.7;
}

.cloud-card-page-stage {
    display: grid;
    justify-items: center;
}

.cloud-card-widget {
    display: grid;
    gap: 0.85rem;
}

.cloud-business-card {
    position: relative;
    overflow: hidden;
    width: min(100%, 540px);
    aspect-ratio: 85.6 / 53.98;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 0.72rem 0.72rem;
    padding: clamp(0.95rem, 2.3vw, 1.2rem);
    border: 1px solid #d8e1ec;
    border-radius: 22px;
    background:
        linear-gradient(90deg, transparent 0 68%, rgba(15, 23, 42, 0.035) 68% 100%),
        radial-gradient(circle at 10% 10%, rgba(15, 118, 110, 0.10), transparent 32%),
        #fbfcf9;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.12);
    color: #0f172a;
}

.cloud-business-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 8px;
}

.cloud-business-card::after {
    content: "";
    position: absolute;
    right: -86px;
    bottom: -108px;
    width: 240px;
    height: 240px;
    border: 1px solid rgba(15, 118, 110, 0.16);
    border-radius: 50%;
}

.business-card-brand {
    position: relative;
    z-index: 1;
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.business-card-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #0f172a;
    color: #f8fafc;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.business-card-logo {
    width: 38px;
    height: 38px;
    display: block;
    object-fit: contain;
    border: 1px solid #d8e1ec;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.88);
    padding: 0.25rem;
}

.business-card-brand strong,
.business-card-brand span {
    display: block;
}

.business-card-brand strong {
    color: #0f172a;
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.business-card-brand span {
    margin-top: 0.1rem;
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.business-card-person {
    position: relative;
    z-index: 1;
    align-self: center;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.business-card-avatar {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 50%;
    background: #0f172a;
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
}

.business-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-card-name {
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: normal;
}

.business-card-name h2 {
    margin: 0;
    color: #0f172a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 3.2vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.02;
    overflow-wrap: anywhere;
    white-space: normal;
}

.business-card-name p {
    margin: 0.25rem 0 0;
    color: #334155;
    font-size: 0.96rem;
    font-weight: 800;
    overflow-wrap: anywhere;
    white-space: normal;
}

.business-card-name span {
    display: block;
    margin-top: 0.35rem;
    color: #0f766e;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
    white-space: normal;
}

.business-card-code {
    position: relative;
    z-index: 1;
    align-self: end;
    display: grid;
    justify-items: start;
    gap: 0.2rem;
}

.business-card-code span {
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.business-card-code strong {
    color: #0f172a;
    font-size: 1.08rem;
    letter-spacing: 0.04em;
}

.business-card-qr {
    position: relative;
    z-index: 1;
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    justify-self: end;
    width: 82px;
    padding: 0.36rem;
    border: 1px solid #e5edf6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    text-align: center;
}

.business-card-qr img {
    width: 100%;
    display: block;
}

.business-card-qr span {
    display: none;
    margin-top: 0.2rem;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 900;
}

.business-card-contact {
    position: relative;
    z-index: 1;
    grid-column: 2;
    grid-row: 3;
    display: grid;
    align-content: end;
    gap: 0.32rem;
    padding-left: 0;
    border-left: 0;
}

.business-card-contact-row {
    min-width: 0;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    gap: 0.55rem;
}

.business-card-contact-row i {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eff6ff;
    color: #0f766e;
    font-size: 0.72rem;
}

.business-card-contact-row span {
    min-width: 0;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cloud-card-toolbar {
    display: none;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.55rem;
    padding: 0.72rem;
    border: 1px solid #e5edf6;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.cloud-card-toolbar .cloud-card-qr,
.cloud-card-toolbar .cloud-card-note {
    display: none;
}

.cloud-card-toolbar .cloud-card-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.55rem;
}

.cloud-card-toolbar .cloud-card-actions > :not(:first-child) {
    display: none;
}

.cloud-card-toolbar .action-btn {
    width: auto;
    padding: 0 0.9rem;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    border-radius: 999px;
    text-decoration: none;
}

.cloud-card-toolbar .action-btn span {
    display: none;
}

.cloud-card-toolbar [data-cloud-card-action="download"] i {
    display: none;
}

.cloud-card-toolbar [data-cloud-card-action="download"]::before {
    content: "\f019";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.cloud-card-toolbar [data-cloud-card-action="download"]::after {
    content: "下载";
}

.cloud-card-preview {
    border: 1px solid #dce8f6;
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.cloud-card-preview {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    padding: 1.35rem;
    display: grid;
    align-content: space-between;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(15, 118, 110, 0.86)),
        #0f172a;
    isolation: isolate;
}

.cloud-card-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.cloud-card-bg span {
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
    opacity: 0.72;
}

.cloud-card-bg span:nth-child(1) {
    width: 260px;
    height: 260px;
    right: -82px;
    top: -90px;
    background: rgba(45, 212, 191, 0.45);
}

.cloud-card-bg span:nth-child(2) {
    width: 180px;
    height: 180px;
    left: -70px;
    bottom: -62px;
    background: rgba(37, 99, 235, 0.55);
}

.cloud-card-bg span:nth-child(3) {
    width: 120px;
    height: 120px;
    right: 18%;
    bottom: 16%;
    background: rgba(250, 204, 21, 0.28);
}

.cloud-card-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.cloud-card-avatar {
    width: 92px;
    height: 92px;
    flex: 0 0 92px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.82);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    box-shadow: 0 18px 36px rgba(2, 6, 23, 0.22);
}

.cloud-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cloud-card-profile .page-kicker {
    color: rgba(255, 255, 255, 0.68);
    letter-spacing: 0.12em;
}

.cloud-card-profile h2 {
    margin: 0.2rem 0 0.35rem;
    color: #fff;
    font-size: clamp(1.75rem, 4vw, 3rem);
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.cloud-card-profile p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
}

.cloud-card-contact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 2rem;
}

.cloud-card-contact-row {
    min-width: 0;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 0.12rem 0.55rem;
    align-items: center;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}

.cloud-card-contact-row i {
    grid-row: span 2;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.16);
    color: #99f6e4;
}

.cloud-card-contact-row span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.cloud-card-contact-row strong {
    min-width: 0;
    color: #fff;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.cloud-card-qr {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    border: 1px solid #e5edf6;
    border-radius: 20px;
    background: linear-gradient(180deg, #f8fbff, #ecfdf5);
    text-align: center;
}

.cloud-card-qr img {
    width: 112px;
    height: 112px;
    display: block;
}

.cloud-card-qr strong {
    color: #0f172a;
    font-size: 1rem;
}

.cloud-card-qr span,
.cloud-card-note {
    margin: 0;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.55;
}

.cloud-card-actions {
    display: grid;
    gap: 0.55rem;
}

.cloud-card-actions .action-btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 12px;
    text-decoration: none;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 0.85rem;
}

.metric-grid article {
    padding: 1rem;
}

.metric-grid span {
    color: #667085;
}

.metric-grid strong {
    display: block;
    margin-top: 0.3rem;
    font-size: 1.45rem;
}

.performance-shell {
    display: grid;
    gap: 0.9rem;
}

.performance-hero,
.performance-placeholder {
    border: 1px solid #e5edf6;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.performance-hero {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1.4rem;
}

.performance-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(37, 99, 235, 0.14), transparent 28%),
        radial-gradient(circle at 86% 24%, rgba(15, 118, 110, 0.13), transparent 30%);
    pointer-events: none;
}

.performance-hero > * {
    position: relative;
}

.performance-hero h1,
.performance-placeholder h2 {
    margin: 0.28rem 0 0.55rem;
}

.performance-hero p,
.performance-placeholder p {
    max-width: 760px;
    margin: 0;
    color: #667085;
    line-height: 1.8;
}

.performance-status {
    align-self: start;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    padding: 0.42rem 0.85rem;
    font-weight: 900;
    white-space: nowrap;
}

.performance-placeholder {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 1.2rem;
}

.performance-placeholder-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    background: #e8f1ff;
    color: #2563eb;
    font-size: 1.8rem;
}

.muted-metrics article {
    background: linear-gradient(180deg, #fff, #f8fafc);
}

.muted-metrics strong {
    color: #98a2b3;
}

.profile-center {
    display: grid;
    gap: 0.75rem;
}

.profile-center-hero {
    position: relative;
    overflow: hidden;
    min-height: 160px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 50%, #0d9488 100%);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
}

.profile-center-identity {
    position: relative;
    display: flex;
    gap: 1.25rem;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
}

.profile-center-avatar,
.profile-center-qr,
.profile-center-main,
.profile-center-actions,
.profile-center-panel {
    position: relative;
}

.profile-center-avatar {
    width: 96px;
    height: 96px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    background: linear-gradient(135deg, #334155, #1e293b);
    color: #fff;
    box-shadow: 0 4px 16px rgba(2, 6, 23, 0.2);
    cursor: pointer;
    isolation: isolate;
}

.profile-center-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-center-avatar > span:not(.profile-avatar-edit-hint) {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.profile-center-avatar input {
    display: none;
}

.profile-avatar-edit-hint {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-content: center;
    gap: 0.25rem;
    background: rgba(15, 23, 42, 0.68);
    color: #fff;
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.profile-avatar-edit-hint i {
    font-size: 1.1rem;
}

.profile-avatar-edit-hint small {
    font-size: 0.68rem;
    font-weight: 700;
}

.profile-center-avatar:hover .profile-avatar-edit-hint,
.profile-center-avatar:focus-within .profile-avatar-edit-hint,
.profile-center-avatar.is-uploading .profile-avatar-edit-hint {
    opacity: 1;
    transform: scale(1);
}

.profile-center-avatar.is-uploading {
    pointer-events: none;
}

.profile-center-avatar.is-uploading .profile-avatar-edit-hint i {
    animation: profile-avatar-spin 0.8s linear infinite;
}

.profile-center-avatar.is-uploading .profile-avatar-edit-hint small {
    font-size: 0;
}

.profile-center-avatar.is-uploading .profile-avatar-edit-hint small::after {
    content: "上传中";
    font-size: 0.68rem;
}

@keyframes profile-avatar-spin {
    to {
        transform: rotate(360deg);
    }
}

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

.profile-center-main .page-kicker {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
}

.profile-center-main h1 {
    margin: 0.15rem 0 0.25rem;
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    overflow-wrap: anywhere;
}

.profile-center-main p {
    margin: 0 0 0.65rem;
    max-width: 650px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    overflow-wrap: anywhere;
}

.profile-center-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.profile-center-tags span {
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    font-weight: 600;
}

.profile-center-tags i {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.65rem;
}

.profile-center-tags .is-normal {
    color: #86efac;
}

.profile-center-tags .is-warning {
    color: #fde68a;
}

.profile-center-tags .is-disabled {
    color: #fca5a5;
}

.profile-center-tags .is-level {
    color: var(--level-color, #93c5fd);
}

.profile-center-tags .is-level i {
    color: var(--level-color, #93c5fd);
}

.profile-center-actions {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 0 0 auto;
}

.profile-center-actions .action-btn {
    min-height: 38px;
    padding: 0 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #334155;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.profile-center-actions .action-btn:hover {
    background: #fff;
}

.profile-center-actions .action-btn.danger {
    background: rgba(254, 226, 226, 0.9);
    color: #b91c1c;
}

.profile-center-actions .action-btn.danger:hover {
    background: #fee2e2;
}

.profile-center-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.profile-info-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.15rem;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.2s ease;
}

.profile-info-card:hover {
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.profile-info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #0f766e);
}

.profile-info-card header {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
}

.profile-info-card header i {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.85rem;
}

.profile-info-card header strong {
    color: #1e293b;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.profile-info-list {
    display: grid;
    gap: 0.6rem;
    padding-top: 0.75rem;
}

.profile-info-row {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 0.6rem;
    align-items: start;
}

.profile-info-row span {
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 500;
}

.profile-info-row strong {
    min-width: 0;
    color: #1e293b;
    line-height: 1.45;
    overflow-wrap: anywhere;
    font-size: 0.88rem;
    font-weight: 500;
}

.profile-qr-preview {
    display: grid;
    place-items: center;
    gap: 0.75rem;
    padding: 1rem;
}

.profile-qr-preview strong {
    color: #1e293b;
    font-size: 1.1rem;
    text-align: center;
    overflow-wrap: anywhere;
}

.profile-qr-preview img {
    width: min(76vw, 320px);
    height: min(76vw, 320px);
    display: block;
}

.profile-edit-form {
    display: grid;
    gap: 1rem;
}

.profile-edit-form fieldset {
    min-width: 0;
    margin: 0;
    padding: 0 0 1rem;
    border: 0;
    border-bottom: 1px solid #edf2f7;
}

.profile-edit-form legend {
    width: 100%;
    margin-bottom: 0.75rem;
    color: #1e293b;
    font-size: 0.9rem;
    font-weight: 800;
}

.profile-edit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem 1rem;
}

.profile-edit-form label {
    display: grid;
    gap: 0.4rem;
}

.profile-edit-form label span {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 600;
}

.profile-edit-choice {
    display: grid;
    gap: 0.55rem;
}

.profile-edit-choice > span {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 600;
}

.profile-gender-row {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-gender-row label {
    display: inline-flex;
    align-items: center;
    grid-template-columns: none;
    gap: 0.45rem;
    color: #334155;
    cursor: pointer;
}

.profile-gender-row input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.profile-gender-row label span {
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    border: 2px solid #cdd3dc;
    border-radius: 50%;
}

.profile-gender-row input:checked + span {
    border-color: #2f9bea;
    background: #2f9bea;
}

.profile-gender-row input:checked + span::before {
    content: "";
    width: 9px;
    height: 5px;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(-45deg);
}

.profile-picker-trigger {
    width: 100%;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    padding: 0 0.75rem;
    background: #f8fafc;
    color: #94a3b8;
    cursor: pointer;
}

.profile-picker-trigger.has-value {
    color: #1e293b;
}

.profile-picker-trigger strong {
    overflow: hidden;
    font-size: 0.85rem;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-picker-trigger i {
    color: #94a3b8;
    font-size: 0.75rem;
}

.profile-mobile-picker {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
    align-items: flex-end;
}

.profile-mobile-picker.active {
    display: flex;
}

.profile-picker-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.42);
}

.profile-picker-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    background: #fff;
    box-shadow: 0 -22px 42px rgba(15, 23, 42, 0.18);
}

.profile-picker-panel header {
    height: 52px;
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) 90px;
    align-items: center;
    border-bottom: 1px solid #edf2f7;
    padding: 0 0.5rem;
}

.profile-picker-panel header strong {
    text-align: center;
}

.profile-picker-panel header button {
    height: 38px;
    border: 0;
    background: transparent;
    color: #475467;
    font-weight: 800;
}

.profile-picker-panel header button:last-child {
    color: #2563eb;
}

.profile-picker-wheel {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    padding: 1rem 0.8rem calc(1rem + env(safe-area-inset-bottom));
}

.profile-picker-wheel.single {
    grid-template-columns: 1fr;
}

.profile-picker-wheel::before {
    content: "";
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    top: calc(50% - 22px);
    height: 44px;
    border-radius: 12px;
    background: #f1f5f9;
    pointer-events: none;
}

.profile-picker-wheel select {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 168px;
    border: 0;
    outline: none;
    background: transparent;
    color: #111827;
    font-size: 1.05rem;
    font-weight: 800;
    text-align: center;
    text-align-last: center;
}

.profile-edit-form input,
.profile-edit-form select {
    width: 100%;
    height: 42px;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    padding: 0 0.75rem;
    background: #f8fafc;
    color: #1e293b;
    font: inherit;
    outline: none;
}

.profile-edit-form input:focus,
.profile-edit-form select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.profile-edit-actions {
    display: flex;
    justify-content: flex-end;
}

.profile-edit-actions .action-btn {
    min-width: 112px;
}

.profile-password-form {
    grid-template-columns: 1fr;
}

.profile-password-form label {
    width: min(100%, 480px);
}

.profile-icon-action {
    width: 38px;
    min-width: 38px;
    height: 38px;
    padding: 0;
}

.profile-qr-fab {
    position: fixed;
    right: max(1.5rem, calc((100vw - 1180px) / 2 + 1rem));
    bottom: calc(2rem + 30px);
    z-index: 50;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-qr-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.45);
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    margin-bottom: 0.85rem;
}

.head-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.search-box {
    min-width: 260px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0 0.85rem;
    border: 1px solid #d8e1ec;
    border-radius: 10px;
    background: #f8fbff;
}

.search-box input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
}

.profile-select {
    height: 40px;
    min-width: 168px;
    border: 1px solid #d8e1ec;
    border-radius: 10px;
    background: #f8fbff;
    color: #1f2937;
    padding: 0 0.75rem;
    font: inherit;
    font-weight: 700;
}

.article-list,
.bank-grid,
.file-list {
    display: grid;
    gap: 0.85rem;
}

.news-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(260px, 0.9fr);
    gap: 0.85rem;
    min-height: 330px;
    margin-bottom: 0.85rem;
}

.news-hero-main,
.news-hero-mini,
.article-cover.news-cover {
    border: 0;
    cursor: pointer;
    font: inherit;
    text-decoration: none;
}

.news-hero-main,
.news-hero-mini {
    position: relative;
    overflow: hidden;
    background-color: #0f172a;
    background-position: center;
    background-size: cover;
    color: #fff;
    text-align: left;
}

.news-hero-main {
    display: block;
    min-height: 330px;
    border-radius: 16px;
    padding: 0;
    transition: background-image 0.35s ease;
}

.news-hero-main.single {
    grid-column: 1 / -1;
}

.news-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.02) 30%, rgba(15, 23, 42, 0.76));
}

.news-hero-content {
    position: absolute;
    left: 1.35rem;
    right: 1.35rem;
    bottom: 2.9rem;
    display: grid;
    gap: 0.55rem;
}

.news-hero-kicker,
.news-pin {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
}

.news-hero-kicker {
    padding: 0.28rem 0.65rem;
}

.news-hero-content strong {
    max-width: 780px;
    font-size: 2.35rem;
    line-height: 1.25;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.32);
}

.news-carousel-dots {
    position: absolute;
    left: 1.35rem;
    right: 1.35rem;
    bottom: 1.15rem;
    display: flex;
    gap: 0.45rem;
    align-items: center;
    z-index: 2;
}

.news-carousel-dots button {
    width: 28px;
    height: 5px;
    border: 0;
    border-radius: 999px;
    padding: 0;
    background: rgba(255, 255, 255, 0.46);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.news-carousel-dots button.active {
    width: 42px;
    background: #fff;
}

.news-hero-side {
    display: grid;
    gap: 0.85rem;
}

.news-hero-mini {
    min-height: 100px;
    border-radius: 14px;
    padding: 0.9rem;
    display: grid;
    align-content: end;
    gap: 0.35rem;
}

.news-hero-mini::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.16), rgba(15, 23, 42, 0.72));
}

.news-hero-mini span,
.news-hero-mini strong {
    position: relative;
}

.news-hero-mini span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    font-weight: 800;
}

.news-hero-mini strong {
    font-size: 0.95rem;
    line-height: 1.35;
}

.news-main {
    display: grid;
    gap: 0.85rem;
}

.section-head.news-head {
    margin-bottom: 0;
}

.article-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 0.85rem;
}

.article-card.news-card {
    grid-template-columns: 220px minmax(0, 1fr) auto;
    align-items: stretch;
    padding: 0.8rem;
    border-radius: 12px;
}

.article-cover,
.course-cover {
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #eaf3ff;
    display: grid;
    place-items: center;
    color: #2563eb;
    text-decoration: none;
}

.article-cover.news-cover {
    width: 100%;
    min-height: 138px;
}

.article-cover img,
.course-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card h3,
.course-card h3,
.bank-card h3 {
    margin: 0;
    font-size: 1.02rem;
}

.article-card p,
.course-card p,
.bank-card p {
    margin: 0.35rem 0 0;
    color: #667085;
    line-height: 1.6;
}

.news-card-body {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 0.42rem;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    color: #667085;
    font-size: 0.82rem;
}

.news-pin {
    padding: 0.18rem 0.52rem;
}

.news-card h3 {
    font-size: 1.18rem;
    line-height: 1.35;
}

.news-title-link {
    color: #111827;
    text-decoration: none;
}

.news-title-link:hover {
    color: #2563eb;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.15rem;
}

.news-tags span {
    border-radius: 999px;
    background: #e8f2f1;
    color: #0f766e;
    padding: 0.22rem 0.6rem;
    font-size: 0.78rem;
    font-weight: 800;
}

.action-col,
.card-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.action-btn,
.upload-btn,
.exam-shortcuts button {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 9px;
    padding: 0 0.78rem;
    background: #eef4ff;
    color: #3157a5;
    font-weight: 800;
    text-decoration: none;
}

.action-btn.primary,
.upload-btn {
    background: #2563eb;
    color: #fff;
}

.action-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.action-btn.icon-only,
.action-btn:not(:has(span)) {
    width: 38px;
    padding: 0;
}

.action-btn.danger {
    background: #ffe8e8;
    color: #b42318;
}

.action-btn.icon-only {
    width: 38px;
    padding: 0;
    border-radius: 10px;
}

.action-btn.icon-only i {
    font-size: 1rem;
}

.article-detail-shell {
    max-width: 960px;
}

.article-detail-card {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid #e5edf6;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}

.article-detail-cover {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.article-detail-body {
    padding: 1.4rem;
}

.article-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    color: #667085;
    font-size: 0.88rem;
}

.article-detail-body h1 {
    margin: 0 0 0.7rem;
    color: #111827;
    font-size: 2rem;
    line-height: 1.25;
}

.article-detail-summary {
    margin: 0 0 1.2rem;
    color: #475467;
    line-height: 1.8;
}

.article-detail-content {
    margin-top: 1.15rem;
    color: #1f2937;
    line-height: 1.9;
    font-size: 1rem;
}

.article-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.article-detail-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.article-sharer-shell {
    margin-top: 0.9rem;
}

.article-contact-shell {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.9rem;
}

.article-contact-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.8rem;
    align-items: center;
    max-width: min(420px, 100%);
    border: 1px solid #e5edf6;
    border-radius: 18px;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 60%, #eef4ff 100%);
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
    padding: 0.8rem 0.9rem;
}

.article-sharer-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 1rem;
    align-items: center;
    border: 1px solid #e5edf6;
    border-radius: 18px;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 55%, #eefbf7 100%);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
    padding: 0.9rem 1rem;
}

.article-sharer-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.article-sharer-avatar {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    color: #fff;
    font-size: 1.35rem;
    font-weight: 900;
}

.article-sharer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-sharer-copy {
    min-width: 0;
}

.article-sharer-copy h3 {
    margin: 0 0 0.25rem;
    color: #101828;
    font-size: 1.1rem;
}

.article-sharer-copy p {
    margin: 0;
    color: #667085;
    line-height: 1.5;
    font-size: 0.9rem;
}

.article-sharer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.55rem;
}

.article-sharer-tags span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 28px;
    padding: 0 0.62rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #dbe5f0;
    color: #3157a5;
    font-size: 0.78rem;
    font-weight: 800;
}

.article-sharer-qr {
    justify-self: end;
    width: 168px;
    max-width: 100%;
    padding: 0.55rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e5edf6;
    cursor: pointer;
}

.article-sharer-qr img {
    width: 100%;
    display: block;
}

.share-dialog {
    display: grid;
    gap: 1rem;
}

.share-dialog-copy {
    display: grid;
    gap: 0.5rem;
}

.share-dialog-copy label {
    color: #667085;
    font-size: 0.84rem;
    font-weight: 800;
}

.share-dialog-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.65rem;
    align-items: center;
}

.share-dialog-row input {
    width: 100%;
    height: 44px;
    padding: 0 0.9rem;
    border: 1px solid #d8e1ec;
    border-radius: 12px;
    background: #f8fbff;
    color: #1f2937;
    font: inherit;
}

.share-dialog-row .action-btn {
    min-width: 108px;
}

.share-dialog-qr {
    justify-self: center;
    width: min(100%, 260px);
    padding: 0.85rem;
    border-radius: 16px;
    border: 1px solid #e5edf6;
    background: #fff;
}

.share-dialog-qr img {
    width: 100%;
    display: block;
}

.share-dialog-qr.large {
    width: min(100%, 320px);
}

.share-dialog-tip {
    margin: 0;
    color: #667085;
    text-align: center;
    line-height: 1.7;
}

.course-grid {
    display: grid;
    gap: 0.75rem;
}

.course-card {
    border: 1px solid #e5edf6;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.video-card {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 0;
    min-height: 150px;
}

.video-cover {
    position: relative;
    height: 100%;
    min-height: 146px;
    border-radius: 0;
    background: #111827;
    color: #fff;
}

.video-cover i {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
}

.video-duration {
    position: absolute;
    right: 0.55rem;
    bottom: 0.55rem;
    padding: 0.18rem 0.45rem;
    border-radius: 6px;
    background: rgba(17, 24, 39, 0.86);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
}

.course-body {
    min-width: 0;
    display: grid;
    align-content: center;
    padding: 0.95rem 1rem;
}

.course-body h3 a {
    color: #111827;
    text-decoration: none;
}

.course-meta,
.file-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.9rem;
    margin-top: 0.6rem;
    color: #667085;
    font-size: 0.85rem;
}

.active-exam {
    padding: 0;
    margin-bottom: 0.85rem;
    overflow: hidden;
}

.exam-shortcuts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
    margin-bottom: 0.9rem;
}

.exam-showcase-head {
    min-height: 70px;
    border-bottom: 1px solid #edf2f7;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.exam-showcase-head h3 {
    margin: 0.2rem 0 0;
    color: #101828;
    font-size: 1.28rem;
}

.exam-showcase-head > span {
    border-radius: 999px;
    background: #ecfdf3;
    color: #087443;
    padding: 0.34rem 0.7rem;
    font-size: 0.82rem;
    font-weight: 900;
}

.exam-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    padding: 1rem;
}

.exam-card {
    position: relative;
    min-height: 236px;
    overflow: hidden;
    border: 1px solid #e5edf6;
    border-radius: 14px;
    background: #fff;
    padding: 1rem;
    display: grid;
    align-content: space-between;
    gap: 0.75rem;
}

.exam-card.active {
    border-color: rgba(15, 118, 110, 0.28);
    background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 58%, #eff6ff 100%);
    box-shadow: 0 18px 42px rgba(15, 118, 110, 0.13);
}

.exam-card.active::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #0f766e, #2563eb);
}

.exam-card.upcoming {
    background: #fbfdff;
}

.exam-card.ended,
.exam-card.closed {
    background: #fbfcfe;
    opacity: 0.82;
}

.exam-card-top,
.exam-card-footer,
.exam-card-meta {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.exam-card-top,
.exam-card-footer {
    justify-content: space-between;
}

.exam-state-badge,
.exam-score {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.28rem 0.62rem;
    font-size: 0.76rem;
    font-weight: 900;
}

.exam-state-badge {
    background: #d1fae5;
    color: #047857;
}

.exam-card.upcoming .exam-state-badge {
    background: #e0f2fe;
    color: #0369a1;
}

.exam-card.ended .exam-state-badge,
.exam-card.closed .exam-state-badge {
    background: #f1f5f9;
    color: #64748b;
}

.exam-score {
    background: #eef4ff;
    color: #3157a5;
}

.exam-card h3 {
    margin: 0;
    color: #101828;
    font-size: 1.18rem;
    line-height: 1.35;
}

.exam-card p {
    margin: 0;
    color: #667085;
    line-height: 1.65;
}

.exam-card-meta {
    flex-wrap: wrap;
    color: #667085;
    font-size: 0.82rem;
}

.exam-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.exam-card-footer > span {
    min-width: 0;
    color: #475467;
    font-size: 0.82rem;
    font-weight: 800;
}

.exam-card-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex: 0 0 auto;
}

.exam-card-actions .action-btn[disabled] {
    cursor: not-allowed;
    background: #f1f5f9;
    color: #94a3b8;
}

.exam-shortcut-card {
    position: relative;
    min-height: 148px;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e5edf6;
    border-radius: 18px;
    background:
        radial-gradient(circle at 88% 18%, rgba(37, 99, 235, 0.12), transparent 30%),
        linear-gradient(180deg, #fff, #f8fafc);
    padding: 1.05rem;
    color: #101828;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.exam-shortcut-card::after {
    content: "";
    position: absolute;
    right: -28px;
    bottom: -34px;
    width: 104px;
    height: 104px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.08);
    pointer-events: none;
}

.exam-shortcut-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    border-color: #bfdbfe;
}

.exam-shortcut-card i {
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    border-radius: 15px;
    background: #eef4ff;
    color: #2563eb;
    font-size: 1.22rem;
}

.exam-shortcut-card strong,
.exam-shortcut-card span {
    display: block;
}

.exam-shortcut-card strong {
    margin-top: 0.45rem;
    color: #101828;
    font-size: 1.05rem;
}

.exam-shortcut-card span {
    color: #667085;
    font-size: 0.82rem;
    line-height: 1.45;
    text-align: left;
}

.exam-shortcut-card.favorite i {
    background: #fef3c7;
    color: #b45309;
}

.exam-shortcut-card.wrong i {
    background: #fee2e2;
    color: #dc2626;
}

.exam-shortcut-card.random i {
    background: #dbeafe;
    color: #1d4ed8;
}

.exam-shortcut-card.record i {
    background: #ede9fe;
    color: #6d28d9;
}

.compact-head {
    margin: 0.9rem 0 0.75rem;
}

.bank-pagination {
    margin-top: 0.85rem;
}

.bank-card {
    padding: 1rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: center;
}

.exam-bank-card {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    border: 1px solid #e5edf6;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.bank-icon {
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    background: #ecfdf3;
    color: #0f766e;
    font-size: 1.15rem;
}

.simple-table {
    overflow: hidden;
}

.table-row {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) 120px 160px;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #edf2f7;
}

.table-row.header {
    color: #667085;
    background: #fbfcfe;
    font-weight: 900;
}

.knowledge-layout {
    display: block;
}

.knowledge-list {
    min-height: 420px;
    padding: 0.85rem;
}

.knowledge-head {
    align-items: flex-start;
}

.knowledge-head p {
    margin: 0.15rem 0 0;
    color: #667085;
}

.knowledge-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
}

.knowledge-list-head {
    display: none;
}

.knowledge-row {
    min-height: 76px;
    padding: 0.85rem 0.35rem;
    border-bottom: 1px solid #edf2f7;
}

.knowledge-row:hover {
    background: #f8fbff;
}

.knowledge-row.folder-row,
.knowledge-up-row {
    cursor: pointer;
}

.knowledge-size,
.knowledge-date {
    display: none;
    color: #667085;
    font-size: 0.88rem;
}

.knowledge-actions {
    display: flex;
    justify-content: flex-end;
    min-width: 36px;
}

.knowledge-more-btn {
    width: 34px;
    height: 34px;
    padding: 0;
    display: inline-grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #98a2b3;
    cursor: pointer;
    font-size: 1rem;
}

.knowledge-more-btn:hover {
    background: #f2f4f7;
    color: #475467;
}

.knowledge-file-icon {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    background: #eaf3ff;
    color: #2563eb;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
}

.knowledge-file-icon i {
    color: inherit;
    font-size: 1.65rem;
    line-height: 1;
}

.knowledge-file-icon.folder {
    background: #fff7e6;
    color: #d97706;
}

.knowledge-file-icon.pdf {
    background: #ffe8e8;
    color: #d92d20;
}

.knowledge-file-icon.doc {
    background: #eaf3ff;
    color: #2563eb;
}

.knowledge-file-icon.ppt {
    background: #fff1e8;
    color: #e95f2b;
}

.knowledge-file-icon.sheet {
    background: #ecfdf3;
    color: #0f766e;
}

.tree-item,
.knowledge-item,
.file-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.75rem;
    border-bottom: 1px solid #edf2f7;
}

.tree-item {
    cursor: pointer;
}

.tree-item.active {
    border-radius: 10px;
    background: #eaf3ff;
    color: #2563eb;
    font-weight: 900;
}

.item-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.item-main i {
    color: #2563eb;
}

.item-main strong,
.item-main .knowledge-name-link,
.item-main span {
    display: block;
}

.item-main .knowledge-name-link {
    overflow: hidden;
    color: #172033;
    font-weight: 800;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-main .knowledge-name-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

.item-main span {
    color: #667085;
    font-size: 0.86rem;
}

.item-main .knowledge-file-icon {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    display: inline-grid;
    place-items: center;
    color: #2563eb;
    font-size: 1rem;
}

.item-main .knowledge-file-icon i {
    color: inherit;
    font-size: 2.1rem;
    line-height: 1;
}

.item-main .knowledge-file-icon.folder {
    color: #43a7f6;
}

.item-main .knowledge-file-icon.pdf {
    color: #f97316;
}

.item-main .knowledge-file-icon.doc {
    color: #2563eb;
}

.item-main .knowledge-file-icon.ppt {
    color: #e95f2b;
}

.item-main .knowledge-file-icon.sheet {
    color: #0f766e;
}

.file-card {
    border-radius: 14px;
    border: 1px solid #e5edf6;
    background: #fff;
}

.upload-btn input {
    display: none;
}

.profile-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.profile-modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.modal-panel {
    position: relative;
    z-index: 1;
    width: min(860px, 100%);
    max-height: calc(100vh - 2rem);
    overflow: auto;
}

.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #edf2f7;
}

.modal-head h3 {
    margin: 0;
}

.modal-body {
    padding: 1rem;
    line-height: 1.8;
}

.modal-body img {
    max-width: 100%;
    border-radius: 12px;
}

.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #475467;
}

.empty-state,
.loading-state {
    border: 1px dashed #d8e1ec;
    border-radius: 14px;
    background: #fff;
    padding: 2rem;
    text-align: center;
    color: #667085;
}

.news-hero-placeholder {
    min-height: 330px;
    display: grid;
    place-items: center;
}

.profile-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.85rem;
    color: #475467;
    font-size: 0.92rem;
}

.profile-pagination button {
    border: 1px solid #d8e1ec;
    border-radius: 10px;
    background: #fff;
    color: #1f2937;
    padding: 0.55rem 0.9rem;
    cursor: pointer;
}

.profile-pagination button:disabled {
    cursor: not-allowed;
    color: #98a2b3;
    background: #f8fafc;
}

.pagination-pages {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.profile-pagination .page-number {
    min-width: 36px;
    padding: 0.55rem 0.65rem;
}

.profile-pagination .page-number.active {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
}

.pagination-ellipsis,
.pagination-total {
    color: #667085;
    font-weight: 700;
}

.exam-record-list {
    display: grid;
    gap: 0.75rem;
}

.exam-record-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    border: 1px solid #e5edf6;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    padding: 0.9rem;
}

.exam-record-main {
    min-width: 0;
}

.exam-record-main h4 {
    margin: 0.35rem 0 0.25rem;
    color: #101828;
    font-size: 1rem;
}

.exam-record-main p {
    margin: 0;
    color: #667085;
    line-height: 1.55;
}

.exam-record-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.8rem;
    margin-top: 0.65rem;
    color: #667085;
    font-size: 0.82rem;
}

.exam-record-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.exam-record-status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 900;
}

.exam-record-status.passed {
    background: #dcfce7;
    color: #15803d;
}

.exam-record-status.failed {
    background: #fee2e2;
    color: #b42318;
}

.exam-record-status.pending {
    background: #fef3c7;
    color: #a16207;
}

.exam-record-status.neutral {
    background: #e0f2fe;
    color: #0369a1;
}

.exam-record-score {
    min-width: 112px;
    border-radius: 14px;
    background: #eef4ff;
    padding: 0.75rem 0.9rem;
    text-align: center;
    color: #3157a5;
}

.exam-record-score strong {
    display: block;
    font-size: 1.35rem;
    line-height: 1.1;
}

.exam-record-score small {
    font-size: 0.82rem;
}

.exam-record-score span {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.78rem;
    font-weight: 800;
}

.exam-record-pagination {
    justify-content: center;
}

video,
iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 12px;
    background: #111827;
}

@media (max-width: 900px) {
    .exam-shortcuts {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .exam-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
    }

    .exam-card {
        min-height: auto;
        padding: 0.75rem;
    }

    .exam-shortcut-card {
        min-height: auto;
        padding: 0.6rem 0.4rem;
        border-radius: 12px;
    }

    .exam-shortcut-card i {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        border-radius: 10px;
    }

    .exam-shortcut-card strong {
        margin-top: 0.35rem;
        font-size: 0.8rem;
    }

    .exam-shortcut-card::after {
        display: none;
    }

    .article-card,
    .bank-card,
    .exam-bank-card,
    .knowledge-layout,
    .video-card {
        grid-template-columns: 1fr;
    }

    .video-cover {
        height: auto;
        border-radius: 0;
    }

    .news-hero {
        grid-template-columns: 1fr;
    }

    .news-hero-side {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .article-sharer-card {
        grid-template-columns: minmax(0, 1fr) 92px;
        gap: 0.65rem;
        padding: 0.75rem;
        border-radius: 14px;
    }

    .article-contact-shell {
        justify-content: stretch;
    }

    .article-contact-card {
        width: 100%;
        max-width: none;
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 0.75rem;
        border-radius: 14px;
    }

    .article-sharer-main {
        align-items: center;
        gap: 0.65rem;
    }

    .article-sharer-avatar {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        font-size: 1rem;
    }

    .article-sharer-copy h3 {
        font-size: 0.95rem;
    }

    .article-sharer-copy p {
        font-size: 0.78rem;
    }

    .article-sharer-tags {
        gap: 0.3rem;
        margin-top: 0.35rem;
    }

    .article-sharer-tags span {
        min-height: 24px;
        padding: 0 0.45rem;
        font-size: 0.68rem;
    }

    .article-sharer-qr {
        justify-self: end;
        width: 92px;
        padding: 0.35rem;
        border-radius: 12px;
    }

    .section-head {
        align-items: stretch;
        flex-direction: column;
    }

    .search-box {
        min-width: 0;
    }

    .table-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .knowledge-list-head {
        display: none;
    }

    .knowledge-actions {
        justify-content: flex-end;
    }

    .knowledge-row .item-main strong,
    .knowledge-row .item-main .knowledge-name-link {
        max-width: 24ch;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 560px) {
    .profile-edit-grid {
        grid-template-columns: 1fr;
    }

    .profile-top {
        position: sticky;
        overflow: visible;
    }

    body.profile-menu-open .profile-top {
        z-index: 60;
    }

    .profile-menu-btn {
        display: inline-grid;
        place-items: center;
    }

    .profile-menu-backdrop {
        position: fixed;
        inset: 0;
        z-index: 34;
        background: rgba(15, 23, 42, 0.28);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    body.profile-menu-open .profile-menu-backdrop {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }

    .profile-tabs {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 45;
        width: min(280px, 82vw);
        height: 100vh;
        box-sizing: border-box;
        margin: 0;
        padding: 5.2rem 0.9rem 1rem;
        display: grid;
        align-content: start;
        gap: 0.5rem;
        overflow-y: auto;
        background: #fff;
        border-right: 1px solid #e5edf6;
        box-shadow: 18px 0 50px rgba(15, 23, 42, 0.18);
        transform: translateX(-105%);
        transition: transform 0.22s ease;
    }

    body.profile-menu-open .profile-tabs {
        transform: translateX(0);
    }

    .profile-tabs button,
    .profile-tabs a {
        width: 100%;
        height: 44px;
        justify-content: flex-start;
        border-radius: 12px;
        padding: 0 0.9rem;
    }

    .profile-tabs .profile-nav-qr,
    .profile-tabs .profile-center-tab {
        margin-left: 0;
    }

    .profile-tabs::before {
        content: "目录";
        position: absolute;
        top: 1.2rem;
        left: 1rem;
        color: #111827;
        font-size: 1.1rem;
        font-weight: 900;
    }

    body.profile-menu-open {
        overflow: hidden;
    }

    .exam-shortcuts {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.35rem;
    }

    .profile-center-grid {
        grid-template-columns: 1fr;
    }

    .cloud-card-widget {
        grid-template-columns: 1fr;
    }

    .cloud-business-card {
        aspect-ratio: 85.6 / 53.98;
        grid-template-columns: minmax(0, 1fr) 118px;
        grid-template-rows: auto minmax(0, 1fr) auto;
        gap: 0.45rem 0.55rem;
        padding: 0.78rem;
        border-radius: 18px;
        background:
            radial-gradient(circle at 100% 100%, rgba(15, 118, 110, 0.10), transparent 34%),
            #fbfcf9;
    }

    .business-card-brand,
    .business-card-person,
    .business-card-code {
        grid-column: auto;
        grid-row: auto;
    }

    .business-card-contact {
        grid-column: 2;
        grid-row: 3;
        padding-top: 0;
        border-top: 0;
        gap: 0.22rem;
    }

    .business-card-logo {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

    .business-card-brand strong {
        font-size: 0.72rem;
    }

    .business-card-qr {
        grid-column: 2;
        grid-row: 2;
        align-self: start;
        width: 72px;
        padding: 0.3rem;
    }

    .business-card-avatar {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
        font-size: 1.25rem;
    }

    .business-card-name h2 {
        font-size: 1.12rem;
    }

    .business-card-name p,
    .business-card-contact-row span {
        font-size: 0.66rem;
    }

    .business-card-name span,
    .business-card-code span {
        font-size: 0.58rem;
    }

    .business-card-code strong {
        font-size: 0.86rem;
    }

    .business-card-contact-row {
        grid-template-columns: 18px minmax(0, 1fr);
        gap: 0.3rem;
    }

    .business-card-contact-row i {
        width: 18px;
        height: 18px;
        font-size: 0.58rem;
    }

    .cloud-card-stage {
        overflow-x: auto;
        padding-bottom: 0.2rem;
    }

    .cloud-business-card {
        min-width: 540px;
        grid-template-columns: minmax(0, 1fr) 210px;
        gap: 0.72rem 0.72rem;
        padding: clamp(0.95rem, 2.3vw, 1.2rem);
        border-radius: 22px;
        background:
            linear-gradient(90deg, transparent 0 68%, rgba(15, 23, 42, 0.035) 68% 100%),
            radial-gradient(circle at 10% 10%, rgba(15, 118, 110, 0.10), transparent 32%),
            #fbfcf9;
    }

    .business-card-logo {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .business-card-brand strong {
        font-size: 0.86rem;
    }

    .business-card-person {
        align-self: center;
    }

    .business-card-avatar {
        width: 76px;
        height: 76px;
        flex-basis: 76px;
        font-size: 2rem;
    }

    .business-card-name h2 {
        font-size: clamp(1.35rem, 3.2vw, 2rem);
    }

    .business-card-name p {
        font-size: 0.96rem;
    }

    .business-card-name span {
        font-size: 0.78rem;
    }

    .business-card-code span {
        font-size: 0.72rem;
    }

    .business-card-code strong {
        font-size: 1.08rem;
    }

    .business-card-qr {
        align-self: center;
        width: 82px;
        padding: 0.36rem;
    }

    .business-card-contact {
        gap: 0.32rem;
    }

    .business-card-contact-row {
        grid-template-columns: 22px minmax(0, 1fr);
        gap: 0.55rem;
    }

    .business-card-contact-row i {
        width: 22px;
        height: 22px;
        font-size: 0.72rem;
    }

    .business-card-contact-row span {
        font-size: 0.78rem;
    }

    .cloud-card-page .cloud-card-stage {
        width: 100%;
        overflow-x: hidden;
        padding-bottom: 0;
    }

    .cloud-card-page .cloud-card-widget {
        width: 100%;
    }

    .cloud-card-page .cloud-business-card {
        width: 100%;
        min-width: 0;
        grid-template-columns: minmax(0, 1fr) 132px;
        grid-template-rows: auto minmax(0, 1fr) auto;
        gap: 0.45rem 0.55rem;
        padding: 0.78rem;
        border-radius: 18px;
        background:
            linear-gradient(90deg, transparent 0 64%, rgba(15, 23, 42, 0.035) 64% 100%),
            radial-gradient(circle at 10% 10%, rgba(15, 118, 110, 0.10), transparent 32%),
            #fbfcf9;
    }

    .cloud-card-page .business-card-brand {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .cloud-card-page .business-card-person {
        grid-column: 1;
        grid-row: 2;
        align-self: center;
        gap: 0.6rem;
    }

    .cloud-card-page .business-card-code {
        grid-column: 1;
        grid-row: 3;
    }

    .cloud-card-page .business-card-qr {
        grid-column: 2;
        grid-row: 2;
        align-self: center;
        justify-self: center;
        width: 72px;
        padding: 0.3rem;
    }

    .cloud-card-page .business-card-contact {
        grid-column: 2;
        grid-row: 3;
        gap: 0.22rem;
    }

    .cloud-card-page .business-card-logo {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

    .cloud-card-page .business-card-brand strong {
        font-size: 0.72rem;
    }

    .cloud-card-page .business-card-avatar {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
        font-size: 1.25rem;
    }

    .cloud-card-page .business-card-name h2 {
        font-size: 1.12rem;
        line-height: 1.08;
    }

    .cloud-card-page .business-card-name p,
    .cloud-card-page .business-card-contact-row span {
        font-size: 0.66rem;
    }

    .cloud-card-page .business-card-name span,
    .cloud-card-page .business-card-code span {
        font-size: 0.58rem;
    }

    .cloud-card-page .business-card-code strong {
        font-size: 0.86rem;
    }

    .cloud-card-page .business-card-contact-row {
        grid-template-columns: 18px minmax(0, 1fr);
        gap: 0.3rem;
    }

    .cloud-card-page .business-card-contact-row i {
        width: 18px;
        height: 18px;
        font-size: 0.58rem;
    }

    .cloud-card-preview {
        min-height: 0;
        padding: 1rem;
        border-radius: 20px;
    }

    .cloud-card-profile {
        align-items: flex-start;
    }

    .cloud-card-avatar {
        width: 70px;
        height: 70px;
        flex-basis: 70px;
        border-radius: 22px;
        font-size: 1.55rem;
    }

    .cloud-card-profile h2 {
        font-size: 1.65rem;
    }

    .cloud-card-contact {
        grid-template-columns: 1fr;
        gap: 0.55rem;
        margin-top: 1.2rem;
    }

    .exam-shortcut-card {
        padding: 0.5rem 0.3rem;
        border-radius: 10px;
    }

    .exam-shortcut-card i {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
        border-radius: 8px;
    }

    .exam-shortcut-card strong {
        margin-top: 0.3rem;
        font-size: 0.72rem;
    }

    .profile-center-hero {
        min-height: auto;
        padding: 1.15rem;
        border-radius: 16px;
    }

    .profile-center-identity {
        align-items: center;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .profile-center-avatar {
        width: 64px;
        height: 64px;
        flex: 0 0 64px;
    }

    .profile-center-avatar > span:not(.profile-avatar-edit-hint) {
        font-size: 1.55rem;
    }

    .profile-center-main h1 {
        font-size: 1.35rem;
        letter-spacing: -0.02em;
    }

    .profile-center-main p {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .profile-center-tags span {
        font-size: 0.7rem;
        min-height: 24px;
        padding: 0 0.45rem;
    }

    .profile-center-actions {
        flex-direction: row;
        width: 100%;
    }

    .profile-center-actions .action-btn {
        flex: 1;
        min-height: 34px;
        font-size: 0.76rem;
        justify-content: center;
    }

    .profile-info-row {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 0.45rem;
    }

    .knowledge-head .head-actions {
        align-items: center;
        flex-direction: row;
    }

    .course-filters {
        align-items: center;
        flex-direction: row;
    }

    .course-filters .search-box {
        flex: 1;
        min-width: 0;
    }

    .profile-select {
        width: auto;
        min-width: 130px;
    }

    .knowledge-list {
        min-height: auto;
    }

    .exam-showcase-head,
    .exam-card-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .exam-showcase-grid {
        grid-template-columns: 1fr;
    }

    .exam-card-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .exam-card-actions .action-btn:not(.icon-only) {
        flex: 1;
    }

    .exam-record-item {
        grid-template-columns: 1fr;
    }

    .exam-record-score {
        width: 100%;
    }

    .news-hero {
        min-height: 0;
    }

    .news-hero-main {
        min-height: 280px;
    }

    .news-hero-content strong {
        font-size: 1.45rem;
    }

    .news-hero-side {
        grid-template-columns: 1fr;
    }

    .article-card.news-card {
        grid-template-columns: 1fr;
    }

    .profile-brand {
        padding-top: 0.7rem;
    }

    .profile-shell {
        padding: 0.75rem;
    }
}

@media (max-width: 420px) {
    .profile-center-identity {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-center-avatar {
        width: 56px;
        height: 56px;
    }

    .profile-center-avatar > span:not(.profile-avatar-edit-hint) {
        font-size: 1.3rem;
    }

    .profile-center-main h1 {
        font-size: 1.2rem;
    }

    .profile-center-tags span {
        width: auto;
    }

    .profile-center-grid {
        gap: 0.55rem;
    }

    .profile-info-card {
        padding: 0.85rem;
    }

    .profile-info-row {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .cloud-card-profile {
        flex-direction: column;
    }

    .cloud-card-actions .action-btn {
        width: 100%;
    }
}
