/* ================================================================
   紫微斗数 · 星空主题样式
   设计参考：深色星空背景 + 玻璃态卡片 + 蓝紫暗金配色
   星曜色彩：主星金色、辅星紫色、凶星暗红
   ================================================================ */

/* ═══════════════ 星空背景 ═══════════════ */
.zw-stars-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* 全局遮罩光晕 */
.zw-stars-canvas::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 25% 20%, rgba(120, 90, 200, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 60%, rgba(200, 160, 60, 0.04) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 85%, rgba(80, 140, 220, 0.05) 0%, transparent 50%);
  z-index: 1;
}

/* ═══════════════ 导航栏（毛玻璃） ═══════════════ */
.zw-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 8, 24, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(140, 100, 220, 0.10);
  transition: background .4s, border-color .4s;
}
.zw-nav.scrolled {
  background: rgba(10, 8, 24, 0.55);
  border-bottom-color: rgba(140, 100, 220, 0.20);
}
.zw-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.zw-nav-logo .logo-icon {
  font-family: 'Liu Jian Mao Cao', cursive;
  font-size: 1.8rem;
  color: #b896e8;
  transition: color .4s;
}
.zw-nav-logo .logo-text {
  font-family: 'Ma Shan Zheng', cursive;
  font-size: 1.1rem;
  color: #c8b8e8;
  letter-spacing: 4px;
}
.zw-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}
.zw-nav-links a {
  color: rgba(200, 180, 220, 0.7);
  text-decoration: none;
  font-size: .8rem;
  letter-spacing: 2px;
  transition: color .3s;
}
.zw-nav-links a:hover { color: #d4b060; }

/* 主题切换按钮 */
.zw-theme-btn-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 20, 60, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(140, 100, 220, 0.10);
  cursor: pointer;
  transition: all .3s;
}
.zw-theme-btn-row:hover {
  border-color: rgba(180, 140, 220, 0.45);
  background: rgba(40, 28, 80, 0.7);
}
.zw-theme-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c080e0, #4a2080);
  transition: background .4s;
  flex-shrink: 0;
}
.zw-theme-label {
  font-size: .65rem;
  color: rgba(200, 180, 220, 0.7);
  letter-spacing: 1px;
  transition: color .4s;
}

/* ═══════════════ 页面主体 ═══════════════ */
.zw-page {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 20px 60px;
  min-height: 100vh;
}

/* ═══════════════ Hero 区 ═══════════════ */
.zw-hero {
  text-align: center;
  padding: 40px 0 24px;
}
.zw-hero .zw-seal {
  font-family: 'Liu Jian Mao Cao', cursive;
  font-size: 3.2rem;
  background: linear-gradient(180deg, #f0c860, #d4a040, #907020);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: .9;
  line-height: 1.3;
}
.zw-hero h1 {
  font-family: 'Ma Shan Zheng', cursive;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 8px;
  color: #d4b060;
  margin: 4px 0;
}
.zw-hero .zw-sub {
  font-family: 'Ma Shan Zheng', cursive;
  font-size: .85rem;
  letter-spacing: 3px;
  color: rgba(180, 150, 200, 0.6);
}
.zw-hero .zw-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #a070d0, transparent);
  margin: 16px auto;
}

/* ═══════════════ 玻璃态卡片 ═══════════════ */
.zw-card {
  background: rgba(12, 8, 30, 0.15);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1px solid rgba(140, 100, 220, 0.10);
  border-radius: 16px;
  padding: 28px 30px;
  margin-bottom: 20px;
  transition: all .4s;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}
