/* ============================================================
   Aurora Glass UI · 全站高级质感样式表
   - 无蓝色点击聚焦边框（全站去除 outline / focus ring）
   - 居中弹窗 / 浮动批量操作条 / Toast 轻提示
   - 弹簧动效 · 分层阴影 · 毛玻璃
   ============================================================ */

*, *::before, *::after {
    margin: 0; padding: 0; box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* ---- 去掉一切点击后的蓝色聚焦边框 ---- */
:focus, :focus-visible { outline: none; }
a:focus, button:focus, input:focus,
select:focus, textarea:focus, label:focus { outline: none; }

:root {
    --blue: #0A84FF;
    --blue-deep: #0066D6;
    --red: #FF3B30;
    --red-deep: #E5342A;
    --green: #34C759;
    --text: #1d1d1f;
    --sub: #86868b;
    --hairline: rgba(60, 60, 67, .10);
    --hairline-strong: rgba(60, 60, 67, .20);
    --glass-bg: rgba(255, 255, 255, .64);
    --glass-border: rgba(255, 255, 255, .80);
    --radius: 26px;
    --shadow-card: 0 24px 60px -18px rgba(28, 48, 110, .16), 0 4px 16px rgba(28, 48, 110, .05);
    --spring: cubic-bezier(.34, 1.45, .5, 1);
    --ease: cubic-bezier(.4, 0, .2, 1);

    /* 兼容旧变量名 */
    --ios-blue: #0A84FF;
    --ios-red: #FF3B30;
    --ios-green: #34C759;
    --ios-text: #1d1d1f;
    --ios-sub: #86868b;
    --text-sub: #86868b;
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
                 "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Helvetica Neue",
                 "Microsoft YaHei", sans-serif;
    color: var(--text);
    min-height: 100vh;
    background:
        radial-gradient(1100px 720px at 88% -12%, rgba(173, 209, 255, .55) 0%, transparent 55%),
        radial-gradient(900px 640px at -12% 112%, rgba(203, 205, 246, .50) 0%, transparent 55%),
        radial-gradient(700px 500px at 50% 122%, rgba(214, 236, 251, .40) 0%, transparent 60%),
        linear-gradient(180deg, #f8fafd 0%, #eff2f8 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    animation: pageIn .45s var(--ease) both;
}
@keyframes pageIn { from { opacity: 0; } }

/* 漂浮柔光斑 */
body::before, body::after {
    content: "";
    position: fixed; border-radius: 50%;
    filter: blur(110px); z-index: -1; opacity: .45;
    pointer-events: none;
}
body::before { width: 480px; height: 480px; background: #d3e5ff; top: -150px; right: -130px; }
body::after  { width: 420px; height: 420px; background: #e2e6f8; bottom: -130px; left: -130px; }

/* ============ 毛玻璃卡片 ============ */
.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
}

.page-wrap { max-width: 860px; margin: 0 auto; padding: 52px 20px 96px; }
.admin-wrap { max-width: 1060px; }

/* ============ 页头 ============ */
.header { text-align: center; margin-bottom: 36px; }
.header-badge {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 11px; font-weight: 700; letter-spacing: 3.5px;
    color: var(--blue);
    background: rgba(10, 132, 255, .07);
    border: 1px solid rgba(10, 132, 255, .16);
    padding: 6px 16px; border-radius: 999px; margin-bottom: 18px;
}
.header-badge::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 3px rgba(10, 132, 255, .15);
}
.header h1 { font-size: 30px; font-weight: 800; letter-spacing: .5px; }
.header p { margin-top: 10px; color: var(--sub); font-size: 14px; letter-spacing: 2px; }

.card { padding: 34px 36px; margin-bottom: 24px; animation: rise .55s var(--spring) both; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ============ 表单 ============ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.form-grid .full { grid-column: 1 / -1; }

label.field-label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 9px; letter-spacing: .5px; }
label.field-label .req { color: var(--red); margin-left: 2px; }

select, input[type="text"], input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-family: inherit;
    color: var(--text);
    background: rgba(255, 255, 255, .82);
    border: 1px solid var(--hairline-strong);
    border-radius: 14px;
    outline: none;
    box-shadow: inset 0 1px 2px rgba(28, 48, 110, .04);
    transition: border-color .22s var(--ease), background .22s var(--ease), box-shadow .22s var(--ease);
    appearance: none;
    -webkit-appearance: none;
}
/* 聚焦：中性深色边框，无任何蓝色描边 */
select:focus, input[type="text"]:focus, input[type="password"]:focus {
    border-color: rgba(60, 60, 67, .38);
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(28, 48, 110, .04), 0 0 0 4px rgba(60, 60, 67, .05);
}
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    cursor: pointer;
}

