/* ===== Home Page Redesign ===== */ .home-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px 4px} .home-greeting{display:flex;align-items:center;gap:12px} .greet-avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,var(--primary),#6CB4EE);display:flex;align-items:center;justify-content:center;font-size:22px;color:#fff;box-shadow:0 2px 8px rgba(74,144,217,.3)} .greet-time{font-size:13px;color:#8e8e93;font-weight:500} .greet-name{font-size:17px;font-weight:700;color:#1c1c1e;margin-top:1px} .greet-badge{background:linear-gradient(135deg,#FF6B6B,#FF8E53);color:#fff;padding:6px 14px;border-radius:20px;font-size:13px;font-weight:600;box-shadow:0 2px 8px rgba(255,107,107,.3)} .study-card{margin:12px 16px 4px;border-radius:20px;position:relative;overflow:hidden;min-height:150px} .study-card-bg{position:absolute;inset:0;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:20px} .study-card-bg::after{content:"";position:absolute;top:-30px;right:-30px;width:150px;height:150px;border-radius:50%;background:rgba(255,255,255,.07)} .study-card-bg::before{content:"";position:absolute;bottom:-40px;left:-20px;width:100px;height:100px;border-radius:50%;background:rgba(255,255,255,.05)} .study-card-content{position:relative;padding:16px 18px;display:flex;align-items:center;gap:18px;min-height:130px} .study-progress{flex-shrink:0;position:relative;width:80px;height:80px} .progress-ring{width:80px;height:80px} .progress-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;color:#fff} .progress-text span{font-size:20px;font-weight:800} .progress-text small{font-size:11px;display:block;margin-top:-2px;opacity:.8} .study-info{flex:1;min-width:0} .study-title{font-size:14px;font-weight:600;color:rgba(255,255,255,.9);margin-bottom:6px} .study-stats{display:flex;align-items:center} .s-item{text-align:center;padding:0 10px} .s-item:first-child{padding-left:0} .s-num{font-size:18px;font-weight:700;color:#fff;display:block;line-height:1.2} .s-lbl{font-size:10px;color:rgba(255,255,255,.6);margin-top:1px} .s-divider{width:1px;height:24px;background:rgba(255,255,255,.15)} .study-bar{height:4px;background:rgba(255,255,255,.15);border-radius:2px;margin-top:8px;overflow:hidden} .study-bar-fill{height:100%;background:#fff;border-radius:2px;transition:width .6s ease} .study-motivate{font-size:11px;color:rgba(255,255,255,.7);margin-top:6px} .quick-actions{padding:0 16px;margin-top:6px} .qa-card{background:#fff;border-radius:14px;padding:14px 16px;display:flex;align-items:center;gap:14px;box-shadow:0 1px 4px rgba(0,0,0,.04);cursor:pointer;transition:all .15s} .qa-card:active{transform:scale(.98)} .qa-icon{width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,var(--primary),#6CB4EE);display:flex;align-items:center;justify-content:center;font-size:18px;color:#fff;flex-shrink:0} .qa-body{flex:1;min-width:0} .qa-title{font-size:14px;font-weight:600;color:#1c1c1e} .qa-desc{font-size:11px;color:#8e8e93;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis} .qa-btn{flex-shrink:0;padding:8px 18px;border:none;border-radius:10px;background:var(--primary);color:#fff;font-size:13px;font-weight:600;cursor:pointer} .section-title{display:flex;justify-content:space-between;align-items:center;padding:12px 16px 6px;font-size:15px;font-weight:600} .section-more{font-size:12px;color:#8e8e93;font-weight:400;cursor:pointer} .checkin-wrap{background:#fff;margin:0 16px;border-radius:16px;padding:16px;box-shadow:0 1px 4px rgba(0,0,0,.04)} .checkin-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px} .cal-nav{width:32px;height:32px;border:none;background:#f5f5f7;border-radius:50%;font-size:16px;color:#666;cursor:pointer;display:flex;align-items:center;justify-content:center} .cal-nav:active{background:#e0e0e5} #calTitle{font-size:14px;font-weight:600;color:#333} .checkin-weekdays{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;font-size:11px;color:#8e8e93;margin-bottom:6px} .checkin-weekdays span{padding:4px 0} .checkin-cal .day.done{background:linear-gradient(135deg,var(--primary),#6CB4EE);color:#fff;font-weight:600} .checkin-cal .day.miss{background:#f5f5f7;color:#bbb} .checkin-cal .day.today{outline:2px solid var(--primary);outline-offset:-2px;background:#f0f6ff} /* ===== Home Page Redesign ===== */ .home-greeting{display:flex;align-items:center;gap:12px} .greet-text{} /* Study Card */ .study-card{margin:12px 16px 4px;border-radius:20px;position:relative;overflow:hidden;min-height:160px} .study-card-content{position:relative;padding:16px 18px;display:flex;align-items:center;gap:18px;min-height:140px} .study-progress{flex-shrink:0;position:relative;width:80px;height:80px} .study-info{flex:1;min-width:0} .study-title{font-size:14px;font-weight:600;color:rgba(255,255,255,.9);margin-bottom:6px} .study-stats{display:flex;align-items:center;gap:0} .study-bar{height:4px;background:rgba(255,255,255,.15);border-radius:2px;margin-top:8px;overflow:hidden} .study-bar-fill{height:100%;background:#fff;border-radius:2px;transition:width .6s ease} .study-motivate{font-size:11px;color:rgba(255,255,255,.7);margin-top:6px;font-weight:400} /* Quick Actions */ .qa-icon{width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,var(--primary),#6CB4EE);display:flex;align-items:center;justify-content:center;font-size:18px;color:#fff;flex-shrink:0} .qa-body{flex:1;min-width:0} .qa-title{font-size:14px;font-weight:600;color:#1c1c1e} .qa-desc{font-size:11px;color:#8e8e93;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis} .qa-btn{flex-shrink:0;padding:8px 18px;border:none;border-radius:10px;background:var(--primary);color:#fff;font-size:13px;font-weight:600;cursor:pointer} /* Section Title */ .section-title{display:flex;justify-content:space-between;align-items:center;padding:12px 16px 8px;font-size:15px;font-weight:600} .section-more{font-size:12px;color:#8e8e93;font-weight:400;cursor:pointer} /* Checkin Calendar Redesign */ .checkin-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px} .cal-nav{width:32px;height:32px;border:none;background:#f5f5f7;border-radius:50%;font-size:16px;color:#666;cursor:pointer;display:flex;align-items:center;justify-content:center} .cal-nav:active{background:#e0e0e5} #calTitle{font-size:14px;font-weight:600;color:#333} .checkin-weekdays{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;font-size:11px;color:#8e8e93;margin-bottom:6px} .checkin-weekdays span{padding:4px 0} .checkin-cal{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center} .checkin-cal .day{width:100%;aspect-ratio:1;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:12px;font-weight:500;color:#333;transition:all .15s} .checkin-cal .day.done{background:linear-gradient(135deg,var(--primary),#6CB4EE);color:#fff;font-weight:600} .checkin-cal .day.miss{background:#f5f5f7;color:#bbb} .checkin-cal .day.today{outline:2px solid var(--primary);outline-offset:-2px;background:#f0f6ff} .checkin-cal .day .dow{display:none}