.zw-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(180, 140, 220, 0.3), transparent);
  opacity: 0;
  transition: opacity .4s;
}
.zw-card:hover::before { opacity: 1; }
.zw-card:hover {
  background: rgba(12, 8, 30, 0.25);
  border-color: rgba(180, 140, 220, 0.35);
  box-shadow: 0 0 32px rgba(120, 80, 200, 0.12), 0 8px 24px rgba(0,0,0,.2);
  transform: translateY(-2px);
}
.zw-card h2 {
  font-family: 'Ma Shan Zheng', cursive;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 4px;
  color: #d4b060;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(140, 100, 220, 0.15);
}
.zw-card h3 {
  font-family: 'Ma Shan Zheng', cursive;
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: 2px;
  color: #b896e8;
  margin: 12px 0 6px;
}

/* ═══════════════ 星图 Canvas 容器 ═══════════════ */
.zw-star-chart-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  position: relative;
}
.zw-star-chart-wrap canvas {
  display: block;
  max-width: 100%;
  border-radius: 12px;
  cursor: crosshair;
}

/* ═══════════════ 透明星图卡片 ═══════════════ */
.zw-card.chart-transparent {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  padding: 8px 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.zw-card.chart-transparent h2 {
  opacity: .45;
  font-size: .85rem;
  border-bottom: none;
  margin-bottom: 4px;
}
.zw-card.chart-transparent:hover {
  transform: none;
  box-shadow: none;
  border: none;
}
.zw-card.chart-transparent::before { display: none; }

/* ═══════════════ 星曜点击浮层 ═══════════════ */
.zw-star-popover {
  position: absolute;
  pointer-events: none;
  background: rgba(14,8,34,.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(180,140,220,.2);
  border-radius: 14px;
  padding: 12px 18px;
  z-index: 100;
  opacity: 0;
  transform: translate(-50%, -120%) scale(.85);
  transition: opacity .22s, transform .22s;
  white-space: nowrap;
  box-shadow: 0 12px 40px rgba(0,0,0,.55), 0 0 30px rgba(120,80,200,.08);
}
.zw-star-popover.visible {
  opacity: 1;
  transform: translate(-50%, -120%) scale(1);
}
.zw-star-popover .pop-star-name {
  font-family: 'Ma Shan Zheng',serif;
  font-size: 1.1rem;
  letter-spacing: 3px;
  margin-bottom: 2px;
}
.zw-star-popover .pop-star-detail {
  font-size: .65rem;
  color: rgba(200,180,220,.6);
  letter-spacing: 1px;
  margin-top: 2px;
}
.zw-star-popover::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(14,8,34,.92);
}

/* ═══════════════ 四化飞星图例 ═══════════════ */
.zw-sihua-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 0;
}
.zw-sihua-legend .sihua-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: .68rem;
  letter-spacing: 1px;
  font-family: 'Ma Shan Zheng', cursive;
  border: 1px solid;
  opacity: .9;
}
.zw-sihua-legend .sihua-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ═══════════════ 命主信息卡 ═══════════════ */
.zw-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 8px 0;
}
.zw-info-item {
  background: rgba(30, 20, 55, 0.10);
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
  border: 1px solid rgba(140, 100, 220, 0.08);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.zw-info-item .info-label {
  font-size: .62rem;
  color: rgba(180, 150, 200, 0.5);
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.zw-info-item .info-value {
  font-family: 'Ma Shan Zheng', cursive;
  font-size: 1rem;
  color: #d4b060;
  letter-spacing: 3px;
}

/* ═══════════════ 四化飞星 ═══════════════ */
.zw-sihua-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 8px 0;
}
.zw-sihua-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 14px;
  border-radius: 16px;
  font-size: .72rem;
  letter-spacing: 2px;
  font-family: 'Ma Shan Zheng', cursive;
  border: 1px solid;
}
.zw-sihua-tag.hua-lu {
  color: #d4b060;
  background: rgba(212, 176, 96, 0.1);
  border-color: rgba(212, 176, 96, 0.25);
}
.zw-sihua-tag.hua-quan {
  color: #c8a860;
  background: rgba(200, 168, 96, 0.1);
  border-color: rgba(200, 168, 96, 0.25);
}
.zw-sihua-tag.hua-ke {
  color: #78b8e0;
  background: rgba(120, 184, 224, 0.1);
  border-color: rgba(120, 184, 224, 0.25);
}
.zw-sihua-tag.hua-ji {
  color: #c04848;
  background: rgba(192, 72, 72, 0.1);
  border-color: rgba(192, 72, 72, 0.25);
}