/* ============ 上传区域 ============ */
.upload-zone {
    border: 1.6px dashed rgba(10, 132, 255, .38);
    border-radius: 20px;
    background:
        radial-gradient(420px 180px at 50% -40%, rgba(10, 132, 255, .06), transparent 70%),
        rgba(255, 255, 255, .55);
    padding: 38px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--spring);
}
.upload-zone:hover, .upload-zone.dragover {
    border-color: rgba(10, 132, 255, .75);
    background:
        radial-gradient(420px 200px at 50% -40%, rgba(10, 132, 255, .10), transparent 70%),
        rgba(255, 255, 255, .75);
}
.upload-zone:active { transform: scale(.985); }

.album-icon {
    width: 62px; height: 62px; margin: 0 auto 14px;
    border-radius: 17px;
    background: linear-gradient(145deg, #ffffff, #e8eef8);
    border: 1px solid rgba(255, 255, 255, .95);
    box-shadow: 0 10px 22px -6px rgba(28, 48, 110, .18), inset 0 1px 0 #fff;
    display: flex; align-items: center; justify-content: center;
    transition: transform .35s var(--spring);
}
.upload-zone:hover .album-icon { transform: translateY(-4px) scale(1.06) rotate(-2deg); }
.album-icon svg { width: 36px; height: 36px; }

.upload-zone .tip { font-size: 14px; color: var(--sub); line-height: 1.9; }
.upload-zone .tip b { color: var(--blue); font-weight: 700; }

/* 预览网格 */
.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
    gap: 12px;
    margin-top: 16px;
}
.preview-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1;
    border: 1px solid var(--hairline);
    background: #fff;
    box-shadow: 0 6px 16px -6px rgba(28, 48, 110, .18);
    animation: pop .34s var(--spring) both;
}
@keyframes pop { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: scale(1); } }
.preview-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.preview-item .del {
    position: absolute; top: 7px; right: 7px;
    width: 24px; height: 24px; border: none; border-radius: 50%;
    background: rgba(28, 28, 30, .58); color: #fff; font-size: 15px;
    cursor: pointer; line-height: 24px; text-align: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background .2s var(--ease), transform .2s var(--spring);
}
.preview-item .del:hover { background: var(--red); transform: scale(1.12); }
.preview-item .del:active { transform: scale(.9); }

/* ============ 按钮 ============ */
.btn {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px 48px;
    font-size: 16.5px; font-weight: 700; letter-spacing: 2px;
    font-family: inherit;
    color: #fff; border: none; border-radius: 16px; cursor: pointer;
    background: linear-gradient(180deg, #3D9BFF 0%, #0A7AFF 100%);
    box-shadow:
        0 12px 26px -8px rgba(10, 132, 255, .55),
        inset 0 1px 0 rgba(255, 255, 255, .28);
    transition: transform .18s var(--spring), box-shadow .22s var(--ease), opacity .18s var(--ease), filter .18s var(--ease);
    overflow: hidden;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px -10px rgba(10, 132, 255, .6), inset 0 1px 0 rgba(255, 255, 255, .28);
    filter: saturate(1.08);
}
.btn:active { transform: scale(.96); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; filter: none; }
.btn-block { width: 100%; }
.btn-sm { padding: 12px 26px; font-size: 14px; border-radius: 13px; letter-spacing: 1px; }

/* 提交按钮内的进度条 */
.btn-submit { min-width: 230px; }
.btn-submit .btn-progress {
    position: absolute; left: 0; bottom: 0;
    height: 3px; width: 0%;
    background: rgba(255, 255, 255, .9);
    border-radius: 0 3px 3px 0;
    transition: width .25s var(--ease);
    pointer-events: none;
}

.btn-ghost {
    background: rgba(255, 255, 255, .88); color: var(--blue);
    border: 1px solid var(--hairline-strong);
    box-shadow: 0 4px 12px -4px rgba(28, 48, 110, .1);
}
.btn-ghost:hover {
    background: #fff;
    box-shadow: 0 10px 20px -8px rgba(28, 48, 110, .16);
}

/* 红色描边删除按钮（详情页） */
.btn-danger-outline {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 10px 20px; border-radius: 13px;
    border: 1.5px solid rgba(255, 59, 48, .38);
    color: var(--red); background: rgba(255, 59, 48, .06);
    font-size: 13.5px; font-weight: 700; font-family: inherit;
    cursor: pointer;
    transition: background .2s var(--ease), transform .18s var(--spring), border-color .2s var(--ease);
}
.btn-danger-outline:hover { background: rgba(255, 59, 48, .13); transform: translateY(-1px); border-color: rgba(255, 59, 48, .55); }
.btn-danger-outline:active { transform: scale(.95); }
.btn-danger-outline svg { width: 15px; height: 15px; }

/* ============ 弹窗（唯一提醒方式）============ */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(15, 23, 42, .38);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    display: flex; align-items: center; justify-content: center;
    z-index: 1000;
    padding: 24px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .28s var(--ease), visibility .28s;
}
.modal-overlay.show { opacity: 1; visibility: visible; pointer-events: auto; }

