:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#fff;font-synthesis:none;--accent:#52745f;--accent-light:#eaf0e9;--ink:#2f3c33;--muted:#8a918a;--dim:.25;color-scheme:light}
*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100svh;background:#536451}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}button{color:inherit}a{color:inherit;text-decoration:none}button{border:0}button:disabled{cursor:wait;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #98b4a0;outline-offset:5px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
.wallpaper,.wallpaper-shade{position:fixed;inset:0;pointer-events:none}.wallpaper{z-index:-3;background:linear-gradient(145deg,#789184 0%,#526d60 52%,#304e41 100%);background-size:cover;background-position:center;background-repeat:no-repeat}.wallpaper-shade{z-index:-2;background:linear-gradient(180deg,rgba(14,27,22,.13),transparent 24%,rgba(15,25,18,.07) 62%,rgba(12,24,17,.45)),linear-gradient(rgb(12 23 18 / var(--dim)),rgb(12 23 18 / var(--dim)))}
.site-header{display:flex;align-items:center;justify-content:space-between;padding:32px 44px;position:absolute;inset:0 0 auto;z-index:1}.footer-divider{width:1px;height:18px;background:#ffffff3b}.header-button{display:flex;align-items:center;gap:8px;background:transparent;font-size:12px;padding:8px 0;opacity:.9}.header-button:hover{opacity:1}.header-button svg{width:17px;height:17px}.icon-button{display:grid;place-items:center;background:transparent;width:36px;height:36px;border-radius:50%;transition:background .15s}.icon-button:hover{background:#ffffff20}.header-settings{border:1px solid #ffffff42;width:37px;height:37px}.header-settings svg{width:17px;height:17px}
.main-content{display:flex;align-items:center;flex-direction:column;padding:clamp(145px,19.2vh,230px) 24px 130px;min-height:100svh}.hero{text-align:center;min-height:0;text-shadow:0 2px 20px #14271c35}.greeting{font-size:12px;letter-spacing:4px;opacity:.88;margin-bottom:11px}.clock{display:block;font-size:112px;font-weight:350;letter-spacing:-5px;font-variant-numeric:tabular-nums;line-height:1.15;white-space:nowrap}.clock.with-seconds{font-size:97px;letter-spacing:-4px}.clock .colon{display:inline-block;position:relative;top:-7px;padding:0 6px;font-weight:250;opacity:.85}.hero-details{display:flex;justify-content:center;align-items:center;gap:17px;margin-top:13px;font-size:13px;letter-spacing:1px;min-height:24px}.date{white-space:nowrap}.detail-divider{width:1px;height:12px;background:#ffffff70}.weather{display:flex;gap:7px;align-items:center;padding:0;background:transparent;font-size:12px;letter-spacing:.5px;white-space:nowrap}.weather>svg{width:19px;height:19px;color:#f3dba3}.weather .weather-chevron{width:12px;height:12px;color:#fff;opacity:.5}.search-section{width:min(100%,670px);margin-top:48px}.engine-tabs{display:flex;align-items:center;gap:27px;padding-left:19px;margin-bottom:13px}.engine-tabs button{font-size:13px;padding:4px 0 9px;position:relative;opacity:.66;background:transparent;transition:opacity .15s;text-shadow:0 1px 8px #0005}.engine-tabs button:hover,.engine-tabs button[aria-pressed=true]{opacity:1}.engine-tabs button[aria-pressed=true]:after{content:"";position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:15px;height:2px;background:#fff;border-radius:2px}.search-form{height:64px;display:flex;align-items:center;padding:7px 8px 7px 23px;border:1px solid #ffffffaf;background:#fcfcf8f2;box-shadow:0 8px 30px #14271e14;border-radius:15px;transition:box-shadow .15s,background .15s}.search-form:focus-within{background:#fff;box-shadow:0 0 0 3px #ffffff35,0 8px 35px #14271e24}.search-form input{flex:1;width:0;min-width:0;border:0;background:transparent;color:#344038;outline:none;font-size:14px;letter-spacing:.5px;height:100%;padding:0}.search-form input::placeholder{color:#959b92}.search-form input::-webkit-search-cancel-button{cursor:pointer;margin-right:14px}.search-submit{border-radius:10px;background:var(--accent);width:49px;height:48px;display:grid;place-items:center;transition:background .15s}.search-submit:hover{background:#3b5d46}.search-submit svg{width:23px;height:23px;stroke-width:1.7}.shortcuts{display:flex;align-items:flex-start;justify-content:center;gap:26px;flex-wrap:wrap;margin-top:37px}.shortcut{display:flex;align-items:center;flex-direction:column;gap:10px;min-width:56px;font-size:11px;letter-spacing:.7px;transition:transform .15s}.shortcut:hover{transform:translateY(-3px)}.shortcut-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:14px;background:#ffffff21;border:1px solid #ffffff36;box-shadow:0 2px 8px #0d1f1810;font-size:20px;font-weight:500;color:#fff;backdrop-filter:blur(8px)}.shortcut-icon svg{width:23px;height:23px;stroke-width:1.5}.shortcut-add{background:transparent;padding:0;color:#ffffffb0}.shortcut-add .shortcut-icon{background:#ffffff0e;border-style:dashed}.shortcut-name{max-width:70px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 1px 8px #0005}
.site-footer{position:fixed;inset:auto 0 0;display:flex;align-items:center;justify-content:space-between;padding:25px 43px;gap:25px;font-size:11px;color:#ffffffd6}.wallpaper-credit{display:flex;align-items:center;gap:11px;min-width:0}.credit-icon{width:19px;height:19px;opacity:.8}.wallpaper-credit>div{min-width:0}.wallpaper-credit button{background:transparent;padding:0;display:flex;align-items:center;gap:8px;font-size:12px;letter-spacing:.5px;text-align:left;max-width:430px}.wallpaper-credit button svg{width:13px;height:13px;opacity:.5}.wallpaper-source{font-size:9px;margin-top:8px;letter-spacing:.7px;opacity:.6}.wallpaper-source span{margin:0 7px}.footer-actions{display:flex;align-items:center;gap:17px;flex-shrink:0}.wallpaper-mode{display:flex;align-items:center;gap:8px;background:transparent;padding:8px 0;font-size:11px;letter-spacing:.7px}.wallpaper-mode svg{width:15px;height:15px;margin-left:7px;opacity:.65}.status-dot{width:5px;height:5px;border-radius:50%;background:#b5d4ad}.wallpaper-mode.is-pinned .status-dot{background:#e4c994}.footer-actions .icon-button{width:28px;height:28px}.footer-actions .icon-button svg{width:16px;height:16px}
dialog{color:var(--ink);border:1px solid #ffffff8c;box-shadow:0 24px 100px #0a1a1440;border-radius:23px;background:#fafbf8;padding:0;overscroll-behavior:contain}dialog::backdrop{background:#14221965;backdrop-filter:blur(5px)}.settings-dialog{width:min(480px,calc(100vw - 24px));height:min(770px,calc(100svh - 48px));max-height:calc(100svh - 48px);margin:auto 24px auto auto;overflow:hidden;flex-direction:column}.settings-dialog[open]{display:flex;animation:panel-in .2s ease-out}.settings-header{display:flex;justify-content:space-between;align-items:center;padding:30px 30px 22px;flex-shrink:0}.eyebrow{font-size:8px;letter-spacing:2px;color:#909a8d;font-weight:500}.settings-header h1{font-size:24px;font-weight:500;letter-spacing:1px;margin:0}.dark{color:#70796e;background:#eef1ea}.dark:hover{background:#e3e9df}.settings-tabs{display:flex;gap:27px;padding:0 30px;border-bottom:1px solid #e7ebe1;flex-shrink:0}.settings-tabs button{background:transparent;padding:0 0 14px;font-size:12px;color:#969d92;position:relative}.settings-tabs button[aria-selected=true]{color:var(--accent);font-weight:600}.settings-tabs button[aria-selected=true]:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--accent)}.settings-body{padding:25px 30px 30px;overflow-y:auto;flex:1;scrollbar-width:thin;scrollbar-color:#cbd3c5 transparent}.settings-body h2{font-size:13px;font-weight:600;letter-spacing:.5px;margin:0 0 13px}.setting-row{display:flex;justify-content:space-between;align-items:center;padding:15px 0;gap:20px;border-bottom:1px solid #e9ede4;font-size:12px}.setting-row small{display:block;color:#949b90;font-size:10px;line-height:1.6;margin-top:6px}.switch{appearance:none;width:33px;height:19px;border-radius:20px;background:#d9dfd4;flex-shrink:0;position:relative;cursor:pointer;margin:0;transition:background .15s}.switch:checked{background:var(--accent)}.switch:after{content:"";position:absolute;left:3px;top:3px;width:13px;height:13px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0001;transition:transform .15s}.switch:checked:after{transform:translateX(14px)}.city-setting{margin-top:20px}.city-setting>label{display:block;font-size:12px;margin-bottom:10px}.city-search{display:flex;align-items:center;border:1px solid #dfe5d9;border-radius:9px;gap:8px;padding:4px 8px 4px 12px;background:#fff}.city-search>svg{width:15px;height:15px;color:#8e9b88}.city-search input{background:transparent;border:0;outline:none;font-size:11px;min-width:0;flex:1;height:30px;color:var(--ink)}.city-search input::placeholder{color:#a2a89b}.city-search button{color:var(--accent);background:#edf2e8;border-radius:5px;display:grid;place-items:center;width:27px;height:27px}.city-search button svg{width:14px;height:14px}.setting-note{font-size:10px;line-height:1.8;color:#939b8c}.city-results{border-radius:8px;background:#fff;max-height:170px;overflow:auto}.city-results:not(:empty){margin-top:5px;border:1px solid #e2e8dc}.city-results button{display:block;background:transparent;font-size:12px;text-align:left;padding:12px;width:100%;color:var(--ink)}.city-results button:hover{background:#f0f4eb}.city-results button small{font-size:10px;color:#939b8c;margin-left:6px}.city-results>p{padding:8px 12px;font-size:11px;color:#939b8c}.section-gap{margin-top:28px!important}.weather-attribution{font-size:9px;color:#a1a89b;text-align:center;margin:23px 0 0}.weather-attribution a{text-decoration:underline;text-underline-offset:3px}.settings-bottom{padding:17px 30px;border-top:1px solid #e5eade;display:flex;align-items:center;gap:6px;font-size:9px;color:#919b8b;flex-shrink:0}.settings-bottom>svg{width:12px;height:12px;color:var(--accent)}.settings-bottom>button{background:transparent;color:#858e7e;font-size:10px;margin-left:auto;padding:0;white-space:nowrap}.settings-bottom>button:hover{color:#8c5742}.section-heading{display:flex;justify-content:space-between;gap:10px;align-items:center}.section-heading h2{margin-bottom:7px}.section-heading p,.panel-description{font-size:10px;color:#9ba292;margin:0 0 8px;line-height:1.8}.text-button{display:inline-flex;gap:5px;align-items:center;background:transparent;color:var(--accent);font-size:10px;padding:6px 0;white-space:nowrap}.text-button svg{width:13px;height:13px}.wallpaper-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:20px}.wallpaper-choice{position:relative;aspect-ratio:16/9;padding:0;overflow:hidden;background:#e3e8dd;border-radius:9px;border:2px solid transparent}.wallpaper-choice.is-active{border-color:var(--accent);box-shadow:0 0 0 2px #fafbf8 inset}.wallpaper-choice img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s}.wallpaper-choice:hover img{transform:scale(1.04)}.wallpaper-choice span{position:absolute;inset:auto 0 0;background:linear-gradient(transparent,#0009);color:#fff;font-size:9px;text-align:left;padding:15px 7px 7px}.wallpaper-choice .choice-check{position:absolute;top:6px;right:6px;border-radius:50%;background:var(--accent);color:#fff;width:18px;height:18px;padding:3px}.range-label{display:flex;justify-content:space-between;font-size:11px;margin-top:20px}.range-label output{color:#8e9986;font-size:10px}input[type=range]{width:100%;accent-color:var(--accent);margin:18px 0 0;height:4px;cursor:pointer}.range-captions{display:flex;justify-content:space-between;font-size:9px;color:#9ca393;margin-top:9px}.wallpaper-copyright{font-size:9px;color:#9ba292;line-height:1.9;margin-top:23px}.shortcut-list{margin-top:20px}.shortcut-list-row{display:flex;align-items:center;padding:12px 0;border-bottom:1px solid #e5ebdd;gap:10px}.shortcut-list-row .list-icon{display:grid;place-items:center;border-radius:9px;width:33px;height:33px;background:var(--accent-light);color:var(--accent);font-size:14px;font-weight:600}.shortcut-list-row>div{flex:1;min-width:0;font-size:12px}.shortcut-list-row small{display:block;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9ba292;margin-top:5px}.shortcut-list-row button{background:transparent;color:#9ba292;padding:7px}.shortcut-list-row button svg{width:15px;height:15px}.shortcut-list-row button:hover{color:#a55f46}.shortcut-form{display:grid;gap:9px;margin-top:24px}.shortcut-form label{font-size:11px;margin-top:5px}.shortcut-form input{border:1px solid #dfe5d7;border-radius:8px;height:38px;padding:0 12px;font-size:11px;color:var(--ink);width:100%;background:#fff}.shortcut-form input::placeholder{color:#abb1a3}.primary-button,.secondary-button{display:flex;align-items:center;justify-content:center;gap:6px;background:var(--accent);color:#fff;padding:11px 17px;border-radius:8px;font-size:11px}.primary-button:hover{background:#3e5f48}.primary-button svg{width:15px;height:15px}.shortcut-form .primary-button{margin-top:5px}.secondary-button{background:#edf1e6;color:var(--ink)}.info-dialog{padding:35px;width:min(440px,calc(100vw - 32px));overflow:visible}.info-close{position:absolute;top:16px;right:16px;width:28px;height:28px}.info-dialog h2{font-size:24px;line-height:1.5;font-weight:500;margin:16px 0}.info-dialog>p{font-size:12px;line-height:1.9;color:#87917e}.info-dialog .setting-note{font-size:10px}.info-dialog .text-button{margin-top:12px;font-size:11px}.confirm-dialog{width:min(370px,calc(100vw - 30px));padding:28px}.confirm-dialog h2{font-size:20px;font-weight:500;margin-top:0}.confirm-dialog p{font-size:12px;line-height:1.9;color:#8c9585}.confirm-dialog>div{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.toast{position:fixed;bottom:100px;left:50%;transform:translate(-50%,10px);background:#fafcf5;color:var(--ink);box-shadow:0 8px 28px #0002;border-radius:11px;padding:12px 20px;font-size:12px;max-width:calc(100vw - 30px);text-align:center;z-index:20;opacity:0;pointer-events:none;transition:transform .2s,opacity .2s}.toast.is-visible{opacity:1;transform:translate(-50%,0)}.noscript{position:fixed;bottom:80px;left:20px;right:20px;background:#fafbf8;color:var(--ink);padding:15px;border-radius:10px;text-align:center;font-size:12px}
@keyframes panel-in{from{opacity:0;transform:translateX(15px)}to{opacity:1;transform:translateX(0)}}
@media(min-width:1600px){.main-content{padding-top:21vh}.search-section{margin-top:65px}.hero{min-height:0}.clock{font-size:125px}.search-section{width:700px}.shortcuts{margin-top:42px}}
@media(max-width:900px){.site-header{padding:27px 28px}.site-footer{padding:24px 28px}.wallpaper-credit button{max-width:320px}.settings-dialog{margin:auto 16px auto auto}}
@media(max-width:600px){.site-header{padding:23px}.header-button{font-size:11px}.main-content{padding:23vh 24px 130px}.hero{min-height:0}.clock{font-size:86px;letter-spacing:-4px}.clock.with-seconds{font-size:65px;letter-spacing:-3px}.clock .colon{top:-4px;padding:0 4px}.greeting{font-size:10px;letter-spacing:2.5px;margin-bottom:15px}.hero-details{flex-wrap:wrap;gap:10px;font-size:11px;margin-top:17px}.date{letter-spacing:.3px}.weather{font-size:10px}.weather>svg{width:16px;height:16px}.weather-chevron{display:none}.search-section{margin-top:29px}.engine-tabs{gap:24px;justify-content:center;padding:0;margin-bottom:13px}.engine-tabs button{font-size:12px}.search-form{height:58px;padding:6px 6px 6px 17px;border-radius:13px}.search-form input{font-size:12px;letter-spacing:0}.search-submit{width:43px;height:44px;border-radius:9px}.search-submit svg{width:20px;height:20px}.shortcuts{gap:17px;margin-top:29px}.shortcut{min-width:43px;font-size:10px}.shortcut-icon{width:39px;height:39px;border-radius:12px}.shortcut-name{max-width:55px}.site-footer{padding:20px;align-items:flex-end}.wallpaper-credit button{font-size:10px;max-width:205px;line-height:1.5}.wallpaper-credit button svg{display:none}.wallpaper-source{font-size:8px;letter-spacing:0;margin-top:5px}.footer-actions{gap:8px}.wallpaper-mode{font-size:9px;gap:6px}.wallpaper-mode svg{margin-left:0;width:13px;height:13px}.footer-divider{display:none}.settings-dialog{margin:auto;height:calc(100svh - 24px);max-height:calc(100svh - 24px)}.settings-header{padding:26px 23px 22px}.settings-header h1{font-size:22px}.settings-tabs{padding:0 23px}.settings-body{padding:23px}.settings-bottom{padding:17px 23px}.toast{bottom:90px;white-space:normal;width:max-content}}
@media(max-height:700px) and (min-width:601px){.main-content{padding-top:125px}.hero{min-height:0}.clock{font-size:86px}.clock.with-seconds{font-size:78px}.search-section{margin-top:22px}.shortcuts{margin-top:23px}.site-footer{padding-top:15px;padding-bottom:18px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:600px) and (max-height:700px){.main-content{padding-top:max(105px,16vh);padding-bottom:88px}.clock{font-size:76px}.clock.with-seconds{font-size:59px}.hero{min-height:0}.search-section{margin-top:16px}.shortcuts{margin-top:20px;gap:15px}.shortcut-icon{width:35px;height:35px}.shortcut{gap:8px}.greeting{margin-bottom:11px}.hero-details{margin-top:12px}.site-footer{padding-bottom:17px}}
.header-settings{margin-left:auto}.footer-actions{margin-left:auto}.main-content.hero-hidden{padding-top:40vh}.main-content.hero-hidden .search-section{margin-top:0}.hero-details:has(.date[hidden]):has(.weather[hidden]){display:none}.switch:disabled{cursor:not-allowed;opacity:.45}.shortcuts-empty{font-size:11px;line-height:1.9;color:#939b8c;padding:17px;border:1px dashed #dce4d5;border-radius:9px;margin:18px 0}.wallpaper-notice{position:fixed;bottom:95px;left:50%;transform:translateX(-50%);display:flex;align-items:flex-start;gap:10px;padding:16px;max-width:620px;width:calc(100vw - 48px);background:#fafbf8;color:var(--ink);border:1px solid #e4e8df;border-radius:13px;box-shadow:0 8px 32px #10231830;z-index:10}.wallpaper-notice>svg{width:17px;height:17px;margin-top:2px;color:#9b7c44}.wallpaper-notice>div{flex:1;min-width:0}.wallpaper-notice p{font-size:11px;line-height:1.9;margin:0}.wallpaper-notice .icon-button{width:25px;height:25px;flex-shrink:0}.wallpaper-notice .icon-button svg{width:13px;height:13px}.wallpaper-notice-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:9px}.wallpaper-notice-actions button{font-size:10px;background:transparent;padding:0;color:var(--accent);text-decoration:underline;text-underline-offset:3px}.wallpaper-notice-actions button:disabled{opacity:.4;cursor:wait}

/* The default background needs no image download. Photo wallpapers keep their own contrast. */
.settings-header{align-items:flex-start;gap:14px;padding-bottom:20px}
.settings-heading{flex:1;min-width:0}
.settings-header>.icon-button{flex-shrink:0}
.local-data-notice{display:flex;align-items:flex-start;gap:6px;margin:11px 0 0;color:#8b9588}
.local-data-notice>svg{width:12px;height:12px;margin-top:3px}
.local-data-notice p{font-size:10px;line-height:1.8;margin:0}
.custom-greeting-editor{padding:16px 0 6px}
.custom-greeting-editor>label{display:block;font-size:11px;margin-bottom:9px}
.custom-greeting-editor>input{width:100%;height:38px;padding:0 12px;border:1px solid #dfe5d7;border-radius:8px;background:#fff;font-size:12px;color:var(--ink)}
.custom-greeting-editor>input:disabled{opacity:.5}
.custom-greeting-editor .setting-note{margin:7px 0 0}
.greeting{max-width:min(670px,calc(100vw - 48px));line-height:1.8;overflow-wrap:anywhere}
.header-settings{transition:opacity .25s,background .15s}
.header-settings.is-idle{opacity:0;pointer-events:none}
.header-settings:focus-visible{opacity:1;pointer-events:auto}
.about-identity{display:flex;align-items:center;gap:12px;margin:2px 0 22px}
.about-identity>img{flex-shrink:0;border-radius:12px}
.about-identity h2{font-size:23px;line-height:1.2;font-weight:500;margin:0 0 7px}
.about-identity p{font-size:10px;color:#8b9588;margin:0}
.version-badge{margin-left:auto;padding:5px 8px;border:1px solid #dfe6d9;border-radius:6px;white-space:nowrap;font-size:10px;color:var(--accent);background:#eef3eb}
.about-repository{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid #e1e7dc;border-radius:10px;background:#fff;font-size:12px;color:var(--accent)}
.about-repository>span{flex:1;min-width:0}
.about-repository small{display:block;margin-top:6px;color:#939b8c;font-size:10px;overflow-wrap:anywhere}
.about-repository>svg{width:17px;height:17px}
.about-repository:hover{border-color:#afc1ac}
.about-license{padding:17px 0;border-bottom:1px solid #e4eadd}
.about-license h3{font-size:12px;font-weight:600;margin:0 0 9px}
.about-license p{font-size:11px;color:#8b9588;line-height:1.9;margin:0 0 8px;overflow-wrap:anywhere}
.about-license a{font-size:10px;line-height:1.8;color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.about-license>a+a{margin-left:14px}
.about-license .wallpaper-copyright{font-size:10px}
.weather-widget{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap}
.weather-attribution{font-size:10px;line-height:1.8;text-align:left;margin:10px 0 0}
.settings-bottom>a{font-size:9px;white-space:nowrap;text-decoration:underline;text-underline-offset:2px;margin-left:6px}
@media(max-width:600px){.settings-tabs{gap:14px}.local-data-notice{margin-top:10px}.settings-header{padding-bottom:18px}.about-identity{gap:10px}.version-badge{font-size:9px;padding:5px 6px}}
:root { --default-background:linear-gradient(145deg,#789184 0%,#526d60 52%,#304e41 100%); --default-color:#536451; }
body { background:var(--default-color); }
.wallpaper { background-image:var(--default-background); }
.search-submit { color:#fff; }
.search-submit { flex-shrink:0; }
.engine-tabs { flex-wrap:wrap; column-gap:27px; row-gap:4px; }
.engine-tabs button { max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.search-history { display:flex; align-items:center; gap:8px; margin:8px 4px 0; }
.history-label { flex-shrink:0; font-size:10px; opacity:.65; }
.history-clear { flex-shrink:0; background:transparent; color:inherit; font-size:10px; padding:6px 2px; opacity:.75; }
.history-clear:hover { opacity:1; }
.history-list { display:flex; flex:1; min-width:0; gap:6px; overflow-x:auto; overflow-y:hidden; list-style:none; padding:4px 3px 2px; margin:0; scrollbar-width:thin; scrollbar-color:#ffffff40 transparent; }
.history-list>li { position:relative; display:flex; align-items:center; flex-shrink:0; min-width:0; max-width:100%; border:1px solid #ffffff26; border-radius:6px; background:#ffffff0d; }
.history-query { background:transparent; color:inherit; padding:3px 12px 3px 8px; font-size:10px; line-height:18px; max-width:148px; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; text-align:left; border-radius:6px; }
.history-remove { position:absolute; top:-3px; right:-3px; display:grid; place-items:center; width:16px; height:16px; padding:0; border:1px solid #ffffff65; background:#45634f; color:#fff; border-radius:50%; opacity:0; visibility:hidden; pointer-events:none; transition:opacity .15s; z-index:1; }
.history-list>li:hover .history-remove,.history-list>li:focus-within .history-remove { opacity:1; visibility:visible; pointer-events:auto; }
.history-remove svg { width:10px; height:10px; }
.history-query:hover { background:#ffffff20; }
.history-remove:hover { background:#355540; opacity:1; }
.engine-list { margin-top:15px; }
.engine-list-row { display:flex; align-items:center; gap:14px; border-bottom:1px solid #e5ebdd; padding:12px 0; font-size:12px; }
.engine-list-row>span { flex:1; min-width:0; overflow-wrap:anywhere; }
.engine-list-row small { color:#939b8c; font-size:10px; white-space:nowrap; }
.engine-list-row .engine-built-in { width:29px; text-align:center; }
.engine-list-row button { display:grid; place-items:center; width:29px; height:29px; padding:6px; color:#939b8c; background:transparent; border-radius:5px; }
.engine-list-row button svg { width:15px; height:15px; }
.engine-list-row button:hover { color:#a55f46; background:#f4ebe6; }
.engine-delete-popover { position:fixed; inset:auto; margin:0; width:min(276px,calc(100vw - 48px)); padding:17px; border:1px solid #dce4d7; border-radius:12px; background:#fafbf8; color:var(--ink); box-shadow:0 10px 36px #14221935; z-index:30; }
.engine-delete-popover h2 { margin:0; font-size:13px; font-weight:600; }
.engine-delete-popover p { margin:9px 0 16px; font-size:11px; line-height:1.8; color:#8b9588; overflow-wrap:anywhere; }
.popover-actions { display:flex; justify-content:flex-end; gap:8px; }
.popover-actions button { padding:8px 14px; border-radius:7px; font-size:11px; }
.danger-button { background:#a95f4b; color:#fff; }
.danger-button:hover { background:#934e3c; }
.engine-shortcut-note { margin:14px 0 0; }
#engine-url-note { margin:0; }
:root[data-background="default"][data-background-period="day"] .history-list>li { background:#ffffff70; border-color:#52645c26; }
:root[data-background="default"][data-background-period="day"] .history-list { scrollbar-color:#52645c40 transparent; }
:root[data-background="default"][data-background-period="day"] .history-query:hover { background:#52645c0d; }
@media(max-width:600px){.engine-tabs{column-gap:24px}.history-query{max-width:116px;padding-top:5px;padding-bottom:5px}.settings-tabs{gap:14px}.search-history{gap:6px;margin-top:6px}}
@media(hover:none){.history-query{padding-right:3px}.history-remove{position:static;flex-shrink:0;width:24px;height:28px;border:0;border-radius:0 6px 6px 0;background:transparent;color:inherit;opacity:1;visibility:visible;pointer-events:auto}.header-settings.is-idle{opacity:1;pointer-events:auto}}
:root[data-background="default"][data-background-period="day"] {
  --default-background:linear-gradient(145deg,#f5f4ef 0%,#edf1f0 52%,#dfe8eb 100%);
  --default-color:#edf1f0;
  color:#354a43;
}
:root[data-background="default"][data-background-period="day"] .wallpaper-shade { background:none; }
:root[data-background="default"][data-background-period="day"] :is(.hero,.engine-tabs button,.shortcut-name) { text-shadow:none; }
:root[data-background="default"][data-background-period="day"] :is(.site-footer,.shortcut-add) { color:#52645c; }
:root[data-background="default"][data-background-period="day"] .header-settings { border-color:#52645c40; }
:root[data-background="default"][data-background-period="day"] .icon-button:hover { background:#52645c12; }
:root[data-background="default"][data-background-period="day"] :is(.detail-divider,.footer-divider) { background:#52645c40; }
:root[data-background="default"][data-background-period="day"] .engine-tabs button[aria-pressed="true"]:after { background:var(--accent); }
:root[data-background="default"][data-background-period="day"] .weather>svg { color:#947332; }
:root[data-background="default"][data-background-period="day"] .weather .weather-chevron { color:#52645c; }
:root[data-background="default"][data-background-period="day"] .shortcut-icon { background:#ffffff80; border-color:#52645c26; color:#52645c; }
:root[data-background="default"][data-background-period="day"] .status-dot { background:var(--accent); }
@media(max-width:600px){.credit-icon{width:14px;height:14px}.wallpaper-credit{gap:7px}.wallpaper-credit button{max-width:175px}.wallpaper-notice{bottom:90px;width:calc(100vw - 28px);padding:13px;gap:8px}.wallpaper-notice p{font-size:10px}.wallpaper-notice-actions{gap:10px}.wallpaper-notice-actions button{font-size:9px}}
