- 主题: useTheme 默认 ModernLight + variables.css SSR-safe 浅值并精修组件对比度 - 首页: 插入居中投稿 CTA + 紧邻档期概览卡片(今日排期/待播歌曲/空闲档期数) - 数据: useSongs 新增 fetchExpectedPlayDates 接入空闲档期并走 revision 轮询实时刷新 - 视觉: 移动端优先,少圆角硬边几何 + 概览卡片 3→1 列响应式
808 lines
20 KiB
CSS
808 lines
20 KiB
CSS
/* 导入浏览器主题保护样式 */
|
||
@import url('./theme-protection.css');
|
||
|
||
@tailwind base;
|
||
@tailwind components;
|
||
@tailwind utilities;
|
||
|
||
/* 防止浏览器自动应用深色主题:改为跟随 data-theme 动态覆盖(见 theme-protection.css) */
|
||
:root {
|
||
color-scheme: light;
|
||
}
|
||
|
||
/* 流体背景与全局样式 */
|
||
|
||
* {
|
||
margin: 0;
|
||
padding: 0;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
/* 字体显示策略优化 */
|
||
@font-face {
|
||
font-family: 'MiSans';
|
||
font-display: swap; /* 确保字体加载期间文本可见 */
|
||
}
|
||
|
||
body {
|
||
font-family:
|
||
'MiSans',
|
||
-apple-system,
|
||
BlinkMacSystemFont,
|
||
'Segoe UI',
|
||
Roboto,
|
||
Oxygen,
|
||
Ubuntu,
|
||
Cantarell,
|
||
'Open Sans',
|
||
sans-serif;
|
||
color: var(--text-primary);
|
||
background-color: var(--bg-primary);
|
||
line-height: 1.6;
|
||
overflow-x: hidden;
|
||
font-size: var(--text-base);
|
||
/* 字体渲染优化 */
|
||
-webkit-font-smoothing: antialiased;
|
||
-moz-osx-font-smoothing: grayscale;
|
||
text-rendering: optimizeLegibility;
|
||
}
|
||
|
||
body {
|
||
font-family:
|
||
'MiSans',
|
||
-apple-system,
|
||
BlinkMacSystemFont,
|
||
'Segoe UI',
|
||
Roboto,
|
||
Oxygen,
|
||
Ubuntu,
|
||
Cantarell,
|
||
'Open Sans',
|
||
sans-serif;
|
||
}
|
||
|
||
/* 链接样式 */
|
||
a {
|
||
text-decoration: none;
|
||
color: inherit;
|
||
}
|
||
|
||
/* 简洁现代背景 */
|
||
body {
|
||
background: var(--bg-primary);
|
||
color: var(--text-primary);
|
||
}
|
||
|
||
/* 可选的微妙纹理效果 */
|
||
body::before {
|
||
content: '';
|
||
position: fixed;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
background:
|
||
radial-gradient(circle at 20% 50%, rgba(79, 70, 229, 0.035) 0%, transparent 55%),
|
||
radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.025) 0%, transparent 55%),
|
||
radial-gradient(circle at 40% 80%, rgba(79, 70, 229, 0.02) 0%, transparent 55%);
|
||
z-index: -1;
|
||
pointer-events: none;
|
||
}
|
||
|
||
/* 容器 */
|
||
.container {
|
||
width: 100%;
|
||
max-width: 1200px;
|
||
margin: 0 auto;
|
||
padding: 1rem;
|
||
}
|
||
|
||
/* 常用工具类 */
|
||
.flex {
|
||
display: flex;
|
||
}
|
||
.flex-col {
|
||
flex-direction: column;
|
||
}
|
||
.items-center {
|
||
align-items: center;
|
||
}
|
||
.justify-between {
|
||
justify-content: space-between;
|
||
}
|
||
.justify-center {
|
||
justify-content: center;
|
||
}
|
||
.gap-2 {
|
||
gap: var(--spacing-sm);
|
||
}
|
||
.gap-4 {
|
||
gap: var(--spacing-lg);
|
||
}
|
||
.gap-6 {
|
||
gap: var(--spacing-2xl);
|
||
}
|
||
|
||
.grid {
|
||
display: grid;
|
||
}
|
||
.grid-cols-1 {
|
||
grid-template-columns: repeat(1, minmax(0, 1fr));
|
||
}
|
||
.grid-cols-2 {
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
}
|
||
|
||
/* 间距 */
|
||
.mt-2 {
|
||
margin-top: var(--spacing-sm);
|
||
}
|
||
.mt-4 {
|
||
margin-top: var(--spacing-lg);
|
||
}
|
||
.mt-6 {
|
||
margin-top: var(--spacing-2xl);
|
||
}
|
||
.mt-8 {
|
||
margin-top: var(--spacing-3xl);
|
||
}
|
||
.mb-2 {
|
||
margin-bottom: var(--spacing-sm);
|
||
}
|
||
.mb-4 {
|
||
margin-bottom: var(--spacing-lg);
|
||
}
|
||
.mb-6 {
|
||
margin-bottom: var(--spacing-2xl);
|
||
}
|
||
.mb-8 {
|
||
margin-bottom: var(--spacing-3xl);
|
||
}
|
||
.ml-2 {
|
||
margin-left: var(--spacing-sm);
|
||
}
|
||
.ml-4 {
|
||
margin-left: var(--spacing-lg);
|
||
}
|
||
.mr-2 {
|
||
margin-right: var(--spacing-sm);
|
||
}
|
||
.mr-4 {
|
||
margin-right: var(--spacing-lg);
|
||
}
|
||
|
||
.p-2 {
|
||
padding: var(--spacing-sm);
|
||
}
|
||
.p-4 {
|
||
padding: var(--spacing-lg);
|
||
}
|
||
.p-6 {
|
||
padding: var(--spacing-2xl);
|
||
}
|
||
.p-8 {
|
||
padding: var(--spacing-3xl);
|
||
}
|
||
|
||
/* 文本 */
|
||
.text-center {
|
||
text-align: center;
|
||
}
|
||
.text-sm {
|
||
font-size: var(--text-sm);
|
||
}
|
||
.text-lg {
|
||
font-size: var(--text-lg);
|
||
}
|
||
.text-xl {
|
||
font-size: var(--text-xl);
|
||
}
|
||
.text-2xl {
|
||
font-size: var(--text-2xl);
|
||
}
|
||
.text-3xl {
|
||
font-size: var(--text-3xl);
|
||
}
|
||
.font-bold {
|
||
font-weight: var(--font-bold);
|
||
}
|
||
.text-primary {
|
||
color: var(--primary);
|
||
}
|
||
.text-secondary {
|
||
color: var(--text-secondary);
|
||
}
|
||
.text-tertiary {
|
||
color: var(--text-tertiary);
|
||
}
|
||
.text-success {
|
||
color: var(--success);
|
||
}
|
||
.text-danger {
|
||
color: var(--error);
|
||
}
|
||
.text-warning {
|
||
color: var(--warning);
|
||
}
|
||
|
||
/* 卡片 */
|
||
.card {
|
||
background: var(--card-bg);
|
||
backdrop-filter: blur(12px);
|
||
border: 1px solid var(--card-border);
|
||
border-radius: var(--radius-xl);
|
||
padding: var(--spacing-2xl);
|
||
box-shadow:
|
||
0 4px 6px rgba(0, 0, 0, 0.1),
|
||
0 1px 3px rgba(0, 0, 0, 0.08),
|
||
inset 0 1px 0 rgba(255, 255, 255, 0.05);
|
||
transition: all var(--transition-normal);
|
||
position: relative;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.card::before {
|
||
content: '';
|
||
position: absolute;
|
||
top: 0;
|
||
left: 0;
|
||
right: 0;
|
||
height: 1px;
|
||
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
|
||
}
|
||
|
||
.card:hover {
|
||
transform: translateY(-4px);
|
||
border-color: var(--card-hover-border);
|
||
box-shadow:
|
||
0 12px 24px rgba(0, 0, 0, 0.15),
|
||
0 4px 8px rgba(0, 0, 0, 0.1),
|
||
inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
||
}
|
||
|
||
/* 按钮 */
|
||
.btn {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: var(--spacing-md) var(--spacing-2xl);
|
||
font-weight: var(--font-semibold);
|
||
border-radius: var(--radius-lg);
|
||
transition: all var(--transition-normal);
|
||
cursor: pointer;
|
||
text-decoration: none;
|
||
border: none;
|
||
outline: none;
|
||
font-size: var(--text-sm);
|
||
position: relative;
|
||
overflow: hidden;
|
||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||
}
|
||
|
||
.btn::before {
|
||
content: '';
|
||
position: absolute;
|
||
top: 0;
|
||
left: -100%;
|
||
width: 100%;
|
||
height: 100%;
|
||
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
|
||
transition: left 0.5s;
|
||
}
|
||
|
||
.btn:hover::before {
|
||
left: 100%;
|
||
}
|
||
|
||
.btn-primary {
|
||
background: linear-gradient(135deg, var(--btn-primary-bg) 0%, var(--primary-hover) 100%);
|
||
color: var(--btn-primary-text);
|
||
border: 1px solid var(--primary-border);
|
||
}
|
||
|
||
.btn-primary:hover {
|
||
background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
|
||
transform: translateY(-1px);
|
||
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
|
||
}
|
||
|
||
.btn-secondary {
|
||
background: linear-gradient(135deg, var(--btn-secondary-bg) 0%, var(--bg-quaternary) 100%);
|
||
color: var(--btn-secondary-text);
|
||
border: 1px solid var(--btn-secondary-border);
|
||
}
|
||
|
||
.btn-secondary:hover {
|
||
background: linear-gradient(135deg, var(--bg-quaternary) 0%, #4a4a4a 100%);
|
||
color: var(--text-primary);
|
||
transform: translateY(-1px);
|
||
box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
|
||
}
|
||
|
||
.btn-outline {
|
||
background: transparent;
|
||
border: 2px solid var(--border-tertiary);
|
||
color: var(--text-primary);
|
||
backdrop-filter: blur(8px);
|
||
}
|
||
|
||
.btn-outline:hover {
|
||
background: var(--bg-hover);
|
||
border-color: var(--primary);
|
||
color: var(--primary);
|
||
transform: translateY(-1px);
|
||
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
|
||
}
|
||
|
||
.btn:disabled {
|
||
background: var(--btn-disabled-bg);
|
||
color: var(--btn-disabled-text);
|
||
cursor: not-allowed;
|
||
transform: none;
|
||
box-shadow: none;
|
||
}
|
||
|
||
.btn:disabled::before {
|
||
display: none;
|
||
}
|
||
|
||
/* 列表样式 */
|
||
.list-disc {
|
||
list-style-type: disc;
|
||
list-style-position: inside;
|
||
}
|
||
|
||
.list-none {
|
||
list-style-type: none;
|
||
}
|
||
|
||
.pl-5 {
|
||
padding-left: 1.25rem;
|
||
}
|
||
|
||
/* 表单 */
|
||
.input {
|
||
width: 100%;
|
||
padding: var(--spacing-md) var(--spacing-lg);
|
||
background: var(--input-bg);
|
||
border: 2px solid var(--input-border);
|
||
border-radius: var(--radius-lg);
|
||
color: var(--input-text);
|
||
outline: none;
|
||
transition: all var(--transition-normal);
|
||
font-size: var(--text-sm);
|
||
position: relative;
|
||
backdrop-filter: blur(8px);
|
||
}
|
||
|
||
.input:focus {
|
||
border-color: var(--input-border-focus);
|
||
box-shadow:
|
||
var(--input-shadow-focus),
|
||
0 4px 12px rgba(102, 126, 234, 0.1);
|
||
background: var(--bg-secondary);
|
||
transform: translateY(-1px);
|
||
}
|
||
|
||
.input::placeholder {
|
||
color: var(--input-placeholder);
|
||
transition: color var(--transition-normal);
|
||
}
|
||
|
||
.input:focus::placeholder {
|
||
color: var(--text-quaternary);
|
||
}
|
||
|
||
.form-group {
|
||
margin-bottom: var(--spacing-lg);
|
||
position: relative;
|
||
}
|
||
|
||
.form-group label {
|
||
display: block;
|
||
margin-bottom: var(--spacing-sm);
|
||
font-weight: var(--font-semibold);
|
||
color: var(--text-secondary);
|
||
transition: color var(--transition-normal);
|
||
}
|
||
|
||
.form-group:focus-within label {
|
||
color: var(--primary);
|
||
}
|
||
|
||
/* 响应式 */
|
||
@media (min-width: 640px) {
|
||
.sm\:grid-cols-2 {
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
}
|
||
.sm\:flex-row {
|
||
flex-direction: row;
|
||
}
|
||
.sm\:items-center {
|
||
align-items: center;
|
||
}
|
||
.sm\:justify-between {
|
||
justify-content: space-between;
|
||
}
|
||
}
|
||
|
||
@media (min-width: 768px) {
|
||
.md\:grid-cols-2 {
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
}
|
||
.md\:flex-row {
|
||
flex-direction: row;
|
||
}
|
||
}
|
||
|
||
@media (min-width: 1024px) {
|
||
.lg\:grid-cols-3 {
|
||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||
}
|
||
.lg\:flex-row {
|
||
flex-direction: row;
|
||
}
|
||
}
|
||
|
||
/* 玻璃态效果 */
|
||
.glass {
|
||
background: var(--bg-secondary);
|
||
backdrop-filter: blur(10px);
|
||
border: 1px solid var(--border-secondary);
|
||
border-radius: var(--radius-xl);
|
||
}
|
||
|
||
/* 手机设备上的优化 */
|
||
@media (max-width: 640px) {
|
||
.home {
|
||
padding: 0 !important;
|
||
}
|
||
|
||
.main-content {
|
||
grid-template-columns: 1fr !important;
|
||
gap: 2rem !important;
|
||
}
|
||
|
||
.action-card {
|
||
padding: 0.75rem !important;
|
||
}
|
||
|
||
.modal-content {
|
||
width: 95% !important;
|
||
max-width: none !important;
|
||
}
|
||
}
|
||
|
||
/* =========================================================
|
||
* 前台浅色模式对比度覆盖(ScheduleList / RequestForm 等组件)
|
||
* 将所有硬编码的 rgba(255,255,255,*) 白系文字统一替换为
|
||
* 适配浅底的深灰/主题色,保证 WCAG AA 可读性
|
||
* =======================================================*/
|
||
html[data-theme='light'],
|
||
html[data-theme='ClassicLight'],
|
||
html[data-theme='ModernLight'] {
|
||
/* ScheduleList.vue 主区块硬编码颜色校正 */
|
||
color-scheme: light;
|
||
}
|
||
|
||
html[data-theme='light'] .schedule-list .date-item,
|
||
html[data-theme='ClassicLight'] .schedule-list .date-item,
|
||
html[data-theme='ModernLight'] .schedule-list .date-item,
|
||
html[data-theme='light'] .song-list .date-item,
|
||
html[data-theme='ClassicLight'] .song-list .date-item,
|
||
html[data-theme='ModernLight'] .song-list .date-item {
|
||
color: var(--text-secondary) !important;
|
||
}
|
||
|
||
html[data-theme='light'] .schedule-list .empty-dates,
|
||
html[data-theme='ClassicLight'] .schedule-list .empty-dates,
|
||
html[data-theme='ModernLight'] .schedule-list .empty-dates,
|
||
html[data-theme='light'] .schedule-list .loading,
|
||
html[data-theme='ClassicLight'] .schedule-list .loading,
|
||
html[data-theme='ModernLight'] .schedule-list .loading,
|
||
html[data-theme='light'] .schedule-list .error,
|
||
html[data-theme='ClassicLight'] .schedule-list .error,
|
||
html[data-theme='ModernLight'] .schedule-list .error,
|
||
html[data-theme='light'] .schedule-list .empty,
|
||
html[data-theme='ClassicLight'] .schedule-list .empty,
|
||
html[data-theme='ModernLight'] .schedule-list .empty {
|
||
color: var(--text-tertiary) !important;
|
||
}
|
||
|
||
html[data-theme='light'] .schedule-list .playtime-header h4,
|
||
html[data-theme='ClassicLight'] .schedule-list .playtime-header h4,
|
||
html[data-theme='ModernLight'] .schedule-list .playtime-header h4 {
|
||
color: var(--text-secondary) !important;
|
||
}
|
||
|
||
html[data-theme='light'] .schedule-list .playtime-time,
|
||
html[data-theme='ClassicLight'] .schedule-list .playtime-time,
|
||
html[data-theme='ModernLight'] .schedule-list .playtime-time {
|
||
color: var(--text-tertiary) !important;
|
||
}
|
||
|
||
html[data-theme='light'] .schedule-list .playlist-modal,
|
||
html[data-theme='ClassicLight'] .schedule-list .playlist-modal,
|
||
html[data-theme='ModernLight'] .schedule-list .playlist-modal {
|
||
border-color: var(--border-secondary) !important;
|
||
}
|
||
|
||
html[data-theme='light'] .schedule-list .playlist-modal-header,
|
||
html[data-theme='ClassicLight'] .schedule-list .playlist-modal-header,
|
||
html[data-theme='ModernLight'] .schedule-list .playlist-modal-header,
|
||
html[data-theme='light'] .schedule-list .playlist-modal-footer,
|
||
html[data-theme='ClassicLight'] .schedule-list .playlist-modal-footer,
|
||
html[data-theme='ModernLight'] .schedule-list .playlist-modal-footer {
|
||
border-color: var(--border-secondary) !important;
|
||
}
|
||
|
||
html[data-theme='light'] .schedule-list .song-meta .meta-secondary,
|
||
html[data-theme='ClassicLight'] .schedule-list .song-meta .meta-secondary,
|
||
html[data-theme='ModernLight'] .schedule-list .song-meta .meta-secondary,
|
||
html[data-theme='light'] .schedule-list .song-meta .meta-placeholder,
|
||
html[data-theme='ClassicLight'] .schedule-list .song-meta .meta-placeholder,
|
||
html[data-theme='ModernLight'] .schedule-list .song-meta .meta-placeholder,
|
||
html[data-theme='light'] .schedule-list .slot-hint,
|
||
html[data-theme='ClassicLight'] .schedule-list .slot-hint,
|
||
html[data-theme='ModernLight'] .schedule-list .slot-hint,
|
||
html[data-theme='light'] .schedule-list .requestor-text,
|
||
html[data-theme='ClassicLight'] .schedule-list .requestor-text,
|
||
html[data-theme='ModernLight'] .schedule-list .requestor-text,
|
||
html[data-theme='light'] .schedule-list .pill-empty,
|
||
html[data-theme='ClassicLight'] .schedule-list .pill-empty,
|
||
html[data-theme='ModernLight'] .schedule-list .pill-empty,
|
||
html[data-theme='light'] .schedule-list .empty-slot,
|
||
html[data-theme='ClassicLight'] .schedule-list .empty-slot,
|
||
html[data-theme='ModernLight'] .schedule-list .empty-slot {
|
||
color: var(--text-tertiary) !important;
|
||
}
|
||
|
||
html[data-theme='light'] .schedule-list .chip,
|
||
html[data-theme='ClassicLight'] .schedule-list .chip,
|
||
html[data-theme='ModernLight'] .schedule-list .chip,
|
||
html[data-theme='light'] .schedule-list .tag,
|
||
html[data-theme='ClassicLight'] .schedule-list .tag,
|
||
html[data-theme='ModernLight'] .schedule-list .tag,
|
||
html[data-theme='light'] .schedule-list .badge-soft,
|
||
html[data-theme='ClassicLight'] .schedule-list .badge-soft,
|
||
html[data-theme='ModernLight'] .schedule-list .badge-soft {
|
||
background: var(--bg-secondary) !important;
|
||
border-color: var(--border-secondary) !important;
|
||
color: var(--text-secondary) !important;
|
||
}
|
||
|
||
html[data-theme='light'] .schedule-list .divider-subtle,
|
||
html[data-theme='ClassicLight'] .schedule-list .divider-subtle,
|
||
html[data-theme='ModernLight'] .schedule-list .divider-subtle,
|
||
html[data-theme='light'] .schedule-list .card-border,
|
||
html[data-theme='ClassicLight'] .schedule-list .card-border,
|
||
html[data-theme='ModernLight'] .schedule-list .card-border {
|
||
border-color: var(--border-secondary) !important;
|
||
}
|
||
|
||
/* RequestForm / SongList / Dialog 通用硬编码白字校正 */
|
||
html[data-theme='light'] .request-form .label-subtle,
|
||
html[data-theme='ClassicLight'] .request-form .label-subtle,
|
||
html[data-theme='ModernLight'] .request-form .label-subtle,
|
||
html[data-theme='light'] .request-form .hint-subtle,
|
||
html[data-theme='ClassicLight'] .request-form .hint-subtle,
|
||
html[data-theme='ModernLight'] .request-form .hint-subtle,
|
||
html[data-theme='light'] .request-form .placeholder-subtle,
|
||
html[data-theme='ClassicLight'] .request-form .placeholder-subtle,
|
||
html[data-theme='ModernLight'] .request-form .placeholder-subtle,
|
||
html[data-theme='light'] .song-list .muted,
|
||
html[data-theme='ClassicLight'] .song-list .muted,
|
||
html[data-theme='ModernLight'] .song-list .muted,
|
||
html[data-theme='light'] .song-list .subtle-text,
|
||
html[data-theme='ClassicLight'] .song-list .subtle-text,
|
||
html[data-theme='ModernLight'] .song-list .subtle-text {
|
||
color: var(--text-tertiary) !important;
|
||
}
|
||
|
||
html[data-theme='light'] .request-form .glass-surface,
|
||
html[data-theme='ClassicLight'] .request-form .glass-surface,
|
||
html[data-theme='ModernLight'] .request-form .glass-surface,
|
||
html[data-theme='light'] .request-form .surface-chip,
|
||
html[data-theme='ClassicLight'] .request-form .surface-chip,
|
||
html[data-theme='ModernLight'] .request-form .surface-chip,
|
||
html[data-theme='light'] .song-list .glass-surface,
|
||
html[data-theme='ClassicLight'] .song-list .glass-surface,
|
||
html[data-theme='ModernLight'] .song-list .glass-surface,
|
||
html[data-theme='light'] .song-list .surface-chip,
|
||
html[data-theme='ClassicLight'] .song-list .surface-chip,
|
||
html[data-theme='ModernLight'] .song-list .surface-chip {
|
||
background: var(--bg-secondary) !important;
|
||
border-color: var(--border-secondary) !important;
|
||
}
|
||
|
||
/* =========================================================
|
||
* 首页 Hero CTA 区样式 — 投稿按钮居中 + 档期概览卡片
|
||
* 移动端优先 / 少圆角 / 硬边几何 / 现代浅色专业风格
|
||
* =======================================================*/
|
||
.hero-cta-section {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 28px 16px 20px;
|
||
gap: 14px;
|
||
width: 100%;
|
||
max-width: 760px;
|
||
margin: 0 auto;
|
||
}
|
||
|
||
.hero-request-btn {
|
||
position: relative;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 10px;
|
||
min-width: 240px;
|
||
width: min(86%, 360px);
|
||
height: 58px;
|
||
padding: 0 22px;
|
||
border-radius: 14px;
|
||
border: 1px solid rgba(255, 255, 255, 0.18);
|
||
background: linear-gradient(135deg, var(--primary) 0%, #4338ca 100%);
|
||
color: #ffffff;
|
||
font-family: 'MiSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
||
font-size: 17px;
|
||
font-weight: 600;
|
||
letter-spacing: 0.2px;
|
||
cursor: pointer;
|
||
user-select: none;
|
||
box-shadow:
|
||
0 10px 24px -10px rgba(79, 70, 229, 0.55),
|
||
0 4px 10px -4px rgba(79, 70, 229, 0.35);
|
||
transition: transform 0.18s cubic-bezier(0.2, 0.9, 0.2, 1),
|
||
box-shadow 0.18s ease, filter 0.18s ease;
|
||
-webkit-tap-highlight-color: transparent;
|
||
}
|
||
.hero-request-btn:hover {
|
||
transform: translateY(-1px);
|
||
filter: brightness(1.03);
|
||
box-shadow:
|
||
0 14px 28px -10px rgba(79, 70, 229, 0.62),
|
||
0 6px 12px -4px rgba(79, 70, 229, 0.42);
|
||
}
|
||
.hero-request-btn:active {
|
||
transform: translateY(0);
|
||
filter: brightness(0.97);
|
||
box-shadow:
|
||
0 6px 14px -6px rgba(79, 70, 229, 0.5),
|
||
0 2px 6px -2px rgba(79, 70, 229, 0.35);
|
||
}
|
||
.hero-request-btn .btn-icon {
|
||
font-size: 20px;
|
||
line-height: 1;
|
||
}
|
||
.hero-request-btn .btn-icon.pulse::after {
|
||
content: '';
|
||
position: absolute;
|
||
right: 10px;
|
||
top: 10px;
|
||
width: 8px;
|
||
height: 8px;
|
||
border-radius: 50%;
|
||
background: #22c55e;
|
||
box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.22);
|
||
}
|
||
|
||
.schedule-overview-card {
|
||
width: 100%;
|
||
max-width: 720px;
|
||
padding: 18px 18px;
|
||
border-radius: 12px;
|
||
background: var(--card-bg, #ffffff);
|
||
border: 1px solid var(--card-border, #e4e4e7);
|
||
box-shadow: var(--card-shadow);
|
||
}
|
||
.schedule-overview-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||
gap: 10px;
|
||
}
|
||
@media (max-width: 520px) {
|
||
.schedule-overview-grid {
|
||
grid-template-columns: 1fr;
|
||
gap: 12px;
|
||
}
|
||
}
|
||
.overview-stat {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: flex-start;
|
||
justify-content: center;
|
||
padding: 14px 16px;
|
||
border-radius: 10px;
|
||
background: var(--bg-secondary);
|
||
border: 1px solid var(--border-secondary);
|
||
min-height: 96px;
|
||
}
|
||
.overview-stat .stat-icon {
|
||
font-size: 16px;
|
||
line-height: 1;
|
||
margin-bottom: 6px;
|
||
color: var(--text-tertiary);
|
||
}
|
||
.overview-stat .stat-label {
|
||
font-size: 12px;
|
||
line-height: 1.4;
|
||
color: var(--text-tertiary);
|
||
font-weight: 500;
|
||
margin-bottom: 6px;
|
||
letter-spacing: 0.2px;
|
||
}
|
||
.overview-stat .stat-value {
|
||
font-size: 22px;
|
||
font-weight: 700;
|
||
color: var(--text-primary);
|
||
line-height: 1.2;
|
||
letter-spacing: -0.3px;
|
||
display: flex;
|
||
align-items: baseline;
|
||
gap: 6px;
|
||
}
|
||
.overview-stat .stat-value .unit {
|
||
font-size: 12px;
|
||
font-weight: 500;
|
||
color: var(--text-tertiary);
|
||
letter-spacing: 0;
|
||
}
|
||
.overview-stat.primary {
|
||
background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(14, 165, 233, 0.06));
|
||
border-color: rgba(79, 70, 229, 0.15);
|
||
}
|
||
.overview-stat.primary .stat-value {
|
||
color: var(--primary);
|
||
font-size: 28px;
|
||
}
|
||
.overview-stat.primary .stat-icon {
|
||
color: var(--primary);
|
||
}
|
||
.overview-stat .stat-detail {
|
||
margin-top: 4px;
|
||
font-size: 11px;
|
||
color: var(--text-tertiary);
|
||
line-height: 1.35;
|
||
}
|
||
.overview-stat .live-dot {
|
||
display: inline-block;
|
||
width: 6px;
|
||
height: 6px;
|
||
border-radius: 50%;
|
||
background: #22c55e;
|
||
margin-right: 5px;
|
||
vertical-align: middle;
|
||
box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
|
||
animation: live-pulse 1.6s ease-in-out infinite;
|
||
}
|
||
@keyframes live-pulse {
|
||
0%, 100% { opacity: 1; transform: scale(1); }
|
||
50% { opacity: 0.65; transform: scale(0.92); }
|
||
}
|
||
|
||
@media (max-width: 640px) {
|
||
.hero-cta-section {
|
||
padding: 22px 12px 16px;
|
||
gap: 12px;
|
||
}
|
||
.hero-request-btn {
|
||
height: 54px;
|
||
font-size: 16px;
|
||
border-radius: 12px;
|
||
width: 88%;
|
||
}
|
||
.schedule-overview-card {
|
||
padding: 14px 12px;
|
||
border-radius: 10px;
|
||
}
|
||
.overview-stat {
|
||
padding: 12px 14px;
|
||
min-height: 84px;
|
||
}
|
||
.overview-stat.primary .stat-value {
|
||
font-size: 26px;
|
||
}
|
||
}
|