/* ============================================================
   GlassesPaw — 全局样式
   设计语言：简洁、通透、科技感
   浅色系玻璃拟态 + 靛蓝/青色渐变点缀 + 细腻阴影与动效
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    /* 品牌渐变 */
    --grad-brand: linear-gradient(135deg, #6366f1 0%, #3b82f6 55%, #06b6d4 100%);
    --grad-danger: linear-gradient(135deg, #f87171 0%, #ef4444 60%, #dc2626 100%);
    --grad-accent: linear-gradient(135deg, #fbbf24 0%, #f97316 60%, #ea580c 100%);

    /* 中性色（slate 系） */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    --indigo-50: #eef2ff;
    --indigo-100: #e0e7ff;
    --indigo-500: #6366f1;
    --indigo-600: #4f46e5;
    --cyan-500: #06b6d4;

    /* 阴影层级 */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -12px rgba(15, 23, 42, 0.12);
    --shadow-card-hover: 0 2px 4px rgba(15, 23, 42, 0.05), 0 20px 44px -16px rgba(79, 70, 229, 0.22);
    --shadow-modal: 0 24px 64px -16px rgba(15, 23, 42, 0.35);
    --shadow-btn-primary: 0 6px 16px -4px rgba(99, 102, 241, 0.45);
    --shadow-btn-danger: 0 6px 16px -4px rgba(239, 68, 68, 0.4);
    --shadow-btn-accent: 0 6px 16px -4px rgba(249, 115, 22, 0.4);

    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 16px;

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

::selection { background: rgba(99, 102, 241, 0.22); }

body {
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-feature-settings: "cv02", "cv03", "cv04";
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    color: var(--slate-700);
    background-color: #f4f7fe;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 背景装饰：柔和光斑 + 细网格 */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(720px 360px at 12% -4%, rgba(99, 102, 241, 0.14), transparent 62%),
        radial-gradient(680px 380px at 88% 6%, rgba(6, 182, 212, 0.12), transparent 62%),
        radial-gradient(560px 320px at 50% 108%, rgba(59, 130, 246, 0.10), transparent 60%);
}
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
}

.container { max-width: 60rem; margin: 0 auto; padding: 0 1.25rem; }

/* ============ 头部导航（玻璃拟态） ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 4.25rem; }
.brand { display: flex; align-items: center; gap: 0.625rem; text-decoration: none; }
.brand-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    box-shadow: 0 4px 10px -2px rgba(79, 70, 229, 0.45);
    transition: transform 0.3s var(--ease-out);
}
.brand:hover .brand-icon { transform: rotate(-6deg) scale(1.06); }
.brand span {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    background: linear-gradient(120deg, var(--slate-900) 40%, var(--indigo-600));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.site-nav { display: flex; gap: 0.375rem; }
.nav-link {
    position: relative;
    color: var(--slate-500);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.4375rem 0.875rem;
    border-radius: 999px;
    transition: color 0.18s, background-color 0.18s;
}
.nav-link:hover { color: var(--slate-900); background: rgba(99, 102, 241, 0.08); }
.nav-link.active { color: var(--indigo-600); background: var(--indigo-50); }
.header-auth { display: flex; align-items: center; gap: 0.75rem; }
.header-email {
    font-size: 0.8125rem;
    color: var(--slate-500);
    max-width: 14rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: var(--slate-100);
    border: 1px solid var(--slate-200);
    padding: 0.3125rem 0.75rem;
    border-radius: 999px;
}

/* ============ 主区域 ============ */
.site-main { flex: 1; }
.page { padding-top: 3.5rem; padding-bottom: 4rem; }

.hero { text-align: center; margin-bottom: 2.75rem; }
.hero-title {
    font-size: clamp(1.875rem, 4.5vw, 2.625rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    background: linear-gradient(120deg, var(--slate-900) 30%, var(--indigo-600) 75%, var(--cyan-500));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.75rem;
}
.hero-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    border-radius: 999px;
    background: var(--grad-brand);
    margin: 1rem auto 0;
}
.hero-subtitle { color: var(--slate-500); font-size: 1.0625rem; max-width: 34rem; margin: 0 auto; }

/* 入场动画：卡片依次浮入 */
@keyframes fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
.page > section { animation: fade-up 0.55s var(--ease-out) both; }
.page > section:nth-of-type(2) { animation-delay: 0.06s; }
.page > section:nth-of-type(3) { animation-delay: 0.12s; }
.page > section:nth-of-type(4) { animation-delay: 0.18s; }
.page > section:nth-of-type(5) { animation-delay: 0.24s; }

/* ============ 卡片 ============ */
.card {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.card-title {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--slate-900);
    margin-bottom: 1.25rem;
}
.card-title::before {
    content: "";
    flex-shrink: 0;
    width: 5px;
    height: 1.125rem;
    border-radius: 999px;
    background: var(--grad-brand);
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.4);
}

/* ============ 信息列表 ============ */
.info-list .info-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.875rem 0;
    border-bottom: 1px dashed var(--slate-200);
}
.info-list .info-row:last-child { border-bottom: 0; }
.info-row dt {
    color: var(--slate-400);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}
