/* B站风格主题 - 晴空蓝 + 樱花粉 + 奶油白，精致灵动 */
:root {
    /* Bilibili 风格核心色 */
    --bilibilipink: #FB7299;        /* 哔哩粉（品牌主色） */
    --bilibiblue: #00AEEC;         /* 哔哩蓝（品牌辅色） */
    --pink-deep: #E74B7C;          /* 深粉（按钮按下/hover） */
    --blue-deep: #0099D8;          /* 深蓝 */
    --pink-light: #FFE4EE;         /* 浅粉背景 */
    --blue-light: #E6F7FF;         /* 浅蓝背景 */
    --purple-glow: #9D6BFF;        /* 梦幻紫（渐变） */

    --bg: #F4F6FB;                 /* 浅灰蓝背景 */
    --bg-deep: #EAF1F8;            /* 略深背景 */
    --card: #FFFFFF;               /* 纯白卡片 */
    --text: #18191C;               /* 主文字（近黑） */
    --text-sub: #61666D;           /* 次级文字 */
    --text-mute: #9499A0;          /* 灰文字 */
    --border: #E3E5E7;             /* 细边框 */
    --border-soft: #F0F2F5;        /* 更柔边框 */
    --accent: #FFC83D;             /* 橙黄点缀 */
    --danger: #F56C6C;             /* 错误红 */
    --success: #67C23A;            /* 成功绿 */

    /* 阴影：B站式柔和细腻 */
    --shadow-sm: 0 2px 12px 0 rgba(0, 0, 0, .06);
    --shadow-md: 0 6px 24px 0 rgba(0, 0, 0, .08);
    --shadow-lg: 0 12px 42px -4px rgba(0, 0, 0, .12);
    --shadow-pink: 0 10px 28px rgba(251, 114, 153, .28);
    --shadow-blue: 0 10px 28px rgba(0, 174, 236, .28);

    /* 圆角：B站式大圆角 */
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-pill: 999px;
}

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

*::selection {
    background: var(--pink-light);
    color: var(--pink-deep);
}

