:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#202b2c;background:#f7f8f4;font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}.brand{display:inline-flex;align-items:center;gap:10px;font-size:18px;font-weight:750;letter-spacing:.02em}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#1f5247;color:#fff;font-size:21px;line-height:1}.eyebrow{font-size:11px;font-weight:750;letter-spacing:.17em;color:#6d9086}.auth-page{min-height:100vh;background:#ecf0ea}.auth-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(400px,560px);min-height:100vh}.auth-intro{display:flex;flex-direction:column;justify-content:space-between;min-height:100vh;padding:48px clamp(34px,6vw,108px);background:#1f5247;color:white;position:relative;overflow:hidden}.auth-intro:after{content:"";position:absolute;width:470px;height:470px;border-radius:50%;right:-180px;bottom:-185px;border:90px solid #ffffff12}.auth-intro .brand-mark{background:#ffffff28}.auth-intro .eyebrow{color:#bbd8c9}.auth-intro h1{font-size:clamp(46px,5vw,78px);line-height:1.13;letter-spacing:-.05em;margin:19px 0 22px}.auth-intro p{max-width:420px;color:#d9e6df;line-height:1.8;font-size:16px}.auth-foot{font-size:13px;color:#bcd4c7}.auth-card{align-self:center;width:min(100%,470px);margin:auto;padding:45px 36px}.auth-card-top h2{font-size:36px;margin:14px 0 8px;letter-spacing:-.04em}.auth-card-top p{color:#7a8680;margin:0 0 36px}.auth-card form{display:grid;gap:20px}.auth-card label{display:grid;gap:9px;font-size:13px;font-weight:650;color:#31433d}.auth-card input{width:100%;height:52px;padding:0 16px;border:1px solid #d9e1d9;border-radius:13px;background:#fff;outline:none;color:#263a33}.auth-card input:focus,.city-search input:focus{border-color:#4a9478;box-shadow:0 0 0 3px #4a947821}.primary-button{display:flex;align-items:center;justify-content:space-between;height:54px;margin-top:9px;padding:0 20px;border:0;border-radius:13px;background:#245f4c;color:white;font-weight:700}.primary-button:hover,.search-button:hover{background:#194b3d}.switch-copy{text-align:center;font-size:13px;color:#8b958f;margin:30px 0 0}.switch-copy a{color:#236c53;font-weight:700}.notice{margin:0 0 22px;padding:12px 15px;border-radius:10px;background:#e9f4ec;color:#296049;font-size:13px;line-height:1.55}.notice.error{background:#fff0eb;color:#a04232}.site-header{height:76px;padding:0 clamp(22px,5vw,86px);display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #e9eee8}.header-actions{display:flex;align-items:center;gap:22px}.account-email{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#77847c;font-size:13px}.logout-form{margin:0}.text-button,.back-link{border:0;background:transparent;color:#3e725d;font-size:13px;font-weight:700}.app-page{min-height:100vh;background:#f7f8f4}.dashboard,.weather-layout{max-width:1250px;margin:auto;padding:72px clamp(22px,5vw,72px) 40px}.welcome{padding:30px 0 70px}.welcome h1,.weather-heading h1{margin:16px 0 14px;font-size:clamp(38px,5vw,62px);letter-spacing:-.055em;line-height:1.15}.welcome p,.weather-heading p{color:#77847c;font-size:16px;line-height:1.7;margin:0}.section-heading,.forecast-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:24px}.section-heading h2,.forecast-heading h2{font-size:25px;letter-spacing:-.04em;margin:7px 0 0}.section-count{font-size:12px;color:#93a098}.app-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.app-card{min-height:290px;padding:27px;border-radius:22px;background:#fff;border:1px solid #e7ede7;display:flex;flex-direction:column;align-items:flex-start;transition:transform .18s ease,box-shadow .18s ease}.app-card:hover{transform:translateY(-3px);box-shadow:0 16px 40px #27583b12}.weather-card{background:#e9f2e8;border-color:#d9e9d7}.app-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:17px;margin-bottom:27px;font-weight:750;font-size:29px}.weather-icon{background:#fff7d8;color:#e5a73a}.reading-icon{background:#f1e9dd;color:#ad8a6d;font-size:22px}.music-icon{background:#eeebf7;color:#8e81b4}.app-kicker{font-size:11px;font-weight:750;letter-spacing:.08em;color:#7d9b89}.app-card h3{font-size:24px;margin:8px 0 7px}.app-card p{color:#7e8c83;font-size:13px;line-height:1.7;margin:0}.app-link,.coming-soon{display:flex;align-items:center;gap:8px;margin-top:auto;padding-top:23px;color:#276f51;font-size:13px;font-weight:750}.coming-soon{color:#a8afa9}.site-foot{margin-top:68px;padding-top:25px;border-top:1px solid #e4ebe3;color:#a1aaa1;font-size:12px}.back-link{white-space:nowrap}.weather-layout{max-width:1000px;padding-top:58px}.weather-heading{margin-bottom:42px}.weather-heading h1{font-size:clamp(36px,4vw,54px)}.city-search{position:relative;margin-bottom:27px}.city-search label{display:block;margin-bottom:10px;font-size:13px;font-weight:700;color:#4e6157}.search-row{display:flex;gap:10px}.city-search input{width:100%;height:54px;padding:0 17px;border:1px solid #dce5db;border-radius:13px;background:white;outline:none}.search-button{flex:none;width:84px;border:0;border-radius:13px;background:#245f4c;color:white;font-weight:700}.city-results{position:absolute;z-index:5;left:0;right:94px;top:88px;max-height:270px;overflow:auto;background:white;border:1px solid #e0e8de;border-radius:13px;box-shadow:0 16px 30px #143b281c}.city-results:empty{display:none}.city-result{display:block;width:100%;padding:13px 16px;border:0;border-bottom:1px solid #edf1ec;background:white;text-align:left;color:#30443a}.city-result:hover{background:#f2f7f1}.city-result small{display:block;color:#8a9a8e;margin-top:3px}.weather-status{color:#72877a;font-size:14px}.current-weather{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:32px 37px;border-radius:24px;background:linear-gradient(135deg,#215c4b,#4e9876);color:white;min-height:220px}.weather-city{font-size:14px;font-weight:700;letter-spacing:.1em;color:#d6eddd}.weather-description{font-size:28px;font-weight:750;letter-spacing:-.04em;margin:12px 0}.weather-date{font-size:13px;color:#c5e1d1}.current-temperature{display:flex;align-items:center;white-space:nowrap}.weather-symbol{font-size:64px;line-height:1;margin-right:13px;color:#ffe9a3}.current-temperature strong{font-size:72px;letter-spacing:-.08em;line-height:1}.degree-unit{align-self:start;margin:7px 0 0 7px;font-size:18px;color:#d6ebdd}.weather-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:15px 0 55px}.weather-facts div{display:flex;flex-direction:column;gap:9px;padding:22px;border:1px solid #e6ede5;border-radius:17px;background:white}.weather-facts span{font-size:12px;color:#8a998e}.weather-facts strong{font-size:22px;font-weight:720}.forecast-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}.forecast-day{padding:17px 9px;text-align:center;border-radius:15px;border:1px solid #e7ede5;background:#fff}.forecast-day .day-name{font-size:12px;color:#7d8b81}.forecast-day .day-symbol{display:block;font-size:29px;margin:16px 0}.forecast-day .temperatures{white-space:nowrap;font-size:13px;font-weight:750}.forecast-day .low{color:#a1afa3;font-weight:500}.forecast-day .rain{display:block;margin-top:11px;color:#7e9ca1;font-size:11px}.data-credit{margin-top:27px;font-size:11px;line-height:1.6;color:#9ba99b}.data-credit a{text-decoration:underline}@media(max-width:900px){.auth-layout{grid-template-columns:1fr}.auth-intro{min-height:260px;padding:30px 26px}.auth-intro h1{font-size:42px;margin:12px 0}.auth-intro p,.auth-foot{display:none}.auth-card{padding:38px 26px}.app-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.forecast-days{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:600px){.site-header{height:64px}.brand{font-size:15px}.brand-mark{width:30px;height:30px;font-size:18px}.account-email{display:none}.dashboard,.weather-layout{padding:40px 20px 25px}.welcome{padding:25px 0 53px}.welcome h1{font-size:40px}.app-grid{grid-template-columns:1fr;gap:13px}.app-card{min-height:215px;padding:22px}.app-icon{margin-bottom:16px}.site-foot{margin-top:45px}.current-weather{padding:25px 23px;min-height:190px}.weather-description{font-size:23px}.weather-symbol{font-size:42px;margin-right:7px}.current-temperature strong{font-size:54px}.weather-facts{gap:8px;margin-bottom:42px}.weather-facts div{padding:15px 11px}.weather-facts strong{font-size:16px}.forecast-days{grid-template-columns:repeat(2,minmax(0,1fr))}.city-results{right:94px}.back-link{font-size:12px}}@media(prefers-reduced-motion:reduce){.app-card{transition:none}}