.info-row dd { color: var(--slate-800); font-size: 0.9375rem; font-weight: 500; text-align: right; word-break: break-all; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.8125rem; }

/* ============ 列表与网格 ============ */
.bullet-list { list-style: none; display: grid; gap: 0.5rem; }
.bullet-list li {
    position: relative;
    padding-left: 1.5rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    color: var(--slate-600);
    font-size: 0.9375rem;
}
.bullet-list li::before {
    content: "";
    position: absolute;
    left: 0.25rem;
    top: 0.8125rem;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--grad-brand);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.14);
}

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.contact-item {
    background: linear-gradient(150deg, var(--indigo-50), #fff 70%);
    border: 1px solid var(--indigo-100);
    border-radius: var(--radius-md);
    padding: 1.125rem 1.25rem;
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.contact-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.contact-item-title { font-size: 0.9375rem; font-weight: 600; color: var(--slate-800); margin-bottom: 0.25rem; }
.contact-item a { color: var(--indigo-600); font-weight: 500; text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }

/* ============ 表单 ============ */
.field { margin-bottom: 1.125rem; }
.field-label { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--slate-600); margin-bottom: 0.4375rem; }
.input {
    width: 100%;
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-md);
    background: var(--slate-50);
    padding: 0.625rem 0.875rem;
    font-size: 0.9375rem;
    color: var(--slate-800);
    transition: border-color 0.18s, box-shadow 0.18s, background-color 0.18s;
}
.input::placeholder { color: var(--slate-400); }
.input:hover { border-color: var(--slate-300); }
.input:focus {
    outline: none;
    border-color: var(--indigo-500);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.14);
}
.textarea { resize: vertical; }
.code-row { display: flex; gap: 0.75rem; }
.code-row .input { flex: 1; }
.code-row .btn { flex-shrink: 0; min-width: 8rem; }

.checkbox-row { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.875rem; color: var(--slate-600); margin-bottom: 1.125rem; cursor: pointer; }
.checkbox-row input { margin-top: 0.1875rem; width: 1rem; height: 1rem; accent-color: var(--indigo-600); cursor: pointer; }

.account-box {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    background: linear-gradient(150deg, var(--indigo-50), var(--slate-50));
    border: 1px solid var(--indigo-100);
    border-radius: var(--radius-md);
    padding: 0.75rem 0.875rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--slate-800);
}

.form-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: var(--radius-md);
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* ============ 按钮 ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--radius-md);
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), filter 0.2s, background-color 0.2s;
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.btn:not(:disabled):hover { transform: translateY(-1px); }
.btn:not(:disabled):active { transform: translateY(0); filter: brightness(0.96); }
.btn-block { width: 100%; }
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.75rem; border-radius: var(--radius-sm); }