.modal {
    width: min(340px, 100%);
    border-radius: 28px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, .95);
    box-shadow:
        0 34px 80px -12px rgba(10, 20, 60, .35),
        0 4px 14px rgba(10, 20, 60, .08);
    overflow: hidden;
    text-align: center;
    transform: translateY(26px) scale(1.12);
    opacity: 0;
    transition: transform .45s var(--spring), opacity .3s var(--ease);
}
.modal-overlay.show .modal { transform: none; opacity: 1; }

.modal-icon {
    width: 64px; height: 64px; margin: 32px auto 14px;
    animation: iconIn .5s var(--spring) .08s both;
}
@keyframes iconIn { from { opacity: 0; transform: scale(.45); } to { opacity: 1; transform: scale(1); } }
.modal-icon svg { width: 100%; height: 100%; }

/* 图标描边绘制动画（r=28 圆周长≈176）*/
.ck-circle, .er-circle { stroke-dasharray: 176; stroke-dashoffset: 176; }
.ck-mark { stroke-dasharray: 36; stroke-dashoffset: 36; }
.er-line { stroke-dasharray: 18; stroke-dashoffset: 18; }
.er-dot { opacity: 0; }
.modal-overlay.show .ck-circle { animation: draw .55s ease-out .15s forwards; }
.modal-overlay.show .ck-mark   { animation: draw .4s ease-out .62s forwards; }
.modal-overlay.show .er-circle { animation: draw .5s ease-out .15s forwards; }
.modal-overlay.show .er-line   { animation: draw .35s ease-out .55s forwards; }
.modal-overlay.show .er-dot    { animation: fadeIn .25s ease .68s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

.modal-text {
    font-size: 16.5px; font-weight: 700; color: var(--text);
    padding: 0 26px 4px; line-height: 1.6;
    word-break: break-all;
}
.modal-sub {
    font-size: 13px; font-weight: 400; color: var(--sub);
    padding: 6px 30px 24px; line-height: 1.7;
}
/* 无副标题时主文字留足下边距 */
.modal.no-sub .modal-text { padding-bottom: 24px; }

/* 单按钮（胶囊主按钮）*/
.modal-actions.pill { padding: 6px 24px 24px; }
.mbtn-primary {
    width: 100%; padding: 13.5px 0;
    border: none; border-radius: 15px;
    font-family: inherit; font-size: 16px; font-weight: 700; letter-spacing: 3px;
    color: #fff; cursor: pointer;
    background: linear-gradient(180deg, #3D9BFF 0%, #0A7AFF 100%);
    box-shadow: 0 10px 22px -6px rgba(10, 132, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .28);
    transition: transform .18s var(--spring), box-shadow .2s var(--ease), opacity .18s;
}
.mbtn-primary:hover { transform: translateY(-1.5px); }
.mbtn-primary:active { transform: scale(.97); }

/* 双按钮（iOS 分割线风格）*/
.modal-actions.split { display: flex; border-top: 1px solid var(--hairline); }
.modal-actions.split > button {
    flex: 1; padding: 15.5px 0;
    font-family: inherit; font-size: 16.5px; font-weight: 600;
    background: transparent; border: none; cursor: pointer;
    transition: background .15s var(--ease);
}
.modal-actions.split > button + button { border-left: 1px solid var(--hairline); }
.mbtn-text { color: var(--sub); }
.mbtn-text:hover { background: rgba(60, 60, 67, .045); }
.mbtn-danger { color: var(--red); font-weight: 700; }
.mbtn-danger:hover { background: rgba(255, 59, 48, .07); }
.mbtn-danger:disabled { opacity: .5; cursor: wait; }

/* ============ Toast 轻提示 ============ */
.toast {
    position: fixed; top: 26px; left: 50%; z-index: 1200;
    transform: translate(-50%, -100px);
    padding: 12px 24px; border-radius: 999px;
    font-size: 14px; font-weight: 600; color: var(--text);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(20px) saturate(170%);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, .95);
    box-shadow: 0 16px 38px -8px rgba(23, 43, 99, .25);
    opacity: 0; pointer-events: none;
    transition: transform .55s var(--spring), opacity .3s var(--ease);
    max-width: calc(100vw - 40px);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast.error { color: var(--red); }

/* ============ 顶栏 ============ */
.topbar {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 26px; flex-wrap: wrap; gap: 14px;
}
.topbar h1 { font-size: 26px; font-weight: 800; letter-spacing: .5px; }
.topbar-sub { color: var(--sub); font-size: 13px; margin-top: 6px; letter-spacing: .5px; }
.topbar .links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.topbar .links a {
    color: var(--sub); text-decoration: none; font-size: 14px;
    padding: 8px 14px; border-radius: 10px;
    transition: color .2s var(--ease), background .2s var(--ease);
}
.topbar .links a:hover { color: var(--blue); background: rgba(10, 132, 255, .07); }

/* ============ 工具栏 ============ */
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.toolbar input, .toolbar select { width: auto; min-width: 150px; }

/* ============ 列表表格 ============ */
.table-wrap { overflow-x: auto; margin: 0 -8px; padding: 0 8px; }
table.list { width: 100%; border-collapse: collapse; font-size: 15px; }
table.list th {
    text-align: left; padding: 13px 14px; color: var(--sub);
    font-weight: 700; font-size: 12.5px; letter-spacing: 1px;
    border-bottom: 1px solid var(--hairline);
    white-space: nowrap;
}
table.list td { padding: 14px; border-bottom: 1px solid rgba(60, 60, 67, .07); white-space: nowrap; }
table.list tbody tr { animation: rowIn .45s var(--ease) both; }
@keyframes rowIn { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
table.list tbody tr:last-child td { border-bottom: none; }

tr.data-row { cursor: pointer; transition: background .18s var(--ease); }
tr.data-row:hover { background: rgba(10, 132, 255, .05); }
tr.data-row:hover .td-name { color: var(--blue); }

.td-sub { color: var(--sub); }
.td-name { font-weight: 700; transition: color .18s var(--ease); }
.col-check { width: 46px; }
.col-op { width: 60px; text-align: center; }

/* 自定义复选框 */
.checkbox { display: inline-flex; cursor: pointer; vertical-align: middle; }
.checkbox input { position: absolute; opacity: 0; width: 0; height: 0; }
.checkbox .box {
    width: 21px; height: 21px; border-radius: 7px;
    border: 1.5px solid var(--hairline-strong);
    background: rgba(255, 255, 255, .92);
    display: inline-flex; align-items: center; justify-content: center;
    transition: all .22s var(--spring);
}
.checkbox .box svg {
    width: 12px; height: 12px;
    stroke: #fff; stroke-width: 3; fill: none;
    stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 17; stroke-dashoffset: 17;
    transition: stroke-dashoffset .26s ease .04s;
}
.checkbox input:checked + .box {
    background: linear-gradient(180deg, #3D9BFF, #0A7AFF);
    border-color: transparent;
    box-shadow: 0 4px 10px -2px rgba(10, 132, 255, .45);
    transform: scale(1.05);
}
.checkbox input:checked + .box svg { stroke-dashoffset: 0; }
.checkbox input:focus-visible + .box { box-shadow: 0 0 0 4px rgba(60, 60, 67, .1); }
/* 半选状态：显示一条横杠 */
.checkbox input:indeterminate + .box {
    background: rgba(10, 132, 255, .85);
    border-color: transparent;
}
.checkbox input:indeterminate + .box svg {
    stroke-dashoffset: 0;
    opacity: .4;
    stroke-width: 4;
}

/* 行内删除图标按钮 */
.icon-btn {
    width: 35px; height: 35px; border-radius: 11px;
    border: 1px solid rgba(255, 59, 48, .18);
    background: rgba(255, 59, 48, .07);
    color: var(--red);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background .2s var(--ease), transform .18s var(--spring);
}
.icon-btn:hover { background: rgba(255, 59, 48, .15); transform: translateY(-1.5px); }
.icon-btn:active { transform: scale(.88); }
.icon-btn svg { width: 16px; height: 16px; }

/* ============ 浮动批量操作条 ============ */
.sel-bar {
    position: fixed; left: 50%; bottom: 30px; z-index: 900;
    display: flex; align-items: center; gap: 12px;
    padding: 10px 10px 10px 24px;
    border-radius: 999px;
    background: rgba(28, 28, 30, .88);
    color: #fff;
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 22px 55px -10px rgba(0, 0, 0, .45);
    transform: translate(-50%, 150%);
    opacity: 0; visibility: hidden;
    transition: transform .55s var(--spring), opacity .3s var(--ease), visibility .3s;
    max-width: calc(100vw - 32px);
}
.sel-bar.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.sel-bar .sel-count { font-size: 14px; font-weight: 600; white-space: nowrap; }
.sel-bar .sel-count b { color: #7CC0FF; font-size: 16px; }

.btn-danger-pill {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 10px 22px; border: none; border-radius: 999px;
    color: #fff; font-family: inherit; font-size: 13.5px; font-weight: 700;
    background: linear-gradient(180deg, #FF5147, #F0362B);
    box-shadow: 0 8px 18px -4px rgba(255, 59, 48, .55), inset 0 1px 0 rgba(255, 255, 255, .22);
    cursor: pointer; white-space: nowrap;
    transition: transform .18s var(--spring), filter .18s;
}
.btn-danger-pill:hover { transform: translateY(-1.5px); filter: saturate(1.1); }
.btn-danger-pill:active { transform: scale(.95); }
.btn-danger-pill svg { width: 14px; height: 14px; }

.btn-text-light {
    padding: 10px 16px; background: transparent; border: none;
    color: rgba(255, 255, 255, .72); font-family: inherit; font-size: 13.5px;
    cursor: pointer; border-radius: 999px; white-space: nowrap;
    transition: color .2s, background .2s;
}
.btn-text-light:hover { color: #fff; background: rgba(255, 255, 255, .1); }

/* ============ 标签 ============ */
.tag {
    display: inline-block; padding: 4px 13px; border-radius: 999px;
    font-size: 12.5px; font-weight: 700; letter-spacing: .5px;
}
.tag-blue   { background: rgba(10, 132, 255, .11); color: #0A6CDB; }
.tag-purple { background: rgba(120, 120, 128, .13); color: #5a5a60; }
.tag-green  { background: rgba(52, 199, 89, .14); color: #248a3d; }

/* ============ 详情页 ============ */
.detail-head { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
.detail-head h2 { font-size: 25px; font-weight: 800; }
.detail-meta { color: var(--sub); font-size: 14px; margin-bottom: 24px; }

.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.img-card {
    border-radius: 18px; overflow: hidden;
    border: 1px solid var(--hairline);
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 8px 20px -10px rgba(28, 48, 110, .14);
    transition: transform .25s var(--spring), box-shadow .25s var(--ease);
    animation: pop .4s var(--spring) both;
}
.img-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px -12px rgba(28, 48, 110, .25);
}
.img-card .thumb { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; background: #f2f2f7; }
.img-card .info {
    padding: 11px 13px; font-size: 12.5px; color: var(--sub);
    display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.img-card .info .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 52%; }
.img-card .dl {
    flex-shrink: 0; padding: 6px 15px; font-size: 12.5px; font-weight: 700;
    color: var(--blue); background: rgba(10, 132, 255, .1);
    border-radius: 999px; text-decoration: none;
    transition: all .2s var(--ease);
}
.img-card .dl:hover { background: var(--blue); color: #fff; }

/* ============ 其他 ============ */
.foot-note { text-align: center; color: var(--sub); font-size: 13px; }
.foot-note a { color: var(--blue); text-decoration: none; font-weight: 600; }
.foot-note a:hover { text-decoration: underline; }

.empty {
    text-align: center; color: var(--sub);
    padding: 58px 0; font-size: 15px; letter-spacing: 1px;
}

/* ============ 响应式 ============ */
@media (max-width: 640px) {
    .form-grid { grid-template-columns: 1fr; }
    .card { padding: 26px 20px; }
    .header h1 { font-size: 25px; }
    .page-wrap { padding-top: 38px; }
    .btn-submit { width: 100%; min-width: 0; }
    .sel-bar { padding: 8px 8px 8px 18px; gap: 8px; }
    .sel-bar .sel-count { font-size: 13px; }
    table.list td, table.list th { padding: 11px 10px; }
}

/* 减少动态效果偏好 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}