html, body {
    font-family: "HarmonyOS Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC",
                 "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--bilibiblue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--bilibilipink); text-decoration: none; }

/* 背景浮动装饰（登录注册页） */
.decor-bg {
    position: fixed; inset: 0; overflow: hidden; z-index: 0; pointer-events: none;
}
.decor-bg .blob {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55;
    animation: blobFloat 18s ease-in-out infinite;
}
.decor-bg .b1 {
    width: 520px; height: 520px;
    background: radial-gradient(circle, #FFB7D2 0%, transparent 70%);
    top: -120px; left: -120px;
}
.decor-bg .b2 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, #A3E4FF 0%, transparent 70%);
    bottom: -180px; right: -160px;
    animation-delay: -6s;
}
.decor-bg .b3 {
    width: 420px; height: 420px;
    background: radial-gradient(circle, #D9C6FF 0%, transparent 70%);
    top: 30%; left: 50%;
    animation-delay: -12s;
}
@keyframes blobFloat {
    0%,100% { transform: translate(0,0) scale(1); }
    33%     { transform: translate(40px,-30px) scale(1.05); }
    66%     { transform: translate(-30px,30px) scale(.96); }
}

/* =========================================================
   顶部导航（B站风格：悬浮透明毛玻璃 + 大圆角胶囊菜单）
   ========================================================= */
.navbar {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.78);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid rgba(227,229,231,.6);
    padding: 14px 32px;
    display: flex; align-items: center; justify-content: space-between;
}
.navbar .logo {
    font-size: 22px; font-weight: 800;
    display: flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, var(--bilibilipink) 0%, var(--bilibiblue) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.navbar .logo .logo-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--bilibilipink), var(--bilibiblue));
    color: #fff; border-radius: 12px;
    box-shadow: var(--shadow-pink);
    font-size: 18px;
}
.navbar .nav-links {
    display: flex; gap: 6px; align-items: center;
    background: var(--bg);
    padding: 6px;
    border-radius: var(--r-pill);
    border: 1px solid var(--border-soft);
}
.navbar .nav-links a {
    position: relative;
    padding: 8px 18px;
    border-radius: var(--r-pill);
    color: var(--text-sub);
    font-weight: 500; font-size: 14px;
    transition: all .25s ease;
}
.navbar .nav-links a:hover {
    color: var(--text);
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.navbar .nav-links a.active {
    background: linear-gradient(135deg, var(--bilibilipink), var(--pink-deep));
    color: #fff !important;
    box-shadow: var(--shadow-pink);
}
.navbar .nav-user {
    display: flex; align-items: center; gap: 10px;
}
.navbar .nav-user-name {
    font-size: 14px; font-weight: 600; color: var(--text);
    background: linear-gradient(135deg, var(--bilibilipink), var(--bilibiblue));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    padding: 4px 10px;
}
.navbar .nav-user-role {
    font-size: 12px; font-weight: 700; padding: 3px 10px;
    border-radius: var(--r-pill);
    background: linear-gradient(135deg, var(--accent), #FF9F43);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255,159,67,.35);
}
.navbar .nav-logout {
    padding: 6px 16px !important;
    font-size: 13px;
    border-radius: var(--r-pill) !important;
}

/* 汉堡按钮（仅手机端显示） */
.nav-burger {
    display: none;
    width: 40px; height: 40px;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    padding: 0;
    flex-shrink: 0;
}
.nav-burger span {
    display: block;
    position: absolute;
    left: 9px; right: 9px;
    height: 2px;
    background: var(--bilibilipink);
    border-radius: 2px;
    transition: all .3s ease;
}
.nav-burger span:nth-child(1) { top: 12px; }
.nav-burger span:nth-child(2) { top: 19px; }
.nav-burger span:nth-child(3) { top: 26px; }
.nav-burger:active { transform: scale(.92); }

/* 手机端抽屉遮罩 */
.nav-mask {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 200;
    opacity: 0;
    transition: opacity .3s ease;
}
.nav-mask.show {
    display: block;
    opacity: 1;
}

/* 手机端抽屉 */
.nav-drawer {
    position: fixed;
    top: 0; right: -280px;
    width: 280px; height: 100vh;
    background: #fff;
    z-index: 300;
    box-shadow: -10px 0 40px rgba(0,0,0,.15);
    transform: translateX(0);
    transition: right .3s cubic-bezier(.4,0,.2,1);
    display: flex; flex-direction: column;
    overflow-y: auto;
}
.nav-drawer.open { right: 0; }

.nav-drawer-head {
    padding: 22px 20px 18px;
    background: linear-gradient(135deg, var(--bilibilipink) 0%, var(--bilibiblue) 100%);
    color: #fff;
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px;
}
.nav-drawer-user {
    display: flex; align-items: center; gap: 12px;
    min-width: 0;
}
.nav-drawer-avatar {
    width: 46px; height: 46px;
    border-radius: 14px;
    background: rgba(255,255,255,.25);
    border: 2px solid rgba(255,255,255,.6);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 800;
    flex-shrink: 0;
}
.nav-drawer-name {
    font-size: 17px; font-weight: 800;
    margin-bottom: 4px;
    word-break: break-all;
}
.nav-drawer-head .badge-pill { background: rgba(255,255,255,.95); color: var(--pink-deep); }
.nav-drawer-head .badge-user { background: rgba(255,255,255,.25); color: #fff; border: 1px solid rgba(255,255,255,.5); }
.nav-drawer-close {
    background: rgba(255,255,255,.2);
    border: 0;
    color: #fff;
    width: 32px; height: 32px;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .2s;
}
.nav-drawer-close:hover { background: rgba(255,255,255,.35); }

.nav-drawer-links {
    flex: 1;
    padding: 12px 10px;
    display: flex; flex-direction: column;
    gap: 4px;
}
.nav-drawer-links a {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    color: var(--text);
    font-size: 15px; font-weight: 600;
    text-decoration: none;
    transition: all .2s;
}
.nav-drawer-links a:hover {
    background: var(--pink-light);
    color: var(--bilibilipink);
    text-decoration: none;
}
.nav-drawer-links a.active {
    background: linear-gradient(135deg, var(--bilibilipink), var(--pink-deep));
    color: #fff;
    box-shadow: var(--shadow-pink);
}
.nav-drawer-ico {
    font-size: 20px;
    width: 26px; text-align: center;
    flex-shrink: 0;
}

.nav-drawer-foot {
    padding: 16px 18px 24px;
    border-top: 1px solid var(--border-soft);
}

/* 手机端断点：隐藏 PC 中部菜单和右侧用户区，显示汉堡按钮 */
@media (max-width: 900px) {
    .navbar { padding: 12px 16px; }
    .navbar .logo { font-size: 18px; }
    .navbar .logo .logo-icon { width: 30px; height: 30px; font-size: 15px; }
    .nav-links-pc,
    .nav-user-pc { display: none !important; }
    .nav-burger { display: block; }
}

/* =========================================================
   考勤日历
   ========================================================= */
.cal-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px; gap: 12px; flex-wrap: wrap;
}
.cal-month-switch {
    display: flex; gap: 8px; align-items: center;
    background: var(--bg); padding: 4px;
    border-radius: var(--r-pill); border: 1px solid var(--border-soft);
}
.cal-month-switch button {
    background: transparent; border: 0; cursor: pointer;
    padding: 6px 14px; border-radius: var(--r-pill);
    color: var(--text-sub); font-weight: 600; font-size: 14px;
}
.cal-month-switch button:hover { background: #fff; color: var(--bilibilipink); }
.cal-month-switch .cal-month-title {
    font-weight: 800; font-size: 18px;
    background: linear-gradient(135deg, var(--bilibilipink), var(--bilibiblue));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    padding: 0 16px; min-width: 140px; text-align: center;
}
.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}
.cal-weekday {
    text-align: center;
    padding: 10px 0;
    font-weight: 700; font-size: 13px;
    color: var(--text-sub);
    background: var(--bg);
    border-radius: var(--r-sm);
    border: 1px solid var(--border-soft);
}
.cal-weekday.sun { color: var(--danger); }
.cal-weekday.sat { color: var(--bilibiblue); }
.cal-day {
    aspect-ratio: 1 / 1.05;
    border-radius: var(--r-md);
    border: 1px solid var(--border-soft);
    background: var(--card);
    padding: 8px;
    display: flex; flex-direction: column; justify-content: space-between;
    position: relative;
    transition: all .2s ease;
    overflow: hidden;
}
.cal-day:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.cal-day.empty { background: transparent; border: 0; box-shadow: none; }
.cal-day.today {
    border-color: var(--bilibilipink);
    box-shadow: 0 0 0 3px rgba(251,114,153,.18);
}
.cal-day .day-num {
    font-weight: 700; font-size: 15px; color: var(--text);
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%;
}
.cal-day.weekend .day-num { color: var(--danger); }
.cal-day.today .day-num {
    background: linear-gradient(135deg, var(--bilibilipink), var(--pink-deep));
    color: #fff;
    box-shadow: var(--shadow-pink);
}
.cal-day .day-status {
    text-align: center;
    font-size: 22px; font-weight: 700;
    line-height: 1;
}
.cal-day .day-meta {
    text-align: center; font-size: 11px;
    color: var(--text-sub); line-height: 1.4;
}
.cal-day .cal-h-regular {
    color: var(--bilibiblue);
    font-weight: 700;
    font-size: 11px;
}
.cal-day .cal-h-overtime {
    color: #FF7A00;
    font-weight: 800;
    font-size: 11px;
    margin-left: 2px;
}
.cal-legend .cal-h-regular { color: var(--bilibiblue); }
.cal-legend .cal-h-overtime { color: #FF7A00; margin-left: 0; }
/* 状态：打勾（完成）= 绿色圆 + ✓ */
.cal-day.status-ok {
    background: linear-gradient(160deg, #E8FBF0 0%, #FFF 60%);
    border-color: rgba(103,194,58,.45);
}
.cal-day.status-ok .day-status { color: var(--success); text-shadow: 0 2px 6px rgba(103,194,58,.3); }
/* 状态：缺勤（工作日未打卡）= 红色叉号 */
.cal-day.status-miss {
    background: linear-gradient(160deg, #FEEFF2 0%, #FFF 60%);
    border-color: rgba(245,108,108,.45);
}
.cal-day.status-miss .day-status { color: var(--danger); text-shadow: 0 2px 6px rgba(245,108,108,.3); }
/* 状态：休息 / 周末不考勤 = 蓝色月亮 */
.cal-day.status-rest {
    background: linear-gradient(160deg, #ECF8FF 0%, #FFF 60%);
    border-color: rgba(0,174,236,.4);
}
.cal-day.status-rest .day-status { color: var(--bilibiblue); }
/* 状态：打了上班卡未下班 = 黄色钟表 */
.cal-day.status-open {
    background: linear-gradient(160deg, #FFF8E7 0%, #FFF 60%);
    border-color: rgba(255,200,61,.55);
}
.cal-day.status-open .day-status { color: var(--accent); }

.cal-legend {
    display: flex; flex-wrap: wrap; gap: 16px;
    margin-top: 18px; padding: 14px 18px;
    background: var(--bg);
    border-radius: var(--r-md);
    border: 1px solid var(--border-soft);
    font-size: 13px; color: var(--text-sub);
}
.cal-legend .dot {
    display: inline-block; width: 14px; height: 14px;
    border-radius: 4px; margin-right: 6px; vertical-align: middle;
    border: 1px solid var(--border);
}
.cal-legend .l-ok    { background: #E8FBF0; border-color: rgba(103,194,58,.45); }
.cal-legend .l-miss  { background: #FEEFF2; border-color: rgba(245,108,108,.45); }
.cal-legend .l-rest  { background: #ECF8FF; border-color: rgba(0,174,236,.4); }
.cal-legend .l-open  { background: #FFF8E7; border-color: rgba(255,200,61,.55); }

/* =========================================================
   管理员 / 用户表
   ========================================================= */
.user-table { width: 100%; border-collapse: collapse; }
.user-table th, .user-table td {
    padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border-soft);
    font-size: 14px;
}
.user-table th {
    background: var(--bg); color: var(--text-sub);
    font-weight: 700; font-size: 13px; letter-spacing: .5px;
    position: sticky; top: 0;
}
.user-table tbody tr:hover { background: var(--bg-soft); }
.user-table td .uname {
    font-weight: 700; color: var(--text); display: block;
}
.user-table td .ucomp {
    font-size: 12px; color: var(--text-sub); display: block; margin-top: 2px;
}
.badge-pill {
    display: inline-block; padding: 3px 12px;
    border-radius: var(--r-pill);
    font-size: 12px; font-weight: 700;
}
.badge-admin { background: linear-gradient(135deg, var(--accent), #FF9F43); color: #fff; box-shadow: 0 4px 12px rgba(255,159,67,.3); }
.badge-user  { background: var(--bg); color: var(--text-sub); border: 1px solid var(--border-soft); }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.mini-btn {
    padding: 4px 12px; font-size: 12px; border-radius: var(--r-pill);
    border: 1px solid var(--border-soft); background: #fff;
    color: var(--text-sub); cursor: pointer; text-decoration: none;
    transition: all .2s; font-weight: 600;
}
.mini-btn:hover { color: var(--bilibilipink); border-color: var(--bilibilipink); background: var(--pink-light); }
.mini-btn.danger:hover { color: var(--danger); border-color: var(--danger); background: #FEEFF2; }
.mini-btn.primary { background: linear-gradient(135deg, var(--bilibilipink), var(--pink-deep)); color: #fff; border-color: transparent; box-shadow: var(--shadow-pink); }
.mini-btn.blue    { background: linear-gradient(135deg, var(--bilibiblue), var(--blue-deep)); color: #fff; border-color: transparent; box-shadow: var(--shadow-blue); }

.filter-bar {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    background: var(--bg); padding: 14px 18px;
    border-radius: var(--r-md);
    border: 1px solid var(--border-soft);
    margin-bottom: 18px;
}
.filter-bar label { font-size: 13px; color: var(--text-sub); font-weight: 600; }
.filter-bar input, .filter-bar select {
    background: #fff; border: 1px solid var(--border-soft);
    border-radius: var(--r-sm); padding: 8px 12px;
    font-size: 13px; font-family: inherit;
}

.text-right { text-align: right; }
.muted { color: var(--text-sub); }
a { color: var(--bilibilipink); text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; }

/* =========================================================
   容器 & 卡片
   ========================================================= */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px 24px 60px;
    position: relative;
    z-index: 1;
}

.card {
    background: var(--card);
    border-radius: var(--r-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-soft);
    transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover {
    box-shadow: var(--shadow-md);
}

.section-title {
    font-size: 18px; font-weight: 700; color: var(--text);
    margin-bottom: 20px;
    display: flex; align-items: center; gap: 10px;
}
.section-title::before {
    content: '';
    display: inline-block;
    width: 4px; height: 18px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--bilibilipink), var(--bilibiblue));
}

/* =========================================================
   表单控件（B站风格：柔和描边+聚焦渐变+微笑的圆角）
   ========================================================= */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; margin-bottom: 8px;
    font-weight: 600; color: var(--text); font-size: 14px;
    letter-spacing: .2px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    font-size: 15px;
    background: #FAFBFD;
    color: var(--text);
    font-family: inherit;
    transition: all .2s ease;
}
.form-group input::placeholder,
.form-group select::placeholder { color: var(--text-mute); }
.form-group input:hover,
.form-group select:hover {
    border-color: #D3D7DB;
    background: #fff;
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: transparent;
    background: #fff;
    box-shadow:
        0 0 0 3px rgba(251,114,153,.12),
        0 0 0 1.5px var(--bilibilipink);
}

/* =========================================================
   按钮（B站粉色主按钮 + 渐变按钮）
   ========================================================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 12px 26px;
    border: none; border-radius: var(--r-sm);
    font-size: 15px; font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s cubic-bezier(.4,0,.2,1);
    position: relative; overflow: hidden;
    white-space: nowrap;
    text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: linear-gradient(135deg, var(--bilibilipink) 0%, var(--pink-deep) 100%);
    color: #fff;
    box-shadow: var(--shadow-pink);
}
.btn-primary:hover {
    box-shadow: 0 14px 34px rgba(251,114,153,.38);
    background: linear-gradient(135deg, #ff81a7, var(--pink-deep));
}

.btn-blue {
    background: linear-gradient(135deg, var(--bilibiblue) 0%, var(--blue-deep) 100%);
    color: #fff;
    box-shadow: var(--shadow-blue);
}
.btn-blue:hover { box-shadow: 0 14px 34px rgba(0,174,236,.4); }

.btn-block { width: 100%; }
.btn-lg { padding: 15px 34px; font-size: 16px; border-radius: 12px; }
.btn-xl {
    padding: 20px 56px; font-size: 18px; border-radius: 16px;
    font-weight: 700; letter-spacing: 1px;
}

.btn-outline {
    background: #fff;
    border: 1.5px solid var(--border);
    color: var(--text-sub);
}
.btn-outline:hover {
    border-color: var(--bilibilipink);
    color: var(--bilibilipink);
    background: var(--pink-light);
}

.btn-danger {
    background: linear-gradient(135deg, #FC8181, #F56C6C);
    color: #fff;
    box-shadow: 0 8px 20px rgba(245,108,108,.28);
}
.btn-accent {
    background: linear-gradient(135deg, var(--accent), #FF9F43);
    color: #fff;
    box-shadow: 0 8px 20px rgba(255,200,61,.35);
}

/* =========================================================
   登录 / 注册页
   ========================================================= */
.auth-wrap {
    position: relative; z-index: 1;
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 32px 20px;
}
.auth-card {
    position: relative;
    width: 100%; max-width: 440px;
    background: rgba(255,255,255,.82);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border-radius: var(--r-xl);
    padding: 44px 40px 36px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,.8);
    animation: cardPop .5s cubic-bezier(.2,.9,.3,1.3);
}
@keyframes cardPop {
    from { opacity: 0; transform: translateY(20px) scale(.96); }
    to   { opacity: 1; transform: none; }
}
.auth-card::before {
    content: '';
    position: absolute; top: -60px; left: 50%;
    transform: translateX(-50%);
    width: 120px; height: 120px;
    background: linear-gradient(135deg, var(--bilibilipink), var(--bilibiblue));
    border-radius: 32px;
    box-shadow: var(--shadow-pink);
    display: flex; align-items: center; justify-content: center;
}
.auth-card .hero-icon {
    position: absolute; top: -38px; left: 50%;
    transform: translateX(-50%);
    font-size: 50px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,.15));
}
.auth-card h1 {
    text-align: center;
    margin-top: 44px;
    background: linear-gradient(135deg, var(--bilibilipink) 0%, var(--bilibiblue) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    font-size: 28px; font-weight: 800;
    margin-bottom: 6px;
}
.auth-card .subtitle {
    text-align: center; color: var(--text-sub); margin-bottom: 28px;
    font-size: 14px;
}

.auth-tabs {
    display: flex;
    background: var(--bg);
    border-radius: var(--r-pill);
    padding: 5px;
    margin-bottom: 26px;
    border: 1px solid var(--border-soft);
}
.auth-tabs button {
    flex: 1;
    padding: 11px 0;
    border: none; border-radius: var(--r-pill);
    background: transparent; cursor: pointer;
    font-weight: 600; color: var(--text-sub); font-size: 15px;
    transition: all .3s ease;
}
.auth-tabs button.active {
    background: linear-gradient(135deg, var(--bilibilipink), var(--pink-deep));
    color: #fff;
    box-shadow: var(--shadow-pink);
    transform: scale(1.02);
}

/* 表单下方链接 */
.form-footnote {
    text-align: center; margin-top: 18px;
    color: var(--text-mute); font-size: 13px;
}
.form-footnote a { color: var(--bilibiblue); font-weight: 600; }
.form-footnote a:hover { color: var(--bilibilipink); }

/* =========================================================
   提示框（B站胶囊风格）
   ========================================================= */
.alert {
    padding: 14px 18px;
    border-radius: var(--r-sm);
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid transparent;
    display: flex; align-items: center; gap: 10px;
}
.alert::before {
    display: inline-flex; width: 20px; height: 20px; border-radius: 50%;
    align-items: center; justify-content: center;
    color: #fff; font-size: 12px; font-weight: 700;
    flex-shrink: 0;
}
.alert-error {
    background: #FFECEC; color: #C0392B; border-color: #FFCACA;
}
.alert-error::before { background: var(--danger); content: '!'; }

.alert-success {
    background: #ECFDF5; color: #0F7B4B; border-color: #BBF0D3;
}
.alert-success::before { background: var(--success); content: '✓'; }

.alert-info {
    background: #EFF6FF; color: #1E5B9E; border-color: #C5DFFA;
}
.alert-info::before { background: var(--bilibiblue); content: 'i'; }

/* =========================================================
   打卡英雄区（超级精致）
   ========================================================= */
.clock-hero {
    position: relative; overflow: hidden;
    text-align: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,183,210,.6) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(163,228,255,.6) 0%, transparent 50%),
        linear-gradient(135deg, var(--bilibilipink) 0%, var(--bilibiblue) 100%);
    border-radius: var(--r-xl);
    padding: 56px 32px 48px;
    color: #fff;
    margin-bottom: 28px;
    box-shadow: 0 20px 60px -10px rgba(251,114,153,.35), 0 20px 60px -10px rgba(0,174,236,.28);
}
.clock-hero::after {
    content: '';
    position: absolute; inset: auto;
    background:
        radial-gradient(circle, rgba(255,255,255,.15) 1.5px, transparent 2px) 0 0/22px 22px,
        radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1.5px) 11px 11px/22px 22px;
    width: 100%; height: 100%;
    top: 0; left: 0; opacity: .6; pointer-events: none;
}
.clock-hero > * { position: relative; z-index: 1; }

.clock-hero .date-now {
    font-size: 15px; opacity: .92; letter-spacing: 2px;
    text-transform: uppercase; font-weight: 500;
}
.clock-hero .time-now {
    font-size: 84px; font-weight: 800;
    letter-spacing: 4px;
    margin: 10px 0 18px;
    font-family: "SF Mono", "HarmonyOS Sans SC", -apple-system, Consolas, monospace;
    text-shadow: 0 4px 24px rgba(0,0,0,.18);
    background: linear-gradient(180deg, #fff 0%, #fff 40%, rgba(255,255,255,.88) 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.clock-status {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 22px;
    background: rgba(255,255,255,.22);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: var(--r-pill);
    font-size: 14px; font-weight: 600;
    animation: pulseGlow 2.6s ease-in-out infinite;
}
.clock-status .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 10px #fff;
    animation: blink 1.4s ease-in-out infinite;
}
@keyframes pulseGlow {
    0%,100% { box-shadow: 0 0 0 rgba(255,255,255,0); }
    50%     { box-shadow: 0 0 24px rgba(255,255,255,.4); }
}
@keyframes blink {
    0%,100% { opacity: 1; transform: scale(1); }
    50%     { opacity: .4; transform: scale(.8); }
}
.clock-actions {
    display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
    margin-top: 34px;
}
.clock-actions .btn {
    font-size: 17px; font-weight: 700;
    padding: 18px 54px; border-radius: var(--r-pill);
    letter-spacing: 2px;
}
.clock-hero .tip {
    margin-top: 22px; color: rgba(255,255,255,.82); font-size: 13px;
}

/* =========================================================
   位置框
   ========================================================= */
.location-box {
    background: linear-gradient(135deg, #F7F9FD 0%, #EFF4FF 100%);
    border-radius: var(--r-md);
    padding: 18px 20px;
    margin: 18px 0;
    font-size: 14px; color: var(--text-sub);
    border: 1px solid var(--border-soft);
    line-height: 1.8;
}
.location-box strong { color: var(--text); font-weight: 600; }

/* =========================================================
   统计网格（B站悬浮卡片 + 渐变左描边）
   ========================================================= */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}
.stat-card {
    background: var(--card);
    border-radius: var(--r-md);
    padding: 22px 22px 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-soft);
    position: relative;
    overflow: hidden;
    transition: all .3s cubic-bezier(.4,0,.2,1);
}
.stat-card::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--bilibilipink), var(--bilibiblue));
    opacity: 0; transition: opacity .3s;
}
.stat-card::after {
    content: '';
    position: absolute; top: -40px; right: -40px;
    width: 130px; height: 130px; border-radius: 50%;
    background: linear-gradient(135deg, var(--pink-light), var(--blue-light));
    opacity: .35;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.stat-card:hover::before { opacity: 1; }
.stat-card:hover::after  { transform: scale(1.2) rotate(30deg); }

.stat-card .stat-label {
    color: var(--text-sub);
    font-size: 13px; font-weight: 500;
    margin-bottom: 10px;
    position: relative; z-index: 1;
}
.stat-card .stat-value {
    font-size: 28px; font-weight: 800;
    background: linear-gradient(135deg, var(--bilibilipink) 0%, var(--bilibiblue) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    position: relative; z-index: 1;
    line-height: 1.2;
    word-break: break-all;
}
.stat-card .stat-icon {
    position: absolute; right: 20px; top: 20px;
    font-size: 28px; opacity: .25;
    z-index: 1;
}

/* =========================================================
   表格（精致斑马 + 悬浮高亮）
   ========================================================= */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--r-md);
    border: 1px solid var(--border-soft);
    background: #fff;
}
table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    font-size: 14px;
}
table th, table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border-soft);
}
table thead th {
    background: linear-gradient(135deg, #FAFBFF, #F3F6FB);
    color: var(--text-sub);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .3px;
    border-bottom: 2px solid var(--border);
    position: sticky; top: 0; z-index: 2;
}
table tbody tr {
    transition: background .2s;
}
table tbody tr:nth-child(even) {
    background: #FAFBFD;
}
table tbody tr:hover {
    background: var(--pink-light);
}
table tbody tr:last-child td { border-bottom: none; }
table tfoot td {
    background: linear-gradient(135deg, #FFF5F9 0%, #EEF8FF 100%);
    font-weight: 700;
    border-top: 2px solid var(--border);
}

/* =========================================================
   徽章（B站渐变色系）
   ========================================================= */
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px;
    border-radius: var(--r-pill);
    font-size: 12px; font-weight: 600;
    line-height: 1.4;
}
.badge::before {
    content: '';
    width: 6px; height: 6px; border-radius: 50%;
    background: currentColor;
}
.badge-green { background: #E7F8EC; color: #1AAD4D; }
.badge-orange { background: #FFF4E1; color: #E67E22; }
.badge-pink   { background: #FFE6EF; color: var(--pink-deep); }
.badge-blue   { background: #E3F5FF; color: var(--blue-deep); }
.badge-gray   { background: #F0F2F5; color: var(--text-mute); }

/* =========================================================
   杂项工具类
   ========================================================= */
.muted { color: var(--text-sub); font-size: 13px; }
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }

.divider {
    height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 24px 0;
}

/* 月份筛选框 */
.month-filter {
    display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap;
}


/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 768px) {
    .navbar { padding: 12px 16px; }
    .navbar .nav-links { padding: 4px; gap: 2px; }
    .navbar .nav-links a { padding: 6px 12px; font-size: 13px; }
    .navbar .logo { font-size: 18px; }
    .navbar .logo .logo-icon { width: 30px; height: 30px; font-size: 15px; border-radius: 10px; }

    .container { padding: 20px 14px 40px; }
    .card { padding: 22px 18px; border-radius: 16px; }

    .clock-hero { padding: 40px 20px; }
    .clock-hero .time-now { font-size: 56px; letter-spacing: 2px; }
    .clock-actions { flex-direction: column; padding: 0 10px; }
    .clock-actions .btn { width: 100%; padding: 16px 24px; font-size: 16px; }

    .auth-card { padding: 40px 22px 28px; }
    .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .stat-card { padding: 16px 14px; }
    .stat-card .stat-value { font-size: 22px; }

    table th, table td { padding: 10px 12px; font-size: 13px; }
}

@media (max-width: 420px) {
    .grid { grid-template-columns: 1fr 1fr; }
    .clock-hero .time-now { font-size: 46px; }
}

/* =========================================================
   工时构成进度条（history.php）
   ========================================================= */
.hour-bar {
    display: flex;
    height: 38px;
    border-radius: var(--r-pill);
    overflow: hidden;
    background: #EEF2F7;
    box-shadow: inset 0 1px 3px rgba(0,0,0,.05);
}
.hour-bar-reg {
    background: linear-gradient(90deg, var(--bilibiblue), var(--blue-deep));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700;
    min-width: 4px;
    transition: width .6s cubic-bezier(.4,0,.2,1);
    white-space: nowrap; overflow: hidden;
}
.hour-bar-ot {
    background: linear-gradient(90deg, #FF9A00, #FF7A00);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700;
    min-width: 4px;
    transition: width .6s cubic-bezier(.4,0,.2,1);
    white-space: nowrap; overflow: hidden;
}

/* =========================================================
   紧凑表格式概览（history.php）
   ========================================================= */
.compact-list {
    display: flex; flex-direction: column;
    gap: 6px;
}
.compact-row {
    display: grid;
    grid-template-columns: 70px 1fr 130px 70px;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #FAFBFC;
    border-radius: 10px;
    border: 1px solid #EEF2F7;
    transition: all .2s;
}
.compact-row:hover {
    background: #FFF;
    border-color: var(--blue-light, #BFDFFF);
    transform: translateX(2px);
}
.compact-row.weekend {
    background: linear-gradient(90deg, #FFF7FA, #FAFBFC);
    border-color: #FFE0EC;
}
.compact-date {
    display: flex; flex-direction: column;
    line-height: 1.2;
}
.compact-md {
    font-size: 14px; font-weight: 700;
    color: var(--text);
}
.compact-wd {
    font-size: 11px;
    color: var(--text-sub);
    margin-top: 2px;
}
.compact-row.weekend .compact-wd { color: var(--bilibilipink); }

.compact-bar {
    display: flex;
    height: 12px;
    border-radius: 6px;
    background: #EEF2F7;
    overflow: hidden;
}
.compact-bar-reg {
    height: 100%;
    background: linear-gradient(90deg, var(--bilibiblue), var(--blue-deep));
    border-radius: 6px 0 0 6px;
    transition: width .5s ease;
}
.compact-bar-ot {
    height: 100%;
    background: linear-gradient(90deg, #FF9A00, #FF7A00);
    transition: width .5s ease;
}
.compact-bar-open {
    height: 100%;
    background: repeating-linear-gradient(45deg, #FFD66B, #FFD66B 6px, #FFE9A8 6px, #FFE9A8 12px);
    border-radius: 6px;
}

.compact-hours {
    font-size: 13px;
    text-align: right;
    white-space: nowrap;
}
.ch-reg {
    color: var(--bilibiblue);
    font-weight: 700;
}
.ch-ot {
    color: #FF7A00;
    font-weight: 800;
    margin-left: 4px;
}
.ch-open {
    color: #B8860B;
    font-weight: 700;
    font-size: 12px;
}

.compact-wage {
    font-size: 13px;
    font-weight: 700;
    color: var(--bilibilipink);
    text-align: right;
}

@media (max-width: 600px) {
    .compact-row {
        grid-template-columns: 56px 1fr 90px 60px;
        gap: 6px;
        padding: 8px 10px;
    }
    .compact-md { font-size: 13px; }
    .compact-hours { font-size: 12px; }
    .compact-wage { font-size: 12px; }
}

/* =========================================================
   POI 附近点位选择面板（dashboard.php / setup.php）
   ========================================================= */
.poi-panel {
    background: #FFF;
    border: 1px solid var(--border-soft, #EEF2F7);
    border-radius: 14px;
    padding: 14px;
    text-align: left;
    box-shadow: var(--shadow-soft, 0 4px 16px rgba(0,0,0,.06));
}
.poi-panel-head {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 6px;
    padding-bottom: 10px;
    border-bottom: 1px solid #EEF2F7;
    margin-bottom: 10px;
}
.poi-list {
    max-height: 280px;
    overflow-y: auto;
    display: flex; flex-direction: column;
    gap: 4px;
    padding-right: 4px;
}
.poi-list::-webkit-scrollbar { width: 6px; }
.poi-list::-webkit-scrollbar-thumb { background: #D8DEE6; border-radius: 3px; }

.poi-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px;
    background: #FAFBFC;
    border: 1px solid #EEF2F7;
    border-radius: 10px;
    cursor: pointer;
    transition: all .15s;
}
.poi-item:hover {
    background: #F0F7FF;
    border-color: #BFDFFF;
}
.poi-item.selected {
    background: linear-gradient(135deg, #FFF5F9, #FFF);
    border-color: var(--bilibilipink);
    box-shadow: 0 2px 8px rgba(251, 114, 153, .15);
}
.poi-item.poi-gps {
    background: #F5FAFF;
    border-color: #D8E9FF;
}
.poi-item.poi-gps.selected {
    background: linear-gradient(135deg, #EFF6FF, #FFF);
    border-color: var(--bilibiblue);
    box-shadow: 0 2px 8px rgba(0, 174, 236, .15);
}

.poi-radio {
    width: 18px; height: 18px;
    border: 2px solid #C8D0DA;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: all .15s;
}
.poi-item.selected .poi-radio {
    border-color: var(--bilibilipink);
}
.poi-item.poi-gps.selected .poi-radio {
    border-color: var(--bilibiblue);
}
.poi-item.selected .poi-radio::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--bilibilipink);
}
.poi-item.poi-gps.selected .poi-radio::after {
    background: var(--bilibiblue);
}

.poi-info {
    flex: 1;
    min-width: 0;
}
.poi-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.poi-addr {
    font-size: 12px;
    color: var(--text-sub);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.poi-dist {
    font-size: 12px;
    color: var(--text-sub);
    background: #EEF2F7;
    padding: 3px 8px;
    border-radius: var(--r-pill, 999px);
    flex-shrink: 0;
}
.poi-item.selected .poi-dist {
    background: #FFE6EF;
    color: var(--bilibilipink);
}
.poi-item.poi-gps.selected .poi-dist {
    background: #D8E9FF;
    color: var(--bilibiblue);
}

.poi-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.poi-actions .btn { flex: 1; min-width: 140px; }
.poi-actions .btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    .poi-list { max-height: 240px; }
    .poi-item { padding: 9px 10px; gap: 8px; }
    .poi-name { font-size: 13px; }
    .poi-addr { font-size: 11px; }
    .poi-actions .btn { min-width: 100%; }
}

/* =========================================================
   打卡页：温馨时间提示 banner + 随机语录卡片
   ========================================================= */
.tip-banner {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    margin: 16px 24px 10px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: cardPop .45s cubic-bezier(.2,.9,.3,1.2);
}
.tip-banner-tag {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    color: var(--pink-deep, #E63B83);
    background: rgba(255, 255, 255, 0.85);
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: .5px;
}
.tip-banner-text {
    color: #FFF;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0,0,0,.18);
    flex: 1;
    min-width: 0;
}

.quote-card {
    position: relative;
    display: flex; align-items: center; gap: 14px;
    margin: 8px 24px 16px;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(251, 114, 153, 0.12), 0 2px 8px rgba(0,0,0,.06);
    animation: cardPop .5s cubic-bezier(.2,.9,.3,1.2) both;
    animation-delay: .05s;
}
.quote-icon {
    flex-shrink: 0;
    font-size: 36px;
    line-height: 1;
    color: var(--bilibilipink, #FB7299);
    font-family: Georgia, serif;
    opacity: .6;
    transform: translateY(-4px);
}
.quote-body { flex: 1; min-width: 0; }
.quote-content {
    color: var(--text, #242B33);
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.65;
    letter-spacing: .2px;
}
.quote-author {
    margin-top: 4px;
    font-size: 12px;
    color: var(--text-sub, #8594A5);
    font-style: italic;
}
.quote-refresh {
    flex-shrink: 0;
    width: 32px; height: 32px;
    border: none;
    background: linear-gradient(135deg, #FFE6EF, #EFF6FF);
    color: var(--bilibilipink, #FB7299);
    font-size: 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: all .2s;
}
.quote-refresh:hover {
    transform: rotate(180deg) scale(1.1);
    box-shadow: 0 4px 10px rgba(251, 114, 153, .25);
}

@media (max-width: 600px) {
    .tip-banner { margin: 12px 16px 8px; padding: 9px 14px; }
    .tip-banner-text { font-size: 12.5px; }
    .quote-card { margin: 6px 16px 14px; padding: 12px 14px; gap: 10px; }
    .quote-icon { font-size: 28px; }
    .quote-content { font-size: 13px; }
}

/* =========================================================
   管理员后台：温馨提示管理 + 温馨语录管理
   ========================================================= */
.tips-add-form, .quotes-add-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    margin-top: 10px;
    padding: 16px;
    background: linear-gradient(135deg, #F0F7FF, #FFF5F9);
    border-radius: 14px;
    border: 1px solid #EEF2F7;
}
.quotes-add-form { background: linear-gradient(135deg, #FFF5F9, #FFFDF5); }
.tips-add-form label, .quotes-add-form label {
    display: block;
    font-size: 12px;
    color: var(--text-sub);
    margin-bottom: 4px;
    font-weight: 600;
}
.tips-add-form input, .quotes-add-form input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #D8DEE6;
    border-radius: 10px;
    background: #FFF;
    font-size: 14px;
    transition: all .15s;
    box-sizing: border-box;
}
.tips-add-form input:focus, .quotes-add-form input:focus {
    outline: none;
    border-color: var(--bilibilipink);
    box-shadow: 0 0 0 3px rgba(251, 114, 153, .15);
}

.tips-list {
    display: flex; flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}
.tip-row {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px;
    background: #FAFBFC;
    border: 1px solid #EEF2F7;
    border-radius: 12px;
    transition: all .15s;
    flex-wrap: wrap;
}
.tip-row:hover {
    background: #FFF5F9;
    border-color: #FCC7D8;
}
.tip-row-idx {
    width: 32px; height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #FFE6EF, #EFF6FF);
    color: var(--pink-deep);
    font-weight: 800;
    font-size: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.tip-row-time {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    background: #EFF6FF;
    color: var(--bilibiblue);
    border-radius: 999px;
}
.tip-row-content {
    flex: 1;
    min-width: 200px;
    font-size: 14px;
    color: var(--text);
    line-height: 1.5;
}
.tip-row-del { flex-shrink: 0; }

.quotes-list {
    display: flex; flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}
.quote-row {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #FFFBFD, #FFFDF5);
    border: 1px solid #FCE0EA;
    border-left: 4px solid var(--bilibilipink);
    border-radius: 14px;
    transition: all .15s;
}
.quote-row:hover {
    box-shadow: 0 6px 18px rgba(251, 114, 153, .12);
    transform: translateY(-1px);
}
.quote-row-quote {
    flex-shrink: 0;
    font-size: 30px;
    font-family: Georgia, serif;
    color: var(--bilibilipink);
    line-height: 1;
    opacity: .55;
}
.quote-row-body { flex: 1; min-width: 0; }
.quote-row-content {
    font-size: 14px;
    color: var(--text);
    line-height: 1.65;
    font-weight: 500;
}
.quote-row-author {
    margin-top: 4px;
    font-size: 12px;
    color: var(--text-sub);
    font-style: italic;
}
.quote-row-del { flex-shrink: 0; }

.empty-box {
    padding: 30px;
    text-align: center;
    color: var(--text-sub);
    background: #FAFBFC;
    border: 1px dashed #D8DEE6;
    border-radius: 14px;
    font-size: 13px;
}

@media (max-width: 768px) {
    .tips-add-form, .quotes-add-form { grid-template-columns: 1fr; }
    .tip-row-idx { width: 28px; height: 28px; font-size: 11px; }
    .tip-row-content { min-width: 100%; order: 3; width: 100%; }
    .quote-row { padding: 12px; gap: 10px; }
    .quote-row-quote { font-size: 24px; }
}