/* ═══════════════ 星曜列表 ═══════════════ */
.zw-star-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  margin: 8px 0;
}
.zw-star-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(30, 20, 55, 0.08);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 8px;
  border: 1px solid rgba(140, 100, 220, 0.06);
  font-size: .72rem;
  transition: all .3s;
}
.zw-star-item:hover {
  background: rgba(40, 28, 70, 0.18);
  border-color: rgba(180, 140, 220, 0.25);
}
.zw-star-item .star-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.zw-star-item .star-dot.dot-main { background: #d4b060; box-shadow: 0 0 6px rgba(212,176,96,.5); }
.zw-star-item .star-dot.dot-aux { background: #a878e0; box-shadow: 0 0 6px rgba(168,120,224,.5); }
.zw-star-item .star-dot.dot-malefic { background: #c04848; box-shadow: 0 0 6px rgba(192,72,72,.5); }
.zw-star-item .star-info { flex: 1; min-width: 0; }
.zw-star-item .star-name { color: rgba(200, 180, 220, 0.85); letter-spacing: 1px; }
.zw-star-item .star-palace { color: rgba(180, 150, 200, 0.45); font-size: .62rem; }

/* ═══════════════ 表单区 ═══════════════ */
.zw-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  align-items: end;
  margin: 8px 0;
}
.zw-form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.zw-form-group.zw-fw { grid-column: 1 / -1; }
.zw-form-row .zw-btn-primary {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 8px;
}
.zw-form-group label {
  font-size: .68rem;
  color: rgba(180, 150, 200, 0.55);
  letter-spacing: 2px;
}
.zw-form-group input,
.zw-form-group select {
  padding: 8px 12px;
  background: rgba(18, 12, 36, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(140, 100, 220, 0.12);
  border-radius: 8px;
  color: #d0c0e8;
  font-size: .82rem;
  font-family: 'Noto Serif SC', serif;
  outline: none;
  transition: border-color .3s, background .3s;
  -webkit-appearance: none;
  appearance: none;
}
.zw-form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a070d0' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
  cursor: pointer;
}
.zw-form-group input:focus,
.zw-form-group select:focus {
  border-color: rgba(180, 140, 220, 0.5);
  box-shadow: 0 0 8px rgba(120, 80, 200, 0.12);
}
.zw-form-group input::placeholder {
  color: rgba(180, 150, 200, 0.3);
}

.zw-btn-primary {
  padding: 10px 32px;
  background: linear-gradient(135deg, #7040b0, #5830a0);
  color: #e0d0f8;
  border: 1px solid rgba(180, 140, 220, 0.3);
  border-radius: 24px;
  font-family: 'Ma Shan Zheng', cursive;
  font-size: .95rem;
  letter-spacing: 4px;
  cursor: pointer;
  transition: all .3s;
  white-space: nowrap;
}
.zw-btn-primary:hover {
  background: linear-gradient(135deg, #8048c0, #6838b0);
  box-shadow: 0 0 20px rgba(120, 80, 200, 0.25);
  transform: translateY(-1px);
}
.zw-btn-primary:active { transform: scale(.97); }
.zw-btn-primary:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

/* ═══════════════ SSE 解读区 ═══════════════ */
.zw-interpret-container {
  min-height: 120px;
}
.zw-sse-section {
  margin-bottom: 8px;
}
.zw-sse-title {
  font-family: 'Ma Shan Zheng', cursive;
  font-size: 1rem;
  color: #b896e8;
  margin: 16px 0 6px;
  padding-bottom: 4px;
  border-bottom: 1px dashed rgba(140, 100, 220, 0.15);
  letter-spacing: 3px;
}
.zw-sse-text {
  font-size: .82rem;
  line-height: 2;
  color: rgba(200, 180, 220, 0.75);
  letter-spacing: .5px;
}
.zw-sse-text b {
  color: #d4b060;
}
.zw-sse-text i {
  color: rgba(190, 170, 230, 0.75);
}
.zw-sse-text h1,
.zw-sse-text h2,
.zw-sse-text h3 {
  font-family: 'Ma Shan Zheng', cursive;
  letter-spacing: 2px;
  margin: 18px 0 8px;
}
.zw-sse-text h1 {
  font-size: 1.15rem;
  color: #d4b060;
  border-bottom: 1px solid rgba(212, 176, 96, 0.2);
  padding-bottom: 6px;
}
.zw-sse-text h2 {
  font-size: 1.05rem;
  color: #c8a860;
}
.zw-sse-text h3 {
  font-size: .95rem;
  color: #b896e8;
  border-bottom: 1px dashed rgba(180, 150, 220, 0.18);
  padding-bottom: 4px;
}
.zw-sse-text hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(140, 100, 220, 0.2), transparent);
  margin: 16px 0;
}
.zw-cursor-blink {
  display: inline;
  animation: zw-blink .8s step-end infinite;
  color: #b896e8;
}
@keyframes zw-blink { 50% { opacity: 0; } }

/* Markdown 渲染块 */
.md-quote {
  display: block;
  padding: 10px 14px;
  margin: 8px 0;
  background: rgba(20, 15, 40, .25);
  border-left: 3px solid rgba(180, 140, 220, .3);
  color: rgba(180, 150, 210, .65);
  font-style: italic;
  font-size: .78rem;
  border-radius: 0 8px 8px 0;
}
.md-code {
  display: block;
  padding: 12px 16px;
  margin: 8px 0;
  background: rgba(10, 5, 25, .6);
  border-radius: 8px;
  border: 1px solid rgba(140, 100, 220, .1);
  font-family: 'Courier New', monospace;
  font-size: .75rem;
  color: rgba(180, 160, 220, .7);
  white-space: pre-wrap;
  overflow-x: auto;
}
.md-li {
  display: block;
  padding-left: 8px;
  color: rgba(200, 180, 220, .7);
}
.md-table-wrap {
  margin: 10px 0;
  overflow-x: auto;
}
.md-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .75rem;
}
.md-table th,
.md-table td {
  padding: 6px 10px;
  border: 1px solid rgba(140, 100, 220, 0.1);
  text-align: center;
  color: rgba(200, 180, 220, 0.75);
}
.md-table th {
  background: rgba(30, 20, 55, 0.25);
  color: #d4b060;
  font-family: 'Ma Shan Zheng', cursive;
  font-weight: normal;
  letter-spacing: 1px;
}

/* 骨架屏 */
.zw-skele-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  gap: 12px;
  padding: 36px 0;
}
.zw-skele-ring {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(140, 100, 220, 0.15);
  border-top-color: #a070d0;
  border-radius: 50%;
  animation: zw-skele-spin 1s linear infinite;
}
@keyframes zw-skele-spin { to { transform: rotate(360deg); } }
.zw-skele-status {
  font-family: 'Ma Shan Zheng', cursive;
  font-size: .9rem;
  letter-spacing: 3px;
  color: #b896e8;
  opacity: .85;
}
.zw-skele-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 400px;
}
.zw-skele-bar {
  height: 10px;
  border-radius: 5px;
  background: linear-gradient(90deg, rgba(30,20,55,.25) 25%, rgba(160,112,208,.12) 50%, rgba(30,20,55,.25) 75%);
  background-size: 200% 100%;
  animation: zw-skele-shimmer 2s ease-in-out infinite;
}
.zw-skele-bar.w2 { width: 75%; }
.zw-skele-bar.w3 { width: 55%; }
@keyframes zw-skele-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ═══════════════ 滚动渐现动画 ═══════════════ */
.zw-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1);
}
.zw-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.zw-reveal.d1 { transition-delay: .05s; }
.zw-reveal.d2 { transition-delay: .12s; }
.zw-reveal.d3 { transition-delay: .2s; }
.zw-reveal.d4 { transition-delay: .28s; }
.zw-reveal.d5 { transition-delay: .36s; }
.zw-reveal.d6 { transition-delay: .44s; }

