:root {
    --primary: #ff657c;
    --primary-dark: #d94c66;
    --primary-light: #fff0f2;
    --bg: #fafafa;
    --card: #ffffff;
    --text: rgba(0, 0, 0, .85);
    --text-light: rgba(0, 0, 0, .65);
    --muted: rgba(0, 0, 0, .45);
    --faint: rgba(0, 0, 0, .28);
    --border: #eeeeee;
    --border-strong: #dbdbdb;
    --radius: 8px;
    --radius-sm: 4px;
    --sidebar: 63px;
    --sidebar-open: 231px;
    --shadow: 0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.5715;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 20px; font-weight: 600; }
h2 { font-size: 16px; font-weight: 600; }
code { font-family: Consolas, monospace; background: #f4f4f4; padding: 1px 5px; border-radius: 4px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.grow { flex: 1; min-width: 0; }
.inline { display: inline; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.mf-icon { display: block; }

/* ---------- 公共页面 ---------- */
.site-header {
    height: 60px;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-bottom: 1px solid var(--border);
}
.site-brand {
    color: #7f7a7a;
    font-size: 25px;
    font-weight: 700;
    line-height: 44px;
    user-select: none;
}
.site-brand:hover { color: #7f7a7a; }
.site-actions { display: flex; align-items: center; gap: 4px; }
.site-link {
    color: #7f7a7a;
    font-size: 15px;
    padding: 7px 12px;
    border-radius: var(--radius);
}
.site-link:hover { background: #f5f5f5; color: #5f5a5a; }
.public-main { min-height: calc(100vh - 60px); }
.site-footer {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: var(--muted);
    font-size: 12px;
    border-top: 1px solid var(--border);
    background: #fff;
}
.site-footer code { font-size: 11px; }

/* ---------- 左侧导航 ---------- */
.app { min-height: 100vh; }
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar);
    background: #fff;
    border-right: 1px solid var(--border);
    z-index: 100;
    overflow: hidden;
    transition: width .18s ease, box-shadow .18s ease;
}
.sidebar:hover { width: var(--sidebar-open); box-shadow: 0 0 14px rgba(0, 0, 0, .3); }
.sidebar-inner { width: var(--sidebar-open); height: 100%; display: flex; flex-direction: column; }
.side-brand {
    height: 60px;
    flex: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    color: #7f7a7a;
    font-size: 23px;
    font-weight: 700;
}
.side-brand:hover { color: #7f7a7a; }
.side-brand-mark {
    width: 40px;
    height: 40px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--primary-light);
    color: var(--primary);
    font-size: 20px;
    font-weight: 700;
}
.side-brand-text { white-space: nowrap; opacity: 0; transition: opacity .15s; }
.sidebar:hover .side-brand-text { opacity: 1; }
.side-scroll { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 4px 0 10px; }
.side-caption {
    height: 28px;
    display: flex;
    align-items: center;
    padding-left: 20px;
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity .15s;
}
.sidebar:hover .side-caption { opacity: 1; }
.side-item {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    margin: 2px 7px;
    padding: 0 8px;
    border-radius: var(--radius);
    color: var(--text-light);
    font-size: 14px;
    white-space: nowrap;
}
.side-item:hover { background: #f5f5f5; color: var(--text); }
.side-item.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }
.side-icon { width: 31px; height: 31px; flex: none; display: flex; align-items: center; justify-content: center; }
.side-label { opacity: 0; transition: opacity .10s; overflow: hidden; text-overflow: ellipsis; }
.sidebar:hover .side-label { opacity: 1; }
.side-team-avatar {
    width: 29px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
}
.side-item-muted { color: var(--muted); }
.side-user {
    flex: none;
    height: 64px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 11px;
    overflow: hidden;
}
.side-user-text { min-width: 0; opacity: 0; transition: opacity .15s; }
.sidebar:hover .side-user-text { opacity: 1; }
.side-user-text b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user-text small { display: block; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-logout { margin-left: auto; opacity: 0; }
.sidebar:hover .side-logout { opacity: 1; }
.side-logout button { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 6px; border-radius: 6px; }
.side-logout button:hover { background: #f5f5f5; color: var(--primary); }
.app-main { margin-left: var(--sidebar); min-height: 100vh; }

/* ---------- 通用组件 ---------- */
.page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding: 22px 24px 10px;
    flex-wrap: wrap;
}
.page-head h1 { margin: 0 0 4px; }
.page-head p { margin: 0; }
.head-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.back { color: var(--muted); font-size: 13px; display: inline-block; margin-bottom: 5px; }
.back:hover { color: var(--primary); }
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 15px;
    margin: 0 24px 15px;
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.card-head h2 { margin: 0; }
.grid { display: grid; gap: 15px; }
.grid.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 0 24px; }
.grid.two > .card { margin: 0; }
.dash-panel .card { margin: 0 0 15px; }
.grid.two.compact { align-items: start; }
.pill {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 9px;
    border-radius: 12px;
    background: #f5f5f5;
    color: var(--text-light);
    font-size: 12px;
}
.tag {
    display: inline-block;
    padding: 0 7px;
    line-height: 20px;
    border-radius: var(--radius-sm);
    background: #f5f5f5;
    color: var(--text-light);
    font-size: 12px;
    vertical-align: middle;
}
.tag.done { background: #f6ffed; color: #52c41a; border: 1px solid #b7eb8f; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 34px;
    padding: 0 15px;
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    transition: background .12s, border-color .12s, color .12s;
}
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn.ghost { background: #fff; border-color: var(--border-strong); color: var(--text-light); }
.btn.ghost:hover { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn.sm { height: 28px; padding: 0 10px; font-size: 12px; border-radius: var(--radius-sm); }
.btn.lg { height: 40px; padding: 0 20px; font-size: 15px; }
.btn.full { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.linkbtn {
    border: 0;
    background: none;
    padding: 3px 5px;
    margin: 0;
    color: var(--primary);
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
}
.linkbtn:hover { color: var(--primary-dark); text-decoration: underline; }
.linkbtn.danger { color: #f5222d; }
.form { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: flex; flex-direction: column; gap: 6px; color: var(--text-light); font-size: 13px; }
label.checkline { flex-direction: row; align-items: center; gap: 7px; }
input, select, textarea {
    width: 100%;
    background: #fff;
    color: var(--text);
    border: 1px solid #d9d9d9;
    border-radius: var(--radius);
    padding: 8px 11px;
    min-height: 38px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color .12s, box-shadow .12s;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(255, 101, 124, .12); }
input[type="checkbox"] { width: auto; min-height: 0; accent-color: var(--primary); }
input[type="file"] { padding: 7px; }
.row-form { flex-direction: row; align-items: center; }
.row-form input, .row-form select { flex: 1; }
.dropzone {
    border: 1px dashed #d9d9d9;
    border-radius: var(--radius);
    padding: 18px;
    text-align: center;
    color: var(--muted);
    background: #fafafa;
    cursor: pointer;
}
.dropzone:hover { border-color: var(--primary); background: var(--primary-light); }
.copybox { font-size: 12px; background: #fafafa; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; color: var(--text-light); font-weight: 600; background: #fafafa; padding: 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.table td { padding: 10px; border-bottom: 1px solid #f5f5f5; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #fffcfc; }
.progress { height: 4px; background: #f0f0f0; border-radius: 2px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--primary); border-radius: 2px; }
.flash {
    margin: 12px 24px 0;
    padding: 9px 12px;
    border-radius: var(--radius);
    font-size: 13px;
    border: 1px solid;
    background: #fff;
}
.flash.success { border-color: #b7eb8f; background: #f6ffed; color: #389e0d; }
.flash.error { border-color: #ffa39e; background: #fff1f0; color: #cf1322; }
.flash.info { border-color: #91d5ff; background: #e6f7ff; color: #096dd9; }

/* ---------- 仪表盘 ---------- */
.dash { display: flex; height: 100vh; overflow: hidden; }
.dash-list {
    width: 260px;
    flex: none;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-right: 1px solid var(--border);
}
.dash-list-head {
    height: 54px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}
.dash-list-head .iconbtn { color: var(--primary); display: flex; padding: 6px; border-radius: 6px; }
.dash-list-head .iconbtn:hover { background: var(--primary-light); }
.dash-status { display: flex; margin: 0 15px 10px; border: 1px solid #f7f7f7; border-radius: var(--radius); overflow: hidden; }
.dash-status a { flex: 1; text-align: center; font-size: 12px; padding: 4px 0; color: var(--text-light); }
.dash-status a.active { background: #fafafa; color: var(--text); font-weight: 700; }
.dash-projects { flex: 1; overflow-y: auto; padding: 0 15px 15px; }
.project-item {
    display: block;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 9px 10px 0;
    margin-bottom: 15px;
    color: var(--text);
    background: #fff;
    transition: border-color .12s, box-shadow .12s;
}
.project-item:hover { border-color: var(--primary); color: var(--text); box-shadow: 0 2px 8px rgba(255, 101, 124, .12); }
.project-item.active { border-color: var(--primary); background: #fff; box-shadow: 0 2px 8px rgba(255, 101, 124, .16); }
.project-belong { display: flex; align-items: center; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.project-belong span { margin: 0 4px; color: var(--faint); }
.project-name { font-size: 14px; line-height: 20px; margin: 5px 0; max-height: 60px; overflow: hidden; word-break: break-all; }
.project-bottom { height: 32px; display: flex; align-items: center; color: var(--muted); font-size: 12px; }
.project-bottom .project-setting { margin-left: auto; color: var(--faint); padding: 5px 0 5px 9px; }
.project-bottom .project-setting:hover { color: var(--primary); }
.dash-content { flex: 1; overflow-y: auto; background: #fafafa; }
.dash-content-head { height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; color: var(--primary); font-weight: 700; }
.dash-empty { padding: 60px 24px; text-align: center; color: var(--muted); }
.dash-empty img { max-height: 180px; max-width: 45%; margin-bottom: 15px; }
.dash-empty h3 { color: var(--text); font-size: 18px; margin: 0 0 6px; }
.dash-panel { margin: 0 24px 24px; }
.team-list { display: flex; flex-direction: column; }
.team-row { display: flex; align-items: center; gap: 10px; padding: 10px; border-bottom: 1px solid #f5f5f5; color: var(--text); }
.team-row:last-child { border-bottom: 0; }
.team-row:hover { background: #fafafa; color: var(--text); }
.team-badge, .avatar {
    width: 38px;
    height: 38px;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}
.avatar-sm { width: 28px; height: 28px; border-radius: 7px; font-size: 12px; }
.avatar-lg { width: 40px; height: 40px; }
.team-row b { display: block; font-size: 14px; }
.team-row small { color: var(--muted); font-size: 12px; }
.role { margin-left: auto; color: var(--muted); font-size: 12px; }

/* ---------- 团队 / 项目 ---------- */
.team-head { display: flex; align-items: flex-start; gap: 14px; padding: 22px 24px 12px; }
.team-head .team-badge { width: 52px; height: 52px; font-size: 22px; border-radius: 12px; }
.team-head h1 { margin: 0 0 3px; }
.team-head p { margin: 0; color: var(--muted); }
.team-head .head-actions { margin-left: auto; }
.set-block { padding-bottom: 6px; }
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.project-card { display: block; border: 1px solid var(--border); border-radius: var(--radius); padding: 11px; color: var(--text); background: #fff; }
.project-card:hover { border-color: var(--primary); color: var(--text); box-shadow: 0 2px 8px rgba(255, 101, 124, .10); }
.project-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
.project-top b { font-size: 14px; }
.project-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-top: 7px; }
.member-list { display: flex; flex-direction: column; margin-bottom: 12px; }
.member { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid #f5f5f5; }
.member b { font-size: 14px; }
.member small { display: block; color: var(--muted); font-size: 12px; }
.invite-new { border-color: #ffd6dc; background: #fff8f9; }
.project-page { display: flex; height: 100vh; overflow: hidden; }
.project-side { width: 260px; flex: none; background: #fff; border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.project-side-head { height: 54px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; color: var(--primary); font-size: 13px; font-weight: 700; }
.project-side-head a { color: var(--muted); display: flex; }
.project-side-head a:hover { color: var(--primary); }
.project-side-list { flex: 1; overflow-y: auto; padding: 0 15px 15px; }
.project-side-item { display: block; border: 1px solid var(--border); border-radius: var(--radius); padding: 9px 10px 0; margin-bottom: 15px; color: var(--text); background: #fff; }
.project-side-item:hover { border-color: var(--primary); color: var(--text); box-shadow: 0 2px 8px rgba(255,101,124,.12); }
.project-side-item.active { border-color: var(--primary); box-shadow: 0 2px 8px rgba(255,101,124,.16); }
.project-main { flex: 1; overflow-y: auto; background: #fafafa; }
.project-header { padding: 18px 24px 8px; }
.set-section { padding: 0 24px 15px; }
.set-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; color: var(--primary); font-weight: 700; }
.set-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 15px; }
.set-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; color: var(--text); }
.set-card:hover { border-color: var(--primary); color: var(--text); box-shadow: var(--shadow); }
.set-cover { height: 150px; flex: none; background: var(--primary-light); overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 40px; font-weight: 700; }
.set-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.set-body { padding: 10px 12px; }
.set-title { display: flex; align-items: center; gap: 6px; }
.set-title h3 { margin: 0; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.set-body p { color: var(--muted); font-size: 12px; margin: 5px 0; height: 36px; overflow: hidden; }
.set-body small { color: var(--muted); font-size: 12px; }
.set-hero { display: flex; align-items: flex-start; gap: 15px; padding: 20px 24px 15px; }
.set-hero-cover { width: 96px; height: 128px; flex: none; border-radius: var(--radius); overflow: hidden; background: var(--primary-light); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 40px; font-weight: 700; border: 1px solid var(--border); }
.set-hero-cover img { width: 100%; height: 100%; object-fit: cover; }
.set-hero-body { flex: 1; min-width: 0; }
.set-hero-body h1 { margin: 0 0 5px; }
.set-hero-body p { margin: 0; }
.set-hero .head-actions { margin-left: auto; }
.set-hero .head-actions details { position: relative; }
.set-hero .head-actions summary { list-style: none; cursor: pointer; }
.set-hero .head-actions summary::-webkit-details-marker { display: none; }
.set-hero .head-actions .tool-pop { left: auto; right: 0; width: 440px; max-width: calc(100vw - 30px); }
.set-hero .head-actions .set-pop { width: 440px; }
.set-project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; padding: 0 24px 15px; }
.project-breadcrumb { color: var(--muted); font-size: 13px; margin-bottom: 5px; }
.project-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.project-title-row h1 { margin: 0; }
.project-title-main { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.project-cover { width: 64px; height: 86px; flex: none; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); background: #f5f5f5; }
.project-cover-empty, .project-cover-thumb.project-cover-empty, .project-cover-mini.project-cover-empty { display: flex; align-items: center; justify-content: center; background: var(--primary-light); color: var(--primary); font-weight: 600; }
.project-cover-mini { width: 42px; height: 54px; flex: none; object-fit: cover; border-radius: 5px; border: 1px solid var(--border); background: #f5f5f5; }
.project-item-top { display: flex; align-items: flex-start; gap: 9px; }
.project-item-info { flex: 1; min-width: 0; }
.project-card-title { display: flex; align-items: center; gap: 8px; min-width: 0; }
.project-card-title b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.project-cover-thumb { width: 34px; height: 44px; flex: none; object-fit: cover; border-radius: 4px; border: 1px solid var(--border); background: #f5f5f5; }
.btn.danger { border-color: #ff4d4f; color: #ff4d4f; background: #fff; }
.btn.danger:hover { border-color: #ff4d4f; color: #fff; background: #ff4d4f; }
.project-title-row .head-actions { margin-left: auto; }
.tabs { display: flex; align-items: center; gap: 4px; padding: 0 24px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.tab { padding: 9px 12px; color: var(--text-light); border-bottom: 2px solid transparent; font-size: 13px; }
.tab:hover { color: var(--primary); }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.project-tools { display: flex; gap: 8px; flex-wrap: wrap; padding: 10px 24px 0; }
.project-tools details { display: inline-block; }
.project-tools summary { list-style: none; cursor: pointer; }
.project-tools summary::-webkit-details-marker { display: none; }
.project-tools details { position: relative; }
.tool-pop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; width: 380px; max-width: calc(100vw - 60px); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 15px; }
.file-section { padding: 15px 24px 40px; }
.file-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; color: var(--primary); font-weight: 700; }
.file-grid { display: grid; grid-template-columns: repeat(auto-fill, 180px); gap: 15px; align-items: start; }
.file-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-height: 320px; overflow: auto; margin: 10px 0; }
.file-pick { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 6px; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; }
.file-pick input { flex: 0 0 auto; }
.file-pick img { width: 42px; height: 58px; object-fit: cover; border-radius: 4px; background: #eee; flex: 0 0 auto; }
.file-pick span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.file-pick-actions { display: flex; justify-content: flex-end; gap: 8px; }
.upload-progress { margin: 10px 0 4px; }
.upload-bar { height: 8px; background: #f0e8ea; border-radius: 99px; overflow: hidden; }
.upload-bar span { display: block; width: 0; height: 100%; background: var(--primary); transition: width .15s linear; }
.upload-text { margin-top: 5px; font-size: 12px; color: var(--muted); }
.upload-text.error { color: #c0392b; }
.file-card {
    width: 180px;
    height: 240px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    color: var(--text);
    background: #fff;
    transition: border-color .12s, box-shadow .12s;
}
.file-card:hover { border-color: var(--primary); color: var(--text); box-shadow: var(--shadow); }
.file-card .thumb { height: 140px; flex: none; background: #f5f5f5; overflow: hidden; }
.file-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.file-card:hover .thumb img { transform: scale(1.05); }
.file-meta { padding: 9px 10px; display: flex; flex-direction: column; gap: 7px; min-height: 0; }
.file-meta b { font-size: 13px; font-weight: 500; line-height: 18px; max-height: 36px; overflow: hidden; word-break: break-all; }
.file-meta small { color: var(--muted); font-size: 12px; }
.file-meta .progress { margin-top: auto; }

/* ---------- 后台 ---------- */
.admin-tabs { display: flex; gap: 4px; padding: 0 24px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.admin-tabs .tab { padding: 10px 12px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; padding: 15px 24px 0; }
.stat { margin: 0; padding: 13px 15px; }
.stat small { color: var(--muted); font-size: 12px; display: block; }
.stat b { display: block; font-size: 22px; font-weight: 600; margin-top: 4px; }
.admin-body .card { margin-top: 15px; }
.inline-details { display: inline-block; margin-left: 4px; }
.inline-details summary { list-style: none; cursor: pointer; }
.inline-details summary::-webkit-details-marker { display: none; }
.mini-form { display: flex; gap: 6px; margin-top: 6px; }
.mini-form input { width: 180px; padding: 7px 9px; font-size: 12px; min-height: 30px; }
.pager { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.admin-body .grid.two { padding: 15px 24px 0; }
.admin-body .grid.two .card { margin: 0; }

/* ---------- 编辑器 ---------- */
.editor-body { background: #4f4f4f; overflow: hidden; }
.editor-shell { height: 100vh; display: flex; flex-direction: column; }
.editor-head {
    height: 52px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 0 15px;
    background: #3b3b3b;
    color: rgba(255, 255, 255, .9);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.editor-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.editor-title .back { color: rgba(255, 255, 255, .65); margin: 0; white-space: nowrap; }
.editor-title .back:hover { color: #fff; }
.editor-title h1 { font-size: 15px; margin: 0; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.editor-title .muted { color: rgba(255, 255, 255, .5); font-size: 12px; white-space: nowrap; }
.editor-tools { display: flex; align-items: center; gap: 7px; }
.editor-head .btn.ghost { background: transparent; border-color: rgba(255, 255, 255, .3); color: #fff; }
.editor-head .btn.ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.editor-head .select { width: 120px; min-height: 30px; padding: 4px 8px; background: #4a4a4a; border-color: #5a5a5a; color: #fff; font-size: 12px; }
.editor-layout { flex: 1; display: flex; min-height: 0; }
.stage-wrap { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px; background: #4f4f4f; overflow: auto; }
.stage { position: relative; max-width: 100%; max-height: calc(100vh - 130px); user-select: none; line-height: 0; will-change: transform; }
.stage img { max-width: 100%; max-height: calc(100vh - 130px); object-fit: contain; display: block; }
.stage-hint { color: rgba(255, 255, 255, .45); font-size: 12px; margin: 8px 0 0; }
.stage-wrap.space-pan, .stage-wrap.space-pan .stage { cursor: grab; }
.stage-wrap.panning, .stage-wrap.panning .stage { cursor: grabbing; }
.marker-layer { position: absolute; inset: 0; pointer-events: none; }
.marker { position: absolute; width: 0; height: 0; border: 0; background: none; pointer-events: auto; cursor: move; }
.marker-num {
    position: absolute;
    left: 0;
    bottom: 9px;
    transform: translateX(-50%);
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    background: #f5222d;
    color: #fff;
    font-size: 11px;
    line-height: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .35);
    pointer-events: auto;
    white-space: nowrap;
}
.marker-arrow {
    position: absolute;
    left: -5px;
    bottom: 0;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid #f5222d;
    pointer-events: none;
}
.marker.out .marker-num { background: #1890ff; }
.marker.out .marker-arrow { border-top-color: #1890ff; }
.marker.active .marker-num { box-shadow: 0 0 0 3px rgba(245, 34, 45, .3), 0 1px 3px rgba(0, 0, 0, .35); }
.marker.out.active .marker-num { box-shadow: 0 0 0 3px rgba(24, 144, 255, .3), 0 1px 3px rgba(0, 0, 0, .35); }
.editor-side { width: 360px; flex: none; background: #fff; border: 0; border-radius: 0; margin: 0; display: flex; flex-direction: column; height: 100%; }
.side-head { height: 48px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; border-bottom: 1px solid var(--border); }
.side-head h2 { font-size: 15px; margin: 0; }
.source-list { flex: 1; overflow-y: auto; padding: 8px; min-height: 120px; }
.source-item { display: flex; gap: 8px; padding: 8px; border: 1px solid var(--border); border-left: 3px solid #f5222d; border-radius: var(--radius); margin-bottom: 6px; cursor: pointer; font-size: 13px; }
.source-item:hover { border-color: #ffd6dc; background: #fffafb; }
.source-item.out { border-left-color: #1890ff; }
.source-item.out .source-index { color: #1890ff; }
.source-item.out.active { border-color: #91d5ff; background: #e6f7ff; }
.source-item.active { border-color: var(--primary); background: var(--primary-light); }
.source-index { flex: none; color: var(--primary); font-weight: 600; min-width: 18px; }
.source-text { flex: 1; color: var(--text); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.editor-panel { flex: none; border-top: 1px solid var(--border); padding: 12px 15px; max-height: 48%; overflow-y: auto; }
.editor-panel .empty-tip { margin: 0; }
.panel-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.panel-body label { font-size: 12px; margin-bottom: 8px; }
.panel-body textarea { font-size: 13px; }
.save-status { color: var(--muted); font-size: 12px; text-align: right; margin: 2px 0 4px; }
.save-status.error { color: #f5222d; }
.others { margin-top: 10px; }
.other-tr { font-size: 12px; color: var(--muted); padding: 5px 0; border-top: 1px dashed #eee; }
.editor-body .flash { position: fixed; top: 60px; left: 50%; transform: translateX(-50%); z-index: 300; min-width: 280px; }

/* ---------- 认证 / 首页 ---------- */
.auth-page {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff url("../assets/mascot-witch.png") no-repeat right bottom;
    background-size: 25%;
}
.auth-form { width: 300px; display: flex; flex-direction: column; align-items: center; user-select: none; }
.auth-title { position: relative; margin: 0 0 70px; color: var(--primary); font-size: 45px; font-weight: 700; line-height: 1; text-align: center; }
.auth-title .auth-alt { position: absolute; left: calc(100% + 30px); bottom: 0; font-size: 16px; font-weight: 400; color: var(--primary); white-space: nowrap; }
.auth-title .auth-alt:hover { text-decoration: underline; }
.auth-form .form { width: 100%; gap: 14px; }
.auth-form input { height: 40px; font-size: 15px; }
.auth-form .btn { height: 40px; font-size: 15px; }
.auth-links { width: 100%; text-align: center; color: var(--muted); font-size: 13px; margin-top: 12px; }
.auth-links a { color: var(--primary); }
.index-page { min-height: calc(100vh - 112px); display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff; }
.index-mascot { max-height: 300px; max-width: 60vw; margin-bottom: 15px; }
.index-title { font-size: 40px; color: var(--primary); font-weight: 700; margin: 0 0 8px; }
.index-tip { color: var(--muted); margin: 0 0 18px; }
.hero, .features { display: none; }

/* ---------- 提示 / 其他 ---------- */
.empty-tip { text-align: center; color: var(--muted); padding: 40px 15px; }
.auth-logined { text-align: center; color: var(--muted); }
.error-page { padding: 60px 24px; text-align: center; }
.error-page h1 { font-size: 60px; color: var(--primary); margin: 0; }

@media (max-width: 900px) {
    .sidebar { position: sticky; top: 0; width: 100%; height: 56px; border-right: 0; border-bottom: 1px solid var(--border); }
    .sidebar:hover { width: 100%; box-shadow: none; }
    .sidebar-inner { width: 100%; flex-direction: row; align-items: center; overflow-x: auto; }
    .side-brand { height: 56px; padding: 0 12px; }
    .side-brand-text { opacity: 1; font-size: 18px; }
    .side-scroll { display: flex; align-items: center; flex: 1; overflow-x: auto; padding: 0; }
    .side-caption, .side-user, .side-item-muted { display: none; }
    .side-item { flex: none; margin: 0 2px; height: 40px; }
    .side-label { opacity: 1; }
    .side-icon { width: 26px; }
    .side-team-avatar { width: 26px; height: 26px; }
    .app-main { margin-left: 0; }
    .dash { height: auto; min-height: calc(100vh - 56px); flex-direction: column; overflow: visible; }
    .project-page { height: auto; min-height: calc(100vh - 56px); flex-direction: column; overflow: visible; }
    .project-side { width: 100%; height: auto; max-height: 40vh; border-right: 0; border-bottom: 1px solid var(--border); }
    .project-main { overflow: visible; }
    .dash-list { width: 100%; height: auto; border-right: 0; border-bottom: 1px solid var(--border); max-height: 45vh; }
    .dash-status { margin-top: 0; }
    .dash-content { overflow: visible; }
    .grid.two, .form-row { grid-template-columns: 1fr; }
    .grid.two { padding-left: 15px; padding-right: 15px; }
    .auth-page { background-size: 45%; align-items: flex-start; padding-top: 40px; }
    .auth-title .auth-alt { position: static; display: block; margin-top: 18px; font-size: 15px; }
    .auth-title { margin-bottom: 30px; }
    .editor-layout { flex-direction: column; }
    .editor-side { width: 100%; height: 45vh; }
    .stage-wrap { max-height: 55vh; }
    .stage img { max-height: 50vh; }
    .file-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .file-card { width: 100%; height: auto; min-height: 220px; }
    .page-head, .card, .project-header, .project-tools, .file-section, .set-section, .set-hero, .set-project-grid { padding-left: 15px; padding-right: 15px; }
    .set-hero { flex-wrap: wrap; }
    .set-hero .head-actions { width: 100%; margin-left: 0; }
    .card { margin-left: 15px; margin-right: 15px; }
    .flash { margin-left: 15px; margin-right: 15px; }
}

/* 邀请 / 申请 / 错误页 */
.auth-wrap {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff url("../assets/mascot-witch.png") no-repeat right bottom;
    background-size: 18%;
    padding: 30px 15px;
}
.auth-card { width: 460px; max-width: 100%; margin: 0; }
.auth-card h1 { color: var(--primary); font-size: 26px; }
.eyebrow { color: var(--primary); font-size: 12px; font-weight: 600; }
.invite-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: 12px; margin: 12px 0; }
.error-page { background: #fff; min-height: 100vh; }
.auth-body .site-footer { display: none; }
.auth-body .auth-page, .auth-body .auth-wrap { min-height: calc(100vh - 60px); }
.toast {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 500;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 9px 15px;
    font-size: 13px;
    color: var(--text);
}
.toast.error { border-color: #ffa39e; color: #cf1322; }
.error-card { width: 460px; max-width: 90vw; margin: 0 auto; text-align: center; }
.error-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: #fafafa; }
.app-body .flash {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 400;
    margin: 0;
    min-width: 260px;
    max-width: 70vw;
    box-shadow: var(--shadow);
}


/* 编辑器：页数跳转 / 快捷键 */
.editor-tools { position: relative; flex-wrap: wrap; }
.page-jump, .shortcut-pop { position: relative; }
.page-jump > summary, .shortcut-pop > summary { list-style: none; cursor: pointer; }
.page-jump > summary::-webkit-details-marker,
.shortcut-pop > summary::-webkit-details-marker { display: none; }
.page-jump-current { opacity: .7; margin-left: 3px; }
.page-jump-pop {
    position: absolute;
    z-index: 60;
    top: calc(100% + 6px);
    right: 0;
    width: 300px;
    max-width: calc(100vw - 24px);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    color: var(--text);
}
.page-jump-head {
    padding: 10px 12px;
    font-size: 12px;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
}
.page-jump-list { max-height: min(60vh, 430px); overflow-y: auto; padding: 5px; }
.page-jump-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    color: var(--text);
    font-size: 13px;
}
.page-jump-item:hover { background: var(--primary-light); color: var(--primary); }
.page-jump-item.active { background: var(--primary-light); color: var(--primary); font-weight: 700; }
.page-jump-num { flex: none; width: 26px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.page-jump-item.active .page-jump-num { color: var(--primary); }
.page-jump-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shortcut-pop-body {
    position: absolute;
    z-index: 60;
    top: calc(100% + 6px);
    right: 0;
    width: 280px;
    max-width: calc(100vw - 24px);
    padding: 13px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow);
    color: var(--text);
}
.shortcut-title { font-weight: 600; margin-bottom: 9px; }
.shortcut-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 7px 0; font-size: 13px; }
.shortcut-row input { width: 90px; min-height: 30px; padding: 4px 8px; text-align: center; font-weight: 700; cursor: pointer; }
.shortcut-hint { color: var(--muted); font-size: 11px; line-height: 1.5; margin: 8px 0; }
.shortcut-actions { display: flex; gap: 7px; }
@media (max-width: 700px) {
    .page-jump-pop, .shortcut-pop-body { position: fixed; left: 12px; right: 12px; top: 64px; width: auto; max-width: none; }
    .page-jump-list { max-height: 65vh; }
}

/* 登录：记住我 */
.auth-remember { flex-direction: row; align-items: center; gap: 8px; font-size: 13px; color: var(--text-light); }
.auth-remember input { width: auto; min-height: 0; }


.page-jump-row { display: block; }
.page-jump-row .page-jump-item { width: 100%; }


.set-divider { border: 0; border-top: 1px solid var(--border); margin: 12px 0; }


.ppi-summary-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
#ppiSummary { font-weight: 600; color: var(--text); }
.ppi-convert-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }


.staff-line { margin: 2px 0 0; font-size: 12px; color: var(--primary); }
.staff-pop { width: 460px; }
.staff-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.staff-row label { margin-bottom: 0; }
@media (max-width: 700px) { .staff-row { grid-template-columns: 1fr; } .staff-pop { width: auto; } }


.staff-role { border-top: 1px solid var(--border); padding: 10px 0; }
.staff-role:first-of-type { border-top: 0; padding-top: 2px; }
.staff-role-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 5px; }
.staff-role-head form { margin: 0; }
.staff-claim { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 0 4px 2px; font-size: 13px; }
.staff-claim time { color: var(--muted); font-size: 11px; }


.project-progress-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 2px; }
.progress-tag { font-size: 11px; padding: 1px 7px; border-radius: 10px; border: 1px solid transparent; line-height: 1.6; }
.progress-tag.translated { background: #e8f5e9; color: #2e7d32; border-color: #a5d6a7; }
.progress-tag.proofread { background: #e3f2fd; color: #1565c0; border-color: #90caf9; }
.progress-tag.typeset { background: #f3e5f5; color: #6a1b9a; border-color: #ce93d8; }
.progress-btn.done { background: var(--primary); border-color: var(--primary); color: #fff; }


.side-cheer { flex: none; padding: 6px 10px; border-top: 1px solid var(--border); }
.side-cheer-btn { width: 100%; display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); background: #fff; color: var(--primary); border-radius: 8px; padding: 7px 9px; cursor: pointer; font-size: 12px; }
.side-cheer-btn:hover { border-color: var(--primary); background: var(--primary-light); }
.side-cheer-icon { width: 24px; text-align: center; font-size: 18px; line-height: 1; }
.side-cheer-text { white-space: nowrap; opacity: 0; transition: opacity .15s; }
.sidebar:hover .side-cheer-text { opacity: 1; }
.voice-playing { animation: voice-pulse .8s ease-in-out infinite alternate; }
.voice-error { border-color: #f5222d !important; color: #f5222d !important; }
@keyframes voice-pulse { from { transform: scale(1); } to { transform: scale(1.04); } }
@media (max-width: 900px) { .side-cheer { padding: 0 6px; border-top: 0; } .side-cheer-btn { width: 42px; height: 40px; justify-content: center; padding: 0; border: 0; background: transparent; } .side-cheer-text { display: none; } }


.mf-voice-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 12px); z-index: 9999; background: rgba(30,30,30,.92); color: #fff; padding: 9px 16px; border-radius: 8px; font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.mf-voice-toast.show { opacity: 1; transform: translate(-50%, 0); }


.home-announcement { width: min(680px, calc(100vw - 32px)); box-sizing: border-box; margin: 0 auto 20px; padding: 15px 18px; background: #fff8e1; border: 1px solid #f1d48a; border-radius: 10px; text-align: left; color: var(--text); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.home-announcement h2 { margin: 0 0 8px; font-size: 17px; color: #8a5a00; }
.home-announcement-body { font-size: 14px; line-height: 1.75; white-space: normal; }
.home-announcement small { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; }
@media (max-width: 700px) { .home-announcement { width: calc(100vw - 24px); margin-bottom: 14px; padding: 13px 14px; } }


.dash-announcement { margin: 12px 24px 0; width: auto; max-width: none; }
@media (max-width: 700px) { .dash-announcement { margin: 10px 15px 0; width: auto; } }


.side-thanks { flex: none; padding: 8px 2px 4px; border-top: 1px solid var(--border); font-size: 9px; line-height: 1.55; color: #9a7a3a; text-align: center; white-space: normal; overflow: hidden; } .sidebar:hover .side-thanks { font-size: 10px; }


/* 收藏 */
.project-fav { color: #e6a700; margin-right: 2px; }
.favorite-btn { white-space: nowrap; }

/* 手机编辑器：删除按钮加大，并给每个标记行一个直接删除入口 */
.source-item { position: relative; }
.source-item-delete {
    display: none;
    flex: none;
    width: 34px;
    height: 34px;
    margin-left: 4px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #b7b7b7;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    touch-action: manipulation;
}
.source-item-delete:hover { background: #fff1f0; color: #f5222d; }
@media (max-width: 900px) {
    .source-item { min-height: 44px; }
    .source-item-delete { display: inline-flex; align-items: center; justify-content: center; }
    .panel-row .linkbtn.danger { min-height: 40px; padding: 0 14px; touch-action: manipulation; }
    .stage-wrap.pinching { cursor: grabbing; }
}

/* 手机「我的项目」：横向紧凑卡片，不再占一整块竖向高度 */
@media (max-width: 900px) {
    .dash-list { max-height: none; padding-bottom: 4px; }
    .dash-list-head { height: 40px; }
    .dash-status { margin: 0 10px 8px; }
    .dash-projects {
        display: flex;
        flex-direction: row;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 10px 10px;
        -webkit-overflow-scrolling: touch;
    }
    .dash-projects .project-item {
        flex: 0 0 176px;
        width: 176px;
        margin: 0;
        padding: 8px 9px;
    }
    .dash-projects .project-belong { font-size: 10px; }
    .dash-projects .project-name { font-size: 13px; margin: 1px 0 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .dash-projects .project-progress-tags { margin: 2px 0; }
    .dash-projects .progress { margin: 4px 0; }
    .dash-projects .project-bottom { font-size: 10px; }
    .dash-projects .empty-tip { flex: 0 0 100%; padding: 14px 4px; }
}
/* 主页收藏项目集卡片 */
.fav-sets-section { margin: 12px 24px 0; }
.fav-sets-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; color: var(--primary); font-weight: 700; }
.fav-set-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.fav-set-card { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; color: var(--text); min-width: 0; }
.fav-set-card:hover { border-color: var(--primary); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.fav-set-cover { width: 48px; height: 64px; flex: none; border-radius: 6px; overflow: hidden; background: var(--primary-light); display: flex; align-items: center; justify-content: center; color: var(--primary); font-weight: 700; font-size: 20px; }
.fav-set-cover img { width: 100%; height: 100%; object-fit: cover; }
.fav-set-info { min-width: 0; }
.fav-set-info b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fav-set-info small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 900px) {
    .fav-sets-section { margin: 10px 10px 0; }
    .fav-set-grid { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
    .fav-set-card { flex: 0 0 176px; }
}

#exportZipStatus { color: var(--primary); font-weight: 600; white-space: nowrap; }


/* 游客分享页 */
.share-wrap { max-width: 1040px; margin: 0 auto; padding: 18px 16px 48px; }
.share-head { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; justify-content: space-between; }
.share-head-main { display: flex; gap: 14px; min-width: 260px; flex: 1; }
.share-cover { width: 96px; height: 128px; border-radius: 8px; overflow: hidden; background: #f3f3f3; display: flex; align-items: center; justify-content: center; flex: none; font-size: 30px; color: #999; }
.share-cover img { width: 100%; height: 100%; object-fit: cover; }
.share-info h1 { margin: 2px 0 6px; font-size: 22px; }
.share-info p { margin: 3px 0; }
.share-name { min-width: 240px; }
.share-name input { width: 100%; }
.share-link-row { display: flex; flex-direction: column; gap: 3px; padding: 6px 0; border-top: 1px dashed #eee; }
.share-link-row .copybox { width: 100%; font-size: 12px; }