.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-btn-primary); }
.btn-danger { background: var(--grad-danger); color: #fff; box-shadow: var(--shadow-btn-danger); }
.btn-accent { background: var(--grad-accent); color: #fff; box-shadow: var(--shadow-btn-accent); }
.btn-outline {
    background: #fff;
    border: 1.5px solid var(--slate-200);
    color: var(--slate-600);
    box-shadow: var(--shadow-sm);
}
.btn-outline:not(:disabled):hover { border-color: var(--indigo-500); color: var(--indigo-600); }

.muted { color: var(--slate-500); font-size: 0.875rem; margin-bottom: 0.75rem; }

/* ============ 弹窗 ============ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.modal[hidden] { display: none; }
@keyframes pop-in {
    from { opacity: 0; transform: translateY(12px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-dialog {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-modal);
    width: 100%;
    max-width: 26.5rem;
    padding: 1.625rem;
    animation: pop-in 0.28s var(--ease-out);
}
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.375rem; }
.modal-title-group { display: flex; align-items: center; gap: 0.75rem; }
.modal-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-icon svg { width: 1.25rem; height: 1.25rem; }
.modal-icon-blue { background: linear-gradient(135deg, var(--indigo-50), #e0f2fe); color: var(--indigo-600); box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.18); }
.modal-title { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; color: var(--slate-900); }
.modal-subtitle { font-size: 0.75rem; color: var(--slate-500); margin-top: 0.125rem; }
.modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.875rem;
    height: 1.875rem;
    background: var(--slate-100);
    border: 0;
    border-radius: 999px;
    font-size: 1.125rem;
    line-height: 1;
    color: var(--slate-400);
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s, transform 0.15s;
}
.modal-close:hover { background: var(--slate-200); color: var(--slate-700); transform: rotate(90deg); }
.modal-actions { display: flex; justify-content: flex-end; gap: 0.75rem; margin-top: 0.5rem; }

/* ============ 滑块验证码 ============ */
.captcha-puzzle {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--slate-100);
    min-height: 8rem;
    margin-bottom: 0.75rem;
    box-shadow: inset 0 0 0 1px var(--slate-200);
}
.captcha-bg { width: 100%; display: block; user-select: none; }
.captcha-tile { position: absolute; top: 0; left: 0; user-select: none; filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.35)); }
.captcha-refresh {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.875rem;
    height: 1.875rem;
    background: rgba(255, 255, 255, 0.92);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    color: var(--slate-500);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s var(--ease-out), color 0.15s;
}
.captcha-refresh svg { width: 0.9375rem; height: 0.9375rem; }
.captcha-refresh:hover { transform: rotate(120deg); color: var(--indigo-600); }
.captcha-status {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--slate-500);
    font-size: 0.875rem;
}
.captcha-track {
    position: relative;
    height: 2.875rem;
    background: var(--slate-100);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.captcha-track-tip {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-400);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    pointer-events: none;
}
.captcha-handle {
    position: absolute;
    top: 0;
    left: 0;
    width: 2.875rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-brand);
    color: #fff;
    cursor: grab;
    touch-action: none;
    user-select: none;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.45);
    transition: background-color 0.2s;
}
.captcha-handle svg { width: 1.125rem; height: 1.125rem; }
.captcha-handle:active { cursor: grabbing; }
.captcha-handle.success { background: linear-gradient(135deg, #34d399, #10b981); }
.captcha-feedback { min-height: 1.5rem; margin-top: 0.5rem; font-size: 0.8125rem; color: var(--slate-500); }
.captcha-feedback.error { color: #dc2626; }
.captcha-feedback.success { color: #059669; }

/* ============ 申请记录 ============ */
.request-item {
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 1.125rem 1.25rem;
    margin-bottom: 0.75rem;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.request-item:hover { border-color: var(--slate-300); box-shadow: var(--shadow-sm); }
.request-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.5rem; }
.request-date { font-size: 0.75rem; color: var(--slate-400); }
.request-reason { font-size: 0.9375rem; color: var(--slate-700); white-space: pre-wrap; word-break: break-word; }
.request-reply {
    margin-top: 0.75rem;
    background: var(--indigo-50);
    border-left: 3px solid var(--indigo-500);
    border-radius: var(--radius-sm);
    padding: 0.625rem 0.875rem;
    font-size: 0.8125rem;
    color: var(--slate-700);
}
.request-reply .reply-label { font-weight: 600; color: var(--indigo-600); margin-right: 0.375rem; }

/* ============ 状态徽标 ============ */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}
.status-badge::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.status-pending { background: #fef9c3; color: #a16207; }
.status-processing { background: var(--indigo-50); color: var(--indigo-600); }
.status-completed { background: #dcfce7; color: #15803d; }
.status-rejected { background: #fee2e2; color: #b91c1c; }

.empty-state { text-align: center; padding: 2.5rem 1rem; color: var(--slate-400); }
.empty-state strong { color: var(--slate-500); font-weight: 600; }
.empty-state p { font-size: 0.875rem; margin-top: 0.25rem; }

/* ============ Toast ============ */
.toast-container { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 60; display: flex; flex-direction: column; gap: 0.625rem; }
@keyframes toast-in {
    from { opacity: 0; transform: translateY(0.75rem) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.toast {
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(8px);
    color: #fff;
    border-radius: var(--radius-md);
    padding: 0.75rem 1.125rem;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 12px 28px -8px rgba(15, 23, 42, 0.45);
    animation: toast-in 0.25s var(--ease-out);
    max-width: 22rem;
}
.toast.success { background: linear-gradient(135deg, #059669, #10b981); }
.toast.error { background: linear-gradient(135deg, #dc2626, #ef4444); }

/* ============ 页脚 ============ */
.site-footer {
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    padding: 1.75rem 0;
    text-align: center;
    color: var(--slate-400);
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
}

/* ============ 后台管理 ============ */
.admin-layout { max-width: 76rem; }
.admin-layout .hero { text-align: left; margin-bottom: 1.75rem; }
.admin-layout .hero-title::after { margin-left: 0; }
.admin-tabs {
    display: inline-flex;
    gap: 0.25rem;
    background: rgba(226, 232, 240, 0.55);
    border: 1px solid var(--slate-200);
    padding: 0.25rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}
.admin-tab {
    border: 0;
    background: transparent;
    border-radius: 999px;
    padding: 0.5rem 1.125rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--slate-500);
    transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.admin-tab:hover { color: var(--slate-800); }
.admin-tab.active { background: #fff; color: var(--indigo-600); box-shadow: var(--shadow-sm); font-weight: 600; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.admin-table th, .admin-table td { text-align: left; padding: 0.75rem 0.875rem; border-bottom: 1px solid var(--slate-100); vertical-align: top; }
.admin-table th {
    color: var(--slate-400);
    font-weight: 600;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.admin-table td { color: var(--slate-700); }
.admin-table tbody tr { transition: background-color 0.15s; }
.admin-table tbody tr:hover { background: var(--slate-50); }
.admin-detail {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    padding: 0.75rem 0.875rem;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    white-space: pre-wrap;
    word-break: break-word;
    color: var(--slate-600);
}
.admin-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.admin-reply-row { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.admin-reply-row .input { flex: 1; }
.admin-login-card { max-width: 24rem; margin: 4.5rem auto; }
.status-select {
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    padding: 0.375rem 0.5rem;
    font-size: 0.8125rem;
    background: #fff;
    color: var(--slate-700);
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.status-select:focus { outline: none; border-color: var(--indigo-500); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.14); }

/* ============ 404 页面 ============ */
.error-page { text-align: center; padding: 4.5rem 0 5.5rem; }
@keyframes error-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.error-code {
    font-size: clamp(6rem, 20vw, 10rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: error-float 4s ease-in-out infinite;
    filter: drop-shadow(0 12px 24px rgba(99, 102, 241, 0.25));
}
.error-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--slate-900);
    margin: 1.25rem 0 0.5rem;
}
.error-text { color: var(--slate-500); margin-bottom: 2rem; }
.error-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ============ 响应式与动效偏好 ============ */
@media (max-width: 640px) {
    .site-nav { gap: 0.125rem; }
    .nav-link { padding: 0.375rem 0.625rem; }
    .header-email { display: none; }
    .code-row { flex-direction: column; }
    .card { padding: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
