/* ===== 万年历小组件 ===== */
#widget-lunar .lunar-main { text-align: center; padding: 4px 0; }
#widget-lunar .lunar-date { font-size: 22px; font-weight: 600; color: #fff; }
#widget-lunar .lunar-gz { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 2px; }
#widget-lunar .yi-ji-wrap { display: flex; gap: 8px; font-size: 10px; margin-top: 4px; }
#widget-lunar .yi-box { flex: 1; background: rgba(39,192,104,0.1); border-radius: 8px; padding: 6px; text-align: center; }
#widget-lunar .yi-label { color: #27c068; font-weight: 600; margin-bottom: 2px; }
#widget-lunar .yi-text { color: rgba(255,255,255,0.6); line-height: 1.4; }
#widget-lunar .ji-box { flex: 1; background: rgba(231,76,111,0.1); border-radius: 8px; padding: 6px; text-align: center; }
#widget-lunar .ji-label { color: #e74c6f; font-weight: 600; margin-bottom: 2px; }
#widget-lunar .ji-text { color: rgba(255,255,255,0.6); line-height: 1.4; }

/* ===== 新闻小组件 ===== */
#widget-news .news-list { flex: 1; overflow: hidden; display: flex; flex-direction: column; gap: 6px; }
#widget-news .news-item { display: flex; align-items: flex-start; gap: 8px; padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,0.04); cursor: pointer; min-height: 0; }
#widget-news .news-num { font-size: 10px; color: rgba(255,255,255,0.3); flex-shrink: 0; margin-top: 2px; }
#widget-news .news-title { font-size: 11px; color: rgba(255,255,255,0.75); line-height: 1.4; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
#widget-news .news-time { font-size: 9px; color: rgba(255,255,255,0.3); margin-top: 2px; }
#widget-news .news-item:active { background: rgba(255,255,255,0.05); border-radius: 6px; }

/* ===== 计算器全屏应用 ===== */
.calcOverlay{position:fixed;inset:0;z-index:600;background:rgba(0,0,0,0.85);backdrop-filter:blur(20px);display:flex;flex-direction:column;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity 0.3s ease}
.calcOverlay.show{opacity:1;pointer-events:auto}
.calcPanel{width:92%;max-width:360px;background:linear-gradient(180deg,#1a1a28,#12121c);border:1px solid rgba(255,255,255,0.08);border-radius:24px;padding:20px;box-shadow:0 20px 60px rgba(0,0,0,0.5)}
.calcDisplay{width:100%;background:rgba(0,0,0,0.3);border-radius:16px;padding:16px;text-align:right;margin-bottom:16px;min-height:80px;display:flex;flex-direction:column;justify-content:flex-end}
.calcExpr{font-size:14px;color:rgba(255,255,255,0.4);min-height:20px;word-break:break-all}
.calcResult{font-size:36px;font-weight:300;color:rgba(255,255,255,0.9);word-break:break-all}
.calcGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.calcBtn{aspect-ratio:1;border-radius:50%;border:none;background:rgba(255,255,255,0.08);color:#fff;font-size:22px;font-weight:500;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all 0.15s;font-family:inherit;-webkit-tap-highlight-color:transparent}
.calcBtn:active{background:rgba(255,255,255,0.2);transform:scale(0.92)}
.calcBtn.op{background:#3b82c4;color:#fff}
.calcBtn.op:active{background:#2563eb}
.calcBtn.eq{background:#e74c6f;color:#fff}
.calcBtn.eq:active{background:#c0392b}
.calcBtn.ac{background:rgba(255,255,255,0.12);color:#e74c6f;font-size:18px}
.calcHeader{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.calcTitle{font-size:18px;font-weight:600;color:rgba(255,255,255,0.9)}
.calcClose{width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.1);color:#fff;font-size:16px;display:flex;align-items:center;justify-content:center;cursor:pointer}
.calcClose:active{background:rgba(255,255,255,0.15)}