/* 公开入口和个人后台分开；游客可直接打开天气。 */
.public-nav{display:flex;align-items:center;gap:24px;font-size:13px;font-weight:700;color:#4a6d5d}.nav-button,.primary-link,.secondary-link{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:44px;padding:0 18px;border-radius:12px;font-size:13px;font-weight:750}.nav-button,.primary-link{background:#245f4c;color:#fff}.secondary-link{border:1px solid #cbdad0;color:#245f4c;background:#fff}.public-hero{padding:44px 0 90px}.public-hero h1{max-width:760px}.public-hero p{max-width:560px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.account-invite{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-top:70px;padding:32px;border-radius:22px;background:#e9f2e8}.account-invite h2{font-size:26px;letter-spacing:-.04em;margin:10px 0}.account-invite p{color:#77847c;margin:0;line-height:1.6}@media(max-width:600px){.public-nav{gap:10px}.public-nav>a:first-child{display:none}.nav-button{padding:0 12px;min-height:38px}.public-hero{padding:30px 0 65px}.account-invite{display:block;padding:24px}.account-invite .secondary-link{margin-top:20px}}

/* 搜索错误参与普通文档流，不遮住天气加载状态或下方内容。 */
.city-results.error{position:static;max-height:none;margin-top:10px;padding:12px 15px;border:1px solid #eadbd7;border-radius:11px;background:#fff7f4;box-shadow:none;color:#9b4d3c;font-size:13px;line-height:1.5}

/* 备案链接只在服务器配置了有效备案号后展示。 */
.site-foot [data-icp-link]{margin-left:14px;text-decoration:underline}.weather-footer{max-width:1000px;margin:0 auto;padding:0 clamp(22px,5vw,72px) 35px;color:#9ba99b;font-size:12px}.weather-footer a{text-decoration:underline}
