* {
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
body{
  background:#f7faf9;
  color:#222;
  padding-bottom:70px;
}
.container{
  max-width:720px;
  margin:0 auto;
  padding:16px;
}
.page-header{
  margin:16px 0 20px;
}
.page-header h1, .page-header h2{
  font-size:26px;
  margin-bottom:12px;
}
.search-box{
  width:100%;
  padding:12px 14px;
  border-radius:10px;
  border:1px solid #cbdede;
  background:#fff;
  font-size:16px;
}
.template-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
.template-card{
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 2px 8px rgba(0,0,0,0.06);
  cursor:pointer;
}
.template-card img{
  width:100%;
  height:160px;
  object-fit:cover;
}
.template-card p{
  padding:10px;
  font-size:14px;
}
.editor-canvas{
  background:#fff;
  border-radius:12px;
  padding:40px;
  text-align:center;
  margin:20px 0;
}
.save-btn{
  width:100%;
  padding:14px;
  border:none;
  background:#208b78;
  color:white;
  border-radius:10px;
  font-size:16px;
}
.tool-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.tool-item{
  background:#fff;
  padding:20px;
  text-align:center;
  border-radius:12px;
}
.mine-card{
  background:#fff;
  padding:24px;
  border-radius:12px;
}
/*底部导航栏*/
.tab-bar{
  position:fixed;
  bottom:0;
  left:0;
  width:100%;
  max-width:720px;
  margin:0 auto;
  background:#ffffff;
  display:flex;
  border-top:1px solid #e8efee;
}
.tab{
  flex:1;
  text-align:center;
  padding:14px 0;
  text-decoration:none;
  color:#666;
}
.tab.active{
  color:#208b78;
  font-weight:bold;
}