/* ═══════════════ 大运流转盘 ═══════════════ */
.zw-decadal-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.zw-decadal-layout canvas {
  display: block;
  max-width: 100%;
  border-radius: 12px;
}
.zw-decadal-detail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.zw-dc-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 16px;
  background: rgba(30, 20, 55, .08);
  border-radius: 10px;
  border: 1px solid rgba(140, 100, 220, .08);
  min-width: 80px;
}
.zw-dc-lab {
  font-size: .62rem;
  color: rgba(180, 150, 200, .5);
  letter-spacing: 2px;
  margin-bottom: 2px;
}
.zw-dc-val {
  font-family: 'Ma Shan Zheng', cursive;
  font-size: .95rem;
  color: rgba(200, 180, 220, .8);
  letter-spacing: 3px;
}
.zw-dc-val.gold { color: #d4b060; }

/* ═══════════════ 流年速查 ═══════════════ */
.zw-yearly-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}
.zw-year-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(30, 20, 55, .12);
  border: 1px solid rgba(140, 100, 220, .18);
  color: rgba(200, 180, 220, .7);
  font-size: .85rem;
  cursor: pointer;
  transition: all .3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zw-year-btn:hover {
  background: rgba(60, 40, 100, .25);
  border-color: rgba(180, 140, 220, .4);
  color: #d4b060;
}
.zw-year-btn:disabled {
  opacity: .3;
  cursor: not-allowed;
}
.zw-year-label {
  font-family: 'Ma Shan Zheng', cursive;
  font-size: 1.1rem;
  color: #d4b060;
  letter-spacing: 4px;
  min-width: 140px;
  text-align: center;
}
.zw-yearly-body {
  min-height: 60px;
}
.zw-yl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}
.zw-yl-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 12px;
  background: rgba(30, 20, 55, .06);
  border-radius: 10px;
  border: 1px solid rgba(140, 100, 220, .06);
}
.zw-yl-lab {
  font-size: .62rem;
  color: rgba(180, 150, 200, .45);
  letter-spacing: 2px;
  margin-bottom: 2px;
}
.zw-yl-val {
  font-family: 'Ma Shan Zheng', cursive;
  font-size: .92rem;
  color: rgba(200, 180, 220, .75);
  letter-spacing: 2px;
}
.zw-yl-val.gold { color: #d4b060; }
.zw-yl-val.sm { font-size: .78rem; }

/* ═══════════════ H5 响应式 ═══════════════ */
@media (max-width: 640px) {
  .zw-page { padding: 72px 10px 40px; }
  .zw-nav { padding: 0 12px; height: 52px; }
  .zw-nav-logo .logo-text { display: none; }
  .zw-nav-links { display: none; }
  .zw-card { padding: 18px 12px; border-radius: 12px; }
  .zw-form-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .zw-form-row .zw-btn-primary { width: 100%; }
  .zw-form-group label { text-align: center; }
  .zw-star-list { grid-template-columns: repeat(2, 1fr); }
  .zw-info-grid { grid-template-columns: repeat(2, 1fr); }
  .zw-hero .zw-seal { font-size: 2.4rem; }
  .zw-hero h1 { font-size: 1.2rem; letter-spacing: 4px; }
  .zw-sihua-legend { gap: 5px; }
  .zw-sihua-legend .sihua-legend-item { font-size: .6rem; padding: 2px 8px; }
}

@media (max-width: 380px) {
  .zw-form-row { grid-template-columns: 1fr; }
}
