:root{
  --primary:#cc3355;
  --primary-hover:#a82845;
  --bg:#ffffff;
  --bg-soft:#f7f8fa;
  --text:#222222;
  --text-light:#666666;
  --line:#e7e7e7;
  --radius:14px;
  --shadow:0 8px 28px rgba(0,0,0,.06);
  --max-width:1180px;
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif;
  font-size:16px;
  line-height:1.7;
}

a{
  color:var(--primary);
  text-decoration:none;
  transition:all .2s ease;
}

a:hover{
  color:var(--primary-hover);
}

img{
  max-width:100%;
  display:block;
}

.container{
  max-width:var(--max-width);
  margin:0 auto;
  padding:0 20px;
}

.site-header{
  border-bottom:1px solid var(--line);
  background:#fff;
  position:sticky;
  top:0;
  z-index:20;
}

.site-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-height:68px;
}

.logo{
  font-size:22px;
  font-weight:700;
  color:var(--text);
}

.top-nav{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
}

.top-nav a{
  color:var(--text-light);
  font-size:14px;
}

.top-nav a:hover{
  color:var(--primary);
}

.breadcrumb{
  padding:0 0 14px;
  font-size:13px;
  color:#888;
}

.breadcrumb a{
  color:#888;
}

.breadcrumb span{
  margin:0 6px;
}

.hero{
  padding:30px 0 10px;
}

.hero-subtitle{
  margin:0 0 8px;
  font-size:14px;
  color:var(--text-light);
}

.hero h1{
  margin:0;
  font-size:clamp(30px, 4vw, 42px);
  line-height:1.25;
  letter-spacing:0;
}

.hero-desc{
  max-width:920px;
  margin:14px 0 0;
  color:var(--text-light);
}

.time-card{
  margin-top:24px;
  padding:24px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:linear-gradient(180deg,#ffffff,#fafafa);
  box-shadow:var(--shadow);
}

.time-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.time-card h2{
  margin:0;
  font-size:22px;
  line-height:1.4;
}

.timezone-badge{
  display:inline-flex;
  align-items:center;
  padding:6px 12px;
  background:#fff1f4;
  color:var(--primary);
  border-radius:999px;
  font-size:13px;
  font-weight:600;
}

.time-card time{
  display:block;
  margin:16px 0 10px;
  font-size:clamp(48px, 10vw, 110px);
  line-height:1;
  font-weight:700;
  letter-spacing:.04em;
  color:var(--text);
}


.calendar-card{
  margin-top:18px;
  padding:18px 20px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fafafa;
  font-size:14px;
  line-height:1.8;
}

.calendar-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  margin-bottom:6px;
  color:var(--text-light);
}

.calendar-row.primary{
  font-size:16px;
  font-weight:600;
  color:var(--text);
}

@media (max-width: 600px){

  .calendar-row{
    flex-direction:column;
    align-items:flex-start;
    gap:2px;
  }

  .calendar-row.primary{
    flex-direction:row;
    justify-content:space-between;
  }

}

.calendar-main{
  font-size:18px;
}

.calendar-week{
  color:var(--primary);
}

.calendar-row.timezone{
  margin-top:6px;
  font-size:13px;
  color:#888;
}



.time-meta{
  margin:0;
  color:var(--text-light);
}

.section{
  margin-top:42px;
}

.section-head{
  margin-bottom:16px;
}

.section-head h2{
  margin:0;
  font-size:28px;
  line-height:1.35;
}

.section-head p{
  margin:8px 0 0;
  color:var(--text-light);
  font-size:15px;
}

.city-grid{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:14px;
}

.city-grid li a{
  display:block;
  min-height:100px;
  padding:16px 14px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  box-shadow:0 2px 10px rgba(0,0,0,.03);
}

.city-grid li a:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(0,0,0,.08);
  border-color:#f0c7d1;
}

.city-name{
  display:block;
  font-size:15px;
  color:var(--text-light);
}

