/* 日程 App
   —— 由 styles.css 第 4476–4541 行原样切分，规则与顺序未改动。 */
/* ====== 日程 App 专属 CSS ====== */
.sch-app { background: #F8F9FB !important; position: relative; height: 100%; display: flex; flex-direction: column; }
.sch-topbar { position: absolute; top: 0; left: 0; right: 0; height: 60px; display: flex; align-items: center; padding: 0 16px; gap: 12px; z-index: 10; }
.sch-topbar .icon-btn { background: rgba(0,0,0,0.2); backdrop-filter: blur(10px); border: none; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.sch-topbar .icon-btn svg { fill: #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5)); }
.sch-title { flex: 1; text-align: center; font-size: 16px; font-weight: 700; color: #fff; letter-spacing: 1px; text-shadow: 0 2px 6px rgba(0,0,0,0.6); }

.sch-main-scroll { flex: 1; overflow-y: auto; padding: 0 0 80px; }
.sch-main-scroll::-webkit-scrollbar { display: none; }

.sch-hero { position: relative; width: 100%; height: 280px; background-color: #DCE5F0; background-size: cover; background-position: center 30%; transition: background-image 0.3s ease; }
.sch-hero-mask { position: absolute; left: 0; right: 0; bottom: -1px; height: 150px; background: linear-gradient(to bottom, rgba(248,249,251,0) 0%, rgba(248,249,251,0.85) 60%, rgba(248,249,251,1) 100%); backdrop-filter: blur(3px); pointer-events: none; }
.sch-hero-content { position: absolute; left: 24px; bottom: 20px; display: flex; flex-direction: column; z-index: 2; }
.sch-hero-num { font-size: 100px; font-weight: 900; color: var(--blue-2); font-family: 'Nunito', sans-serif; line-height: 0.8; letter-spacing: -2px; text-shadow: 0 4px 15px rgba(180,210,240,0.6); }
.sch-hero-en { font-size: 36px; color: var(--pink-3); font-family: 'Pacifico', cursive; line-height: 1; margin-top: -10px; margin-left: 5px; text-shadow: 2px 2px 0px #fff; }
.sch-hero-year { font-size: 20px; color: var(--ink); font-family: 'Caveat', cursive; font-weight: 700; margin-top: 2px; margin-left: 8px; }

.sch-char-row { position: relative; z-index: 5; display: flex; gap: 14px; overflow-x: auto; padding: 0 20px 16px; scrollbar-width: none; margin-top: -20px; }
.sch-char-row::-webkit-scrollbar { display: none; }
.sch-char-item { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; opacity: 0.6; transition: all 0.2s; }
.sch-char-item.active { opacity: 1; transform: translateY(-2px); }
.sch-char-ring { width: 50px; height: 50px; border-radius: 50%; background: #fff; padding: 2px; border: 2px solid transparent; transition: all 0.2s; box-shadow: 0 4px 10px rgba(0,0,0,0.08); }
.sch-char-item.active .sch-char-ring { border-color: var(--blue-3); }
.sch-char-img { width: 100%; height: 100%; border-radius: 50%; background: #DCE5F0; display: flex; align-items: center; justify-content: center; font-size: 24px; background-size: cover; background-position: center; }
.sch-char-name { font-size: 11px; font-weight: 700; color: var(--ink); text-shadow: 0 1px 2px #fff; }

.sch-content-pad { padding: 0 20px; }
.sch-cal-card { background: #fff; border-radius: 24px; padding: 20px; box-shadow: 0 8px 30px rgba(0,0,0,0.03); margin-bottom: 20px; }
.sch-cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.sch-cal-title { font-size: 14px; font-weight: 800; color: var(--ink); letter-spacing: 1px; }
.sch-cal-controls { display: flex; gap: 12px; }
.sch-cal-btn { width: 24px; height: 24px; border-radius: 50%; background: #F2F4F7; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--gray); font-size: 12px; }
.sch-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 12px; }
.sch-weekday { text-align: center; font-size: 11px; font-weight: 800; color: #B0C4D8; }
.sch-days-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px 4px; }
.sch-day { height: 34px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; position: relative; border-radius: 50%; transition: all 0.2s; }
.sch-day.other { color: #D0D0D0; font-weight: 500; }
.sch-day.active { color: #D9433A; font-weight: 800; }
.sch-day.active .sch-dot { background: #D9433A; }
.sch-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--blue-3); position: absolute; bottom: 2px; }

.sch-list-card { background: #fff; border-radius: 24px; padding: 24px 20px; box-shadow: 0 8px 30px rgba(0,0,0,0.03); }
.sch-item { display: flex; gap: 14px; margin-bottom: 20px; position: relative; }
.sch-item:last-child { margin-bottom: 0; }
.sch-time { width: 46px; flex-shrink: 0; font-size: 14px; font-weight: 800; color: var(--gray); text-align: right; padding-top: 2px; font-family: 'Nunito', sans-serif; font-style: italic; }
.sch-info { flex: 1; min-width: 0; }
.sch-task-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.sch-task { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.sch-tag { font-size: 10px; font-weight: 800; padding: 3px 10px; border-radius: 10px; flex-shrink: 0; }
.sch-tag.work { background: rgba(255,212,232,0.4); color: #D97096; }
.sch-tag.life { background: rgba(220,235,255,0.5); color: #5B85BA; }
.sch-tag.study { background: rgba(230,244,234,0.6); color: #4E9F6A; }
.sch-tag.default { background: #F2F4F7; color: #666; }
.sch-note { font-size: 12px; color: var(--gray); margin-top: 6px; line-height: 1.5; }
.sch-os { font-size: 13px; color: #7A8B9E; margin-top: 8px; font-family: 'Nunito', 'KaiTi', serif; background: var(--blue-1); padding: 6px 12px; border-radius: 10px; display: inline-block; line-height: 1.4; }

.sch-fab { position: absolute; right: 24px; bottom: 88px; width: 56px; height: 56px; border-radius: 50%; background: var(--pink-3); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(255,156,185,0.4); cursor: pointer; z-index: 20; transition: transform 0.2s; }
.sch-fab:active { transform: scale(0.9); }
.sch-fab svg { width: 24px; height: 24px; fill: #fff; }

.sch-bottom-nav { position: absolute; bottom: 0; left: 0; right: 0; height: 72px; background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); border-top: 1px solid rgba(0,0,0,0.05); display: flex; justify-content: center; align-items: center; z-index: 30; padding-bottom: 12px; }
.sch-nav-pill { display: flex; background: #EEF2F7; border-radius: 24px; padding: 4px; position: relative; }
.sch-nav-item { padding: 10px 24px; font-size: 14px; font-weight: 700; color: var(--gray); border-radius: 20px; cursor: pointer; transition: all 0.3s; position: relative; z-index: 2; }
.sch-nav-item.active { color: var(--ink); }
.sch-nav-bg { position: absolute; top: 4px; left: 4px; height: calc(100% - 8px); width: calc(50% - 4px); background: #fff; border-radius: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); z-index: 1; }
.sch-nav-bg.right { transform: translateX(100%); }
