*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #ff5e3b;
  --primary-hover: #ff815e;
  --text-primary: #222222;
  --text-secondary: #555555;
  --text-muted: #888888;
  --border: #ededed;
  --bg-white: #ffffff;
  --header-height: 56px;
  --transition: 0.25s ease;
  --font-sm: 13px;
  --font-md: 14px;
  --font-base: 16px;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--font-base);
  background: #ffffff;
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ========== 顶栏（对齐站酷：白底、56px、左右分布） ========== */
.header {
  height: var(--header-height);
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 20px;
}

.logo-icon {
  height: 1em;
  width: auto;
  display: block;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav a {
  color: var(--text-secondary);
  font-size: var(--font-base);
  transition: color var(--transition);
}

.header-nav a:hover {
  color: var(--primary);
}

.header-nav .nav-login {
  color: var(--primary);
  font-weight: 500;
}

/* ========== 主内容：导航下方纯白区域 + 居中空状态 ========== */
.main {
  flex: 1;
  min-height: calc(100vh - var(--header-height) - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 48px;
  text-align: center;
  background: #ffffff;
}

.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 480px;
}

.empty-illust {
  width: 320px;
  max-width: 100%;
  height: auto;
  display: block;
  user-select: none;
  pointer-events: none;
}

.empty-title {
  margin-top: 20px;
  font-size: var(--font-base);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.5;
}

.empty-countdown {
  margin-top: 8px;
  font-size: var(--font-base);
  color: var(--text-muted);
  line-height: 1.5;
}

.empty-countdown #countdown-sec {
  color: var(--text-muted);
}

.btn-home {
  margin-top: 16px;
  width: 126px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  font-size: var(--font-md);
  font-family: inherit;
  color: #fff;
  background: var(--primary);
  cursor: pointer;
  transition: background var(--transition);
}

.btn-home:hover {
  background: var(--primary-hover);
}

/* ========== 页脚 ========== */
.footer {
  flex-shrink: 0;
  padding: 24px 24px 32px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-bottom: 12px;
}

.footer-links a {
  font-size: var(--font-sm);
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.8;
}

@media (max-width: 640px) {
  .header-inner {
    padding: 0 16px;
  }

  .header-nav {
    gap: 16px;
  }

  .logo-text {
    font-size: 18px;
  }

  .empty-illust {
    width: 260px;
  }

  .main {
    min-height: calc(100vh - var(--header-height) - 140px);
    padding: 32px 16px 40px;
  }
}