.city-time{
  display:block;
  margin-top:8px;
  font-size:28px;
  line-height:1.2;
  color:var(--text);
}

.tag-list{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.tag-list a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 16px;
  background:var(--bg-soft);
  border:1px solid var(--line);
  border-radius:12px;
  color:var(--text);
  font-size:15px;
}

.tag-list a:hover{
  background:var(--primary);
  color:#fff;
  border-color:var(--primary);
}

.content-card{
  padding:24px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:0 3px 14px rgba(0,0,0,.03);
}

.content-card p{
  margin:0 0 16px;
  color:#333;
}

.content-card p:last-child{
  margin-bottom:0;
}

.tool-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:14px;
}

.tool-card{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-height:110px;
  padding:18px 16px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  box-shadow:0 2px 10px rgba(0,0,0,.03);
  color:var(--text);
}

.tool-card strong{
  font-size:17px;
  color:var(--text);
}

.tool-card span{
  font-size:14px;
  color:var(--text-light);
}

.tool-card:hover{
  transform:translateY(-2px);
  border-color:#f0c7d1;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
}

.faq-section details{
  border:1px solid var(--line);
  border-radius:12px;
  padding:14px 16px;
  background:#fff;
  margin-bottom:12px;
}

.faq-section summary{
  cursor:pointer;
  font-weight:600;
  color:var(--text);
}

.faq-section p{
  margin:10px 0 0;
  color:var(--text-light);
}

.friend-links{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.friend-links a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:10px 16px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  color:var(--text);
}

.friend-links a:hover{
  background:var(--bg-soft);
  border-color:#d9d9d9;
  color:var(--primary);
}

.site-footer{
  margin-top:48px;
  border-top:1px solid var(--line);
  background:#fafafa;
}

.footer-inner{
  padding-top:22px;
  padding-bottom:28px;
  text-align:center;
}

.footer-inner p{
  margin:0 0 8px;
  color:#888;
  font-size:14px;
}

.footer-inner p:last-child{
  margin-bottom:0;
}

/* PC增强导航 */
@media (min-width: 901px){

  .site-top{
    align-items:center;
  }

  .top-nav{
   
    padding:8px 14px;
    border-radius:999px;
     
  }

  .top-nav a{
    padding:6px 12px;
    border-radius:10px;
    font-size:14px;
    color:var(--text);
  }

  .top-nav a:hover{
    background:var(--primary);
    color:#fff;
  }

  /* 可以加分隔线效果 */
  .top-nav a + a{
    margin-left:6px;
  }

}

@media (max-width: 900px){
  .site-top{
    flex-wrap:wrap;
    align-items:flex-start;
    justify-content:center;
    padding:14px 0 8px;
  }

  .top-nav{
    gap:14px;
  }

  .section-head h2{
    font-size:24px;
  }
}



@media (max-width: 768px){
  body{
    font-size:15px;
  }

  .container{
    padding:0 14px;
  }

  .hero{
    padding-top:24px;
  }

  .hero h1{
    font-size:28px;
  }

  .time-card{
    padding:18px;
  }

  .time-card h2{
    font-size:20px;
  }

  .city-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  
  @media (max-width: 520px){
  .city-grid{
    grid-template-columns:1fr;
  }
}

  .tool-grid{
    grid-template-columns:1fr;
  }

  .tag-list{
    gap:10px;
  }

  .tag-list a,
  .friend-links a{
    width:calc(50% - 5px);
    justify-content:center;
  }
}

@media (max-width: 520px){
  .city-grid{
    grid-template-columns:1fr 1fr;
    gap:10px;
  }

  .city-grid li a{
    min-height:88px;
    padding:14px 12px;
  }

  .city-time{
    font-size:24px;
  }

  .tag-list a,
  .friend-links a{
    width:100%;
  }

  .section{
    margin-top:34px;
  }

  .section-head h2{
    font-size:22px;
  }

  .content-card{
    padding:18px;
  }
}