body{margin:0;background:#f6f2ea;color:#2c2118;font-family:"Microsoft YaHei",system-ui,sans-serif}.wrap{max-width:1280px;margin:0 auto;padding:22px}.top{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px}.nav{display:flex;gap:8px;flex-wrap:wrap}.nav a{background:#fffaf2;border:1px solid #eadfce;color:#2c2118;text-decoration:none;border-radius:999px;padding:9px 12px;font-weight:800}.panel{background:#fffaf2;border:1px solid #eadfce;border-radius:22px;box-shadow:0 18px 55px rgba(78,54,28,.10);padding:22px;margin-bottom:16px}h1{font-size:34px;margin:0 0 8px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}h2{font-size:28px;margin:0}.section-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 14px}.muted{color:#7c6b5b;line-height:1.8}.switch-link{display:inline-flex;align-items:center;border:1px solid #eadfce;background:#fffdf8;color:#b94732;text-decoration:none;border-radius:999px;padding:6px 11px;font-size:15px;font-weight:900}.search{display:flex;gap:8px;flex-wrap:nowrap;align-items:center}.search input{min-width:0;flex:1 1 auto;border:1px solid #eadfce;border-radius:999px;background:#fffdf8;padding:11px 14px;font-size:15px}.search button{border:0;border-radius:999px;background:#b94732;color:#fff;padding:11px 16px;font-weight:900;flex:0 0 auto;white-space:nowrap}.now{display:grid;grid-template-columns:110px minmax(0,1fr);gap:16px;align-items:center;background:linear-gradient(135deg,#fffdf8,#fff6e5);border:1px solid #eadfce;border-radius:20px;padding:16px;margin-bottom:14px}.icon-box{width:110px;height:110px;border-radius:26px;display:flex;align-items:center;justify-content:center;font-size:64px;background:linear-gradient(135deg,#fffaf0,#ffe2a8)}.icon-cloud{background:linear-gradient(135deg,#f3f7fb,#dce7f2)}.icon-rain{background:linear-gradient(135deg,#e6f4ff,#bfdcff)}.icon-storm{background:linear-gradient(135deg,#e9ecff,#cad4ff)}.icon-snow{background:linear-gradient(135deg,#f8fbff,#e7f2ff)}.icon-fog{background:linear-gradient(135deg,#f3f3f3,#e2e2e2)}.icon-wind{background:linear-gradient(135deg,#eef8f1,#d6f1db)}.temp{font-size:48px;font-weight:900;color:#476b43;line-height:1}.city{font-size:24px;font-weight:900}.meta{color:#7c6b5b;line-height:1.8}.scroll-hint{display:inline-flex;align-items:center;gap:8px;color:#b94732;font-size:13px;font-weight:900;margin:2px 0 8px}.scroll-box{position:relative}.scroll-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:28px;height:42px;border-radius:999px;background:rgba(185,71,50,.92);color:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:900;box-shadow:0 6px 18px rgba(78,54,28,.12);cursor:pointer;user-select:none}.scroll-arrow.left{left:0}.scroll-arrow.right{right:0}.hourly{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(112px,1fr);gap:8px;overflow-x:auto;padding:8px 34px 10px;scrollbar-width:thin}.hour-card,.daily-card{background:#fffdf8;border:1px solid #eadfce;border-radius:16px;padding:11px;text-align:center}.hour-time,.daily-date{font-weight:900}.weather-icon{font-size:28px;line-height:1.2;margin:5px 0}.weather-text{color:#b94732;font-weight:900;margin:5px 0}.hour-temp,.temp-range{font-weight:900;color:#476b43;font-size:18px}.small{color:#7c6b5b;font-size:13px;line-height:1.55}.daily-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.alert{background:#fff1ef;border:1px solid rgba(185,71,50,.25);color:#b94732;border-radius:15px;padding:12px;line-height:1.8}.breadcrumb{color:#7c6b5b;margin-bottom:12px}.breadcrumb a{color:#b94732;text-decoration:none;font-weight:900}.area-scroll{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;padding:8px 34px 10px;scrollbar-width:thin}.area-scroll a{flex:0 0 auto;background:#fffdf8;border:1px solid #eadfce;border-radius:999px;padding:9px 12px;color:#2c2118;text-decoration:none;font-weight:900;white-space:nowrap}.area-scroll a:hover{background:#fff7e9;border-color:#b68a3a}.parent-link{display:inline-flex;margin-top:8px;color:#b94732;font-weight:900;text-decoration:none}@media(max-width:780px){.wrap{padding:8px}.top{display:block}.nav{margin-top:10px}.panel{padding:13px;border-radius:15px}h1{font-size:26px}h2{font-size:23px}.switch-link{font-size:14px;padding:5px 10px}.now{grid-template-columns:1fr;text-align:center}.icon-box{margin:0 auto;width:90px;height:90px;font-size:52px}.daily-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.hourly{grid-auto-columns:104px}.area-scroll a{padding:8px 10px}.search{display:flex;flex-wrap:nowrap;gap:6px}.search input{width:auto;min-width:0;flex:1 1 auto}.search button{width:auto;flex:0 0 auto;padding-left:12px;padding-right:12px}}

/* 14.10：仅优化“城市天气预报”和“城市小时天气预报”两个板块，整体色系保持不变 */
.weather-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 14px}
.weather-card-head h2{margin:0;color:#2c2118}
.weather-switch-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.weather-current-card{margin:0;background:linear-gradient(135deg,#fffdf8,#fff6e5);box-shadow:inset 0 1px 0 rgba(255,255,255,.75)}
.weather-current-info{min-width:0}
.weather-current-condition{color:#b94732;font-weight:900;line-height:1.8;margin-top:4px}
.weather-current-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:8px;color:#7c6b5b;font-size:14px;line-height:1.7}
.weather-current-meta span{display:inline-flex;align-items:center;background:#fffdf8;border:1px solid #eadfce;border-radius:999px;padding:3px 9px;white-space:nowrap}
.weather-hourly-panel h2{margin:0 0 10px;color:#2c2118}
.weather-hourly-scroll{max-width:100%;overflow:hidden}
.weather-hour-strip{grid-auto-columns:108px;padding-top:8px;padding-bottom:10px}
.weather-hour-card{min-height:156px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:2px}
.weather-hour-card .hour-time{color:#2c2118}
.weather-hour-card .weather-icon{font-size:30px;margin:4px 0}
.weather-hour-card .weather-text{min-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.weather-hour-card .hour-temp{font-size:20px;margin-top:1px}
@media(max-width:780px){.weather-card-head{align-items:flex-start}.weather-switch-actions{width:100%;justify-content:flex-start}.weather-current-card{grid-template-columns:1fr;text-align:center}.weather-current-info{width:100%}.weather-current-meta{justify-content:center}.weather-current-meta span{font-size:13px;padding:3px 8px}.weather-hour-strip{grid-auto-columns:92px;padding-left:30px;padding-right:30px}.weather-hour-card{min-height:148px;padding:10px 8px}.weather-hour-card .weather-icon{font-size:27px}}

/* 14.10 全站内页顶部导航统一为首页格式 */
.top-menu{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:0 0 12px;font-size:20px;font-weight:900}
.top-menu a{color:#b94732;text-decoration:none;letter-spacing:.02em;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important}
.top-menu a:hover{color:#7b561d}
@media(max-width:760px){.top-menu{font-size:18px;gap:14px;margin-bottom:8px}}

/* 14.10 内页局部导航也统一为首页文字链接风格 */
.nav{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:0 0 12px;font-size:20px;font-weight:900}
.nav a{color:#b94732!important;text-decoration:none!important;letter-spacing:.02em;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;font-weight:900!important}
.nav a:hover,.nav a.active{color:#7b561d!important}
@media(max-width:760px){.nav{font-size:18px;gap:14px;margin-bottom:8px}}

/* 14.10 前台统一备案版权底部 */
.site-footer{margin:24px 0 0;padding:18px 10px 6px;text-align:center;color:#7c6b5b;font-size:14px;line-height:1.8}
.site-footer p{margin:0 0 4px}
.site-footer a{color:#7c6b5b;text-decoration:none;font-weight:800;margin:0 6px}
.site-footer a:hover{color:#b94732}

/* 14.10 手机端底部位置修复 */
.site-footer{clear:both;width:100%;flex-shrink:0}
@media(max-width:980px){.site-footer{order:99;clear:both;width:100%}}

/* 14.10 手机端横向晃动修复：仅移动端生效，桌面端恢复原宽度 */
@media(max-width:980px){html,body{width:100%;max-width:100%;overflow-x:hidden;position:relative}*,*::before,*::after{box-sizing:border-box}img,video,canvas,svg,iframe,table,pre,code{max-width:100%}main,.wrap,.app,.lottery-wrap,.panel,.card,.top,.hero,.calendar-card,.detail-card,.weather-card,.note-item,.cat-item,.latest-draw-card,.lottery-card,.tool-card,.result-box{max-width:100%;min-width:0}.top-menu,.nav,.catbar,.pager,.tags,.row-actions,.controls,.search,.grid,.city-grid,.daily-grid,.letter-nav,.line-items,.latest-draw-head,.latest-draw-meta,.latest-draw-actions,.latest-draw-balls{max-width:100%;min-width:0}input,select,textarea,button,.btn{max-width:100%}.wrap,.app,.lottery-wrap,main{width:100%;max-width:100%;overflow-x:hidden}.panel,.card,.hero,.top,.today-card,.mini-info,.detail-card,.weather-card,.note-item,.cat-item,.latest-draw-card{width:100%;max-width:100%;overflow-wrap:anywhere}.top-menu,.nav{max-width:100%;overflow-wrap:anywhere}.site-footer{max-width:100%;overflow-wrap:anywhere}}

/* 14.10：顶部当前天气与小时天气合并为截图式布局，颜色保持原站点风格 */
.weather-hero-panel{padding:0;overflow:hidden;background:#fffaf2}
.weather-hero-card{background:linear-gradient(135deg,#fffdf8 0%,#fff5e5 58%,#f4ead8 100%);border-radius:22px;padding:18px 20px 16px;box-shadow:inset 0 1px 0 rgba(255,255,255,.72);min-width:0}
.weather-hero-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;min-width:0}
.weather-hero-city{font-size:22px;font-weight:900;color:#2c2118;display:flex;align-items:center;gap:6px;white-space:nowrap}
.weather-hero-city-icon{display:inline-flex;align-items:center;justify-content:center;font-size:24px;line-height:1;margin-left:2px;transform:translateY(1px)}
.weather-hero-now{display:flex;align-items:center;gap:16px;min-width:0;margin:2px 0 12px}
.weather-hero-temp{font-size:68px;font-weight:300;line-height:1;color:#476b43;letter-spacing:-3px;text-shadow:0 1px 0 rgba(255,255,255,.55);flex:0 0 auto}
.weather-hero-info{min-width:0;flex:1;color:#2c2118;font-weight:900}
.weather-hero-range{font-size:20px;line-height:1.35;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.weather-hero-range span{color:#b94732}
.weather-hero-line{font-size:15px;line-height:1.75;color:#7c6b5b;font-weight:900;white-space:normal}
.weather-hero-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:3px;color:#7c6b5b;font-size:13px;font-weight:800}
.weather-hero-meta span{display:inline-flex;align-items:center;background:rgba(255,253,248,.72);border:1px solid rgba(234,223,206,.72);border-radius:999px;padding:2px 8px;white-space:nowrap}
.weather-hero-tabs{display:flex;align-items:center;gap:14px;margin:8px 0 6px;color:#7c6b5b;font-size:14px;font-weight:900;white-space:nowrap}
.weather-hero-tabs span{padding:6px 10px;border-radius:8px}
.weather-hero-tabs span.active{background:rgba(185,71,50,.12);color:#b94732}
.weather-hero-tabs .hourly-slide-hint{color:#7c6b5b;background:rgba(255,253,248,.5);border:1px solid rgba(234,223,206,.72);font-weight:900}
.weather-hero-hourly-wrap{max-width:100%;overflow-x:auto;overflow-y:hidden;padding:2px 0 0;scrollbar-width:thin}
.weather-hero-hourly{display:grid;grid-auto-flow:column;grid-auto-columns:74px;gap:4px;min-width:max-content;align-items:stretch}
.weather-hero-hour{text-align:center;color:#2c2118;min-width:0;padding:4px 2px 2px;border-radius:13px;background:rgba(255,253,248,.32)}
.weather-hero-hour-time{font-size:14px;font-weight:900;color:#2c2118;height:22px;line-height:22px;white-space:nowrap}
.weather-hero-hour-icon{font-size:24px;height:30px;line-height:30px;margin-top:2px}
.weather-hero-hour-pop{font-size:13px;line-height:18px;color:#5f8fe8;height:18px;font-weight:900}
.weather-hero-hour-temp{font-size:20px;line-height:1.2;margin-top:2px;color:#476b43;font-weight:900}
.weather-hero-hour-quality{display:inline-flex;align-items:center;justify-content:center;margin-top:5px;min-width:20px;height:20px;padding:0 4px;border-radius:5px;background:#39c95a;color:#fff;font-size:13px;font-weight:900;line-height:20px}
.weather-hero-empty{margin:8px 0 0;color:#7c6b5b;font-weight:800}
@media(max-width:780px){.weather-hero-card{padding:14px 12px 13px;border-radius:15px}.weather-hero-head{align-items:flex-start}.weather-hero-city{font-size:18px}.weather-switch-actions{gap:6px;justify-content:flex-end}.weather-hero-now{gap:10px;align-items:center}.weather-hero-temp{font-size:58px;letter-spacing:-2px}.weather-hero-range{font-size:17px;gap:8px}.weather-hero-line{font-size:13px}.weather-hero-meta{display:none}.weather-hero-tabs{gap:8px;font-size:13px;overflow-x:auto;padding-bottom:2px}.weather-hero-tabs span{padding:5px 8px}.weather-hero-hourly{grid-auto-columns:68px}.weather-hero-hour{padding:3px 1px}.weather-hero-hour-time{font-size:13px}.weather-hero-hour-icon{font-size:22px}.weather-hero-hour-temp{font-size:18px}.weather-hero-hour-quality{font-size:12px}}
@media(max-width:420px){.weather-hero-temp{font-size:52px}.weather-hero-range{font-size:16px}.weather-hero-hourly{grid-auto-columns:63px}.weather-switch-actions .switch-link{font-size:13px;padding:4px 8px}}
/* 14.10：小时预报左右滑动箭头 */
.weather-hero-hourly-box{position:relative;max-width:100%;margin-top:2px}
.weather-hero-hourly-box .weather-hero-hourly-wrap{padding-left:34px;padding-right:34px}
.weather-hero-hourly-box .scroll-arrow{top:50%;margin-top:2px}
.weather-hero-hourly-box .scroll-arrow.left{left:0}
.weather-hero-hourly-box .scroll-arrow.right{right:0}
@media(max-width:780px){.weather-hero-hourly-box .weather-hero-hourly-wrap{padding-left:30px;padding-right:30px}.weather-hero-hourly-box .scroll-arrow{width:24px;height:38px;font-size:22px}}

/* 14.10 中小屏统一手机导航 */
.mobile-site-nav,.mobile-nav-backdrop,.mobile-nav-drawer{display:none}
@media(max-width:1200px){
  .top-menu{display:none!important}
  .mobile-site-nav{display:flex!important;align-items:center;justify-content:space-between;gap:8px;background:#fffaf2;border:1px solid #eadfce;border-radius:16px;padding:8px 10px;margin-bottom:12px;box-shadow:0 8px 22px rgba(78,54,28,.08)}
  .mobile-logo{font-weight:900;color:#7b3f31;text-decoration:none;white-space:nowrap;font-size:15px}
  .mobile-account{display:flex;align-items:center;gap:8px;margin-left:auto;font-size:14px;white-space:nowrap}
  .mobile-account a{color:#7c493f;text-decoration:none;font-weight:900}
  .mobile-menu-toggle{width:38px;height:34px;border:0;border-radius:12px;background:#b94732;color:#fff;font-size:22px;line-height:1;font-weight:900;display:inline-flex;align-items:center;justify-content:center;padding:0;cursor:pointer}
  .mobile-nav-backdrop{position:fixed;inset:0;background:rgba(35,25,18,.38);z-index:9998;display:block}
  .mobile-nav-backdrop[hidden]{display:none!important}
  .mobile-nav-drawer{position:fixed;top:0;right:0;bottom:0;width:min(86vw,360px);background:#fffaf2;z-index:9999;display:block;overflow:auto;box-shadow:-16px 0 46px rgba(35,25,18,.25);padding:14px;border-left:1px solid #eadfce}
  .mobile-nav-drawer[hidden]{display:none!important}
  .mobile-nav-head{display:flex;align-items:center;gap:10px;border-bottom:1px solid #eadfce;padding-bottom:10px;margin-bottom:12px;color:#2c2118}
  .mobile-nav-head button{background:transparent;color:#7c493f;border:0;padding:6px 0;font-size:16px;font-weight:900;cursor:pointer}
  .mobile-nav-head strong{font-size:18px}
  .mobile-nav-group{margin:13px 0}
  .mobile-nav-group h3{font-size:14px;color:#7c6b5b;margin:0 0 8px;font-weight:900}
  .mobile-nav-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .mobile-nav-links a{display:flex;align-items:center;justify-content:center;min-height:38px;padding:8px 6px;border-radius:12px;background:#fff3df;border:1px solid #eadfce;color:#2c2118;text-decoration:none;font-size:14px;font-weight:900;text-align:center}
  html.mobile-nav-open,html.mobile-nav-open body{overflow:hidden}
}

/* 14.10 全屏统一三条杠菜单导航 */
.top-menu{display:none!important}
.mobile-site-nav{display:flex!important;position:relative;z-index:2147483600!important;align-items:center;justify-content:space-between;gap:8px;background:#fffaf2;border:1px solid #eadfce;border-radius:16px;padding:8px 10px;margin-bottom:12px;box-shadow:0 8px 22px rgba(78,54,28,.08)}
.mobile-logo{font-weight:900;color:#7b3f31;text-decoration:none;white-space:nowrap;font-size:16px}
.mobile-account{display:flex;align-items:center;gap:8px;margin-left:auto;font-size:14px;white-space:nowrap}
.mobile-account a{color:#7c493f;text-decoration:none;font-weight:900}
.mobile-menu-toggle{width:38px;height:34px;border:0;border-radius:12px;background:#b94732;color:#fff;font-size:22px;line-height:1;font-weight:900;display:inline-flex;align-items:center;justify-content:center;padding:0;cursor:pointer}
.mobile-nav-backdrop{position:fixed!important;inset:0;background:rgba(35,25,18,.38);z-index:2147483601!important;display:block}
.mobile-nav-backdrop[hidden]{display:none!important}
.mobile-nav-drawer{position:fixed!important;top:0;right:0;bottom:0;width:min(86vw,380px);background:#fffaf2;z-index:2147483602!important;display:block;overflow:auto;box-shadow:-16px 0 46px rgba(35,25,18,.25);padding:14px;border-left:1px solid #eadfce}
.mobile-nav-drawer[hidden]{display:none!important}
