/* ============ 汉堡菜单按钮（由 layout.css 控制视觉） ============ */
.nav-toggle{display:inline-flex;}

/* ============ 平板 ============ */
@media (max-width:1024px){
  .nav{padding-left:28px;padding-right:28px;}
  .nav-links{display:none;}
  .nav-panel-main{grid-template-columns:1fr;padding-left:36px;padding-right:36px;}
  .nav-panel-title strong{font-size:52px;}
  .footer-top{grid-template-columns:1fr 1fr;}
  .footer-nav{grid-column:1 / -1;justify-content:start;}
  .hero-title{font-size:60px;}
  .hero-float-1{left:4vw;bottom:12vh;}
  .hero-float-2{right:4vw;top:17vh;}
  .hero-float-3{right:12vw;}
  .featured-inner{grid-template-columns:1fr;}
  .posts-grid{grid-template-columns:repeat(2,1fr);}
  .section,.gallery-section,.reveal-section{padding-left:32px;padding-right:32px;}
  .favorites-section{min-height:auto;padding:76px 32px;}
  .favorites-title{font-size:96px;top:16px;}
  .favorites-subtitle{margin-top:74px;}
  .favorites-stage{height:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:26px 18px;margin-top:42px;}
  .fav-item{position:relative!important;left:auto!important;right:auto!important;top:auto!important;width:auto!important;min-height:226px;transform:none;margin-top:0!important;}
  .fav-item-4{grid-column:auto;grid-row:auto;min-height:226px;}
  .fav-label{font-size:14px;margin:0 0 10px!important;}
  .fav-cover{position:relative!important;left:auto!important;right:auto!important;top:auto!important;width:100%!important;height:auto!important;aspect-ratio:1/1;}
}

/* ============ 手机 ============ */
@media (max-width:768px){
  .nav{padding:0 20px;height:60px;}
  .nav-links{display:none;}
  .nav-toggle{min-width:72px;height:32px;padding:0 10px;gap:8px;}
  .nav-toggle-text{font-size:8px;letter-spacing:1.4px;}
  .nav-logo::after{display:none;}
  .nav-panel{padding:16px;}
  .nav-panel-inner{min-height:auto;height:auto;max-height:calc(100vh - 32px);overflow:auto;}
  .nav-panel-head,.nav-panel-foot{padding:18px;}
  .nav-panel-main{padding:18px 22px 28px;gap:24px;}
  .nav-panel-title span{font-size:9px;letter-spacing:2.8px;margin-bottom:9px;}
  .nav-panel-title strong{font-size:34px;}
  .nav-panel-links a{font-size:24px;padding:10px 0 11px;}
  .nav-panel-foot{align-items:flex-start;flex-direction:column;gap:10px;}
  .hero-title{font-size:42px;letter-spacing:4px;}
  .hero-en{font-size:11px;letter-spacing:3px;}
  .hero-aura{opacity:0.45;}
  .hero-float{box-shadow:0 16px 36px rgba(44,58,66,0.14);}
  .hero-float-1{width:128px;height:170px;left:6vw;bottom:17vh;}
  .hero-float-2{width:150px;height:104px;right:5vw;top:18vh;}
  .hero-float-3{width:104px;height:132px;right:12vw;bottom:10vh;}
  .section{padding:60px 20px;}
  .gallery-section,.reveal-section{padding-left:20px;padding-right:20px;}
  .posts-grid{grid-template-columns:1fr;}
  .spotlight-item{width:120px;}
  .spotlight-item:hover,.spotlight-item.active{width:78vw;}
  .spotlight-item:nth-child(2n),.spotlight-item:nth-child(3n),.spotlight-item:hover{transform:none;}
  .spotlight-row{justify-content:flex-start;overflow-x:auto;scrollbar-width:none;padding-bottom:8px;}
  .spotlight-row::-webkit-scrollbar{display:none;}
  .spotlight-img{height:240px;}
  .sec-title{font-size:28px;}
  .reveal-frame{height:42vh;}
  .reveal-caption{left:20px;bottom:20px;}
  .reveal-caption .ttl{font-size:22px;}
  .marquee-track span{font-size:18px;}
  .scroll-comet{display:none;}
  .section::before,.gallery-section::before,.reveal-section::before{font-size:92px;top:12px;right:14px;}
  .featured-info{padding:32px 24px;}
  .favorites-section{padding:58px 20px;background:linear-gradient(180deg,var(--bg-2),#EEF1EF);}
  .favorites-section::before{background:repeating-linear-gradient(90deg,transparent 0,transparent calc(50% - 1px),rgba(94,114,122,.12) calc(50% - 1px),rgba(94,114,122,.12) 50%);}
  .favorites-kicker{font-size:9px;letter-spacing:2.8px;gap:12px;}
  .favorites-kicker::before,.favorites-kicker::after{width:32px;}
  .favorites-title{font-size:48px;top:74px;left:16px;}
  .favorites-subtitle{margin-top:72px;font-size:14px;text-align:left;}
  .favorites-stage{grid-template-columns:repeat(2,1fr);gap:22px 14px;margin-top:30px;}
  .fav-item{min-height:188px;}
  .fav-label{font-size:13px;}
  .footer{padding:42px 20px 30px;}
  .footer-signature{font-size:36px;margin-bottom:18px;padding-bottom:18px;letter-spacing:1px;}
  .footer-top{grid-template-columns:1fr;gap:18px;}
  .footer-logo{font-size:22px;}
  .footer-brief{padding:13px 14px;}
  .footer-brief strong{font-size:14px;}
  .footer-nav{grid-template-columns:1fr 1fr;gap:10px 16px;}
  .footer-bottom{align-items:flex-start;flex-direction:column;}
  .footer-social a{padding:7px 10px;}
  .to-top{right:18px;bottom:76px;width:42px;height:42px;}
}
