body { background: #f6f6ef; font-family: Verdana, Geneva, sans-serif; margin: 0; }
.header {
  background: #ff6600;
  color: white;
  padding: 10px 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.header a { color: white; text-decoration: none; font-weight: bold; }
.header-nav {
  font-size: 13px;
  margin-left: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.header-login {
  font-size: 13px;
  margin-left: 12px;
  cursor: pointer;
}
.container {
  width: 96%;
  max-width: 85%;
  margin: 10px auto;
}
.news-list { list-style: none; padding: 0; margin: 0; }
.news-item { margin-bottom: 1px; border-radius: 4px; }
.news-title { font-size: 14px; padding: 10px 14px 0 14px; }
.news-title a { color: #333; text-decoration: none; }
.news-meta { font-size: 12px; color: #828282; padding: 0 14px 1px 14px; }
.news-meta a { color: #333; text-decoration: none; }
.load-more { display: block; width: 100%; max-width: 200px; margin: 24px auto; padding: 10px 0; background: #ff6600; color: white; border: none; border-radius: 4px; font-size: 16px; cursor: pointer; }
.load-more:active { background: #e65c00; }

/* 登录弹框美化样式 */
.modal-bg {
  display: none;
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.35);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.modal-bg.active { display: flex; }
.modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px #8888;
  padding: 32px 28px 24px 28px;
  min-width: 300px;
  max-width: 95vw;
  position: relative;
  animation: fadeIn 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@keyframes fadeIn { from { opacity: 0; transform: scale(0.95);} to { opacity: 1; transform: scale(1);} }
.modal h2 {
  margin: 0 0 22px 0;
  font-size: 22px;
  text-align: center;
  color: #ff6600;
  letter-spacing: 1px;
}
.modal label {
  display: block;
  margin: 12px 0 6px 0;
  font-size: 15px;
  color: #333;
  font-weight: 500;
}
.modal input[type="text"], .modal input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 6px;
  border: 1.5px solid #ff6600;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  box-sizing: border-box;
  background: #f9f9f9;
}
.modal input:focus {
  border-color: #e65c00;
  box-shadow: 0 0 0 2px #ffe0cc;
  background: #fff;
}
.modal .modal-actions {
  text-align: center;
  margin-top: 18px;
}
.modal button[type="submit"] {
  background: linear-gradient(90deg,#ff6600 60%,#ff8800 100%);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 38px;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 8px #ff660033;
  transition: background 0.2s;
}
.modal button[type="submit"]:hover {
  background: linear-gradient(90deg,#ff8800 60%,#ff6600 100%);
}
.modal .close-btn {
  position: absolute; right: 14px; top: 14px;
  background: none; border: none; font-size: 22px; color: #ff6600; cursor: pointer;
  font-weight: bold;
  transition: color 0.2s;
}
.modal .close-btn:hover { color: #e65c00; }
.modal input[type="text"]:disabled, .modal input[type="password"]:disabled {
  background: #eee;
  color: #aaa;
}

@media (max-width: 600px) {
  .header { padding: 10px 2vw; }
  .container { width: 99%; margin: 12px auto; }
  .news-title { font-size: 15px; padding: 8px 8px 0 8px; }
  .news-meta { font-size: 12px; padding: 0 8px 8px 8px; }
  .header-nav { font-size: 12px; gap: 6px; }
  .header-login { font-size: 12px; }
  .load-more { font-size: 15px; padding: 9px 0; }
  .modal { padding: 18px 8px 12px 8px; min-width: 180px; }
  .modal h2 { font-size: 18px; }
  .modal button[type="submit"] { font-size: 15px; padding: 8px 24px; }
}
