.widget-weather.weather-card{position:relative;padding:11px 12px 9px;gap:0;background:linear-gradient(125deg,#17344ad9,#1a384fbf);border-color:#b8d6ef35;-webkit-backdrop-filter:blur(20px) saturate(1.15);backdrop-filter:blur(20px) saturate(1.15);font-family:Arial,sans-serif}.weather-card-head{display:flex;justify-content:space-between;align-items:center;min-height:18px;gap:6px}.weather-location{display:inline-flex;align-items:center;gap:5px;border:0;background:none;color:inherit;padding:0;font-size:12px;font-weight:600;cursor:pointer;min-width:0}.weather-location span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:110px}.weather-location-caret{font-size:12px;color:#ffffff80}.weather-updated{font-size:9px;color:#ffffff80;display:flex;align-items:center;gap:5px;white-space:nowrap}.weather-updated.warning{color:#ffce87}.weather-refresh{border:0;padding:0;background:none;color:inherit;font-size:15px;cursor:pointer;line-height:1}.weather-current{display:flex;align-items:center;gap:10px;min-height:49px}.weather-main-temperature{font-size:39px;line-height:1;font-weight:500;letter-spacing:-1.8px;font-variant-numeric:tabular-nums}.weather-current-label{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}.weather-current-label strong{font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.weather-current-label>span{font-size:10px;color:#ffffffbf;white-space:nowrap}.weather-current-label i{font-style:normal;margin-left:8px;color:#ffffff80}.weather-symbol{flex-shrink:0;display:inline-block;vertical-align:middle;filter:drop-shadow(0 2px 4px #00000012)}.weather-conditions{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#ffffffa1;gap:5px;border-bottom:1px solid #ffffff1c;padding:0 0 7px;margin-bottom:6px;white-space:nowrap}.weather-rain{color:#a9d9ff}.weather-mini-days{display:grid;grid-template-columns:repeat(var(--forecast-count,6),minmax(0,1fr));gap:3px}.weather-mini-day{display:flex;flex-direction:column;align-items:center;gap:1px;min-width:0}.weather-mini-name{font-size:10px;color:#ffffffc9}.weather-mini-temperature{font-size:10px;white-space:nowrap;font-variant-numeric:tabular-nums;color:#fff}.weather-mini-temperature>span{color:#ffffff80;margin-left:2px}.weather-mini-rain{font-size:9px;color:#9dd5ff;line-height:1.2}.weather-placeholder{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:145px;width:100%;font-size:11px;color:#ffffff9e}.weather-placeholder strong{font-size:13px;color:inherit}.weather-placeholder p{font-size:10px;line-height:1.5;max-width:100%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-align:center}.weather-placeholder button{border:1px solid #ffffff30;background:#ffffff0b;color:inherit;border-radius:7px;font-size:11px;padding:5px 10px;cursor:pointer;margin:0 4px}.weather-skeleton{height:12px;width:90%;border-radius:5px;background:linear-gradient(90deg,#ffffff0c,#fff2,#ffffff0c);background-size:200% 100%;animation:weatherShimmer 1.5s linear infinite}.weather-skeleton-short{width:40%;align-self:flex-start}.weather-skeleton-temp{height:35px;width:65%;align-self:flex-start}@keyframes weatherShimmer{to{background-position:-200% 0}}.weather-detail-overlay,.weather-picker-overlay{position:fixed;inset:0;z-index:500;display:flex;align-items:center;justify-content:center;padding:24px;background:#050c1873;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-family:Arial,sans-serif;color:#f5f8ff}.weather-picker-overlay{z-index:600}.weather-detail,.weather-picker{background:linear-gradient(140deg,#1d3048fa,#121f33fa);border:1px solid #ffffff26;border-radius:22px;box-shadow:0 25px 90px #0005;max-height:calc(100dvh - 48px);overflow:auto;width:min(760px,100%);padding:24px 28px;scrollbar-width:thin;color:#f5f8ff}.weather-detail-head,.weather-picker header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.weather-detail-head .weather-location{font-size:17px}.weather-detail-head p{font-size:11px;color:#a2b4cb;margin:7px 0 0}.weather-close{flex-shrink:0;width:29px;height:29px;border:1px solid #ffffff20;border-radius:50%;background:#ffffff08;color:inherit;font-size:20px;cursor:pointer;line-height:1}.weather-detail-current{display:flex;justify-content:space-between;align-items:center;padding:17px 4px 13px;gap:20px}.weather-detail-temp{font-size:62px;letter-spacing:-3px;font-weight:400;line-height:1}.weather-detail-condition{display:inline-block;margin-left:17px;font-size:18px;font-weight:500}.weather-detail-current p{color:#c2cfe0;font-size:12px;margin:12px 0 0}.weather-detail-current p span{color:#8dabc6;margin-left:15px}.weather-detail-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;background:#ffffff05;border:1px solid #ffffff0f;border-radius:12px;padding:12px 8px}.weather-detail-metrics>div{display:flex;flex-direction:column;gap:9px;align-items:center;border-right:1px solid #ffffff12}.weather-detail-metrics>div:last-child{border:0}.weather-detail-metrics span{font-size:11px;color:#9fb2ca}.weather-detail-metrics strong{font-size:17px;font-weight:500;font-variant-numeric:tabular-nums}.weather-tabs{display:flex;gap:19px;align-items:center;border-bottom:1px solid #ffffff17;margin:14px 0 10px}.weather-tabs button{padding:10px 0;background:none;color:#8fa7c0;border:0;border-bottom:2px solid transparent;font-size:12px;cursor:pointer}.weather-tabs button.active{border-bottom-color:#88cbff;color:#e6f4ff}.weather-tabs>span{font-size:10px;color:#7f98b4;margin-left:auto}.weather-chart-label{display:flex;justify-content:space-between;font-size:10px;color:#94b0ca}.weather-temperature-chart{display:block;width:100%;height:88px;overflow:visible}.weather-chart-grid{stroke:#ffffff0c;stroke-width:1;stroke-dasharray:4 5}.weather-chart-line{fill:none;stroke:#9ddcff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 3px 5px #6bb6ef30)}.weather-hour-strip{display:flex;overflow-x:auto;gap:8px;scrollbar-width:thin;scrollbar-color:#7897b33d transparent;padding:4px 0 10px}.weather-hour-column{display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px 4px;min-width:65px;border:1px solid transparent;border-radius:11px;font-size:11px;color:#c3d0e2}.weather-hour-column:first-child{border-color:#91cfff30;background:#ffffff08}.weather-hour-column small{font-size:9px;color:#6e8aa8}.weather-hour-column strong{font-size:16px;font-weight:500;color:#f4f8ff}.weather-hour-rain{font-size:10px;color:#87caff}.weather-data-note,.weather-no-data{color:#a4b8ce;font-size:11px;line-height:1.6;padding:10px 0}.weather-source-notice{font-size:11px;color:#efc78f;margin-top:12px;line-height:1.6}.weather-source-notice button{background:none;border:0;color:inherit;margin-left:8px;text-decoration:underline;cursor:pointer}.weather-daily-row{display:grid;grid-template-columns:52px 36px minmax(65px,1fr) 40px 34px minmax(45px,105px) 34px;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #ffffff09;font-size:12px}.weather-daily-row>div:first-child{display:flex;flex-direction:column;gap:4px}.weather-daily-row strong{font-weight:500}.weather-daily-row small{color:#819bb6;font-size:9px}.weather-daily-description{font-size:11px;color:#bfcee1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.weather-daily-rain{color:#87caff;font-size:11px;text-align:right}.weather-daily-low{color:#8daac8;text-align:right}.weather-daily-high{color:#e8f2ff;text-align:right}.weather-temperature-range{position:relative;height:5px;border-radius:5px;background:#ffffff0b}.weather-temperature-range i{position:absolute;top:0;height:5px;border-radius:5px;background:linear-gradient(90deg,#8dbdf3,#f1d69e)}.weather-sun-times{display:flex;gap:20px;color:#a4b9cc;font-size:11px;padding-top:17px;margin-top:6px}.weather-detail-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #ffffff12;margin-top:17px;padding-top:13px;font-size:10px;color:#7f9ab7}.weather-detail-footer a{color:inherit;text-decoration:none}.weather-detail-footer a:hover{text-decoration:underline}.weather-detail-footer button{border:0;background:none;color:#a8c9e7;font-size:11px;cursor:pointer}.weather-picker{width:min(440px,100%);padding:25px}.weather-picker h3{margin:0;font-size:19px;font-weight:500}.weather-picker header p{font-size:11px;color:#9bb2cd;margin:9px 0 20px;line-height:1.6}.weather-picker form{display:flex;gap:8px}.weather-picker input{min-width:0;flex:1;padding:12px;border:1px solid #ffffff20;background:#ffffff07;border-radius:9px;color:inherit;font:12px Arial,sans-serif}.weather-picker form button{padding:9px 15px;background:#b6d9f2;border:0;border-radius:9px;color:#16334a;font-size:12px;cursor:pointer}.weather-location-results{display:flex;flex-direction:column;gap:6px;margin-top:16px}.weather-location-results>button{display:flex;align-items:center;gap:12px;background:#ffffff04;border:1px solid #ffffff0b;border-radius:10px;color:inherit;padding:12px;cursor:pointer;text-align:left}.weather-location-results>button:hover{background:#ffffff0c}.weather-location-results>button>div{flex:1;display:flex;flex-direction:column;gap:6px}.weather-location-results strong{font-size:13px;font-weight:500}.weather-location-results small,.weather-location-results>p{color:#95adc6;font-size:11px;line-height:1.6}.weather-picker-error{font-size:12px;color:#ffb3a6;line-height:1.7;margin-top:12px;overflow-wrap:anywhere}body.theme-light .widget-weather.weather-card{color:#1e3b54;background:linear-gradient(125deg,#ffffffc2,#eff6ff9e)}body.theme-light .weather-updated,body.theme-light .weather-location-caret{color:#5a768c}body.theme-light .weather-current-label>span,body.theme-light .weather-mini-name{color:#385a75}body.theme-light .weather-current-label i,body.theme-light .weather-mini-temperature>span{color:#688096}body.theme-light .weather-mini-temperature{color:#1c3f5e}body.theme-light .weather-conditions{color:#56758d;border-color:#47789f20}body.theme-light .weather-rain,body.theme-light .weather-mini-rain{color:#2879ac}body.theme-light .weather-placeholder{color:#476984}body.solid-mode .widget-weather.weather-card{background:#17283ef5}body.theme-light.solid-mode .widget-weather.weather-card{background:#f1f7fc}@media(max-width:600px){.weather-detail-overlay,.weather-picker-overlay{padding:12px}.weather-detail{padding:19px 17px;max-height:calc(100dvh - 24px);border-radius:17px}.weather-detail-temp{font-size:58px}.weather-detail-condition{font-size:15px;margin-left:10px}.weather-detail-current>.weather-symbol{width:68px;height:68px}.weather-detail-metrics{gap:0;padding:13px 2px}.weather-detail-metrics span{font-size:10px}.weather-detail-metrics strong{font-size:14px}.weather-tabs{gap:16px}.weather-tabs>span{font-size:9px}.weather-daily-row{grid-template-columns:39px 26px minmax(42px,1fr) 32px 28px 35px 28px;gap:5px;font-size:11px}.weather-daily-description{font-size:10px}.weather-detail-footer{flex-wrap:wrap;gap:10px}.weather-detail-footer>span{font-size:9px}.weather-picker{padding:22px}.widget-weather.weather-card{max-width:100%}.weather-current-label i{margin-left:10px}}@media(prefers-reduced-motion:reduce){.weather-skeleton{animation:none}}.weather-chart-axis{display:flex;justify-content:space-between;padding:0 16px;margin:-4px 0 6px;font-size:9px;color:#7999b8}@media(min-width:601px)and (max-height:800px){.weather-detail .weather-detail-current{padding:10px 4px 8px}.weather-detail .weather-detail-temp{font-size:48px}.weather-detail .weather-detail-current>.weather-symbol{width:62px;height:62px}.weather-detail .weather-detail-current p{margin-top:6px}.weather-detail .weather-detail-metrics{padding:9px 8px}.weather-detail .weather-detail-metrics>div{gap:6px}.weather-detail .weather-detail-metrics strong{font-size:15px}.weather-detail .weather-tabs{margin:10px 0 8px}.weather-detail .weather-tabs button{padding:8px 0}.weather-detail-daily .weather-daily-row{padding:6px 0}}.weather-chart-line{vector-effect:non-scaling-stroke}*{box-sizing:border-box;margin:0;padding:0}body{font-family:Arial,sans-serif;background-color:#0d1117;background-size:cover;background-position:center;background-repeat:no-repeat;background-attachment:fixed;min-height:100vh;color:#fff;transition:background-color .35s ease,color .35s ease,background-image .8s ease}body.theme-light{background-color:#f4f6f8;color:#111827}body.theme-light .top-overlay{background:linear-gradient(to bottom,rgba(255,255,255,.78) 0%,transparent 100%)}body.theme-light .bottom-overlay{background:linear-gradient(to top,rgba(255,255,255,.68) 0%,transparent 100%)}body.theme-light .widget,body.theme-light .search-bar,body.theme-light .engine-dropdown,body.theme-light .card-icon-wrap,body.theme-light .add-card-icon,body.theme-light .admin-controls button,body.theme-light .admin-controls input[type=password],body.theme-light #theme-toggle,body.theme-light #bg-settings-btn,body.theme-light #glass-toggle,body.theme-light #bg-mode-toggle,body.theme-light #icon-trans-toggle,body.theme-light #text-trans-toggle,body.theme-light #icon-shape-toggle,body.theme-light #icon-size-toggle,body.theme-light #bg-panel,body.theme-light #icon-size-panel{background:#ffffffb3;border-color:#0f172a24;color:#111827;box-shadow:0 6px 24px #0f172a1f}body.theme-light .search-bar input,body.theme-light .engine-caret,body.theme-light .wx-loading,body.theme-light .widget-loading,body.theme-light .hot-rank,body.theme-light .cal-lunar,body.theme-light .cal-grid .cg-h,body.theme-light .cal-grid .cg-d,body.theme-light #copyright,body.theme-light #copyright a{color:#111827b8;caret-color:#111827}body.theme-light .search-bar input::placeholder{color:#11182773}body.theme-light .icon-size-hint{color:#1118278c}body.theme-light #icon-size-reset{background:#0f172a14;color:#111827cc}body.theme-light #clock-time,body.theme-light #clock-date,body.theme-light .section-title,body.theme-light .card-title,body.theme-light .add-card-title,body.theme-light .hot-title,body.theme-light .hot-tab,body.theme-light .cal-title,body.theme-light .cal-sub,body.theme-light .wx-city,body.theme-light .wx-day .wd-name,body.theme-light .wx-day .wd-tmp,body.theme-light .wx-range,body.theme-light .wx-desc{color:#111827;text-shadow:none}body.solid-mode .widget,body.solid-mode .card-icon-wrap,body.solid-mode .add-card-icon,body.solid-mode #theme-toggle,body.solid-mode #bg-settings-btn,body.solid-mode #glass-toggle,body.solid-mode #bg-mode-toggle,body.solid-mode #icon-trans-toggle,body.solid-mode #text-trans-toggle,body.solid-mode #icon-shape-toggle,body.solid-mode #icon-size-toggle{background:#121820f5;backdrop-filter:none;-webkit-backdrop-filter:none}body.solid-mode .card:hover .card-icon-wrap,body.solid-mode .add-card:hover .add-card-icon{background:#1e2834fa}body.theme-light.solid-mode .widget,body.theme-light.solid-mode .card-icon-wrap,body.theme-light.solid-mode .add-card-icon,body.theme-light.solid-mode #theme-toggle,body.theme-light.solid-mode #bg-settings-btn,body.theme-light.solid-mode #glass-toggle,body.theme-light.solid-mode #bg-mode-toggle,body.theme-light.solid-mode #icon-trans-toggle,body.theme-light.solid-mode #text-trans-toggle,body.theme-light.solid-mode #icon-shape-toggle,body.theme-light.solid-mode #icon-size-toggle{background:#fffffff5;color:#111827}.top-overlay{position:absolute;top:0;left:0;right:0;height:200px;background:linear-gradient(to bottom,rgba(0,0,0,.55) 0%,transparent 100%);z-index:5;pointer-events:none}.bottom-overlay{position:fixed;bottom:0;left:0;right:0;height:80px;background:linear-gradient(to top,rgba(0,0,0,.5) 0%,transparent 100%);z-index:5;pointer-events:none}.fixed-elements{position:relative;z-index:100;padding:20px 20px 0;display:flex;flex-direction:column;align-items:center}#clock-display{text-align:center;margin-bottom:12px}#clock-time{font-size:56px;font-weight:200;letter-spacing:4px;color:#fff;text-shadow:0 2px 20px rgba(0,0,0,.5);line-height:1}#clock-date{font-size:15px;color:#fffc;margin-top:4px;letter-spacing:2px}.search-container{width:100%;max-width:580px;margin-bottom:8px}.search-bar{display:flex;background:#ffffff26;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.25);border-radius:40px;overflow:hidden;padding:0 16px;align-items:center;height:42px;transition:background .2s}.search-bar:focus-within{background:#ffffff38;border-color:#ffffff73}.search-engine-icon{width:18px;height:18px;margin-right:10px;opacity:.7;font-size:16px;color:#fff;display:flex;align-items:center}.search-bar input{flex:1;background:transparent;border:none;outline:none;color:#fff;font-size:15px;caret-color:#fff}.search-bar input::placeholder{color:#ffffff80}.search-bar button{background:none;border:none;color:#ffffffb3;cursor:pointer;font-size:18px;padding:0 0 0 8px}.engine-selector{display:flex;align-items:center;cursor:pointer;padding-right:8px;margin-right:6px;border-right:1px solid rgba(255,255,255,.2);height:24px;-webkit-user-select:none;user-select:none}.engine-caret{font-size:10px;color:#fff9;margin-left:2px;transition:transform .2s}.engine-selector.open .engine-caret{transform:rotate(180deg)}.engine-dropdown{display:none;margin-top:8px;background:#1c222ceb;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.18);border-radius:16px;padding:14px;box-shadow:0 8px 28px #0006}.engine-dropdown.open{display:block}.engine-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px 4px}.engine-option{display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px 4px;border-radius:12px;cursor:pointer;position:relative;transition:background .15s}.engine-option:hover{background:#ffffff1f}.engine-option.active{background:#ffffff2e}.engine-option img{width:34px;height:34px;border-radius:10px;object-fit:contain;background:#ffffffe6;padding:2px}.engine-option .eo-add{width:34px;height:34px;border-radius:10px;border:2px dashed rgba(255,255,255,.35);display:flex;align-items:center;justify-content:center;font-size:22px;color:#ffffff80}.engine-option span{font-size:12px;color:#ffffffd9;max-width:60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.engine-option .eo-del{position:absolute;top:0;right:4px;background:#dc3232d9;color:#fff;border:none;border-radius:50%;width:16px;height:16px;font-size:11px;line-height:16px;cursor:pointer;display:none}.engine-option:hover .eo-del.show{display:block}.widgets-section{width:100%;max-width:1160px;margin:0 auto 16px;padding:0 30px;display:grid;grid-template-columns:minmax(320px,360px) minmax(260px,300px) minmax(220px,240px);justify-content:center;align-items:stretch;gap:16px}.widget{height:176px;min-height:176px;background:#ffffff1a;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.18);border-radius:16px;padding:10px 14px;color:#fff;box-shadow:0 4px 22px #00000040;overflow:hidden}.widget-weather{width:100%;max-width:360px;height:176px;min-height:176px;cursor:pointer;display:flex;flex-direction:column;justify-content:space-between;padding:14px 12px 12px}.widget-calendar,.widget-hot{cursor:pointer}.wx-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.wx-city{font-size:12px;line-height:1.1;color:#fffffff5;cursor:pointer;margin-bottom:14px;font-weight:600}.wx-city:hover{color:#fff;text-decoration:underline}.wx-temp{font-size:32px;font-weight:700;line-height:.9;letter-spacing:0}.wx-right{text-align:right;min-width:0;max-width:52%}.wx-desc{display:flex;justify-content:flex-end;align-items:center;gap:5px;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.15}.wx-desc-icon{font-size:18px;line-height:1}.wx-desc-text{min-width:0;overflow:hidden;text-overflow:ellipsis}.wx-range{font-size:12px;color:#fffffff5;margin-top:3px;font-weight:700}.wx-rain{font-size:11px;color:#ffffffd1;margin-top:3px}.wx-forecast{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));justify-content:space-between;align-items:end;gap:6px}.wx-day{display:flex;flex-direction:column;align-items:center;gap:1px;min-width:0;padding:0;border-radius:8px;position:relative}.wx-day.rain{background:#78b4ff14}.wx-day.missing{opacity:.55}.wx-day .wd-name{font-size:12px;color:#fffffff5;white-space:nowrap;font-weight:700;line-height:1.15}.wx-day .wd-ico{font-size:18px;line-height:1.05}.wx-day .wd-rain{display:none}.wx-day .wd-tmp{font-size:11px;color:#fffffffa;white-space:nowrap;font-weight:700;line-height:1.15}.wx-day .wd-tmp .wd-lo{color:#fffffffa}.weather-hourly-overlay{position:fixed;inset:0;background:#00000047;z-index:300;display:none;align-items:flex-start;justify-content:center;padding:190px 20px 20px}.weather-hourly-overlay.open{display:flex}.weather-hourly-panel{width:min(820px,100%);max-height:calc(100vh - 230px);overflow:auto;background:#1e242ef5;border:1px solid rgba(255,255,255,.18);border-radius:16px;box-shadow:0 12px 36px #0000006b;padding:14px;color:#fff;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}.weather-hourly-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.weather-hourly-title{font-size:15px;font-weight:600}.weather-hourly-actions{display:flex;align-items:center;gap:8px}.weather-hourly-expand,.weather-hourly-close{border:none;background:#ffffff1f;color:#fff;width:26px;height:26px;border-radius:50%;cursor:pointer;font-size:18px;line-height:26px}.weather-hourly-expanded .weather-hourly-panel{width:min(960px,calc(100vw - 40px));max-height:calc(100vh - 80px)}.weather-hourly-expanded{align-items:center;padding-top:20px}.weather-hourly-chart{display:grid;grid-template-columns:repeat(12,minmax(46px,1fr));gap:7px;align-items:end;min-height:110px;margin-bottom:12px;padding:8px 0 2px}.weather-hour-bar{min-width:0;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px}.weather-hour-fill{width:18px;min-height:16px;border-radius:12px 12px 4px 4px;background:linear-gradient(to top,#4a9eff8c,#ffd269e6);box-shadow:0 0 16px #4a9eff47;transform-origin:bottom;animation:weatherRise .7s ease both}.weather-hour-bar .wh-time{font-size:10px;color:#fff9}@keyframes weatherRise{0%{transform:scaleY(.25);opacity:.45}to{transform:scaleY(1);opacity:1}}.weather-hourly-grid{display:grid;grid-template-columns:repeat(12,minmax(54px,1fr));gap:7px}.weather-hour{min-width:0;border-radius:10px;background:#ffffff14;padding:7px 5px;text-align:center}.weather-hour .wh-time{font-size:11px;color:#ffffffb3}.weather-hour .wh-icon{font-size:18px;line-height:1.35}.weather-hour .wh-temp{font-size:13px;font-weight:600}.weather-hour .wh-rain{font-size:10px;color:#78c8fff2;margin-top:2px}.detail-overlay{position:fixed;inset:0;z-index:300;display:none;align-items:flex-start;justify-content:center;padding:190px 20px 20px;background:#00000047}.detail-overlay.open{display:flex}.detail-panel{width:min(760px,100%);max-height:calc(100vh - 230px);overflow:auto;padding:16px;border-radius:16px;border:1px solid rgba(255,255,255,.18);background:#1e242ef5;color:#fff;box-shadow:0 12px 36px #0000006b;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}.detail-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.detail-title{font-size:16px;font-weight:600}.detail-close{border:none;background:#ffffff1f;color:#fff;width:26px;height:26px;border-radius:50%;cursor:pointer;font-size:18px;line-height:26px}.hot-detail-list{display:grid;gap:8px}.hot-detail-item{display:grid;grid-template-columns:26px 1fr auto;align-items:center;gap:10px;padding:9px 10px;border-radius:10px;background:#ffffff12;cursor:pointer}.hot-detail-item:hover{background:#ffffff1f}.hot-detail-rank{font-size:13px;font-weight:700;color:#ffffff8c;text-align:center}.hot-detail-item:nth-child(1) .hot-detail-rank{color:#ff5252}.hot-detail-item:nth-child(2) .hot-detail-rank{color:#ff8a3d}.hot-detail-item:nth-child(3) .hot-detail-rank{color:#ffc14d}.hot-detail-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.hot-detail-open{color:#78c8ffe6;font-size:12px}.calendar-detail-main{display:grid;grid-template-columns:120px 1fr;gap:18px;align-items:start}.calendar-detail-day{font-size:64px;line-height:.9;font-weight:200}.calendar-detail-meta{color:#ffffffb8;line-height:1.7;font-size:13px}.calendar-detail-blocks{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:14px}.calendar-detail-block{padding:10px;border-radius:10px;background:#ffffff12}.calendar-detail-label{font-size:12px;color:#ffffff8c;margin-bottom:6px}.calendar-detail-text{font-size:14px;line-height:1.6}.wx-loading,.widget-loading{font-size:13px;color:#ffffff80;padding:18px 0;text-align:center}.widget-calendar{width:auto;height:176px;min-height:176px}.cal-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:3px}.cal-title{font-size:13px;font-weight:500}.cal-sub{font-size:9px;color:#fff9}.cal-today{display:flex;align-items:center;gap:7px;margin-bottom:5px}.cal-bignum{font-size:28px;font-weight:200;line-height:.95}.cal-lunar{font-size:10px;color:#ffffffbf;line-height:1.35}.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:0;text-align:center}.cal-grid .cg-h{font-size:10px;color:#ffffff73;padding:0}.cal-grid .cg-h.we{color:#ff7878b3}.cal-grid .cg-d{font-size:11px;color:#ffffffd9;padding:2px 0;border-radius:50%}.cal-grid .cg-d.other{color:#ffffff40}.cal-grid .cg-d.we{color:#ff8c8cd9}.cal-grid .cg-d.today{background:#e23b3b;color:#fff;font-weight:600}.widget-hot{width:100%;max-width:300px;display:flex;flex-direction:column}.hot-tabs{display:flex;gap:12px;margin-bottom:4px;border-bottom:1px solid rgba(255,255,255,.12);padding-bottom:3px;line-height:1.1}.hot-tab{font-size:12px;color:#ffffff8c;cursor:pointer;padding-bottom:1px;transition:color .15s}.hot-tab:hover{color:#ffffffd9}.hot-tab.active{color:#fff;font-weight:600;border-bottom:2px solid #4a9eff}.hot-list{list-style:none;flex:1;min-height:0;max-height:none;overflow-y:auto;margin:0;padding:0}.hot-list::-webkit-scrollbar{width:5px}.hot-list::-webkit-scrollbar-thumb{background:#fff3;border-radius:3px}.hot-item{display:flex;align-items:center;gap:8px;padding:4px 2px;cursor:pointer;border-radius:6px;transition:background .12s}.hot-item:hover{background:#ffffff14}.hot-rank{font-size:12px;font-weight:600;color:#fff6;width:16px;text-align:center;flex-shrink:0}.hot-item:nth-child(1) .hot-rank{color:#ff5252}.hot-item:nth-child(2) .hot-rank{color:#ff8a3d}.hot-item:nth-child(3) .hot-rank{color:#ffc14d}.hot-title{font-size:12px;color:#ffffffe6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-controls{position:fixed;top:12px;right:16px;z-index:200;display:flex;gap:6px;align-items:center}.admin-controls input[type=password]{background:#0006;border:1px solid rgba(255,255,255,.25);border-radius:20px;color:#fff;font-size:12px;padding:4px 12px;outline:none;width:110px;display:none}.admin-controls button{background:#0006;border:1px solid rgba(255,255,255,.25);border-radius:20px;color:#ffffffd9;font-size:12px;padding:4px 12px;cursor:pointer;white-space:nowrap;transition:background .15s}.admin-controls button:hover{background:#fff3}.content{padding-bottom:60px;min-height:100vh}#sections-container{width:100%;max-width:1300px;margin:0 auto;padding:0 30px}.section{margin-bottom:16px}.section-title-container{display:flex;align-items:center;margin-bottom:10px;padding-left:4px}.section-title{font-size:13px;color:#ffffff8c;letter-spacing:1px;font-weight:400}.delete-category-btn{background:#ff505040;color:#ff8080;border:1px solid rgba(255,80,80,.4);border-radius:12px;font-size:11px;padding:2px 8px;cursor:pointer;margin-left:10px}.card-container{display:flex;flex-wrap:wrap;gap:12px 10px}:root{--nav-icon-size: 38px;--nav-card-width: 54px;--nav-icon-radius: 10px}.card{display:flex;flex-direction:column;align-items:center;width:var(--nav-card-width);cursor:pointer;position:relative;-webkit-user-select:none;user-select:none;transition:transform .18s ease,opacity .18s ease;will-change:transform}.card:hover{transform:translateY(-3px)}.card.dragging{opacity:.45;transform:scale(.96);z-index:20}.card-container.drag-active{outline:1px dashed rgba(255,255,255,.28);outline-offset:6px;border-radius:12px}.card-icon-wrap{width:var(--nav-icon-size);height:var(--nav-icon-size);border-radius:var(--nav-icon-radius);overflow:hidden;background:#ffffff1f;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;margin-bottom:6px;position:relative;transition:border-color .15s,background .15s}.card:hover .card-icon-wrap{background:#fff3;border-color:#ffffff59}body.solid-mode .card-icon-wrap{background:#121820f5;backdrop-filter:none;-webkit-backdrop-filter:none}body.solid-mode .card:hover .card-icon-wrap{background:#1e2834fa}.card-icon{width:100%;height:100%;object-fit:cover}.card-icon-fallback{display:none;width:100%;height:100%;align-items:center;justify-content:center;color:#ffffffd1;font-size:18px;font-weight:600;background:linear-gradient(135deg,#3b82f6d1,#2563eb80)}.card-icon-wrap.icon-load-failed .card-icon{display:none}.card-icon-wrap.icon-load-failed .card-icon-fallback{display:flex}body.theme-light .card-icon-fallback{color:#111827d1;background:linear-gradient(135deg,#93c5fde6,#60a5faa6)}.card-title{font-size:11px;color:#ffffffe6;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:var(--nav-card-width);text-shadow:0 1px 4px rgba(0,0,0,.7)}.card-url{display:none}.private-tag{position:absolute;top:2px;right:2px;background:#ff9800d9;color:#fff;font-size:9px;padding:1px 4px;border-radius:4px}.svip-tag{position:absolute;top:2px;left:2px;background:#4caf50d9;color:#fff;font-size:9px;padding:1px 4px;border-radius:4px}.delete-btn{position:absolute;top:-6px;right:-6px;background:#dc3232e6;color:#fff;border:none;border-radius:50%;width:18px;height:18px;font-size:12px;line-height:18px;text-align:center;cursor:pointer;display:none;z-index:10}#card-context-menu{display:none;position:fixed;min-width:150px;padding:6px;background:#161c24fa;border:1px solid rgba(255,255,255,.18);border-radius:10px;box-shadow:0 8px 28px #00000052;z-index:700}#card-context-menu.open{display:block}#card-context-menu button{width:100%;padding:8px 10px;border:0;border-radius:7px;background:transparent;color:#ff9b9b;text-align:left;font-size:12px;cursor:pointer}#card-context-menu button:hover{background:#dc32322e}body.theme-light #card-context-menu{background:#fffffffa;border-color:#0f172a24;box-shadow:0 8px 28px #0f172a2e}body.theme-light #card-context-menu button{color:#dc2626}body.theme-light #card-context-menu button:hover{background:#dc262614}.add-card{display:flex;flex-direction:column;align-items:center;width:var(--nav-card-width);cursor:pointer}.add-card-icon{width:var(--nav-icon-size);height:var(--nav-icon-size);border-radius:var(--nav-icon-radius);background:#ffffff14;border:2px dashed rgba(255,255,255,.3);display:flex;align-items:center;justify-content:center;font-size:20px;color:#fff6;margin-bottom:6px;transition:all .15s}.add-card:hover .add-card-icon{background:#ffffff26;border-color:#ffffff8c;color:#ffffffb3}body.solid-mode .add-card-icon{background:#121820f5;backdrop-filter:none;-webkit-backdrop-filter:none}body.solid-mode .add-card:hover .add-card-icon{background:#1e2834fa}.add-card-title{font-size:11px;color:#ffffff80}.add-remove-controls{display:none;flex-direction:column;position:fixed;right:16px;top:50%;transform:translateY(-50%);align-items:center;gap:8px;z-index:200}.round-btn{background:#007bffbf;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#fff;border:none;border-radius:50%;width:38px;height:38px;font-size:20px;line-height:38px;text-align:center;cursor:pointer;box-shadow:0 2px 10px #0006;transition:background .15s}.round-btn:hover{background:#0064dce6}#theme-toggle,#glass-toggle,#bg-settings-btn,#bg-mode-toggle,#icon-trans-toggle,#text-trans-toggle,#icon-shape-toggle,#icon-size-toggle{position:fixed;right:16px;background:#0006;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);color:#fff;border:1px solid rgba(255,255,255,.25);border-radius:50%;width:38px;height:38px;font-size:18px;line-height:38px;text-align:center;cursor:pointer;z-index:200;transition:background .15s,border-color .15s,color .15s}#theme-toggle{bottom:16px}#bg-settings-btn{bottom:62px}#glass-toggle{bottom:108px;font-size:17px}#bg-mode-toggle{bottom:154px;font-size:15px}#icon-trans-toggle{bottom:200px}#text-trans-toggle{bottom:246px;font-size:16px}#icon-shape-toggle{bottom:292px;font-size:16px;display:none}#icon-size-toggle{bottom:338px;font-size:16px;display:none}#text-trans-toggle.off{text-decoration:line-through;opacity:.7}#theme-toggle:hover,#glass-toggle:hover,#bg-settings-btn:hover,#bg-mode-toggle:hover,#icon-trans-toggle:hover,#text-trans-toggle:hover,#icon-shape-toggle:hover,#icon-size-toggle:hover{background:#fff3}body.solid-mode #glass-toggle{border-color:#fff6;color:#fffc}.card-icon-wrap{transition:border-color .15s,background .15s,opacity .3s ease,width .3s ease,height .3s ease,margin-bottom .3s ease,transform .2s}.card-icon{transition:opacity .3s ease}.add-card-icon{transition:background .2s,border-color .2s,color .2s,opacity .3s ease,width .3s ease,height .3s ease,margin-bottom .3s ease}body.icons-transparent .card-icon-wrap{width:0;height:0;margin-bottom:0;opacity:0;border-color:transparent;pointer-events:none}body.icons-transparent .card-icon{opacity:0}body.icons-transparent .add-card-icon{width:0;height:0;margin-bottom:0;opacity:0;border:none;color:transparent;pointer-events:none}body.icons-circle .card-icon-wrap,body.icons-circle .add-card-icon{border-radius:50%}#icon-size-panel{display:none;position:fixed;right:62px;bottom:334px;width:250px;padding:14px 16px;border:1px solid rgba(255,255,255,.16);border-radius:14px;background:#161c24f5;color:#fff;z-index:300;box-shadow:0 8px 28px #00000047}#icon-size-panel.open{display:block}.icon-size-heading,.icon-size-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.icon-size-heading{margin-bottom:10px;font-size:13px}#icon-size-value{color:#93c5fd;font-variant-numeric:tabular-nums}#icon-size-slider{width:100%;accent-color:#3b82f6;cursor:pointer}.icon-size-actions{margin-top:8px}.icon-size-hint{color:#ffffff73;font-size:11px}#icon-size-reset{border:0;border-radius:6px;padding:4px 8px;background:#ffffff1a;color:#fffc;font-size:11px;cursor:pointer}body.titles-hidden .card-title,body.titles-hidden .add-card-title{display:none}#copyright{position:fixed;bottom:0;left:0;right:0;height:36px;display:flex;justify-content:center;align-items:center;font-size:12px;color:#fff6;z-index:100;text-shadow:0 1px 3px rgba(0,0,0,.5)}#copyright a{color:#ffffff80;text-decoration:none}#dialog-overlay{display:none;position:fixed;inset:0;background:#000000a6;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);justify-content:center;align-items:center;z-index:500}#dialog-box{background:#161c24f5;border:1px solid rgba(255,255,255,.15);border-radius:14px;padding:24px;width:320px;color:#fff}#dialog-box label{font-size:12px;color:#fff9;display:block;margin-bottom:4px;margin-top:10px}#dialog-box input[type=text],#dialog-box input[type=number],#dialog-box select{width:100%;background:#ffffff14;border:1px solid rgba(255,255,255,.18);border-radius:8px;color:#fff;padding:7px 10px;font-size:13px;outline:none}#dialog-box input[type=text]:focus,#dialog-box input[type=number]:focus,#dialog-box select:focus{border-color:#fff6}#dialog-box select option{background:#1e2533}.dialog-row{display:flex;align-items:center;gap:8px;margin-top:10px}.dialog-row label{margin:0;font-size:13px;color:#ffffffbf}.dialog-buttons{display:flex;gap:8px;margin-top:16px}.dialog-buttons button{flex:1;padding:8px;border-radius:8px;border:none;cursor:pointer;font-size:13px;font-weight:500}.btn-confirm{background:#2563eb;color:#fff}.btn-cancel{background:#ffffff1a;color:#fffc}#bg-panel{display:none;position:fixed;bottom:110px;right:16px;background:#161c24f5;border:1px solid rgba(255,255,255,.15);border-radius:14px;padding:16px;width:300px;z-index:300;color:#fff}#bg-panel h4{font-size:13px;color:#ffffffb3;margin-bottom:10px}#bg-url-list{max-height:160px;overflow-y:auto;margin-bottom:10px}.bg-url-item{display:flex;align-items:center;gap:6px;margin-bottom:6px;font-size:12px}.bg-url-item span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#ffffffb3}.bg-url-item button{background:#dc32324d;border:none;border-radius:4px;color:#ff8080;font-size:11px;padding:2px 6px;cursor:pointer}.bg-add-row{display:flex;gap:6px}.bg-add-row input{flex:1;background:#ffffff14;border:1px solid rgba(255,255,255,.18);border-radius:8px;color:#fff;padding:6px 10px;font-size:12px;outline:none}.bg-add-row button{background:#2563eb;border:none;border-radius:8px;color:#fff;padding:6px 12px;font-size:12px;cursor:pointer}.bg-interval-row{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:12px;color:#fff9}.bg-interval-row input[type=number]{width:60px;background:#ffffff14;border:1px solid rgba(255,255,255,.18);border-radius:6px;color:#fff;padding:4px 8px;font-size:12px;outline:none}@media(max-width:980px){.widgets-section{grid-template-columns:minmax(300px,340px) minmax(240px,290px) minmax(190px,230px)}}@media(max-width:600px){:root{--nav-icon-size: 44px;--nav-card-width: 64px;--nav-icon-radius: 12px}#clock-time{font-size:36px}.card{min-width:var(--nav-card-width);max-width:var(--nav-card-width);flex:0 0 var(--nav-card-width)}.card-title{font-size:11px}.add-card{min-width:var(--nav-card-width);max-width:var(--nav-card-width);flex:0 0 var(--nav-card-width)}.add-card-title{font-size:11px;max-width:var(--nav-card-width)}.card-container{gap:14px 8px}#sections-container{padding:0 14px}.widgets-section{padding:0 14px;gap:12px;grid-template-columns:1fr}.widget{height:176px;min-height:176px}.widget-weather,.widget-calendar,.widget-hot{width:100%}.widget-weather,.widget-hot{max-width:100%}.widget-weather{justify-content:space-between}.widget-calendar,.widget-hot{padding:10px 14px}.weather-hourly-overlay{padding-top:140px}.weather-hourly-grid,.weather-hourly-chart{grid-template-columns:repeat(4,minmax(64px,1fr))}.detail-overlay{padding-top:140px}.calendar-detail-main,.calendar-detail-blocks{grid-template-columns:1fr}.add-remove-controls{right:6px}#icon-size-panel{right:14px;bottom:384px;width:min(250px,calc(100vw - 28px))}}.migration-bg{position:fixed;inset:0;width:100%;height:100%;border:0;z-index:0}.content{position:relative;z-index:10;pointer-events:none}.content :is(button,a,input,select,label,.widget,.card,.add-card,.card-container,.section-title,.api-error-banner,.add-remove-controls,#bg-panel,#icon-size-panel,#card-context-menu,#dialog-overlay,.weather-hourly-overlay,.detail-overlay){pointer-events:auto}.fixed-elements{pointer-events:none}.fixed-elements .search-container{pointer-events:auto}#copyright{pointer-events:none}#copyright a{pointer-events:auto}.widget-hot,.widget-calendar{background:linear-gradient(125deg,#17344ad9,#1a384fbf);border-color:#b8d6ef35;backdrop-filter:blur(20px) saturate(1.15);-webkit-backdrop-filter:blur(20px) saturate(1.15)}body.solid-mode .widget-hot,body.solid-mode .widget-calendar{background:#17283ef5}.content{min-height:0}a.hot-detail-item{color:inherit;text-decoration:none}button:disabled{opacity:.5;cursor:wait}.api-error-banner{position:relative;z-index:110;display:flex;align-items:center;gap:10px;max-width:1100px;margin:0 auto 16px;padding:12px 16px;border:1px solid #ee937b99;border-radius:10px;background:#3b2222ed;color:#ffe5dd;font:13px/1.7 Arial,sans-serif;overflow-wrap:anywhere}.api-error-banner>span{flex:1}.api-error-banner button,.admin-extras button,.admin-extras label,.interval-save{border:0;border-radius:6px;background:#ffffff1a;color:inherit;padding:4px 8px;font-size:12px;cursor:pointer;white-space:nowrap}.api-error{color:#ffb7a7;font-size:12px;line-height:1.7;overflow-wrap:anywhere;margin-top:12px}.nav-status{position:relative;text-align:center;padding:20px;color:#b5bbc4;font-size:13px}.nav-toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%);z-index:1000;background:#192b3ff2;color:#fff;border:1px solid #ffffff35;border-radius:10px;padding:10px 20px;font-size:12px;box-shadow:0 6px 25px #0004}.bg-admin-row{margin-top:10px;border-top:1px solid #ffffff1f;padding-top:10px}.global-background-save{width:100%;background:#2563eb;border:0;border-radius:8px;color:#fff;padding:7px;cursor:pointer;font-size:12px}.global-background-hint{font-size:11px;color:#ffffff73;margin-top:6px}.admin-extras{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}#dialog-box input[type=password]{width:100%;padding:8px 10px;background:#ffffff0d;border:1px solid #ffffff26;border-radius:6px;color:#fff;font-size:13px;margin:5px 0 10px;box-sizing:border-box}#dialog-box{max-height:90dvh;overflow:auto}.background-empty{color:#ffffff59;font-size:12px;padding:4px 0}:focus-visible{outline:2px solid #82b9ff;outline-offset:3px}@media(max-width:600px){.api-error-banner{margin:0 14px 16px;flex-wrap:wrap}.api-error-banner>span{flex-basis:100%}}
