/* 农历 / 黄历 */
.lu-wrap { max-width: 1000px; margin: 0 auto; padding: 0 12px; }
.lu-tabs { display: flex; gap: 0; background: #fef3c7; border-radius: 10px; padding: 4px; margin-bottom: 18px; }
.lu-tab { flex: 1; text-align: center; padding: 10px 8px; cursor: pointer; border-radius: 8px; font-size: 14px; color: #92400e; transition: all .15s; user-select: none; }
.lu-tab.on { background: linear-gradient(135deg, #b45309, #d97706); color: #fff; box-shadow: 0 1px 3px rgba(217,119,6,.3); }
.lu-tab:hover:not(.on) { background: rgba(217,119,6,.1); }

.lu-pane { background: #fff; border: 1px solid #fef3c7; border-radius: 12px; padding: 22px; }
.lu-card { background: #fff; border: 1px solid #fef3c7; border-radius: 12px; padding: 22px; }

.lu-row { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.lu-row label { flex: 0 0 100px; font-size: 13px; color: #4b5563; }
.lu-row input, .lu-row select { flex: 1; min-width: 120px; padding: 9px 11px; border: 1px solid #fde68a; border-radius: 6px; font-size: 14px; background: #fff; box-sizing: border-box; }
.lu-row input:focus { outline: none; border-color: #d97706; box-shadow: 0 0 0 3px rgba(217,119,6,.15); }

.lu-quick { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.lu-quick button { padding: 4px 12px; background: #fef3c7; color: #b45309; border: 1px solid #fde68a; border-radius: 16px; font-size: 12px; cursor: pointer; }
.lu-quick button:hover { background: #fde68a; }

.lu-btn { padding: 10px 18px; border: 0; border-radius: 6px; cursor: pointer; font-size: 14px; font-weight: 500; transition: all .15s; }
.lu-btn-primary { background: linear-gradient(135deg, #d97706, #b45309); color: #fff; }
.lu-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(217,119,6,.4); }

.lu-result-card { background: #fff; border: 1px solid #fde68a; border-radius: 14px; overflow: hidden; margin-top: 14px; }
.lu-result-head { background: linear-gradient(135deg, #92400e, #b45309); color: #fff; padding: 22px 18px; text-align: center; }
.lu-head-solar { font-size: 14px; opacity: .85; margin-bottom: 6px; }
.lu-head-lunar { font-size: 22px; font-weight: 800; letter-spacing: 2px; }
.lu-head-lunar strong { background: rgba(255,255,255,.15); padding: 2px 8px; border-radius: 6px; margin-right: 4px; }
.lu-head-fest { font-size: 14px; opacity: .95; margin-top: 8px; background: rgba(255,255,255,.15); display: inline-block; padding: 4px 14px; border-radius: 16px; }

/* 宜忌 */
.lu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
@media (max-width: 600px) { .lu-grid { grid-template-columns: 1fr; } }
.lu-cell { padding: 18px 20px; border-top: 1px solid #fef3c7; }
.lu-cell + .lu-cell { border-left: 1px solid #fef3c7; }
@media (max-width: 600px) { .lu-cell + .lu-cell { border-left: 0; } }
.lu-cell-label { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.lu-cell-yi .lu-cell-label { color: #047857; }
.lu-cell-ji .lu-cell-label { color: #b91c1c; }
.lu-cell-content { display: flex; flex-wrap: wrap; gap: 6px; }
.lu-cell-content span { padding: 4px 10px; border-radius: 14px; font-size: 13px; }
.lu-cell-yi .lu-cell-content span { background: #d1fae5; color: #065f46; }
.lu-cell-ji .lu-cell-content span { background: #fee2e2; color: #991b1b; }

.lu-detail { padding: 18px 20px; border-top: 1px solid #fef3c7; }
.lu-detail h4 { margin: 0 0 12px; font-size: 14px; color: #92400e; font-weight: 700; }

.lu-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.lu-table td { padding: 8px 6px; border-bottom: 1px solid #fef3c7; }
.lu-table td:first-child { color: #6b7280; width: 100px; }

.lu-empty { padding: 40px 20px; text-align: center; color: #9ca3af; font-size: 14px; background: #fef3c7; border-radius: 8px; }
