:root {
  --lvn-red: #8b0000;
  --lvn-red-2: #b30000;
  --lvn-red-3: #7a0000;
  --lvn-gold: #d4a017;
  --lvn-cream: #fffaf0;
  --lvn-ink: #281512;
  --lvn-muted: #725d54;
  --lvn-border: rgba(139, 0, 0, 0.16);
  --lvn-shadow: 0 18px 45px rgba(86, 18, 8, 0.13);
  --lvn-radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--lvn-ink);
  background: linear-gradient(180deg, #fffaf0 0%, #fffdf8 42%, #fff8e8 100%);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
button,
input,
select,
textarea {
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
img[alt] { font-style: normal; }
.lvn-card-image,
.lvn-article-thumb,
.lvn-article-hero-image,
.lvn-mini-thumb,
.lvn-cta-art,
.lvn-banner-art {
  display: block;
  max-width: 100%;
}
.lvn-card-image,
.lvn-article-thumb,
.lvn-article-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.lvn-tool-icon,
.lvn-heading-icon,
.zodiac-icon img,
.tool-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.lvn-heading-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 6px;
  vertical-align: -5px;
}
button, input, select { font: inherit; }
.screen-reader-text { position: absolute; left: -9999px; }
.lvn-container { width: min(1220px, calc(100% - 32px)); margin: 0 auto; }

.lvn-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.98), rgba(122, 0, 0, 0.98));
  color: #fff8df;
  border-bottom: 1px solid rgba(255, 226, 145, 0.22);
  transition: box-shadow .25s ease, backdrop-filter .25s ease;
}
.lvn-header.is-scrolled { box-shadow: 0 12px 34px rgba(71, 0, 0, .22); backdrop-filter: blur(12px); }
.lvn-header__inner {
  width: min(1320px, calc(100% - 32px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.lvn-brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.lvn-brand img { width: 54px; height: 54px; }
.lvn-brand strong { display: block; color: #ffe49a; font-size: 25px; line-height: 1.05; }
.lvn-brand small { display: block; color: rgba(255,255,255,.86); font-size: 13px; margin-top: 4px; }
.lvn-nav { flex: 1; }
.lvn-nav__list { display: flex; justify-content: center; gap: 2px; padding: 0; margin: 0; list-style: none; flex-wrap: nowrap; }
.lvn-nav__list li { position: relative; }
.lvn-nav__list a {
  position: relative;
  display: block;
  padding: 10px 9px;
  color: #fffaf0;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s ease;
}
.lvn-nav__list a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--lvn-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.lvn-nav__list a:hover { color: #ffe8a6; }
.lvn-nav__list a:hover::after { transform: scaleX(1); }
.lvn-nav__list .is-vip-link a {
  color: #5a1509;
  background: linear-gradient(135deg, #ffe494, #d4a017);
  border-radius: 8px;
}
.lvn-mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  padding: 10px;
  border: 1px solid rgba(255,226,145,.28);
  border-radius: 12px;
  background: #7a0000;
  box-shadow: var(--lvn-shadow);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.lvn-nav__list li:hover .lvn-mega { opacity: 1; transform: translateY(0); pointer-events: auto; }
.lvn-mega a { text-transform: none; padding: 9px 10px; border-radius: 8px; }
.lvn-mega a:hover { background: rgba(255,255,255,.08); }
.lvn-header__tools { display: flex; align-items: center; gap: 10px; }
.lvn-search { position: relative; width: 230px; }
.lvn-search input {
  width: 100%;
  height: 42px;
  padding: 0 42px 0 14px;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 8px;
  outline: 0;
}
.lvn-search input::placeholder { color: rgba(255,255,255,.72); }
.lvn-search button {
  position: absolute;
  top: 4px;
  right: 5px;
  width: 34px;
  height: 34px;
  color: #ffe49a;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.lvn-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: none;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(212,160,23,.25);
  background: #fffdf8;
  box-shadow: var(--lvn-shadow);
  color: var(--lvn-ink);
}
.lvn-search-results.is-open { display: grid; gap: 4px; }
.lvn-search-results a { padding: 8px 10px; border-radius: 8px; font-weight: 800; }
.lvn-search-results a:hover { color: #b30000; background: #fff4df; }
.lvn-icon-btn, .lvn-menu-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 8px;
  color: #ffe49a;
  background: rgba(255,255,255,.08);
}
.lvn-notify { position: relative; font-size: 12px; font-weight: 900; }
.lvn-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #8b0000;
  background: linear-gradient(135deg, #fff1b8, #d4a017);
  border-radius: 50%;
  font-weight: 900;
}
.lvn-menu-toggle { display: none; cursor: pointer; }
.lvn-menu-toggle span { width: 19px; height: 2px; background: currentColor; display: block; margin: 2px 0; }

.lvn-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 34px;
  color: #fff;
  background:
    linear-gradient(rgba(30,0,0,.24), rgba(30,0,0,.34)),
    radial-gradient(circle at 30% 10%, rgba(255,218,118,.22), transparent 35%),
    linear-gradient(135deg, var(--lvn-red-2), var(--lvn-red-3));
}
.lvn-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/eastern-pattern.svg") right 5% center / 420px no-repeat;
  opacity: .55;
  pointer-events: none;
}
.lvn-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 235px 1fr 350px;
  gap: 20px;
  align-items: stretch;
}
.lvn-day-panel, .lvn-quick-card, .lvn-hero__content {
  border: 1px solid rgba(255,226,145,.42);
  border-radius: var(--lvn-radius);
  box-shadow: 0 22px 46px rgba(43,0,0,.2);
}
.lvn-day-panel {
  overflow: hidden;
  text-align: center;
  color: #23110e;
  background: linear-gradient(180deg, #fffdf8, #fff4dd);
}
.lvn-day-panel__weekday { padding: 11px; color: #fff; background: linear-gradient(135deg, var(--lvn-red-2), var(--lvn-red-3)); font-weight: 900; text-transform: uppercase; }
.lvn-day-panel__number { color: #c40013; font-size: 112px; line-height: .88; font-weight: 900; letter-spacing: 0; margin-top: 22px; }
.lvn-day-panel__date { font-size: 28px; font-weight: 700; color: #27100c; }
.lvn-dragon { color: #b30000; font-size: 72px; line-height: 1; margin: 10px 0; text-shadow: 0 8px 22px rgba(179,0,0,.18); }
.lvn-status-card { margin: 16px; padding: 14px; text-align: left; border: 1px solid rgba(212,160,23,.35); border-radius: 10px; background: #fff9ed; }
.lvn-status-card strong, .lvn-status-card span { display: block; margin: 6px 0; }
.lvn-status-card strong { color: #6e160c; }

.lvn-hero__content {
  padding: 22px;
  color: #2a120f;
  background: rgba(255,253,247,.94);
}
.lvn-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; color: #765b4d; font-size: 13px; margin-bottom: 14px; }
.lvn-breadcrumb a { color: #8b0000; }
.lvn-hero__content h1 { margin: 4px 0 4px; color: #b30000; text-align: center; text-transform: uppercase; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; }
.lvn-hero__content > p { text-align: center; margin-top: 0; color: #593229; }
.lvn-lunar-summary { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(212,160,23,.28); border-radius: 10px; overflow: hidden; background: #fff; }
.lvn-lunar-summary div { padding: 18px 12px; text-align: center; border-right: 1px solid rgba(212,160,23,.23); }
.lvn-lunar-summary div:last-child { border-right: 0; }
.lvn-round-icon { width: 36px; height: 36px; margin: 0 auto 8px; display: grid; place-items: center; color: #8b0000; background: #fff0cf; border-radius: 50%; }
.lvn-lunar-summary strong, .lvn-lunar-summary b, .lvn-lunar-summary small { display: block; }
.lvn-lunar-summary strong { color: #8b0000; text-transform: uppercase; }
.lvn-lunar-summary b { font-size: 18px; }
.lvn-mini-grid { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 16px; border: 1px solid rgba(212,160,23,.28); border-radius: 9px; overflow: hidden; }
.lvn-mini-grid span { padding: 10px; font-size: 13px; text-align: center; border-right: 1px solid rgba(212,160,23,.18); }
.lvn-mini-grid b { display: block; color: #4a251a; }

.lvn-quick-card {
  padding: 22px;
  background: linear-gradient(135deg, #b30000, #800000);
  background-blend-mode: overlay;
}
.lvn-quick-card h2 { margin: 0 0 16px; font-size: 22px; text-transform: uppercase; }
.lvn-quick-card label { display: block; margin: 0 0 14px; font-weight: 700; font-size: 14px; }
.lvn-quick-card input {
  width: 100%;
  height: 46px;
  margin-top: 6px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  background: #fff;
}
.lvn-quick-card button, .lvn-newsletter button, .lvn-cta a {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  color: #5a1509;
  background: linear-gradient(135deg, #ffe494, var(--lvn-gold));
  box-shadow: 0 0 0 rgba(255,221,129,0);
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.lvn-quick-card button:hover, .lvn-newsletter button:hover, .lvn-cta a:hover { transform: translateY(-2px); box-shadow: 0 0 24px rgba(255,221,129,.55); }
.lvn-quick-card form.is-loading { opacity: .72; }

.lvn-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 22px; padding: 28px 0 30px; }
.lvn-main-column { min-width: 0; }
.lvn-card, .lvn-side-card, .lvn-related-days, .lvn-do-card {
  background: rgba(255,255,255,.86);
  border: 1px solid var(--lvn-border);
  border-radius: var(--lvn-radius);
  box-shadow: 0 10px 28px rgba(139, 0, 0, .07);
}
.lvn-card { padding: 20px; margin-bottom: 18px; }
.lvn-card h2, .lvn-side-card h2 { color: #b30000; font-size: 21px; line-height: 1.25; margin: 0 0 16px; text-transform: uppercase; }
.lvn-lunar-info { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.lvn-lunar-info div { min-height: 108px; display: grid; place-items: center; text-align: center; padding: 14px; border-radius: 12px; background: linear-gradient(180deg, #fff9ed, #fff); border: 1px solid rgba(212,160,23,.2); }
.lvn-lunar-info span { color: var(--lvn-muted); font-size: 13px; }
.lvn-lunar-info strong { color: #8b0000; font-size: 24px; }

.lvn-duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 18px; background: transparent; border: 0; box-shadow: none; }
.lvn-do-card { padding: 18px; transition: transform .2s ease, box-shadow .2s ease; }
.lvn-do-card:hover { transform: translateY(-4px); box-shadow: var(--lvn-shadow); }
.lvn-do-card h2 { margin: 0 0 10px; font-size: 18px; }
.lvn-do-card--good { background: linear-gradient(135deg, #effbed, #fff); border-color: #cfe8ca; }
.lvn-do-card--good h2 { color: #267934; }
.lvn-do-card--bad { background: linear-gradient(135deg, #fff0f0, #fff); border-color: #ffd2d2; }
.lvn-do-card--bad h2 { color: #c41717; }

.lvn-hour-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; }
.lvn-hour { min-height: 116px; padding: 10px 6px; text-align: center; border-radius: 9px; border: 1px solid #eadbc5; background: #fff; transition: transform .18s ease, box-shadow .18s ease; }
.lvn-hour:hover { transform: scale(1.035); box-shadow: 0 10px 22px rgba(102,29,8,.11); }
.lvn-hour strong, .lvn-hour span, .lvn-hour small, .lvn-hour b { display: block; }
.lvn-hour strong { font-size: 15px; }
.lvn-hour span { font-size: 12px; color: #65473f; }
.lvn-hour small { margin: 10px 0; font-size: 11px; min-height: 28px; }
.lvn-hour b { font-size: 12px; color: #237330; }
.lvn-hour--xau b { color: #ca1313; }
.lvn-hour--xau { background: #fff3f2; }
.lvn-hour--rat-tot, .lvn-hour--rat-tot { background: #fff9dd; border-color: rgba(212,160,23,.44); }

.lvn-prose p { margin: 0 0 14px; }
.lvn-prose blockquote { margin: 18px 0; padding: 16px 18px; border-left: 4px solid var(--lvn-gold); border-radius: 10px; background: #fff7df; color: #5c3528; font-weight: 700; }
.lvn-prose mark { padding: 2px 5px; color: #6d1508; background: #ffe9a8; border-radius: 5px; }

.lvn-faq details { border: 1px solid rgba(139,0,0,.12); border-radius: 10px; background: #fff; overflow: hidden; }
.lvn-faq details + details { margin-top: 8px; }
.lvn-faq summary { position: relative; padding: 14px 42px 14px 16px; cursor: pointer; font-weight: 800; list-style: none; }
.lvn-faq summary::-webkit-details-marker { display: none; }
.lvn-faq summary::after { content: "+"; position: absolute; right: 16px; color: #8b0000; font-size: 22px; top: 9px; }
.lvn-faq details[open] summary::after { content: "-"; }
.lvn-faq p { margin: 0; padding: 0 16px 16px; color: #50372f; }

.lvn-related-days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px; margin-bottom: 18px; }
.lvn-related-days article { padding: 16px; text-align: center; border-radius: 10px; }
.lvn-related-days span, .lvn-related-days b { display: block; }
.lvn-related-days span { color: #b30000; font-weight: 900; text-transform: uppercase; font-size: 13px; }
.lvn-related-days b { margin: 7px 0; }
.lvn-related-days a { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 18px; border: 1px solid rgba(139,0,0,.17); border-radius: 7px; background: #fff; }
.lvn-related-days .is-active { background: #fff8e4; border: 1px solid var(--lvn-gold); box-shadow: var(--lvn-shadow); }
.lvn-related-days .is-active a { color: #fff; border-color: #b30000; background: linear-gradient(135deg, #d20a0a, #8b0000); }

.lvn-post-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lvn-post-card { overflow: hidden; border-radius: 10px; background: #fff; border: 1px solid rgba(139,0,0,.12); transition: transform .2s ease, box-shadow .2s ease; }
.lvn-post-card:hover { transform: translateY(-4px); box-shadow: var(--lvn-shadow); }
.lvn-post-card img, .lvn-thumb-fallback { width: 100%; aspect-ratio: 1.45 / 1; object-fit: cover; transition: transform .3s ease; }
.lvn-thumb-fallback { background: radial-gradient(circle at 75% 20%, #ffe494, transparent 22%), linear-gradient(135deg, #6a0000, #b30000 58%, #d4a017); }
.lvn-post-card:hover img { transform: scale(1.06); }
.lvn-post-card h2, .lvn-post-card h3 { margin: 12px 12px 4px; font-size: 15px; line-height: 1.35; transition: color .2s ease; }
.lvn-post-card:hover h2, .lvn-post-card:hover h3 { color: #b30000; }
.lvn-post-card time, .lvn-post-card p { display: block; margin: 0 12px 12px; color: var(--lvn-muted); font-size: 13px; }

.lvn-sidebar { position: relative; }
.lvn-side-card, .lvn-cta { position: relative; padding: 18px; margin-bottom: 18px; border-radius: var(--lvn-radius); }
@supports (position: sticky) {
  .lvn-sidebar { align-self: start; position: sticky; top: 108px; }
}
.lvn-side-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 12px; margin: 0; }
.lvn-side-card dt { color: #5b4038; }
.lvn-side-card dd { margin: 0; font-weight: 700; text-align: right; }
.lvn-side-card h3 { margin: 10px 0 3px; color: #23802f; font-size: 14px; text-transform: uppercase; }
.lvn-side-card h3 + p + h3 { color: #c41717; }
.lvn-zodiac-row { margin-top: 12px; padding: 12px; border-radius: 10px; background: #fff0f0; color: #b30000; display: flex; justify-content: space-between; gap: 12px; }
.lvn-zodiac-row--green { color: #267934; background: #f0faee; }
.lvn-cta { overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--lvn-red-2), var(--lvn-red-3)); box-shadow: var(--lvn-shadow); }
.lvn-cta::after { content: ""; position: absolute; right: -70px; bottom: -90px; width: 230px; height: 230px; background: url("../images/eastern-pattern.svg") center/contain no-repeat; opacity: .55; }
.lvn-cta-art {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 154px;
  height: 112px;
  object-fit: cover;
  border-radius: 14px;
  opacity: .72;
  mix-blend-mode: screen;
}
.lvn-cta h2 { position: relative; margin: 0 0 10px; color: #fff7d4; text-transform: uppercase; }
.lvn-cta p, .lvn-cta a { position: relative; z-index: 1; }
.lvn-cta a { width: auto; display: inline-flex; min-width: 138px; align-items: center; justify-content: center; padding: 0 20px; }

.lvn-footer { color: #fff7dc; background: linear-gradient(135deg, #870000, #5d0000); }
.lvn-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.25fr; gap: 36px; padding: 34px 0 24px; }
.lvn-footer h2 { color: #ffe49a; font-size: 16px; text-transform: uppercase; margin: 0 0 12px; }
.lvn-footer a { display: block; color: rgba(255,255,255,.86); margin: 7px 0; }
.lvn-footer p { color: rgba(255,255,255,.82); }
.lvn-brand--footer strong { font-size: 22px; }
.lvn-socials { display: flex; gap: 8px; }
.lvn-socials a { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.13); color: #fff; }
.lvn-newsletter input { width: 100%; height: 44px; padding: 0 13px; border: 0; border-radius: 7px; margin-bottom: 10px; }
.lvn-newsletter button { color: #fff; background: linear-gradient(135deg, #e01818, #9a0000); }
.lvn-footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.18); font-size: 13px; }
.lvn-footer__bottom a { display: inline; }

.lvn-entry, .lvn-archive { padding: 40px 0; }
.lvn-entry h1, .lvn-archive h1 { color: #8b0000; line-height: 1.2; }
.lvn-content { max-width: 850px; }
.lvn-content img { border-radius: 12px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.lvn-bottom-nav { display: none; }

.lvn-tool-page { padding: 20px 0 0; }
.lvn-breadcrumb--tool { margin: 2px 0 14px; color: #5d4a43; }
.lvn-page-head { text-align: center; margin: 22px auto 26px; }
.lvn-page-head span {
  width: 96px;
  height: 14px;
  display: block;
  margin: 0 auto 8px;
  background: linear-gradient(90deg, transparent, #d4a017, transparent);
  opacity: .55;
}
.lvn-page-head h1 {
  margin: 0;
  color: #9d0000;
  font-size: clamp(30px, 3.3vw, 44px);
  line-height: 1.16;
  text-transform: uppercase;
}
.lvn-page-head p { max-width: 720px; margin: 10px auto 0; color: #5f4a42; font-size: 17px; }
.lvn-tool-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; padding-bottom: 34px; }
.lvn-tool-main { min-width: 0; }
.lvn-tool-sidebar { position: sticky; top: 108px; align-self: start; }
.lvn-filter-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 170px;
  gap: 16px;
  padding: 18px;
  margin-bottom: 18px;
  border: 1px solid var(--lvn-border);
  border-radius: var(--lvn-radius);
  background: rgba(255,255,255,.88);
  box-shadow: 0 10px 24px rgba(139,0,0,.06);
}
.lvn-filter-bar label, .lvn-form-grid label, .lvn-auth-card label {
  display: grid;
  gap: 7px;
  color: #6d261d;
  font-weight: 800;
  font-size: 14px;
}
.lvn-filter-bar select, .lvn-filter-bar input, .lvn-form-grid input, .lvn-form-grid select, .lvn-auth-card input, .lvn-chat input {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid rgba(139,0,0,.18);
  border-radius: 8px;
  background: #fff;
  color: var(--lvn-ink);
}
.lvn-filter-bar button, .lvn-form-grid button, .lvn-chat form button, .lvn-auth-card button {
  min-height: 46px;
  align-self: end;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #cf0808, #8b0000);
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}
.lvn-filter-bar.is-loading, .lvn-good-list.is-loading { position: relative; overflow: hidden; }
.lvn-filter-bar.is-loading::after, .lvn-good-list.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
  animation: lvnShimmer 1s linear infinite;
}
@keyframes lvnShimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.lvn-task-tabs, .lvn-category-tabs, .lvn-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}
.lvn-task-tabs button, .lvn-category-tabs button, .lvn-tabs button {
  min-height: 54px;
  border: 1px solid rgba(139,0,0,.14);
  border-radius: 9px;
  background: #fffdf8;
  color: #7a0000;
  font-weight: 800;
  cursor: pointer;
}
.lvn-task-tabs .is-active, .lvn-category-tabs .is-active, .lvn-tabs .is-active {
  color: #fff;
  background: linear-gradient(135deg, #c90000, #850000);
  box-shadow: 0 12px 28px rgba(179,0,0,.18);
}
.lvn-section-title { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.lvn-section-title button, .lvn-soft-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(139,0,0,.18);
  border-radius: 8px;
  color: #8b0000;
  background: #fff8eb;
  font-weight: 800;
}
.lvn-search-page-form {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.lvn-search-page-form > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 10px;
}
.lvn-search-page-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(139,0,0,.16);
  border-radius: 8px;
  background: #fff;
}
.lvn-empty-state {
  display: grid;
  gap: 14px;
  place-items: center;
  text-align: center;
  padding: 36px;
}
.lvn-empty-state .lvn-tool-grid {
  width: 100%;
  margin: 8px 0;
}
.lvn-mini-today {
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 118px;
  margin-bottom: 12px;
  border: 1px solid rgba(139,0,0,.12);
  border-radius: 12px;
  background: linear-gradient(135deg, #fff8ef, #fff);
}
.lvn-mini-today b {
  color: #c40000;
  font-size: 54px;
  line-height: 1;
}
.lvn-mini-today span {
  color: #5b4038;
  font-weight: 800;
}
.lvn-good-list { display: grid; gap: 10px; }
.lvn-good-row {
  display: grid;
  grid-template-columns: 100px 110px minmax(0, 1fr) 82px 112px;
  gap: 14px;
  align-items: center;
  min-height: 112px;
  padding: 12px;
  border: 1px solid rgba(139,0,0,.13);
  border-radius: 12px;
  background: linear-gradient(90deg, #fff8ee, #fff);
  transition: transform .2s ease, box-shadow .2s ease;
}
.lvn-good-row:hover { transform: translateY(-3px); box-shadow: var(--lvn-shadow); }
.lvn-good-date { text-align: center; }
.lvn-good-date span, .lvn-good-row small { color: var(--lvn-muted); font-size: 12px; }
.lvn-good-date b { display: block; color: #b30000; font-size: 34px; line-height: 1; }
.lvn-good-meta strong { color: #248333; }
.lvn-good-meta p { margin: 2px 0; }
.lvn-score { text-align: center; color: #237330; }
.lvn-score b { font-size: 23px; }
.lvn-good-row > a, .lvn-top-list a, .lvn-rank-cards a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 38px;
  border: 1px solid rgba(179,0,0,.38);
  border-radius: 8px;
  color: #b30000;
  font-weight: 800;
}
.lvn-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.lvn-pagination a {
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(139,0,0,.15);
  border-radius: 7px;
  background: #fff;
}
.lvn-pagination .is-active { color: #fff; background: #9d0000; }
.lvn-feature-strip, .lvn-info-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 18px 0;
}
.lvn-feature-strip article, .lvn-info-strip article {
  padding: 18px;
  border: 1px solid rgba(139,0,0,.13);
  border-radius: 12px;
  background: #fffdf8;
  font-weight: 900;
}
.lvn-feature-strip span, .lvn-info-strip span { display: block; margin-top: 4px; color: var(--lvn-muted); font-weight: 500; }
.lvn-calendar-shell {
  padding: 18px;
  margin-bottom: 18px;
  border: 1px solid var(--lvn-border);
  border-radius: var(--lvn-radius);
  background: #fff;
}
.lvn-calendar-head { display: flex; justify-content: space-between; align-items: center; text-align: center; margin-bottom: 18px; }
.lvn-calendar-head h2 { color: #b30000; text-transform: uppercase; margin: 0; }
.lvn-calendar-head a { padding: 10px 16px; border: 1px solid rgba(139,0,0,.14); border-radius: 8px; background: #fffaf0; }
.lvn-calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); border: 1px solid rgba(139,0,0,.12); border-radius: 12px; overflow: hidden; background: #fff; }
.lvn-calendar-grid > b { padding: 9px 4px; color: #7a0000; background: #fff7ed; text-align: center; }
.lvn-cal-cell {
  position: relative;
  min-height: 52px;
  padding: 8px;
  border-top: 1px solid rgba(139,0,0,.09);
  border-left: 1px solid rgba(139,0,0,.09);
  color: #171717;
}
.lvn-calendar-grid--large .lvn-cal-cell { min-height: 110px; padding: 14px; }
.lvn-cal-cell strong { display: block; font-size: 18px; }
.lvn-calendar-grid--large .lvn-cal-cell strong { font-size: 24px; }
.lvn-cal-cell small { color: #65707a; }
.lvn-cal-cell.is-muted { color: #999; background: #fafafa; }
.lvn-cal-cell.is-today { background: #fff4bd; }
.lvn-cal-cell.is-today strong {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #b30000;
  border-radius: 50%;
}
.lvn-cal-cell.is-good::after, .lvn-cal-cell.is-bad::after, .lvn-cal-cell.is-medium::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #258333;
}
.lvn-cal-cell.is-bad::after { background: #d40b0b; }
.lvn-cal-cell.is-medium::after { background: #f5a315; }
.lvn-calendar-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; color: #5b4038; }
.lvn-calendar-legend span::before { content: ""; width: 9px; height: 9px; display: inline-block; margin-right: 7px; border-radius: 50%; background: #258333; }
.lvn-calendar-legend span:nth-child(2)::before { background: #d40b0b; }
.lvn-calendar-legend span:nth-child(3)::before { background: #f5a315; }
.lvn-legend-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.lvn-legend-grid span { padding: 14px; border-right: 1px solid rgba(139,0,0,.1); }
.lvn-day-detail-hero {
  display: grid;
  grid-template-columns: 230px 1fr;
  border: 1px solid var(--lvn-border);
  border-radius: var(--lvn-radius);
  background: #fff;
  overflow: hidden;
  margin-bottom: 18px;
}
.lvn-big-day { display: grid; place-items: center; align-content: center; gap: 8px; padding: 24px; text-align: center; background: linear-gradient(180deg, #fffaf0, #fff); }
.lvn-big-day span { color: #7a0000; font-weight: 900; }
.lvn-big-day b { color: #c50010; font-size: 112px; line-height: .9; }
.lvn-big-day a { padding: 10px 28px; color: #fff; background: linear-gradient(135deg, #d20b0b, #8b0000); border-radius: 999px; font-weight: 900; }
.lvn-ink-panel {
  padding: 26px;
  border: 1px solid rgba(139,0,0,.13);
  border-radius: var(--lvn-radius);
  background:
    radial-gradient(circle at 90% 20%, rgba(212,160,23,.14), transparent 26%),
    linear-gradient(135deg, rgba(255,250,240,.98), #fff);
}
.lvn-ink-panel h2 { color: #9d0000; margin-top: 0; text-align: center; }
.lvn-ink-panel dl, .lvn-year-hero dl { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 24px; }
.lvn-ink-panel dt, .lvn-year-hero dt { color: #6d4c43; }
.lvn-ink-panel dd, .lvn-year-hero dd { margin: 0; font-weight: 900; }
.lvn-tool-grid, .lvn-tool-list { display: grid; gap: 10px; }
.lvn-tool-grid { grid-template-columns: repeat(4, 1fr); }
.lvn-tool-grid a, .lvn-tool-list a {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 10px;
  align-items: center;
  padding: 13px;
  border: 1px solid rgba(139,0,0,.12);
  border-radius: 12px;
  background: #fff;
}
.lvn-tool-grid span, .lvn-tool-list span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #b30000;
  background: #fff0e9;
  border-radius: 10px;
  font-weight: 900;
  font-size: 11px;
}
.lvn-tool-grid span img,
.lvn-tool-list span img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.lvn-tool-grid small, .lvn-tool-list small { color: var(--lvn-muted); }
.lvn-media-link { display: grid; grid-template-columns: 72px 1fr; gap: 10px; margin: 12px 0; }
.lvn-media-link small { color: var(--lvn-muted); }
.lvn-mini-thumb { width: 72px; height: 58px; border-radius: 8px; object-fit: cover; background: linear-gradient(135deg, #6a0000, #d4a017); }
.lvn-form-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: end;
}
.lvn-convert-result { display: grid; grid-template-columns: 1fr 48px 1fr; gap: 24px; align-items: center; }
.lvn-convert-result article { padding: 22px; border: 1px solid rgba(139,0,0,.14); border-radius: 12px; background: #fffdf8; }
.lvn-convert-result > b { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; background: #b30000; border-radius: 50%; }
.lvn-convert-history {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}
.lvn-convert-history h3 {
  margin: 0;
  color: #8b0000;
  font-size: 16px;
}
.lvn-convert-history p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(139,0,0,.1);
  border-radius: 8px;
  background: #fff8ef;
}
.lvn-convert-history small {
  color: var(--lvn-muted);
}
.lvn-match-form { display: grid; grid-template-columns: 1fr 54px 1fr; gap: 18px; align-items: center; }
.lvn-match-form > b { width: 48px; height: 48px; display: grid; place-items: center; color: #fff; background: #b30000; border-radius: 50%; }
.lvn-match-form button { grid-column: 1 / -1; justify-self: center; width: min(320px, 100%); min-height: 46px; border: 0; border-radius: 8px; background: linear-gradient(135deg, #d20b0b, #8b0000); color: #fff; font-weight: 900; }
.lvn-score-cards, .lvn-analysis-grid, .lvn-rank-cards, .lvn-month-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.lvn-score-cards article, .lvn-analysis-grid article, .lvn-rank-cards article, .lvn-month-cards article, .lvn-horoscope-grid article {
  padding: 18px;
  border: 1px solid rgba(139,0,0,.13);
  border-radius: 12px;
  background: #fffdf8;
  text-align: center;
}
.lvn-score-cards b { color: #0d7a29; font-size: 42px; }
.lvn-score-cards .is-score { background: #fffaf0; }
.lvn-table-list { display: grid; gap: 10px; }
.lvn-table-list p { margin: 0; padding: 13px; border: 1px solid rgba(139,0,0,.1); border-radius: 10px; background: #fffdf8; }
.lvn-data-table { display: grid; gap: 0; border: 1px solid rgba(139,0,0,.1); border-radius: 12px; overflow: hidden; }
.lvn-data-table article { display: grid; grid-template-columns: 110px 130px 1fr 96px 112px; gap: 12px; align-items: center; padding: 12px; border-bottom: 1px solid rgba(139,0,0,.09); background: #fff; }
.lvn-data-table article:last-child { border-bottom: 0; }
.lvn-data-table article > div:first-child { text-align: center; color: #b30000; }
.lvn-data-table article > div:first-child b { font-size: 32px; display: block; }
.lvn-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 18px; }
.lvn-article-card { overflow: hidden; border: 1px solid rgba(139,0,0,.13); border-radius: 12px; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.lvn-article-card:hover { transform: translateY(-4px); box-shadow: var(--lvn-shadow); }
.lvn-article-image { position: relative; aspect-ratio: 1.6 / 1; background: radial-gradient(circle at 70% 18%, #ffe494, transparent 22%), linear-gradient(135deg, #580000, #b30000, #d4a017); }
.lvn-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lvn-article-image span { position: absolute; top: 12px; left: 12px; padding: 5px 9px; color: #fff; background: #b30000; border-radius: 6px; font-size: 12px; font-weight: 900; }
.lvn-article-card h2 { font-size: 18px; margin: 16px 16px 8px; }
.lvn-article-card p, .lvn-article-card time { display: block; margin: 0 16px 14px; color: var(--lvn-muted); }
.lvn-year-hero {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--lvn-border);
  border-radius: var(--lvn-radius);
  background: #fff;
}
.lvn-year-art {
  min-height: 280px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff2b8;
  background: radial-gradient(circle, rgba(212,160,23,.28), transparent 42%), linear-gradient(135deg, #7a0000, #c20a0a);
  font-size: 36px;
  font-weight: 900;
}
.lvn-year-art img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}
.lvn-year-hero > div:last-child { padding: 28px; }
.lvn-rank-cards { grid-template-columns: repeat(5, 1fr); }
.lvn-rank-cards b, .lvn-month-cards b { display: block; color: #9d0000; font-size: 20px; }
.lvn-month-cards { grid-template-columns: repeat(4, 1fr); }
.lvn-matrix, .lvn-horoscope-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.lvn-matrix span { padding: 12px; border: 1px solid rgba(139,0,0,.12); background: #fff8ef; text-align: center; }
.lvn-matrix b { display: block; color: #b30000; }
.lvn-holiday-list { display: grid; gap: 12px; }
.lvn-holiday-list article { display: grid; grid-template-columns: 90px 70px 1fr 100px; gap: 16px; align-items: center; padding: 14px; border: 1px solid rgba(139,0,0,.12); border-radius: 12px; background: #fffdf8; }
.lvn-holiday-list article > b { color: #9d0000; font-size: 22px; text-align: center; }
.lvn-holiday-list article > span { display: grid; place-items: center; min-height: 52px; color: #fff; background: linear-gradient(135deg, #e10b0b, #a00000); border-radius: 8px; font-weight: 900; }
.lvn-top-list { display: grid; gap: 0; }
.lvn-top-list article { display: grid; grid-template-columns: 70px 1fr 120px; gap: 18px; align-items: center; padding: 14px; border-bottom: 1px solid rgba(139,0,0,.1); }
.lvn-top-list article > b { font-size: 28px; color: #b30000; text-align: center; }
.lvn-week-nav { display: flex; justify-content: space-between; align-items: center; padding: 18px; margin-bottom: 18px; border: 1px solid var(--lvn-border); border-radius: var(--lvn-radius); background: #fffdf8; }
.lvn-week-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; margin-bottom: 18px; }
.lvn-week-grid article { padding: 18px; border: 1px solid rgba(139,0,0,.13); border-radius: 12px; background: #fff; }
.lvn-week-grid article.is-bad { background: #fff4f3; border-color: #ffd1cf; }
.lvn-week-grid b { color: #13762b; font-size: 44px; }
.lvn-week-grid .is-bad b { color: #e27800; }
.lvn-week-grid ul { padding-left: 18px; }
.lvn-chat { padding: 18px; border: 1px solid var(--lvn-border); border-radius: var(--lvn-radius); background: #fff; }
.lvn-suggests { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.lvn-suggests button { border: 1px solid rgba(139,0,0,.12); border-radius: 999px; background: #fffaf0; padding: 9px 14px; }
.lvn-chat-line { max-width: 78%; padding: 16px; margin: 12px 0; border-radius: 14px; border: 1px solid rgba(139,0,0,.12); background: #fffdf8; }
.lvn-chat-line.is-user { margin-left: auto; background: #fff1f1; }
.lvn-chat form { display: grid; grid-template-columns: 1fr 58px; gap: 10px; margin-top: 16px; }
.lvn-chart-bars { height: 260px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; align-items: end; padding: 22px; border-radius: 12px; background: repeating-linear-gradient(0deg, #fff, #fff 38px, #f4e7d8 39px); }
.lvn-chart-bars span { height: var(--h); min-height: 24px; display: grid; align-items: end; justify-content: center; color: #fff; background: linear-gradient(180deg, #3f9c4f, #1b742d); border-radius: 8px 8px 0 0; }
.lvn-chart-bars b { transform: translateY(24px); color: #5b4038; font-size: 12px; }
.lvn-consult-hero {
  min-height: 300px;
  padding: 42px;
  margin-bottom: 18px;
  color: #fff9d9;
  border-radius: var(--lvn-radius);
  background:
    linear-gradient(rgba(90,0,0,.24), rgba(90,0,0,.34)),
    url("../images/banners/fengshui-consulting.svg") right center / auto 100% no-repeat,
    radial-gradient(circle at 82% 28%, rgba(255,228,148,.34), transparent 25%),
    linear-gradient(135deg, #740000, #b30000);
  box-shadow: var(--lvn-shadow);
}
.lvn-consult-hero h2 { max-width: 620px; margin: 0 0 12px; font-size: clamp(30px, 4vw, 52px); line-height: 1.08; text-transform: uppercase; }
.lvn-consult-hero p { max-width: 580px; font-size: 18px; }
.lvn-consult-hero a { display: inline-flex; min-height: 48px; align-items: center; padding: 0 22px; margin: 10px 10px 0 0; border-radius: 8px; background: linear-gradient(135deg, #e40a0a, #920000); color: #fff; font-weight: 900; }
.lvn-consult-hero a + a { color: #6e210c; background: linear-gradient(135deg, #ffe494, #d4a017); }
.lvn-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.lvn-pricing article { padding: 24px; border: 1px solid rgba(139,0,0,.13); border-radius: 14px; background: #fff; text-align: center; }
.lvn-pricing .is-featured { border-color: var(--lvn-gold); box-shadow: var(--lvn-shadow); background: #fff8e8; }
.lvn-pricing b { display: block; color: #b30000; font-size: 30px; margin: 8px 0; }
.lvn-pricing a { display: flex; min-height: 44px; align-items: center; justify-content: center; border-radius: 8px; color: #7a0000; background: linear-gradient(135deg, #ffe494, #d4a017); font-weight: 900; }
.lvn-auth-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 520px));
  justify-content: center;
  gap: 26px;
  padding: 28px;
  border-radius: 18px;
  background:
    linear-gradient(rgba(255,248,239,.88), rgba(255,248,239,.93)),
    url("../images/backgrounds/auth-bg.svg") center / cover no-repeat,
    radial-gradient(circle at 0% 100%, rgba(212,160,23,.22), transparent 30%),
    radial-gradient(circle at 100% 100%, rgba(179,0,0,.15), transparent 30%);
}
.lvn-auth-card { padding: 34px; border: 1px solid rgba(139,0,0,.15); border-radius: 16px; background: rgba(255,255,255,.94); box-shadow: var(--lvn-shadow); }
.lvn-auth-card h2 { color: #b30000; text-align: center; text-transform: uppercase; }
.lvn-auth-card label { margin-bottom: 14px; }
.lvn-social-login { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.lvn-social-login a,
.lvn-social-login button { display: grid; place-items: center; min-height: 42px; border: 1px solid rgba(139,0,0,.13); border-radius: 8px; background: #fff; color: #2b1a1a; cursor: pointer; }

@media (max-width: 1180px) {
  .lvn-header__inner { min-height: 76px; }
  .lvn-nav { position: fixed; top: 76px; right: 16px; left: 16px; transform: translateY(-16px); opacity: 0; pointer-events: none; border-radius: 14px; background: #7a0000; box-shadow: var(--lvn-shadow); transition: opacity .2s ease, transform .2s ease; }
  .is-menu-open .lvn-nav { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .lvn-nav__list { display: grid; grid-template-columns: repeat(2, 1fr); padding: 14px; }
  .lvn-mega { position: static; display: grid; opacity: 1; transform: none; pointer-events: auto; box-shadow: none; background: rgba(255,255,255,.06); margin: 4px 8px 10px; }
  .lvn-menu-toggle { display: grid; }
  .lvn-hero__grid { grid-template-columns: 210px 1fr; }
  .lvn-quick-card { grid-column: 1 / -1; }
  .lvn-layout { grid-template-columns: 1fr; }
  .lvn-sidebar { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .lvn-side-card, .lvn-cta { margin-bottom: 0; }
  .lvn-hour-grid { grid-template-columns: repeat(6, 1fr); }
  .lvn-tool-layout { grid-template-columns: 1fr; }
  .lvn-tool-sidebar { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .lvn-filter-bar { grid-template-columns: repeat(2, 1fr); }
  .lvn-filter-bar button { grid-column: 1 / -1; }
  .lvn-week-grid { grid-template-columns: repeat(3, 1fr); }
  .lvn-rank-cards { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  body { padding-bottom: 70px; }
  .lvn-container, .lvn-header__inner { width: min(100% - 24px, 1220px); }
  .lvn-brand strong { font-size: 20px; }
  .lvn-search, .lvn-icon-btn, .lvn-notify, .lvn-avatar { display: none; }
  .lvn-hero { padding-top: 18px; }
  .lvn-hero__grid { grid-template-columns: 1fr; }
  .lvn-day-panel { max-width: 360px; width: 100%; margin: 0 auto; }
  .lvn-lunar-summary, .lvn-mini-grid, .lvn-lunar-info, .lvn-duo, .lvn-related-days, .lvn-post-grid, .lvn-sidebar, .lvn-footer__grid, .lvn-tool-sidebar, .lvn-feature-strip, .lvn-info-strip, .lvn-tool-grid, .lvn-form-grid, .lvn-score-cards, .lvn-analysis-grid, .lvn-rank-cards, .lvn-month-cards, .lvn-blog-grid, .lvn-year-hero, .lvn-matrix, .lvn-horoscope-grid, .lvn-pricing, .lvn-auth-wrap { grid-template-columns: 1fr; }
  .lvn-lunar-summary div, .lvn-mini-grid span { border-right: 0; border-bottom: 1px solid rgba(212,160,23,.18); }
  .lvn-hour-grid { grid-template-columns: repeat(3, 1fr); }
  .lvn-page-head { margin-top: 16px; }
  .lvn-filter-bar { grid-template-columns: 1fr; }
  .lvn-good-row, .lvn-data-table article, .lvn-top-list article, .lvn-holiday-list article { grid-template-columns: 1fr; text-align: left; }
  .lvn-calendar-grid--large .lvn-cal-cell { min-height: 76px; padding: 8px; }
  .lvn-calendar-head, .lvn-week-nav, .lvn-section-title { flex-direction: column; align-items: stretch; }
  .lvn-day-detail-hero, .lvn-convert-result, .lvn-match-form { grid-template-columns: 1fr; }
  .lvn-convert-result > b, .lvn-match-form > b { justify-self: center; }
  .lvn-big-day b { font-size: 84px; }
  .lvn-week-grid { grid-template-columns: 1fr; }
  .lvn-chart-bars { overflow-x: auto; grid-template-columns: repeat(12, 44px); }
  .lvn-consult-hero { padding: 24px; min-height: 260px; }
  .lvn-bottom-nav {
    position: fixed;
    z-index: 99;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    min-height: 64px;
    padding: 6px 6px max(6px, env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96);
    border-top: 1px solid rgba(139,0,0,.14);
    box-shadow: 0 -10px 28px rgba(76,0,0,.12);
  }
  .lvn-bottom-nav a, .lvn-bottom-nav button {
    border: 0;
    background: transparent;
    color: #8b0000;
    display: grid;
    place-items: center;
    gap: 1px;
    font-size: 19px;
  }
  .lvn-bottom-nav span { font-size: 10px; font-weight: 800; }
  .lvn-footer__bottom { flex-direction: column; }
}

@media (max-width: 520px) {
  .lvn-header__inner { gap: 12px; }
  .lvn-brand img { width: 46px; height: 46px; }
  .lvn-brand small { max-width: 190px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lvn-nav__list { grid-template-columns: 1fr; }
  .lvn-day-panel__number { font-size: 88px; }
  .lvn-hero__content, .lvn-card, .lvn-side-card, .lvn-quick-card { padding: 16px; }
  .lvn-hour-grid { grid-template-columns: repeat(2, 1fr); }
  .lvn-side-card dl { grid-template-columns: 1fr; }
  .lvn-side-card dd { text-align: left; }
  .lvn-calendar-grid { font-size: 12px; }
  .lvn-cal-cell strong { font-size: 15px; }
  .lvn-calendar-grid--large .lvn-cal-cell strong { font-size: 17px; }
  .lvn-cal-cell.is-today strong { width: 32px; height: 32px; }
  .lvn-social-login { grid-template-columns: 1fr; }
}

/* Demo-match fixes for Lịch Vạn Niên homepage/day detail */
body {
  background: #fffaf2;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}
.lvn-header {
  background: radial-gradient(circle at 28% 0, rgba(242,196,91,.1), transparent 28%), linear-gradient(180deg, #8c0000 0%, #720000 100%);
}
.lvn-header__inner {
  width: min(1200px, calc(100% - 48px));
  min-height: 100px;
  gap: 18px;
}
.lvn-brand strong { color: #f2c45b; font-size: 26px; }
.lvn-brand small { color: #fff8df; }
.lvn-nav { min-width: 0; }
.lvn-nav__list {
  justify-content: flex-start;
  gap: 18px;
  flex-wrap: nowrap;
}
.lvn-nav__list a {
  padding: 12px 0;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.2;
}
.lvn-header__tools { margin-left: auto; }
.lvn-search { width: 250px; flex: 0 0 250px; }
.lvn-icon-btn, .lvn-notify, .lvn-avatar { display: none; }

.lvn-hero {
  padding: 18px 0 14px;
  color: var(--lvn-ink);
  background: #fffaf2;
}
.lvn-hero::before { display: none; }
.lvn-hero__grid {
  width: min(1200px, calc(100% - 48px));
  grid-template-columns: 230px minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: stretch;
}
.lvn-day-panel, .lvn-quick-card, .lvn-hero__content {
  border: 1px solid #efd6b7;
  border-radius: 10px;
  box-shadow: none;
}
.lvn-day-panel {
  min-height: 462px;
  background: #fffdf8;
}
.lvn-day-panel__weekday {
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  background: linear-gradient(180deg, #c40000, #a00000);
  font-size: 16px;
}
.lvn-day-panel__number {
  margin-top: 22px;
  color: #c40000;
  font-size: 112px;
}
.lvn-day-panel__date { font-size: 26px; }
.lvn-dragon {
  width: 150px;
  height: 90px;
  object-fit: contain;
  margin: 18px auto 12px;
}
.lvn-status-card {
  margin: 14px 14px 22px;
  padding: 13px;
  border-color: #efd6b7;
  background: #fffaf2;
  font-size: 13px;
}
.lvn-hero__content {
  padding: 24px 12px 20px;
  background: radial-gradient(circle at 96% 8%, rgba(242,196,91,.12), transparent 26%), #fffdf8;
}
.lvn-breadcrumb {
  margin: 0 10px 16px;
  color: #4d3933;
}
.lvn-hero__content h1 {
  color: #b30000;
  font-size: 24px;
  line-height: 1.2;
}
.lvn-hero__content > p { color: #2b1a1a; font-size: 14px; }
.lvn-lunar-summary {
  margin-top: 18px;
  border-color: #efd6b7;
  border-radius: 8px 8px 0 0;
}
.lvn-lunar-summary div {
  min-height: 140px;
  padding: 14px 8px;
  border-color: #efd6b7;
}
.lvn-round-icon {
  background: #fff2d8;
  color: #c40000;
}
.lvn-lunar-summary strong { color: #7b2900; }
.lvn-lunar-summary b { font-size: 17px; }
.lvn-mini-grid {
  grid-template-columns: repeat(6, 1fr);
  margin-top: 14px;
  border-color: #efd6b7;
}
.lvn-mini-grid span {
  border-color: #efd6b7;
  font-size: 12px;
}
.lvn-quick-card {
  padding: 20px;
  color: #fff;
  background: radial-gradient(circle at 88% 12%, rgba(242,196,91,.13), transparent 32%), linear-gradient(135deg, #b30000, #7b0000);
}
.lvn-quick-card h2 {
  color: #fff;
  font-size: 22px;
}
.lvn-quick-card input {
  height: 38px;
  border-radius: 5px;
}
.lvn-quick-card button {
  min-height: 42px;
  border-radius: 6px;
}

.lvn-layout {
  width: min(1200px, calc(100% - 48px));
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  padding-top: 0;
}
.lvn-card, .lvn-side-card, .lvn-related-days, .lvn-do-card {
  border-color: #efd6b7;
  border-radius: 10px;
  background: #fffdf8;
  box-shadow: 0 8px 20px rgba(120,0,0,.04);
}
.lvn-card h2, .lvn-side-card h2 {
  color: #b30000;
  font-size: 20px;
}
.lvn-lunar-info { grid-template-columns: repeat(5, 1fr); }
.lvn-duo { gap: 10px; }
.lvn-do-card { border-radius: 8px; }
.lvn-hour-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #efd6b7;
  border-radius: 8px;
  overflow: hidden;
}
.lvn-hour {
  min-height: 112px;
  border: 0;
  border-right: 1px solid #efd6b7;
  border-radius: 0;
  padding: 9px 4px;
}
.lvn-hour:last-child { border-right: 0; }
.lvn-hour strong { font-size: 13px; }
.lvn-hour span, .lvn-hour small, .lvn-hour b { font-size: 11px; }
.lvn-related-days { grid-template-columns: repeat(3, 1fr); }
.lvn-post-grid--home { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.lvn-sidebar { top: 116px; }
.lvn-side-card dl {
  grid-template-columns: 1fr 1.05fr;
  font-size: 13px;
}
.lvn-zodiac-row {
  display: block;
  text-align: center;
  background: #fff0f0;
  border: 1px solid #f2cccc;
}
.lvn-zodiac-row--green { background: #f4fbef; border-color: #dceccf; }
.lvn-cta {
  min-height: 160px;
  border-radius: 10px;
  background: radial-gradient(circle at 88% 15%, rgba(242,196,91,.2), transparent 30%), linear-gradient(135deg, #b30000, #760000);
}
.lvn-footer__grid {
  width: min(1200px, calc(100% - 48px));
  grid-template-columns: 1.3fr .8fr .8fr .9fr 1.25fr;
  gap: 28px;
}
.lvn-tool-grid a, .lvn-tool-list a {
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.lvn-tool-grid small, .lvn-tool-list small {
  min-width: 0;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  line-height: 1.45;
}

@media (max-width: 1180px) {
  .lvn-header__inner { min-height: 78px; }
  .lvn-hero__grid, .lvn-layout { width: min(100% - 32px, 1200px); grid-template-columns: 1fr; }
  .lvn-sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .lvn-hour-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .lvn-post-grid--home { grid-template-columns: repeat(3, 1fr); }
  .lvn-footer__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .lvn-hero__grid, .lvn-layout { width: min(100% - 24px, 1200px); }
  .lvn-lunar-summary, .lvn-mini-grid, .lvn-lunar-info, .lvn-duo, .lvn-sidebar, .lvn-footer__grid, .lvn-related-days { grid-template-columns: 1fr; }
  .lvn-hour-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lvn-post-grid--home { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .lvn-hour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lvn-post-grid--home { grid-template-columns: 1fr; }
}

/* Production UI hardening */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; }
body {
  overflow-x: hidden;
  background: #fffaf2;
  color: #2b1a1a;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
img, svg, video, canvas {
  max-width: 100%;
  height: auto;
  display: block;
}
input, select, textarea, button {
  font: inherit;
}
.lvn-container,
.lvn-header__inner,
.lvn-footer__grid,
.lvn-footer__bottom {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}
.lvn-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: radial-gradient(circle at 22% 0, rgba(242,196,91,.12), transparent 30%), linear-gradient(180deg, #8b0000 0%, #750000 100%);
  border-bottom: 1px solid rgba(242,196,91,.2);
}
.lvn-header__inner {
  min-height: 100px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.lvn-brand {
  flex: 0 0 auto;
  min-width: 204px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.lvn-brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.lvn-brand strong {
  color: #f2c45b;
  font-size: 23px;
  line-height: 1;
  letter-spacing: 0;
}
.lvn-brand small {
  color: #fff8e7;
  white-space: nowrap;
  font-size: 12px;
}
.lvn-nav {
  flex: 1 1 auto;
  min-width: 0;
}
.lvn-nav__list {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(6px, .72vw, 12px);
  flex-wrap: nowrap;
}
.lvn-nav__list a {
  color: #fff;
  white-space: nowrap;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
}
.lvn-nav__list a:hover,
.lvn-nav__list .current-menu-item > a {
  color: #f2c45b;
}
.lvn-header__tools {
  flex: 0 0 auto;
  margin-left: auto;
  display: flex;
  align-items: center;
}
.lvn-search {
  flex: 0 0 210px;
  width: 210px;
  max-width: 210px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 8px;
  overflow: hidden;
}
.lvn-search input {
  min-width: 0;
  color: #fff;
  background: transparent;
}
.lvn-search input::placeholder { color: rgba(255,255,255,.78); }
.lvn-search button {
  min-width: 42px;
  color: #ffe2a1;
  background: transparent;
}
.lvn-menu-toggle { display: none; }
.lvn-icon-btn, .lvn-notify, .lvn-avatar { display: none; }

.lvn-card,
.lvn-side-card,
.lvn-quick-card,
.lvn-day-panel,
.lvn-hero__content,
.lvn-related-days,
.lvn-do-card,
.lvn-ink-panel,
.lvn-calendar-shell,
.lvn-tool-layout > main,
.lvn-tool-sidebar > section,
.lvn-article-card,
.lvn-post-card,
.lvn-auth-card,
.lvn-pricing article,
.lvn-year-hero {
  border: 1px solid #efd6b7;
  border-radius: 10px;
  background: #fffdf8;
  box-shadow: 0 10px 24px rgba(92, 30, 0, .05);
}
.lvn-card,
.lvn-side-card,
.lvn-quick-card,
.lvn-hero__content,
.lvn-ink-panel,
.lvn-calendar-shell,
.lvn-tool-layout > main,
.lvn-tool-sidebar > section {
  padding: 20px;
}
.lvn-card h1,
.lvn-card h2,
.lvn-side-card h2,
.lvn-tool-title h1,
.lvn-prose h2 {
  color: #b30000;
  letter-spacing: 0;
}
.lvn-layout,
.lvn-tool-layout {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
}
.lvn-sidebar,
.lvn-tool-sidebar {
  min-width: 0;
}
@media (min-width: 1181px) {
  .lvn-sidebar,
  .lvn-tool-sidebar {
    position: sticky;
    top: 116px;
    align-self: start;
  }
}
.lvn-tool-list a,
.lvn-tool-grid a,
.sidebar-tool-item,
.tool-item {
  width: 100%;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}
.lvn-tool-list b,
.lvn-tool-grid b,
.tool-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
}
.lvn-tool-list span,
.lvn-tool-grid span,
.lvn-tool-list small,
.lvn-tool-grid small,
.tool-content,
.tool-content p {
  min-width: 0;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  line-height: 1.45;
}
.lvn-do-card--good { background: linear-gradient(180deg, #f4fff3, #fbfffa); border-color: #cfe9ca; }
.lvn-do-card--bad { background: linear-gradient(180deg, #fff3f3, #fffafa); border-color: #f0caca; }
.lvn-hour-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
}
.lvn-hour {
  min-width: 0;
  overflow: hidden;
  text-align: center;
}
.lvn-hour strong,
.lvn-hour span,
.lvn-hour small,
.lvn-hour b {
  display: block;
  overflow-wrap: anywhere;
}
.lvn-button,
.lvn-card button,
.lvn-quick-card button,
.lvn-form-grid button,
.lvn-auth-card button,
.lvn-search-page button,
.lvn-cta a,
.lvn-related-days a,
.lvn-post-card a[href],
.lvn-soft-btn {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.lvn-card button,
.lvn-quick-card button,
.lvn-form-grid button,
.lvn-auth-card button,
.lvn-search-page button {
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #c40000, #8b0000);
  font-weight: 700;
}
.lvn-quick-card button,
.lvn-cta a {
  color: #5b1600;
  background: linear-gradient(135deg, #ffe49a, #d4a017);
}
.lvn-card button:hover,
.lvn-quick-card button:hover,
.lvn-form-grid button:hover,
.lvn-auth-card button:hover,
.lvn-cta a:hover,
.lvn-related-days a:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(139,0,0,.16);
}
.lvn-post-card img,
.lvn-card-image,
.lvn-article-image,
.lvn-article-thumb,
.lvn-article-hero-image,
.lvn-thumb-fallback {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}
.lvn-footer {
  overflow: hidden;
  background: radial-gradient(circle at 18% 0, rgba(242,196,91,.12), transparent 32%), linear-gradient(180deg, #850000, #690000);
}
.lvn-footer__grid {
  display: grid;
  grid-template-columns: 1.25fr .8fr .8fr .9fr 1.25fr;
  gap: 28px;
  padding: 34px 0 24px;
}
.lvn-footer a,
.lvn-footer p,
.lvn-footer span {
  color: rgba(255,255,255,.88);
}
.lvn-footer h2,
.lvn-footer h3,
.lvn-footer strong {
  color: #f2c45b;
}
.lvn-footer input {
  width: 100%;
  min-width: 0;
}

@media (max-width: 1180px) {
  .lvn-header__inner {
    min-height: 78px;
    flex-wrap: wrap;
    padding: 10px 0;
  }
  .lvn-brand { min-width: 220px; }
  .lvn-nav {
    order: 3;
    flex-basis: 100%;
  }
  .lvn-nav__list {
    justify-content: center;
    gap: 16px;
  }
  .lvn-search {
    flex-basis: 220px;
    width: 220px;
  }
  .lvn-layout,
  .lvn-tool-layout {
    width: min(1200px, calc(100% - 32px));
    grid-template-columns: 1fr;
  }
  .lvn-sidebar,
  .lvn-tool-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .lvn-hour-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .lvn-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .lvn-container,
  .lvn-header__inner,
  .lvn-layout,
  .lvn-tool-layout,
  .lvn-footer__grid,
  .lvn-footer__bottom {
    width: min(100% - 24px, 1200px);
  }
  .lvn-brand strong { font-size: 21px; }
  .lvn-search {
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
  }
  .lvn-nav {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(84vw, 320px);
    background: #7b0000;
    transform: translateX(-105%);
    transition: transform .25s ease;
    z-index: 120;
    padding-top: 72px;
  }
  .lvn-nav.is-open,
  .is-menu-open .lvn-nav {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }
  .lvn-menu-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 8px;
    background: rgba(255,255,255,.08);
  }
  .lvn-menu-toggle span {
    width: 20px;
    height: 2px;
    background: #fff;
  }
  .lvn-nav__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 14px;
  }
  .lvn-nav__list a {
    display: block;
    padding: 14px 10px;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .lvn-sidebar,
  .lvn-tool-sidebar,
  .lvn-footer__grid {
    grid-template-columns: 1fr;
  }
  .lvn-hour-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lvn-related-days,
  .lvn-post-grid--home,
  .lvn-lunar-info,
  .lvn-duo,
  .lvn-feature-strip,
  .lvn-info-strip,
  .lvn-tool-grid,
  .lvn-form-grid,
  .lvn-score-cards,
  .lvn-analysis-grid,
  .lvn-rank-cards,
  .lvn-month-cards,
  .lvn-blog-grid,
  .lvn-year-hero,
  .lvn-matrix,
  .lvn-horoscope-grid,
  .lvn-pricing,
  .lvn-auth-wrap {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  body { font-size: 14px; }
  .lvn-header__inner { gap: 10px; }
  .lvn-brand {
    min-width: 0;
    flex: 1 1 auto;
  }
  .lvn-brand img {
    width: 46px;
    height: 46px;
  }
  .lvn-brand small {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .lvn-card,
  .lvn-side-card,
  .lvn-quick-card,
  .lvn-hero__content,
  .lvn-ink-panel,
  .lvn-calendar-shell {
    padding: 16px;
  }
  .lvn-hour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lvn-footer { padding-bottom: 66px; }
}

/* Product ecosystem: article, CTA, dashboard, AI */
.lvn-article-page {
  padding-top: 24px;
  padding-bottom: 40px;
}
.lvn-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}
.lvn-article-main,
.lvn-toc,
.lvn-inline-cta {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fffdf8;
  box-shadow: 0 12px 30px rgba(88, 24, 0, .06);
}
.lvn-article-main {
  padding: 22px;
}
.lvn-article-hero h1 {
  margin: 8px 0 10px;
  color: var(--primary-red);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
}
.lvn-article-badge {
  display: inline-flex;
  margin: 0 8px 8px 0;
  padding: 6px 10px;
  border-radius: 999px;
  color: #7a0000;
  background: #fff2da;
  border: 1px solid #efd6b7;
  font-weight: 700;
  font-size: 12px;
}
.lvn-article-meta,
.lvn-share-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.lvn-article-meta button,
.lvn-share-row a,
.lvn-inline-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #c40000, #8b0000);
  font-weight: 700;
  text-decoration: none;
}
.lvn-article-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 18px;
}
.lvn-toc {
  padding: 16px;
  margin: 20px 0;
}
.lvn-toc h2 {
  margin-top: 0;
  color: var(--primary-red);
}
.lvn-toc a {
  display: block;
  padding: 8px 0;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid #f3dfc9;
}
.lvn-toc .is-level-3 {
  padding-left: 18px;
  font-size: 14px;
}
.lvn-content {
  line-height: 1.78;
  color: var(--text);
}
.lvn-content h2,
.lvn-content h3 {
  color: var(--primary-red);
  scroll-margin-top: 110px;
}
.lvn-inline-cta {
  margin: 24px 0;
  padding: 20px;
  background: linear-gradient(135deg, #fff8ea, #fffdf8);
}
.lvn-inline-cta h2 {
  margin-top: 0;
  color: var(--primary-red);
}
.lvn-inline-cta a + a {
  margin-left: 8px;
  color: #5b1600;
  background: linear-gradient(135deg, #ffe49a, #d4a017);
}
.lvn-article-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 16px;
}
.lvn-cta form {
  display: grid;
  gap: 10px;
}
.lvn-cta input {
  min-height: 42px;
  border: 1px solid #efd6b7;
  border-radius: 8px;
  padding: 0 12px;
}
.lvn-cta form::after {
  content: attr(data-message);
  color: #ffe49a;
  font-size: 13px;
}
.lvn-chat-stream {
  display: grid;
  gap: 12px;
  margin: 14px 0;
}
.lvn-chat-line.is-typing {
  opacity: .75;
}
.lvn-chat form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}
.lvn-chat input {
  min-height: 46px;
  border: 1px solid #efd6b7;
  border-radius: 8px;
  padding: 0 14px;
}
.lvn-chat button[disabled],
.lvn-article-meta button[disabled] {
  opacity: .75;
  cursor: progress;
}
.lvn-back-top {
  position: fixed;
  right: 18px;
  bottom: 86px;
  z-index: 130;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #c40000, #8b0000);
  box-shadow: 0 12px 28px rgba(139,0,0,.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: .2s ease;
}
.lvn-back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.lvn-newsletter-popup {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 140;
  width: min(360px, calc(100vw - 36px));
  padding: 18px;
  border: 1px solid rgba(242,196,91,.45);
  border-radius: 12px;
  color: #fff;
  background: radial-gradient(circle at 100% 0, rgba(242,196,91,.24), transparent 42%), linear-gradient(135deg, #9c0000, #670000);
  box-shadow: 0 20px 50px rgba(80,0,0,.32);
}
.lvn-newsletter-popup > button {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 22px;
}
.lvn-newsletter-popup h2 {
  margin: 0 28px 8px 0;
  color: #ffe49a;
}
.lvn-newsletter-popup form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.lvn-newsletter-popup input {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
}
.lvn-newsletter-popup form::after {
  content: attr(data-message);
  grid-column: 1 / -1;
  color: #ffe49a;
  font-size: 13px;
}

@media (max-width: 960px) {
  .lvn-article-layout {
    grid-template-columns: 1fr;
  }
  .lvn-article-sidebar {
    position: static;
  }
}

@media (max-width: 520px) {
  .lvn-article-main {
    padding: 16px;
  }
  .lvn-chat form {
    grid-template-columns: 1fr;
  }
  .lvn-inline-cta a {
    width: 100%;
    margin: 8px 0 0;
  }
  .lvn-newsletter-popup {
    left: 12px;
    right: 12px;
    bottom: 76px;
    width: auto;
  }
.lvn-newsletter-popup form {
  grid-template-columns: 1fr;
  }
}

.lvn-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -4px 0 16px;
  font-size: 13px;
}

.lvn-auth-row label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}

.lvn-link-button {
  width: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #b30000;
  box-shadow: none;
  cursor: pointer;
}

.lvn-link-button:hover {
  color: #7a0000;
  text-decoration: underline;
  transform: none;
  box-shadow: none;
}
.lvn-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  max-width: min(360px, calc(100vw - 32px));
  padding: 13px 16px;
  color: #fff;
  background: linear-gradient(135deg, #2f8f3a, #17652b);
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(0,0,0,.2);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.lvn-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.lvn-toast.is-error {
  background: linear-gradient(135deg, #d92929, #8b0000);
}

.lvn-form-message,
.lvn-newsletter::after,
.lvn-form-grid::after {
  display: block;
  min-height: 18px;
  margin: 8px 0 0;
  color: #2f8f3a;
  font-size: 13px;
  line-height: 1.4;
}

.lvn-newsletter::after {
  content: attr(data-message);
  color: #ffd97a;
}

.lvn-form-grid::after {
  content: attr(data-message);
  grid-column: 1 / -1;
}

.has-error .lvn-form-message,
.lvn-newsletter.has-error::after,
.lvn-form-grid.has-error::after {
  color: #d92929;
}

.lvn-forgot-panel[hidden] {
  display: none;
}

/* Homepage demo parity --------------------------------------------------- */
* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color: #2b1a1a;
  background: #fffdf8;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.lvn-container {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

.lvn-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 100px;
  background:
    radial-gradient(circle at 72% 0, rgba(212,160,23,.16), transparent 28%),
    linear-gradient(180deg, #9c0000 0%, #7a0000 100%);
  box-shadow: 0 2px 0 rgba(255,255,255,.08), 0 12px 28px rgba(90,0,0,.16);
}

.lvn-header__inner {
  width: min(1200px, calc(100% - 40px));
  min-height: 100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 260px;
  align-items: center;
  gap: 22px;
}

.lvn-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #fff;
  text-decoration: none;
}

.lvn-brand img,
.lvn-brand .custom-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex: 0 0 54px;
}

.lvn-brand strong {
  display: block;
  color: #f6d56d;
  font-size: 25px;
  line-height: 1.05;
  letter-spacing: 0;
  white-space: nowrap;
}

.lvn-brand small {
  display: block;
  margin-top: 4px;
  color: #fff7df;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.lvn-nav {
  min-width: 0;
}

.lvn-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: nowrap;
}

.lvn-nav__list > li {
  position: relative;
  flex: 0 0 auto;
}

.home .lvn-nav__list > li.is-home-optional-link {
  display: none;
}

.lvn-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}

.lvn-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 3px;
  border-radius: 99px;
  background: #d4a017;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.lvn-nav a:hover,
.lvn-nav li.current-menu-item > a,
.home .lvn-nav__list > li:first-child > a {
  color: #ffd772;
}

.lvn-nav a:hover::after,
.home .lvn-nav__list > li:first-child > a::after {
  transform: scaleX(1);
}

.lvn-mega {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 210px;
  padding: 10px;
  border: 1px solid rgba(240,216,192,.35);
  border-radius: 10px;
  background: #fffdf8;
  box-shadow: 0 18px 40px rgba(80,0,0,.18);
  transform: translate(-50%, 10px);
  opacity: 0;
  pointer-events: none;
}

.lvn-nav li:hover .lvn-mega {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.lvn-mega a {
  display: block;
  min-height: 0;
  padding: 9px 10px;
  color: #7a0000;
  text-transform: none;
}

.lvn-mega a::after {
  display: none;
}

.lvn-header__tools {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.lvn-search {
  position: relative;
  width: 260px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  overflow: visible;
}

.lvn-search input {
  width: 100%;
  min-height: 42px;
  border: 0;
  padding: 0 0 0 16px;
  color: #fff;
  background: transparent;
  outline: 0;
}

.lvn-search input::placeholder {
  color: rgba(255,255,255,.86);
}

.lvn-search button {
  width: 38px;
  height: 42px;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

.lvn-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 20;
  display: none;
  padding: 8px;
  border: 1px solid #f0d8c0;
  border-radius: 10px;
  background: #fffdf8;
  box-shadow: 0 18px 40px rgba(80,0,0,.18);
}

.lvn-search-results.is-open {
  display: grid;
  gap: 4px;
}

.lvn-search-results a {
  color: #2b1a1a;
  padding: 8px;
  border-radius: 7px;
  text-decoration: none;
}

.lvn-menu-toggle {
  display: none;
}

.lvn-home {
  background: #fffdf8;
}

.lvn-home-top {
  padding: 24px 0 20px;
  background: linear-gradient(180deg, #fffdf8 0%, #fffaf2 100%);
}

.lvn-home-hero {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: stretch;
}

.lvn-home-date-card,
.lvn-home-summary,
.lvn-home-widget,
.lvn-home-card {
  border: 1px solid #f0d8c0;
  border-radius: 10px;
  background: #fffdf8;
  box-shadow: 0 10px 28px rgba(139,0,0,.05);
}

.lvn-home-date-card {
  position: relative;
  min-height: 492px;
  padding: 0 18px 26px;
  overflow: hidden;
  text-align: center;
}

.lvn-home-date-card__weekday {
  margin: 0 -18px 22px;
  padding: 17px 10px;
  color: #fff;
  background: linear-gradient(135deg, #c40000, #8b0000);
  font-weight: 800;
  text-transform: uppercase;
}

.lvn-home-date-card__day {
  color: #c40000;
  font-size: 118px;
  font-weight: 800;
  line-height: .85;
  letter-spacing: 0;
}

.lvn-home-date-card__month {
  margin-top: 18px;
  color: #2b1a1a;
  font-size: 22px;
  font-weight: 800;
}

.lvn-home-date-card__today {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 132px;
  min-height: 40px;
  margin-top: 22px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #d71919, #a50000);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(196,0,0,.18);
}

.lvn-home-date-card__mountain {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 128px;
  background: url("../images/backgrounds/ink-mountain.svg") center bottom / cover no-repeat;
  opacity: .22;
}

.lvn-home-summary {
  position: relative;
  min-height: 492px;
  padding: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 16px;
}

.lvn-home-summary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 86% 18%, rgba(196,0,0,.08), transparent 19%);
  pointer-events: none;
}

.lvn-home-summary__text {
  position: relative;
  z-index: 1;
}

.lvn-home-summary h1 {
  margin: 0 0 12px;
  color: #8b0000;
  font-size: 22px;
  line-height: 1.25;
  text-align: left;
}

.lvn-home-summary p {
  margin: 0 0 15px;
  font-size: 15px;
  line-height: 1.65;
}

.lvn-home-facts {
  display: grid;
  gap: 14px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}

.lvn-home-facts li {
  position: relative;
  padding-left: 30px;
}

.lvn-home-facts li::before {
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.lvn-home-facts .is-good::before { content: "✓"; background: #2f8f3a; }
.lvn-home-facts .is-star::before { content: "★"; background: #f6ae21; }
.lvn-home-facts .is-bad::before { content: "×"; background: #d92929; }

.lvn-home-facts .is-good b { color: #2f8f3a; }
.lvn-home-facts .is-star b { color: #db8500; }
.lvn-home-facts .is-bad b { color: #d92929; }

.lvn-home-do-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 320px;
}

.lvn-home-do {
  padding: 13px 14px;
  border: 1px solid #dbeccd;
  border-radius: 8px;
  background: #f3fbef;
}

.lvn-home-do.is-bad {
  border-color: #ffd1d1;
  background: #fff2f2;
}

.lvn-home-do h2 {
  margin: 0 0 8px;
  color: #2f8f3a;
  font-size: 15px;
}

.lvn-home-do.is-bad h2 {
  color: #d92929;
}

.lvn-home-do p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.lvn-home-summary__art {
  align-self: stretch;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

.lvn-home-side {
  display: grid;
  gap: 18px;
  align-content: start;
}

.lvn-home-widget {
  padding: 18px;
}

.lvn-home-widget h2,
.lvn-home-card h2 {
  margin: 0 0 16px;
  color: #2b1a1a;
  font-size: 21px;
  line-height: 1.25;
}

.lvn-home-tool-list {
  display: grid;
  gap: 13px;
}

.lvn-home-tool {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #2b1a1a;
  text-decoration: none;
}

.lvn-home-tool__icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.lvn-home-tool span {
  flex: 1;
  min-width: 0;
}

.lvn-home-tool b {
  display: block;
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.3;
}

.lvn-home-tool small {
  display: block;
  color: #665454;
  font-size: 13px;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

.lvn-home-cta {
  position: relative;
  min-height: 168px;
  padding: 22px 150px 22px 18px;
  border-radius: 10px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 100% 50%, rgba(212,160,23,.25), transparent 36%),
    linear-gradient(135deg, #a60000, #710000);
  box-shadow: 0 12px 28px rgba(100,0,0,.16);
}

.lvn-home-cta img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 150px;
  height: 132px;
  object-fit: contain;
}

.lvn-home-cta h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 22px;
}

.lvn-home-cta p {
  margin: 0 0 16px;
  line-height: 1.45;
}

.lvn-home-cta a {
  display: inline-flex;
  min-width: 112px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #7a0000;
  background: linear-gradient(135deg, #ffe5a0, #d4a017);
  font-weight: 800;
  text-decoration: none;
}

.lvn-home-actions {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 6px;
  margin-top: 0;
  margin-bottom: 18px;
}

.lvn-home-actions a {
  min-height: 88px;
  padding: 12px 8px;
  border: 1px solid #f0d8c0;
  border-radius: 8px;
  color: #2b1a1a;
  background: #fffdf8;
  text-align: center;
  text-decoration: none;
  display: grid;
  place-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(139,0,0,.04);
  transition: transform .2s ease, box-shadow .2s ease;
}

.lvn-home-actions a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(139,0,0,.1);
}

.lvn-home-actions img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.lvn-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.lvn-home-main,
.lvn-home-news {
  min-width: 0;
}

.lvn-home-card {
  padding: 18px;
}

.lvn-home-section-head h2 {
  margin: 0 0 18px;
  font-size: 22px;
}

.lvn-home-section-head span {
  color: #2b1a1a;
  font-size: 16px;
  font-weight: 500;
}

.lvn-home-calendar__nav {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 110px;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.lvn-home-calendar__nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f0d8c0;
  border-radius: 8px;
  color: #2b1a1a;
  background: #fff;
  text-decoration: none;
}

.lvn-home-calendar__nav strong {
  color: #c40000;
  font-size: 21px;
  text-align: center;
}

.lvn-home-calendar__week,
.lvn-home-calendar__cells {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.lvn-home-calendar__week {
  border-bottom: 1px solid #f0d8c0;
}

.lvn-home-calendar__week b {
  padding: 10px 8px;
  color: #2b1a1a;
  font-size: 14px;
  text-align: center;
}

.lvn-home-calendar__week b:last-child {
  color: #c40000;
}

.lvn-home-calendar__cells {
  border-top: 1px solid #eee2d4;
  border-left: 1px solid #eee2d4;
}

.lvn-home-calendar__cell {
  position: relative;
  min-height: 80px;
  padding: 12px 12px 8px;
  border-right: 1px solid #eee2d4;
  border-bottom: 1px solid #eee2d4;
  color: #2b1a1a;
  background: #fff;
  text-decoration: none;
}

.lvn-home-calendar__cell span {
  display: block;
  font-size: 20px;
  font-weight: 700;
}

.lvn-home-calendar__cell small {
  position: absolute;
  right: 12px;
  bottom: 9px;
  color: #697386;
  font-size: 13px;
}

.lvn-home-calendar__cell.is-muted span,
.lvn-home-calendar__cell.is-muted small {
  color: #a7a7a7;
}

.lvn-home-calendar__cell.is-good span {
  color: #16802d;
}

.lvn-home-calendar__cell.is-bad span {
  color: #c40000;
}

.lvn-home-calendar__cell.is-today {
  background: #fff6cf;
}

.lvn-home-calendar__cell.is-today span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #c40000;
}

.lvn-home-calendar__legend {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: 14px;
}

.lvn-home-calendar__legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lvn-home-calendar__legend i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
  background: #2f8f3a;
}

.lvn-home-calendar__legend i.bad { background: #c40000; transform: rotate(45deg); border-radius: 2px; }
.lvn-home-calendar__legend i.today { background: #f6ae21; }
.lvn-home-calendar__legend i.holiday { background: #f6ae21; transform: rotate(45deg); border-radius: 2px; }

.lvn-home-calendar__legend a,
.lvn-home-more {
  margin-left: auto;
  color: #2b1a1a;
  text-decoration: none;
}

.lvn-home-post-list {
  display: grid;
  gap: 14px;
}

.lvn-home-post {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: #2b1a1a;
  text-decoration: none;
}

.lvn-home-post__image {
  width: 104px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  background: #fff8ef;
}

.lvn-home-post b {
  display: block;
  font-size: 14px;
  line-height: 1.42;
}

.lvn-home-post time {
  display: block;
  margin-top: 5px;
  color: #7c6c6c;
  font-size: 12px;
}

.lvn-home-news .lvn-home-more {
  display: block;
  margin-top: 18px;
  text-align: right;
}

.lvn-home-bottom {
  display: grid;
  grid-template-columns: 1fr .8fr .9fr;
  gap: 16px;
  margin-top: 18px;
  margin-bottom: 28px;
}

.lvn-home-convert,
.lvn-home-age {
  display: grid;
  gap: 12px;
}

.lvn-home-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.lvn-home-tabs button {
  min-height: 38px;
  border: 1px solid #f0d8c0;
  color: #2b1a1a;
  background: #fff;
  cursor: pointer;
}

.lvn-home-tabs button:first-child {
  border-radius: 8px 0 0 8px;
}

.lvn-home-tabs button:last-child {
  border-radius: 0 8px 8px 0;
}

.lvn-home-tabs .is-active {
  border-color: #c40000;
  color: #fff;
  background: linear-gradient(135deg, #c40000, #8b0000);
}

.lvn-home-convert label,
.lvn-home-age label {
  display: grid;
  gap: 7px;
  color: #665454;
  font-size: 13px;
}

.lvn-home-convert input,
.lvn-home-age input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #f0d8c0;
  border-radius: 8px;
  padding: 0 12px;
  color: #2b1a1a;
  background: #fff;
}

.lvn-home-convert button[type="submit"],
.lvn-home-age button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #c40000, #8b0000);
  font-weight: 800;
  cursor: pointer;
}

.lvn-home-age {
  grid-template-columns: minmax(0, 1fr) 112px;
  align-items: end;
}

.lvn-home-result {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #f0d8c0;
  border-radius: 8px;
  background: #fffaf2;
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.lvn-home-result strong {
  color: #7a0000;
}

.lvn-home-good-list {
  display: grid;
  gap: 12px;
}

.lvn-home-good-list a {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: #2b1a1a;
  text-decoration: none;
}

.lvn-home-good-list b {
  min-height: 58px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #16802d;
  background: #eaf8e3;
  font-size: 24px;
}

.lvn-home-good-list b small {
  margin-top: -14px;
  color: #16802d;
  font-size: 12px;
  font-weight: 600;
}

.lvn-home-good-list span {
  display: grid;
  gap: 4px;
  font-size: 14px;
  line-height: 1.35;
}

.lvn-home-good-list span small {
  color: #665454;
  font-size: 13px;
}

.lvn-home-zodiac {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 27px;
}

.lvn-home-zodiac em {
  width: 1px;
  height: 40px;
  background: #f0d8c0;
}

.lvn-footer {
  color: #fff;
  background:
    radial-gradient(circle at 70% 0, rgba(212,160,23,.1), transparent 30%),
    linear-gradient(180deg, #8b0000, #650000);
}

.lvn-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr .7fr .85fr .9fr 1.25fr;
  gap: 42px;
  padding: 30px 0 24px;
}

.lvn-footer h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
}

.lvn-footer p,
.lvn-footer a,
.lvn-footer small {
  color: rgba(255,255,255,.9);
  line-height: 1.55;
}

.lvn-footer a {
  display: block;
  margin: 0 0 8px;
  text-decoration: none;
}

.lvn-brand--footer strong {
  color: #f6d56d;
}

.lvn-socials {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.lvn-socials a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0;
  color: #fff;
  background: rgba(255,255,255,.16);
  font-size: 12px;
}

.lvn-newsletter {
  display: grid;
  gap: 10px;
}

.lvn-newsletter input {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  padding: 0 13px;
}

.lvn-newsletter button {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, #df1919, #b50000);
  font-weight: 800;
}

.lvn-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0 18px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.85);
  font-size: 13px;
}

.lvn-footer__bottom a {
  display: inline;
  margin: 0;
}

@media (max-width: 1180px) {
  .lvn-header__inner {
    grid-template-columns: auto minmax(0, 1fr) 220px;
    gap: 14px;
  }
  .lvn-nav__list {
    gap: 12px;
  }
  .lvn-nav a {
    font-size: 12px;
  }
  .lvn-search {
    width: 220px;
  }
  .lvn-home-hero {
    grid-template-columns: 210px minmax(0, 1fr) 290px;
    gap: 14px;
  }
  .lvn-home-summary {
    grid-template-columns: 1fr;
  }
  .lvn-home-summary__art {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 42%;
    min-height: 260px;
    opacity: .45;
  }
}

@media (max-width: 1024px) {
  .lvn-header__inner {
    display: flex;
    justify-content: space-between;
  }
  .lvn-menu-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.08);
  }
  .lvn-menu-toggle span {
    width: 22px;
    height: 2px;
    display: block;
    margin: 2px 0;
    background: #fff;
  }
  .lvn-nav {
    position: fixed;
    top: 100px;
    right: 0;
    bottom: 0;
    width: min(320px, 86vw);
    padding: 18px;
    background: #7a0000;
    box-shadow: -18px 0 36px rgba(0,0,0,.18);
    transform: translateX(100%);
    transition: transform .24s ease;
  }
  .is-menu-open .lvn-nav {
    transform: translateX(0);
  }
  .lvn-nav__list {
    display: grid;
    justify-content: stretch;
    gap: 6px;
  }
  .lvn-nav a {
    min-height: 42px;
  }
  .lvn-mega {
    position: static;
    display: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .lvn-nav li:hover .lvn-mega {
    display: grid;
    transform: none;
  }
  .lvn-home-hero,
  .lvn-home-grid,
  .lvn-home-bottom {
    grid-template-columns: 1fr;
  }
  .lvn-home-date-card {
    min-height: 360px;
  }
  .lvn-home-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .lvn-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .lvn-container,
  .lvn-header__inner {
    width: min(100% - 24px, 1200px);
  }
  .lvn-header {
    min-height: 82px;
  }
  .lvn-header__inner {
    min-height: 82px;
  }
  .lvn-nav {
    top: 82px;
  }
  .lvn-brand img,
  .lvn-brand .custom-logo {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }
  .lvn-brand strong {
    font-size: 20px;
  }
  .lvn-brand small {
    font-size: 11px;
  }
  .lvn-search {
    display: none;
  }
  .lvn-home-top {
    padding-top: 14px;
  }
  .lvn-home-summary {
    padding: 18px;
  }
  .lvn-home-summary h1 {
    font-size: 20px;
  }
  .lvn-home-summary__art {
    display: none;
  }
  .lvn-home-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lvn-home-calendar__nav {
    grid-template-columns: 1fr;
  }
  .lvn-home-calendar__cell {
    min-height: 58px;
    padding: 8px;
  }
  .lvn-home-calendar__cell span {
    font-size: 16px;
  }
  .lvn-home-calendar__cell small {
    right: 8px;
    bottom: 6px;
    font-size: 11px;
  }
  .lvn-home-calendar__week b {
    padding: 8px 2px;
    font-size: 12px;
  }
  .lvn-home-calendar__legend {
    gap: 12px;
  }
  .lvn-home-calendar__legend a,
  .lvn-home-more {
    width: 100%;
    margin-left: 0;
  }
  .lvn-home-age {
    grid-template-columns: 1fr;
  }
  .lvn-home-post {
    grid-template-columns: 88px minmax(0, 1fr);
  }
  .lvn-home-post__image {
    width: 88px;
    height: 64px;
  }
  .lvn-footer__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .lvn-footer__bottom {
    display: grid;
  }
}

@media (max-width: 420px) {
  .lvn-home-date-card__day {
    font-size: 96px;
  }
  .lvn-home-widget,
  .lvn-home-card {
    padding: 14px;
  }
}

/* Day detail demo parity ------------------------------------------------- */
.lvn-detail-demo {
  padding: 0 0 28px;
  background: #fffdf8;
}

.lvn-detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  color: #7c6660;
  font-size: 13px;
}

.lvn-detail-breadcrumb a {
  color: #4b3030;
  text-decoration: none;
}

.lvn-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) 340px;
  gap: 20px;
  align-items: start;
}

.lvn-detail-main,
.lvn-detail-sidebar {
  min-width: 0;
}

.lvn-detail-hero {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: stretch;
}

.lvn-detail-date-card,
.lvn-detail-lunar-card,
.lvn-detail-card,
.lvn-detail-side-card {
  border: 1px solid #f0d8c0;
  background: #fffdf8;
  box-shadow: 0 10px 24px rgba(139,0,0,.045);
}

.lvn-detail-date-card {
  min-height: 462px;
  border-radius: 10px 0 0 10px;
  overflow: hidden;
  text-align: center;
}

.lvn-detail-date-card__weekday {
  padding: 14px 10px;
  color: #fff;
  background: linear-gradient(135deg, #c40000, #8b0000);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
}

.lvn-detail-date-card__day {
  margin-top: 22px;
  color: #c40000;
  font-size: 112px;
  font-weight: 900;
  line-height: .82;
  letter-spacing: 0;
}

.lvn-detail-date-card__month {
  margin-top: 18px;
  color: #1f1717;
  font-size: 28px;
  line-height: 1;
}

.lvn-detail-dragon {
  width: 150px;
  height: 88px;
  object-fit: contain;
  margin: 22px auto 18px;
}

.lvn-detail-status {
  display: grid;
  gap: 10px;
  margin: 0 14px 14px;
  padding: 14px;
  border: 1px solid #f0d8c0;
  border-radius: 8px;
  text-align: left;
  background: #fffaf2;
}

.lvn-detail-status strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2b1a1a;
  font-size: 14px;
}

.lvn-detail-status strong span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #f6ae21;
}

.lvn-detail-status small {
  color: #2b1a1a;
  font-size: 14px;
  line-height: 1.35;
}

.lvn-detail-lunar-card {
  padding: 22px 12px 20px;
  border-left: 0;
  border-radius: 0 10px 10px 0;
}

.lvn-detail-lunar-card h1 {
  margin: 0 0 10px;
  color: #b30000;
  font-size: 22px;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

.lvn-detail-subtitle {
  margin: 0 0 20px;
  color: #2b1a1a;
  text-align: center;
  font-size: 14px;
}

.lvn-detail-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #f0d8c0;
  border-radius: 8px;
  overflow: hidden;
}

.lvn-detail-summary > div {
  min-height: 128px;
  padding: 18px 8px 12px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 7px;
  text-align: center;
  border-right: 1px solid #f0d8c0;
}

.lvn-detail-summary > div:last-child {
  border-right: 0;
}

.lvn-detail-round-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #b30000;
  background: #ffe6b5;
  font-size: 14px;
}

.lvn-detail-summary strong {
  color: #7a0000;
  font-size: 15px;
}

.lvn-detail-summary b {
  color: #1e1515;
  font-size: 17px;
}

.lvn-detail-summary small {
  color: #2b1a1a;
  font-size: 12px;
}

.lvn-detail-mini {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 14px;
  border: 1px solid #f0d8c0;
  border-radius: 8px;
  overflow: hidden;
  background: #fffaf2;
}

.lvn-detail-mini span {
  min-height: 58px;
  padding: 10px 8px;
  display: grid;
  gap: 5px;
  align-content: start;
  border-right: 1px solid #f0d8c0;
  text-align: center;
  font-size: 12px;
  line-height: 1.35;
}

.lvn-detail-mini span:last-child {
  border-right: 0;
}

.lvn-detail-mini b {
  color: #2b1a1a;
  font-size: 12px;
}

.lvn-detail-do-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.lvn-detail-do {
  min-height: 124px;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #dcefd4;
  background: #f3fbef;
}

.lvn-detail-do.is-bad {
  border-color: #ffd2d2;
  background: #fff2f2;
}

.lvn-detail-do h2 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 10px;
  color: #2f8f3a;
  font-size: 16px;
  text-transform: uppercase;
}

.lvn-detail-do.is-bad h2 {
  color: #d92929;
}

.lvn-detail-do h2 span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #2f8f3a;
}

.lvn-detail-do.is-bad h2 span {
  background: #d92929;
}

.lvn-detail-do p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.lvn-detail-card {
  margin-top: 16px;
  padding: 16px;
  border-radius: 10px;
}

.lvn-detail-card h2,
.lvn-detail-side-card h2 {
  margin: 0 0 14px;
  color: #c40000;
  font-size: 18px;
  line-height: 1.25;
  text-transform: uppercase;
}

.lvn-detail-hours {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #f0d8c0;
  border-radius: 8px;
  overflow: hidden;
}

.lvn-detail-hour {
  min-height: 106px;
  padding: 11px 4px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 7px;
  border-right: 1px solid #f0d8c0;
  text-align: center;
  background: #fff;
}

.lvn-detail-hour:last-child {
  border-right: 0;
}

.lvn-detail-hour strong {
  color: #1f1717;
  font-size: 13px;
}

.lvn-detail-hour small,
.lvn-detail-hour span {
  color: #2b1a1a;
  font-size: 11px;
  line-height: 1.25;
}

.lvn-detail-hour b {
  color: #1f1717;
  font-size: 13px;
}

.lvn-detail-hour.is-very-good {
  background: #f0faeb;
}

.lvn-detail-hour.is-very-good b {
  color: #16802d;
}

.lvn-detail-hour.is-bad b {
  color: #d92929;
}

.lvn-detail-prose p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.78;
}

.lvn-detail-prose p:last-child {
  margin-bottom: 0;
}

.lvn-detail-faq {
  border: 1px solid #f0d8c0;
  border-radius: 8px;
  overflow: hidden;
}

.lvn-detail-faq details {
  border-bottom: 1px solid #f0d8c0;
  background: #fff;
}

.lvn-detail-faq details:last-child {
  border-bottom: 0;
}

.lvn-detail-faq summary {
  position: relative;
  padding: 14px 42px 14px 16px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.lvn-detail-faq summary::-webkit-details-marker {
  display: none;
}

.lvn-detail-faq summary::after {
  content: "⌄";
  position: absolute;
  right: 16px;
  top: 13px;
}

.lvn-detail-faq details[open] summary::after {
  content: "⌃";
}

.lvn-detail-faq p {
  margin: 0;
  padding: 0 16px 14px;
  line-height: 1.65;
}

.lvn-detail-related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
  border: 1px solid #f0d8c0;
  border-radius: 10px;
  overflow: hidden;
  background: #fffdf8;
}

.lvn-detail-related article {
  min-height: 142px;
  padding: 18px 14px;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  border-right: 1px solid #f0d8c0;
}

.lvn-detail-related article:last-child {
  border-right: 0;
}

.lvn-detail-related .is-active {
  background: linear-gradient(180deg, #fff9e6, #fff2c9);
}

.lvn-detail-related span {
  color: #c40000;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.lvn-detail-related b {
  font-size: 14px;
}

.lvn-detail-related p {
  margin: 0;
  font-size: 13px;
}

.lvn-detail-related a {
  min-width: 96px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f0d8c0;
  border-radius: 6px;
  color: #2b1a1a;
  background: #fff;
  font-size: 13px;
  text-decoration: none;
}

.lvn-detail-related .is-active a {
  color: #fff;
  border-color: #c40000;
  background: #c40000;
}

.lvn-detail-posts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.lvn-detail-posts a {
  display: grid;
  gap: 8px;
  color: #2b1a1a;
  text-decoration: none;
}

.lvn-detail-post-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 7px;
  object-fit: cover;
  background: #fff8ef;
}

.lvn-detail-posts b {
  font-size: 13px;
  line-height: 1.38;
}

.lvn-detail-posts time {
  color: #705c5c;
  font-size: 12px;
}

.lvn-detail-sidebar {
  position: sticky;
  top: 116px;
  display: grid;
  gap: 14px;
}

.lvn-detail-quick {
  padding: 20px;
  border-radius: 10px;
  color: #fff;
  background:
    url("../images/eastern-pattern.svg") right top / 180px auto no-repeat,
    linear-gradient(135deg, #b30000, #7a0000);
  box-shadow: 0 12px 28px rgba(90,0,0,.16);
}

.lvn-detail-quick h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 20px;
  text-transform: uppercase;
}

.lvn-detail-quick form {
  display: grid;
  gap: 14px;
}

.lvn-detail-quick label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.lvn-detail-quick input {
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  padding: 0 12px;
  color: #2b1a1a;
  background: #fff;
}

.lvn-detail-quick button {
  min-height: 46px;
  border: 0;
  border-radius: 7px;
  color: #6e0000;
  background: linear-gradient(135deg, #ffe69d, #d4a017);
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.lvn-detail-side-card {
  padding: 16px;
  border-radius: 10px;
}

.lvn-detail-side-card dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 14px;
  margin: 0;
  font-size: 14px;
}

.lvn-detail-side-card dt {
  color: #4b3636;
}

.lvn-detail-side-card dd {
  margin: 0;
  color: #2b1a1a;
  font-weight: 600;
  text-align: right;
}

.lvn-detail-side-card h3 {
  margin: 10px 0 4px;
  color: #2f8f3a;
  font-size: 13px;
  text-transform: uppercase;
}

.lvn-detail-side-card h3 + p + h3 {
  color: #d92929;
}

.lvn-detail-side-card p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.55;
}

.lvn-detail-zodiac-box {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #ffd2d2;
  border-radius: 8px;
  background: #fff2f2;
  display: grid;
  gap: 8px;
  text-align: center;
}

.lvn-detail-zodiac-box.is-green {
  border-color: #dcefd4;
  background: #f3fbef;
}

.lvn-detail-zodiac-box b {
  color: #c40000;
}

.lvn-detail-zodiac-box.is-green b {
  color: #2f8f3a;
}

.lvn-detail-zodiac-box span {
  font-size: 27px;
  line-height: 1;
}

.lvn-detail-cta {
  position: relative;
  min-height: 160px;
  padding: 18px 146px 18px 18px;
  border-radius: 10px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #b30000, #730000);
}

.lvn-detail-cta img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 150px;
  height: 126px;
  object-fit: contain;
}

.lvn-detail-cta h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 20px;
  text-transform: uppercase;
}

.lvn-detail-cta p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.45;
}

.lvn-detail-cta a {
  min-width: 104px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #6e0000;
  background: linear-gradient(135deg, #ffe69d, #d4a017);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1120px) {
  .lvn-detail-layout {
    grid-template-columns: 1fr;
  }
  .lvn-detail-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lvn-detail-hours {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .lvn-detail-posts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .lvn-detail-hero {
    grid-template-columns: 1fr;
  }
  .lvn-detail-date-card,
  .lvn-detail-lunar-card {
    border-radius: 10px;
    border: 1px solid #f0d8c0;
  }
  .lvn-detail-lunar-card {
    margin-top: 14px;
  }
  .lvn-detail-summary,
  .lvn-detail-mini,
  .lvn-detail-do-row,
  .lvn-detail-related,
  .lvn-detail-sidebar {
    grid-template-columns: 1fr;
  }
  .lvn-detail-summary > div,
  .lvn-detail-mini span,
  .lvn-detail-related article {
    border-right: 0;
    border-bottom: 1px solid #f0d8c0;
  }
  .lvn-detail-summary > div:last-child,
  .lvn-detail-mini span:last-child,
  .lvn-detail-related article:last-child {
    border-bottom: 0;
  }
  .lvn-detail-hours {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lvn-detail-hour {
    border-right: 0;
    border-bottom: 1px solid #f0d8c0;
  }
  .lvn-detail-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  .lvn-detail-date-card__day {
    font-size: 94px;
  }
  .lvn-detail-posts {
    grid-template-columns: 1fr;
  }
  .lvn-detail-cta {
    padding-right: 18px;
  }
  .lvn-detail-cta img {
    opacity: .28;
  }
}

/* Good day page demo parity --------------------------------------------- */
.lvn-tool-page--good-day-filter {
  background: #fffdf8;
}

.lvn-tool-page--good-day-filter .lvn-container {
  width: min(1200px, calc(100% - 40px));
}

.lvn-tool-page--good-day-filter .lvn-breadcrumb--tool {
  margin: 12px 0 18px;
  gap: 9px;
  color: #5d4a43;
  font-size: 13px;
  line-height: 1.4;
}

.lvn-tool-page--good-day-filter .lvn-breadcrumb--tool a {
  color: #5d4a43;
  text-decoration: none;
}

.lvn-tool-page--good-day-filter .lvn-breadcrumb--tool a:hover {
  color: #b30000;
}

.lvn-tool-page--good-day-filter .lvn-page-head {
  display: none;
}

.lvn-good-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) 340px;
  gap: 18px;
  align-items: start;
}

.lvn-good-page-main,
.lvn-good-page-sidebar {
  min-width: 0;
}

.lvn-good-search-card,
.lvn-good-results-card,
.lvn-good-side-card {
  border: 1px solid #f0d8c0;
  border-radius: 10px;
  background: #fffdf8;
  box-shadow: 0 10px 24px rgba(139,0,0,.045);
}

.lvn-good-search-card {
  padding: 20px 18px 18px;
}

.lvn-good-search-card h2 {
  margin: 0 0 7px;
  color: #b30000;
  font-size: 28px;
  line-height: 1.1;
  text-transform: uppercase;
}

.lvn-good-search-card > p {
  margin: 0 0 18px;
  color: #4f3a3a;
  font-size: 14px;
}

.lvn-good-task-tabs {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  border: 1px solid #f0d8c0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.lvn-good-task-tabs a {
  min-height: 78px;
  padding: 12px 7px;
  display: grid;
  place-items: center;
  gap: 8px;
  border-right: 1px solid #f0d8c0;
  color: #2b1a1a;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.lvn-good-task-tabs a:last-child {
  border-right: 0;
}

.lvn-good-task-tabs a.is-active {
  color: #fff;
  background: linear-gradient(135deg, #c40000, #8b0000);
}

.lvn-good-task-tabs img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.lvn-good-filter-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 22px;
  margin-top: 18px;
  padding-top: 2px;
}

.lvn-good-filter-form h3 {
  grid-column: 1 / -1;
  margin: 0;
  color: #b30000;
  font-size: 18px;
  text-transform: uppercase;
}

.lvn-good-filter-form label {
  display: grid;
  gap: 8px;
  color: #2b1a1a;
  font-size: 13px;
}

.lvn-good-filter-form select,
.lvn-good-filter-form input {
  width: 100%;
  min-height: 40px;
  border: 1px solid #f0d8c0;
  border-radius: 6px;
  padding: 0 12px;
  color: #2b1a1a;
  background: #fff;
}

.lvn-good-filter-form button {
  grid-column: span 2;
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, #c40000, #8b0000);
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(196,0,0,.14);
}

.lvn-good-results-card {
  margin-top: 18px;
  padding: 18px;
}

.lvn-good-results-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.lvn-good-results-head h2 {
  margin: 0 0 6px;
  color: #b30000;
  font-size: 18px;
  line-height: 1.3;
  text-transform: uppercase;
}

.lvn-good-results-head p {
  margin: 0;
  font-size: 14px;
}

.lvn-good-results-head a {
  min-width: 112px;
  min-height: 34px;
  border: 1px solid #d94a4a;
  border-radius: 6px;
  color: #c40000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  text-decoration: none;
}

.lvn-good-list {
  display: grid;
  gap: 8px;
}

.lvn-good-demo-row {
  display: grid;
  grid-template-columns: 104px 150px minmax(0, 1fr) 92px 110px;
  align-items: stretch;
  border: 1px solid #f0d8c0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.lvn-good-demo-solar,
.lvn-good-demo-lunar {
  min-height: 120px;
  padding: 14px 10px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 7px;
  text-align: center;
  border-right: 1px solid #f0d8c0;
}

.lvn-good-demo-solar span,
.lvn-good-demo-lunar span {
  color: #8b0000;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.lvn-good-demo-solar b {
  color: #c40000;
  font-size: 34px;
  line-height: 1;
}

.lvn-good-demo-lunar b {
  color: #1f1717;
  font-size: 25px;
  line-height: 1;
}

.lvn-good-demo-solar small,
.lvn-good-demo-lunar small {
  color: #2b1a1a;
  font-size: 12px;
  line-height: 1.45;
}

.lvn-good-demo-meta {
  padding: 13px 16px;
  border-right: 1px solid #f0d8c0;
}

.lvn-good-demo-rating {
  min-width: 0;
  padding: 14px 8px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 5px;
  text-align: center;
  border-right: 1px solid #f0d8c0;
  background: linear-gradient(180deg, #fffdf8, #fbfff8);
}

.lvn-good-demo-rating b {
  color: #2f8f3a;
  font-size: 16px;
  line-height: 1.2;
}

.lvn-good-demo-rating span {
  color: #2f8f3a;
  font-size: 12px;
  line-height: 1.2;
}

.lvn-good-demo-meta strong {
  display: block;
  margin-bottom: 8px;
  color: #2f8f3a;
  font-size: 15px;
}

.lvn-good-demo-meta p {
  margin: 0 0 5px;
  color: #2b1a1a;
  font-size: 13px;
  line-height: 1.45;
}

.lvn-good-demo-action {
  padding: 14px 12px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
}

.lvn-good-demo-action a,
.lvn-good-demo-action button {
  min-height: 34px;
  border: 1px solid #e5b77b;
  border-radius: 6px;
  color: #b30000;
  background: #fffdf8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 13px;
}

.lvn-good-demo-action a {
  min-width: 86px;
}

.lvn-good-demo-action button {
  width: 34px;
  padding: 0;
  cursor: pointer;
}

.lvn-good-pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.lvn-good-pagination a,
.lvn-good-pagination button,
.lvn-good-pagination span,
.lvn-good-pagination strong {
  width: 30px;
  height: 30px;
  border: 1px solid #f0d8c0;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #2b1a1a;
  background: #fff;
  text-decoration: none;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}

.lvn-good-pagination span {
  cursor: default;
}

.lvn-good-pagination strong {
  color: #fff;
  border-color: #a60000;
  background: #a60000;
}

.lvn-empty-state {
  padding: 24px;
  border: 1px dashed #f0d8c0;
  border-radius: 8px;
  background: #fff8ef;
  text-align: center;
}

.lvn-empty-state h3 {
  margin: 0 0 8px;
  color: #8b0000;
}

.lvn-empty-state p {
  margin: 0;
  color: #6f5650;
}

.lvn-good-pagination span {
  color: #baa79e;
}

.lvn-good-page-sidebar {
  display: grid;
  gap: 18px;
}

.lvn-good-side-card {
  padding: 18px;
}

.lvn-good-side-card h2 {
  margin: 0 0 16px;
  color: #b30000;
  font-size: 18px;
  line-height: 1.25;
  text-transform: uppercase;
}

.lvn-good-guide {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lvn-good-guide li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 14px;
}

.lvn-good-guide b {
  width: 24px;
  height: 24px;
  border: 1px solid #c40000;
  border-radius: 50%;
  color: #c40000;
  display: grid;
  place-items: center;
  font-size: 13px;
}

.lvn-good-consult {
  position: relative;
  min-height: 192px;
  padding: 24px 150px 20px 18px;
  border-radius: 10px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #a60000, #710000);
  box-shadow: 0 12px 28px rgba(90,0,0,.16);
}

.lvn-good-consult img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 150px;
  height: 132px;
  object-fit: contain;
}

.lvn-good-consult h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 20px;
  line-height: 1.25;
  text-transform: uppercase;
}

.lvn-good-consult p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.55;
}

.lvn-good-consult a {
  min-width: 118px;
  min-height: 38px;
  border-radius: 7px;
  color: #7a0000;
  background: linear-gradient(135deg, #ffe69d, #d4a017);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  text-decoration: none;
}

.lvn-good-side-links {
  display: grid;
  gap: 14px;
}

.lvn-good-side-links a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  color: #2b1a1a;
  text-decoration: none;
}

.lvn-good-side-links img {
  width: 44px;
  height: 44px;
  padding: 8px;
  border-radius: 7px;
  border: 1px solid #f7d0c8;
  background: #fff7f3;
  object-fit: contain;
}

.lvn-good-side-links b {
  display: block;
  font-size: 14px;
  line-height: 1.35;
}

.lvn-good-side-links small {
  color: #6f5c5c;
  font-size: 12px;
}

.lvn-good-side-post {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: #2b1a1a;
  text-decoration: none;
}

.lvn-good-side-post + .lvn-good-side-post {
  margin-top: 14px;
}

.lvn-good-side-thumb {
  width: 84px;
  height: 62px;
  border-radius: 7px;
  object-fit: cover;
}

.lvn-good-side-post b {
  display: block;
  font-size: 14px;
  line-height: 1.4;
}

.lvn-good-side-post small {
  display: block;
  margin-top: 5px;
  color: #7c6868;
  font-size: 12px;
}

.lvn-tool-page--good-day-filter .lvn-feature-strip {
  margin-top: 28px;
  margin-bottom: 22px;
  padding: 0;
  border: 1px solid #f0d8c0;
  border-radius: 8px;
  background: #fffdf8;
  overflow: hidden;
  gap: 0;
}

.lvn-tool-page--good-day-filter .lvn-feature-strip article {
  position: relative;
  min-height: 86px;
  padding: 18px 18px 18px 74px;
  border: 0;
  border-right: 1px solid #f0d8c0;
  border-radius: 0;
  box-shadow: none;
}

.lvn-tool-page--good-day-filter .lvn-feature-strip article:last-child {
  border-right: 0;
}

.lvn-tool-page--good-day-filter .lvn-feature-strip article::before {
  content: "✓";
  position: absolute;
  left: 24px;
  top: 23px;
  width: 34px;
  height: 34px;
  border: 2px solid #c40000;
  border-radius: 50%;
  color: #c40000;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 800;
}

@media (max-width: 1120px) {
  .lvn-good-page-layout {
    grid-template-columns: 1fr;
  }
  .lvn-good-page-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .lvn-good-task-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .lvn-good-filter-form {
    grid-template-columns: 1fr 1fr;
  }
  .lvn-good-filter-form button {
    grid-column: 1 / -1;
  }
  .lvn-good-demo-row {
    grid-template-columns: 96px 126px minmax(0, 1fr) 86px;
  }
  .lvn-good-demo-action {
    grid-column: 1 / -1;
    grid-template-columns: auto auto;
    justify-content: end;
    border-top: 1px solid #f0d8c0;
  }
  .lvn-good-demo-meta {
    border-right: 0;
  }
  .lvn-good-demo-rating {
    border-right: 0;
  }
}

@media (max-width: 560px) {
  .lvn-good-task-tabs,
  .lvn-good-filter-form,
  .lvn-good-page-sidebar {
    grid-template-columns: 1fr;
  }
  .lvn-good-results-head {
    display: grid;
  }
  .lvn-good-results-head a {
    width: 100%;
  }
  .lvn-good-demo-row {
    grid-template-columns: 1fr;
  }
  .lvn-good-demo-solar,
  .lvn-good-demo-lunar,
  .lvn-good-demo-meta,
  .lvn-good-demo-rating {
    border-right: 0;
    border-bottom: 1px solid #f0d8c0;
  }
  .lvn-good-demo-action {
    grid-column: auto;
  }
  .lvn-good-consult {
    padding-right: 18px;
  }
  .lvn-good-consult img {
    opacity: .25;
  }
}

/* Day detail final demo lock
   Scoped to the dynamic day detail route so older shared styles cannot disturb
   the homepage, month calendar, or good-day pages. */
.lvn-detail-demo,
.lvn-detail-demo * {
  box-sizing: border-box;
}

.lvn-detail-demo {
  --detail-red: #8b0000;
  --detail-dark-red: #6e0000;
  --detail-bright-red: #c40000;
  --detail-gold: #d4a017;
  --detail-cream: #fff8ef;
  --detail-card: #fffdf8;
  --detail-border: #f0d8c0;
  --detail-text: #2b1a1a;
  background: linear-gradient(180deg, #fffdf8 0%, #fffaf2 100%);
  color: var(--detail-text);
  overflow-x: hidden;
  padding-bottom: 28px;
}

.lvn-detail-demo img {
  display: block;
  max-width: 100%;
  height: auto;
}

.lvn-detail-demo .lvn-container {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

.lvn-detail-demo .lvn-detail-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 42px;
  margin: 0;
  color: #6c5450;
  font-size: 13px;
  line-height: 1.4;
}

.lvn-detail-demo .lvn-detail-breadcrumb a {
  color: #4d3530;
  text-decoration: none;
}

.lvn-detail-demo .lvn-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) 340px;
  gap: 20px;
  align-items: start;
  margin-bottom: 20px;
}

.lvn-detail-demo .lvn-detail-main,
.lvn-detail-demo .lvn-detail-sidebar {
  min-width: 0;
}

.lvn-detail-demo .lvn-detail-main {
  display: grid;
  gap: 14px;
}

.lvn-detail-demo .lvn-detail-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 14px;
  width: 340px;
}

.lvn-detail-demo .lvn-detail-hero {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
}

.lvn-detail-demo .lvn-detail-date-card,
.lvn-detail-demo .lvn-detail-lunar-card,
.lvn-detail-demo .lvn-detail-card,
.lvn-detail-demo .lvn-detail-side-card {
  background: var(--detail-card);
  border: 1px solid var(--detail-border);
  box-shadow: 0 10px 24px rgba(139, 0, 0, .045);
}

.lvn-detail-demo .lvn-detail-date-card {
  min-height: 474px;
  border-radius: 10px 0 0 10px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.lvn-detail-demo .lvn-detail-weekday {
  min-height: 40px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #c40000, #8b0000);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .01em;
}

.lvn-detail-demo .lvn-detail-date-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 14px 22px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, .95), rgba(255, 248, 239, .98)),
    radial-gradient(circle at 50% 86%, rgba(212, 160, 23, .1), transparent 38%);
}

.lvn-detail-demo .lvn-detail-day-number {
  color: var(--detail-bright-red);
  font-size: 112px;
  line-height: .9;
  font-weight: 900;
  letter-spacing: -3px;
  margin-top: 2px;
}

.lvn-detail-demo .lvn-detail-month {
  margin-top: 10px;
  color: #111;
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
}

.lvn-detail-demo .lvn-detail-zodiac {
  width: 150px;
  height: 88px;
  object-fit: contain;
  margin: 24px auto 22px;
}

.lvn-detail-demo .lvn-detail-status {
  width: 100%;
  min-height: 106px;
  border: 1px solid var(--detail-border);
  border-radius: 8px;
  background: rgba(255, 248, 239, .78);
  padding: 14px 14px 12px;
  display: grid;
  align-content: start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
}

.lvn-detail-demo .lvn-detail-status strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2b1a1a;
  font-size: 13px;
}

.lvn-detail-demo .lvn-detail-lunar-card {
  min-height: 474px;
  border-left: 0;
  border-radius: 0 10px 10px 0;
  padding: 22px 12px 16px;
  overflow: hidden;
}

.lvn-detail-demo .lvn-detail-lunar-card h1 {
  margin: 0 0 10px;
  color: var(--detail-bright-red);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.lvn-detail-demo .lvn-detail-lunar-card > p {
  margin: 0 0 20px;
  color: #3d2a26;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.lvn-detail-demo .lvn-detail-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--detail-border);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 253, 248, .92);
}

.lvn-detail-demo .lvn-detail-summary-item {
  min-width: 0;
  min-height: 128px;
  padding: 18px 10px 14px;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 7px;
  text-align: center;
  border-right: 1px solid var(--detail-border);
}

.lvn-detail-demo .lvn-detail-summary-item:last-child {
  border-right: 0;
}

.lvn-detail-demo .lvn-detail-summary-item img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.lvn-detail-demo .lvn-detail-summary-item b {
  color: #7a2500;
  font-size: 15px;
  line-height: 1.1;
  text-transform: uppercase;
}

.lvn-detail-demo .lvn-detail-summary-item strong {
  color: #111;
  font-size: 17px;
  line-height: 1.2;
}

.lvn-detail-demo .lvn-detail-summary-item span {
  color: #1d1d1d;
  font-size: 12px;
  line-height: 1.25;
}

.lvn-detail-demo .lvn-detail-mini-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 14px;
  border: 1px solid var(--detail-border);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 248, 239, .62);
}

.lvn-detail-demo .lvn-detail-mini-grid > div {
  min-width: 0;
  min-height: 58px;
  padding: 10px 8px 9px;
  display: grid;
  align-content: start;
  gap: 5px;
  text-align: center;
  border-right: 1px solid var(--detail-border);
  overflow-wrap: break-word;
}

.lvn-detail-demo .lvn-detail-mini-grid > div:last-child {
  border-right: 0;
}

.lvn-detail-demo .lvn-detail-mini-grid b {
  color: #2b1a1a;
  font-size: 12px;
  line-height: 1.15;
}

.lvn-detail-demo .lvn-detail-mini-grid span {
  color: #141414;
  font-size: 12px;
  line-height: 1.25;
}

.lvn-detail-demo .lvn-detail-do-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.lvn-detail-demo .lvn-detail-do-card {
  min-width: 0;
  min-height: 126px;
  border: 1px solid var(--detail-border);
  border-radius: 8px;
  padding: 14px 14px 13px;
  display: grid;
  align-content: start;
  gap: 10px;
  line-height: 1.62;
  overflow-wrap: break-word;
}

.lvn-detail-demo .lvn-detail-do-card.is-good {
  background: linear-gradient(135deg, #f2fff2, #f8fff5);
  border-color: #d6ebd2;
}

.lvn-detail-demo .lvn-detail-do-card.is-bad {
  background: linear-gradient(135deg, #fff2f2, #fff7f7);
  border-color: #f1c8c8;
}

.lvn-detail-demo .lvn-detail-do-card h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  line-height: 1.25;
  text-transform: uppercase;
}

.lvn-detail-demo .lvn-detail-do-card p {
  margin: 0;
  color: #221514;
  font-size: 13px;
}

.lvn-detail-demo .lvn-detail-do-card.is-good h2 {
  color: #2f8f3a;
}

.lvn-detail-demo .lvn-detail-do-card.is-bad h2 {
  color: #d92929;
}

.lvn-detail-demo .lvn-detail-card {
  border-radius: 10px;
  padding: 16px;
}

.lvn-detail-demo .lvn-detail-card h2,
.lvn-detail-demo .lvn-detail-side-card h2 {
  margin: 0 0 14px;
  color: var(--detail-bright-red);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.lvn-detail-demo .lvn-detail-hours {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  border: 1px solid var(--detail-border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.lvn-detail-demo .lvn-detail-hour {
  min-width: 0;
  min-height: 86px;
  padding: 10px 4px 8px;
  display: grid;
  align-content: center;
  gap: 6px;
  text-align: center;
  border-right: 1px solid var(--detail-border);
  background: #fffdf8;
  color: #1b1717;
  overflow-wrap: anywhere;
}

.lvn-detail-demo .lvn-detail-hour:nth-child(12n) {
  border-right: 0;
}

.lvn-detail-demo .lvn-detail-hour b {
  color: #111;
  font-size: 13px;
  line-height: 1.1;
}

.lvn-detail-demo .lvn-detail-hour small {
  color: #222;
  font-size: 11px;
  line-height: 1.1;
}

.lvn-detail-demo .lvn-detail-hour span {
  color: #251b19;
  font-size: 11px;
  line-height: 1.1;
}

.lvn-detail-demo .lvn-detail-hour strong {
  color: #222;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 500;
}

.lvn-detail-demo .lvn-detail-hour.is-very-good {
  background: #f0fff0;
}

.lvn-detail-demo .lvn-detail-hour.is-very-good strong,
.lvn-detail-demo .lvn-detail-hour.is-very-good b {
  color: #16752c;
}

.lvn-detail-demo .lvn-detail-hour.is-bad strong,
.lvn-detail-demo .lvn-detail-hour.is-bad b {
  color: #d92929;
}

.lvn-detail-demo .lvn-detail-card p {
  margin: 0 0 10px;
  color: #2b1a1a;
  font-size: 14px;
  line-height: 1.72;
}

.lvn-detail-demo .lvn-detail-card p:last-child {
  margin-bottom: 0;
}

.lvn-detail-demo .lvn-detail-faq {
  padding-bottom: 10px;
}

.lvn-detail-demo .faq-item {
  border: 1px solid var(--detail-border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.lvn-detail-demo .faq-item + .faq-item {
  margin-top: -1px;
  border-radius: 0;
}

.lvn-detail-demo .faq-item summary {
  cursor: pointer;
  padding: 13px 14px;
  color: #1f1716;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

.lvn-detail-demo .faq-item summary::-webkit-details-marker {
  display: none;
}

.lvn-detail-demo .faq-item summary::after {
  content: "⌄";
  float: right;
  color: #111;
}

.lvn-detail-demo .faq-item[open] summary::after {
  content: "⌃";
}

.lvn-detail-demo .faq-item div {
  padding: 0 14px 14px;
  color: #2b1a1a;
  font-size: 13px;
  line-height: 1.6;
}

.lvn-detail-demo .lvn-related-days {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.lvn-detail-demo .lvn-related-day {
  min-width: 0;
  min-height: 128px;
  padding: 16px 14px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 7px;
  text-align: center;
  border-right: 1px solid var(--detail-border);
}

.lvn-detail-demo .lvn-related-day:last-child {
  border-right: 0;
}

.lvn-detail-demo .lvn-related-day.is-current {
  background: linear-gradient(180deg, #fff8df, #fffdf8);
  box-shadow: inset 0 0 0 1px rgba(212, 160, 23, .45);
}

.lvn-detail-demo .lvn-related-day h3 {
  margin: 0;
  color: #8b0000;
  font-size: 14px;
  text-transform: uppercase;
}

.lvn-detail-demo .lvn-related-day p {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
}

.lvn-detail-demo .lvn-related-day a {
  margin-top: 4px;
  min-width: 106px;
  min-height: 30px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--detail-border);
  border-radius: 5px;
  background: #fff;
  color: #2b1a1a;
  font-size: 13px;
  text-decoration: none;
}

.lvn-detail-demo .lvn-related-day.is-current a {
  border-color: #c40000;
  background: linear-gradient(135deg, #c40000, #8b0000);
  color: #fff;
}

.lvn-detail-demo .lvn-detail-posts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.lvn-detail-demo .lvn-detail-post {
  min-width: 0;
  color: #181313;
  text-decoration: none;
}

.lvn-detail-demo .lvn-detail-post img {
  width: 100%;
  aspect-ratio: 150 / 90;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(240, 216, 192, .8);
}

.lvn-detail-demo .lvn-detail-post strong {
  display: block;
  margin-top: 8px;
  color: #111;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
}

.lvn-detail-demo .lvn-detail-post span {
  display: block;
  margin-top: 5px;
  color: #6d5a55;
  font-size: 12px;
}

.lvn-detail-demo .lvn-detail-side-card {
  border-radius: 10px;
  padding: 16px;
  overflow: hidden;
}

.lvn-detail-demo .lvn-detail-quick {
  position: relative;
  border: 1px solid rgba(255, 216, 140, .5);
  border-radius: 10px;
  padding: 18px 18px 16px;
  background:
    radial-gradient(circle at 90% 15%, rgba(212, 160, 23, .18), transparent 34%),
    linear-gradient(135deg, #b30000, #7a0000);
  color: #fff;
  overflow: hidden;
}

.lvn-detail-demo .lvn-detail-quick::after {
  content: "";
  position: absolute;
  inset: auto -70px -90px auto;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(212, 160, 23, .22);
  border-radius: 50%;
  pointer-events: none;
}

.lvn-detail-demo .lvn-detail-quick h2 {
  position: relative;
  margin: 0 0 16px;
  color: #fff;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.lvn-detail-demo .lvn-detail-quick form {
  position: relative;
  display: grid;
  gap: 12px;
}

.lvn-detail-demo .lvn-detail-quick label {
  display: grid;
  gap: 7px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.lvn-detail-demo .lvn-detail-quick input,
.lvn-detail-demo .lvn-detail-quick select {
  width: 100%;
  height: 38px;
  min-width: 0;
  border: 0;
  border-radius: 5px;
  background: #fff;
  color: #161111;
  padding: 0 12px;
  font: inherit;
  font-weight: 500;
}

.lvn-detail-demo .lvn-detail-quick button {
  width: 100%;
  height: 42px;
  margin-top: 4px;
  border: 0;
  border-radius: 5px;
  background: linear-gradient(135deg, #ffe29a, #d4a017);
  color: #5b1700;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.lvn-detail-demo .lvn-detail-quick button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(212, 160, 23, .35);
}

.lvn-detail-demo .lvn-side-list,
.lvn-detail-demo .lvn-side-table {
  display: grid;
  gap: 9px;
  margin: 0;
}

.lvn-detail-demo .lvn-side-row {
  display: grid;
  grid-template-columns: minmax(0, 128px) minmax(0, 1fr);
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
}

.lvn-detail-demo .lvn-side-row span:first-child {
  color: #3d302e;
}

.lvn-detail-demo .lvn-side-row strong,
.lvn-detail-demo .lvn-side-row span:last-child {
  min-width: 0;
  color: #1c1615;
  font-weight: 600;
  overflow-wrap: break-word;
}

.lvn-detail-demo .lvn-clash-box {
  margin-top: 14px;
  border-radius: 8px;
  border: 1px solid #f2c9c9;
  background: #fff0f0;
  padding: 13px 12px;
  text-align: center;
}

.lvn-detail-demo .lvn-clash-box.is-green {
  border-color: #d4ead0;
  background: #f3fff1;
}

.lvn-detail-demo .lvn-clash-box b {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #be1515;
  font-size: 13px;
}

.lvn-detail-demo .lvn-clash-box.is-green b {
  color: #247a33;
}

.lvn-detail-demo .lvn-zodiac-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  font-size: 24px;
}

.lvn-detail-demo .lvn-detail-cta {
  position: relative;
  min-height: 158px;
  border-radius: 10px;
  padding: 18px;
  background:
    radial-gradient(circle at 90% 50%, rgba(212, 160, 23, .22), transparent 38%),
    linear-gradient(135deg, #b30000, #7a0000);
  color: #fff;
  overflow: hidden;
}

.lvn-detail-demo .lvn-detail-cta img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 150px;
  height: 126px;
  object-fit: contain;
}

.lvn-detail-demo .lvn-detail-cta h2 {
  position: relative;
  max-width: 210px;
  margin: 0 0 10px;
  color: #fff;
  font-size: 20px;
  line-height: 1.2;
  text-transform: uppercase;
}

.lvn-detail-demo .lvn-detail-cta p {
  position: relative;
  max-width: 190px;
  margin: 0 0 16px;
  color: #fff;
  font-size: 13px;
  line-height: 1.55;
}

.lvn-detail-demo .lvn-detail-cta a {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-width: 106px;
  height: 38px;
  border-radius: 5px;
  background: linear-gradient(135deg, #ffe29a, #d4a017);
  color: #5b1700;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1120px) {
  .lvn-detail-demo .lvn-detail-layout {
    grid-template-columns: 1fr;
  }

  .lvn-detail-demo .lvn-detail-sidebar {
    position: static;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lvn-detail-demo .lvn-detail-quick,
  .lvn-detail-demo .lvn-detail-cta {
    min-height: 100%;
  }
}

@media (max-width: 900px) {
  .lvn-detail-demo .lvn-detail-hours {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .lvn-detail-demo .lvn-detail-hour:nth-child(6n) {
    border-right: 0;
  }

  .lvn-detail-demo .lvn-detail-hour:nth-child(n + 7) {
    border-top: 1px solid var(--detail-border);
  }

  .lvn-detail-demo .lvn-detail-posts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .lvn-detail-demo .lvn-container {
    width: min(100% - 28px, 1200px);
  }

  .lvn-detail-demo .lvn-detail-hero,
  .lvn-detail-demo .lvn-detail-summary,
  .lvn-detail-demo .lvn-detail-mini-grid,
  .lvn-detail-demo .lvn-detail-do-row,
  .lvn-detail-demo .lvn-related-days,
  .lvn-detail-demo .lvn-detail-sidebar {
    grid-template-columns: 1fr;
  }

  .lvn-detail-demo .lvn-detail-date-card,
  .lvn-detail-demo .lvn-detail-lunar-card {
    min-height: auto;
    border-radius: 10px;
    border: 1px solid var(--detail-border);
  }

  .lvn-detail-demo .lvn-detail-lunar-card {
    margin-top: 12px;
  }

  .lvn-detail-demo .lvn-detail-summary-item,
  .lvn-detail-demo .lvn-detail-mini-grid > div,
  .lvn-detail-demo .lvn-related-day {
    border-right: 0;
    border-bottom: 1px solid var(--detail-border);
  }

  .lvn-detail-demo .lvn-detail-summary-item:last-child,
  .lvn-detail-demo .lvn-detail-mini-grid > div:last-child,
  .lvn-detail-demo .lvn-related-day:last-child {
    border-bottom: 0;
  }

  .lvn-detail-demo .lvn-detail-hours {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lvn-detail-demo .lvn-detail-hour,
  .lvn-detail-demo .lvn-detail-hour:nth-child(6n) {
    border-right: 1px solid var(--detail-border);
  }

  .lvn-detail-demo .lvn-detail-hour:nth-child(2n) {
    border-right: 0;
  }

  .lvn-detail-demo .lvn-detail-hour:nth-child(n + 3) {
    border-top: 1px solid var(--detail-border);
  }
}

@media (max-width: 430px) {
  .lvn-detail-demo .lvn-detail-lunar-card h1 {
    font-size: 20px;
  }

  .lvn-detail-demo .lvn-detail-day-number {
    font-size: 96px;
  }

  .lvn-detail-demo .lvn-detail-posts {
    grid-template-columns: 1fr;
  }

  .lvn-detail-demo .lvn-side-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .lvn-detail-demo .lvn-detail-cta {
    padding-right: 18px;
  }

  .lvn-detail-demo .lvn-detail-cta img {
    opacity: .24;
  }
}

/* Month calendar demo parity --------------------------------------------- */
.lvn-tool-page--month-calendar {
  background: #fffdf8;
  overflow-x: hidden;
}

.lvn-tool-page--month-calendar .lvn-breadcrumb--tool {
  min-height: 46px;
  margin: 0;
  font-size: 14px;
}

.lvn-month-demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) 320px;
  gap: 28px;
  align-items: start;
  margin-bottom: 34px;
}

.lvn-month-demo-main,
.lvn-month-sidebar {
  min-width: 0;
}

.lvn-month-demo-head {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr) 148px;
  align-items: start;
  gap: 18px;
  margin-bottom: 18px;
}

.lvn-month-nav {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #f0d8c0;
  border-radius: 8px;
  background: #fffdf8;
  color: #2b1a1a;
  font-size: 15px;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.lvn-month-nav:hover {
  color: #8b0000;
  border-color: #d4a017;
  transform: translateY(-1px);
}

.lvn-month-title {
  text-align: center;
}

.lvn-month-title h2 {
  margin: 0 0 8px;
  color: #b30000;
  font-size: 28px;
  line-height: 1.22;
  font-weight: 800;
  text-transform: uppercase;
}

.lvn-month-title p {
  margin: 0 0 16px;
  color: #2b1a1a;
  font-size: 16px;
}

.lvn-month-inline-form {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.lvn-month-inline-form select,
.lvn-month-side-card select {
  height: 42px;
  min-width: 128px;
  border: 1px solid #f0d8c0;
  border-radius: 7px;
  background: #fff;
  color: #2b1a1a;
  padding: 0 14px;
  font: inherit;
}

.lvn-month-inline-form button,
.lvn-month-side-card button {
  height: 42px;
  min-width: 78px;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(135deg, #c40000, #8b0000);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.lvn-month-inline-form button:hover,
.lvn-month-side-card button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(139, 0, 0, .18);
}

.lvn-month-calendar-card,
.lvn-month-guide-card,
.lvn-month-side-card {
  border: 1px solid #f0d8c0;
  border-radius: 10px;
  background: #fffdf8;
  box-shadow: 0 10px 24px rgba(139, 0, 0, .035);
}

.lvn-month-calendar-card {
  overflow: hidden;
}

.lvn-month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  background: #fff;
}

.lvn-month-grid > b {
  min-height: 34px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #b30000, #8b0000);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.lvn-month-grid > b:last-of-type {
  color: #fff3c6;
}

.lvn-month-cell {
  position: relative;
  min-height: 118px;
  padding: 20px 14px 12px;
  display: grid;
  align-content: start;
  gap: 8px;
  border-right: 1px solid #ece1d6;
  border-bottom: 1px solid #ece1d6;
  background: #fff;
  color: #1b1717;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.lvn-month-grid > .lvn-month-cell:nth-child(7n) {
  border-right: 0;
}

.lvn-month-cell:hover {
  z-index: 2;
  background: #fffaf2;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(139, 0, 0, .12);
}

.lvn-month-cell.is-muted {
  background: #fafafa;
  color: #a0a0a0;
}

.lvn-month-cell.is-today {
  background: #fff8c9;
}

.lvn-month-cell.is-today .lvn-month-solar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #c40000;
  color: #fff;
}

.lvn-month-cell.is-good::after,
.lvn-month-cell.is-bad::after,
.lvn-month-cell.is-medium::after,
.lvn-month-cell.is-weak::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 18px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2f8f3a;
}

.lvn-month-cell.is-good::before {
  content: "★";
  position: absolute;
  right: 13px;
  top: 13px;
  color: #2f8f3a;
  font-size: 16px;
  background: transparent;
}

.lvn-month-cell.is-good::after {
  display: none;
}

.lvn-month-cell.is-bad::after {
  background: #d92929;
}

.lvn-month-cell.is-medium::after {
  background: #f5a315;
}

.lvn-month-cell.is-weak::after {
  background: #b7b7b7;
}

.lvn-month-solar {
  color: #111;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
}

.lvn-month-cell.is-weekend .lvn-month-solar {
  color: #c40000;
}

.lvn-month-cell.is-muted .lvn-month-solar {
  color: #9b9b9b;
}

.lvn-month-lunar {
  justify-self: end;
  color: #6f6f6f;
  font-size: 13px;
  line-height: 1;
}

.lvn-month-can {
  margin-top: auto;
  color: #545454;
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
}

.lvn-month-cell em {
  justify-self: start;
  border-radius: 5px;
  background: #c40000;
  color: #fff;
  padding: 4px 9px;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.lvn-month-cell.is-good em {
  background: #c40000;
}

.lvn-month-cell.is-bad em {
  background: #c40000;
}

.lvn-month-cell.is-today em {
  background: #c40000;
}

.lvn-month-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: #fffdf8;
}

.lvn-month-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #2b1a1a;
  font-size: 13px;
}

.lvn-month-legend span,
.lvn-month-guide-card article b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.lvn-month-legend span::before,
.lvn-month-guide-card article b::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2f8f3a;
}

.lvn-month-legend .is-good::before,
.lvn-month-guide-card .is-good b::before {
  content: "★";
  width: auto;
  height: auto;
  background: transparent;
  color: #2f8f3a;
  font-size: 16px;
}

.lvn-month-legend .is-lucky::before,
.lvn-month-guide-card .is-lucky b::before {
  background: #2f8f3a;
}

.lvn-month-legend .is-bad::before,
.lvn-month-guide-card .is-bad b::before {
  background: #d92929;
}

.lvn-month-legend .is-medium::before,
.lvn-month-guide-card .is-medium b::before {
  background: #f5a315;
}

.lvn-month-legend .is-weak::before,
.lvn-month-guide-card .is-weak b::before {
  background: #b7b7b7;
}

.lvn-month-bottom > a {
  min-width: 168px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f0d8c0;
  border-radius: 7px;
  color: #2b1a1a;
  background: #fff;
  text-decoration: none;
  font-size: 14px;
}

.lvn-month-guide-card {
  margin-top: 24px;
  padding: 22px 18px;
}

.lvn-month-guide-card h2,
.lvn-month-side-card h2 {
  margin: 0 0 16px;
  color: #b30000;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.lvn-month-guide-card > div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.lvn-month-guide-card article {
  min-width: 0;
  padding-right: 14px;
  border-right: 1px solid #f0d8c0;
}

.lvn-month-guide-card article:last-child {
  border-right: 0;
}

.lvn-month-guide-card p {
  margin: 10px 0 0;
  color: #4b3b37;
  font-size: 13px;
  line-height: 1.55;
}

.lvn-month-sidebar {
  display: grid;
  gap: 18px;
}

.lvn-month-side-card {
  padding: 18px;
}

.lvn-month-side-card form {
  display: grid;
  gap: 14px;
}

.lvn-month-side-card form > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.lvn-month-side-card button {
  width: 100%;
}

.lvn-month-stats {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lvn-month-stats li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px 40px;
  align-items: center;
  gap: 8px;
  color: #2b1a1a;
  font-size: 14px;
}

.lvn-month-stats b {
  color: #2f8f3a;
  font-size: 17px;
  text-align: right;
}

.lvn-month-stats b.is-bad {
  color: #d92929;
}

.lvn-month-stats b.is-medium {
  color: #f5a315;
}

.lvn-month-stats small {
  color: #2b1a1a;
}

.lvn-month-good-list,
.lvn-month-quick-links {
  display: grid;
  gap: 12px;
}

.lvn-month-good-list a {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: #2b1a1a;
  text-decoration: none;
}

.lvn-month-good-list b {
  min-height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid #d8edcf;
  border-radius: 6px;
  background: #f1faee;
  color: #2f8f3a;
  font-size: 16px;
}

.lvn-month-good-list span {
  min-width: 0;
  color: #4d3a35;
  font-size: 13px;
  line-height: 1.45;
}

.lvn-month-quick-links a {
  display: block;
  color: #2b1a1a;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}

.lvn-month-quick-links a:hover {
  color: #c40000;
}

.lvn-month-cell::before,
.lvn-month-cell::after {
  display: none;
}

.lvn-month-cell.is-hoangdao {
  background: linear-gradient(180deg, #fffdf5 0%, #f7fff7 100%);
  border-color: #d8c46d;
  box-shadow: none;
}

.lvn-month-cell.is-goodday {
  background: #f3fbf3;
  border-color: #cfe8d0;
  box-shadow: none;
}

.lvn-month-cell.is-hacdao {
  background: #fff3f2;
  border-color: #efc9c5;
  box-shadow: none;
}

.lvn-month-cell.is-neutral {
  background: #fffaf0;
  border-color: #efd9a8;
  box-shadow: none;
}

.lvn-month-cell.is-xau {
  background: #f5f7f9;
  border-color: #d7dde3;
  color: #5f6872;
  box-shadow: none;
}

.lvn-month-cell.is-muted {
  background: #f7f7f7;
  box-shadow: none;
}

.lvn-month-cell.is-hoangdao:hover {
  background: #fffaf0;
  box-shadow: 0 14px 28px rgba(148, 108, 15, .18);
}

.lvn-month-cell.is-goodday:hover {
  background: #eef9ef;
  box-shadow: 0 14px 28px rgba(47, 143, 58, .15);
}

.lvn-month-cell.is-hacdao:hover {
  background: #fff0ee;
  box-shadow: 0 14px 28px rgba(168, 58, 53, .14);
}

.lvn-month-cell.is-neutral:hover {
  background: #fff7e8;
  box-shadow: 0 14px 28px rgba(217, 146, 34, .14);
}

.lvn-month-cell.is-xau:hover {
  background: #f0f3f6;
  box-shadow: 0 14px 28px rgba(95, 104, 114, .12);
}

.lvn-month-cell.is-today {
  outline: 2px solid rgba(196, 0, 0, .24);
  outline-offset: -2px;
}

.lvn-month-cell .lvn-day-status {
  margin-top: 2px;
  align-self: start;
}

.lvn-day-status {
  --status-bg: #f4f6f8;
  --status-border: #d9dee5;
  --status-color: #44515c;
  --status-icon-bg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  min-height: 28px;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid var(--status-border);
  border-radius: 999px;
  background: var(--status-bg);
  color: var(--status-color);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.lvn-day-status > span {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--status-icon-bg);
  color: var(--status-color);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.lvn-day-status > b {
  font: inherit;
}

.lvn-status-good {
  --status-bg: #eaf7ec;
  --status-border: #bfe5c4;
  --status-color: #1f7b34;
  --status-icon-bg: #ffffff;
}

.lvn-status-hoangdao {
  --status-bg: linear-gradient(135deg, #fff5cf, #eaf8e8);
  --status-border: #d9bb52;
  --status-color: #7a5a00;
  --status-icon-bg: #fff8d7;
  box-shadow: 0 5px 14px rgba(212, 160, 23, .16);
}

.lvn-status-bad {
  --status-bg: #fff0ee;
  --status-border: #efc0bb;
  --status-color: #9f302b;
  --status-icon-bg: #ffffff;
}

.lvn-status-neutral {
  --status-bg: #fff5df;
  --status-border: #ecd19a;
  --status-color: #986116;
  --status-icon-bg: #ffffff;
}

.lvn-status-xau {
  --status-bg: #eef2f5;
  --status-border: #d4dce4;
  --status-color: #596674;
  --status-icon-bg: #ffffff;
}

.lvn-month-legend {
  gap: 12px;
}

.lvn-month-legend .lvn-day-status {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 13px;
}

.lvn-month-legend .lvn-day-status > span {
  width: 20px;
  height: 20px;
}

.lvn-month-legend span::before,
.lvn-month-guide-card article b::before {
  content: none;
}

.lvn-month-guide-card article {
  border-radius: 10px;
  border: 1px solid #f0d8c0;
  background: #fffdf8;
  padding: 14px;
}

.lvn-month-guide-card article:last-child {
  border-right: 1px solid #f0d8c0;
}

@media (max-width: 1120px) {
  .lvn-month-demo-layout {
    grid-template-columns: 1fr;
  }

  .lvn-month-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .lvn-month-demo-head {
    grid-template-columns: 1fr;
  }

  .lvn-month-inline-form {
    gap: 10px;
  }

  .lvn-month-cell {
    min-height: 92px;
    padding: 12px 8px 9px;
  }

  .lvn-month-solar {
    font-size: 20px;
  }

  .lvn-month-can {
    font-size: 11px;
  }

  .lvn-month-guide-card > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lvn-month-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .lvn-month-title h2 {
    font-size: 22px;
  }

  .lvn-month-inline-form,
  .lvn-month-bottom,
  .lvn-month-side-card form > div {
    display: grid;
    grid-template-columns: 1fr;
  }

  .lvn-month-grid > b {
    min-height: 30px;
    font-size: 11px;
  }

  .lvn-month-cell {
    min-height: 92px;
    padding: 8px 5px;
    gap: 4px;
  }

  .lvn-month-solar {
    font-size: 17px;
  }

  .lvn-month-lunar,
  .lvn-month-can {
    font-size: 10px;
  }

  .lvn-month-cell .lvn-day-status {
    min-height: 24px;
    padding: 4px 7px;
    gap: 4px;
    font-size: 10px;
  }

  .lvn-month-cell .lvn-day-status > span {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
    font-size: 10px;
  }

  .lvn-month-legend .lvn-day-status {
    min-height: 31px;
    font-size: 12px;
  }

  .lvn-month-guide-card > div {
    grid-template-columns: 1fr;
  }

  .lvn-month-guide-card article {
    border-right: 0;
    border-bottom: 1px solid #f0d8c0;
    padding: 0 0 14px;
  }

.lvn-month-guide-card article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
}

/* Premium calendar status refinement ---------------------------------- */
.lvn-tool-page--month-calendar .lvn-month-calendar-card {
  background: #fffdf9;
  border-color: #ead7bd;
  box-shadow: 0 14px 34px rgba(94, 35, 12, .06);
}

.lvn-tool-page--month-calendar .lvn-good-days-calendar {
  contain: layout paint;
}

.lvn-tool-page--month-calendar .lvn-month-grid {
  background: #eadfd2;
  gap: 1px;
}

.lvn-tool-page--month-calendar .lvn-month-grid > b {
  min-height: 36px;
  background: linear-gradient(180deg, #a90000, #8b0000);
  color: #fff8df;
  letter-spacing: 0;
}

.lvn-tool-page--month-calendar .lvn-month-cell {
  min-height: 122px;
  padding: 14px 12px 12px;
  display: grid;
  grid-template-rows: 28px auto 1fr;
  align-content: start;
  gap: 9px;
  border: 0;
  background: #fffdfa;
  color: #2b1a1a;
  overflow: hidden;
  box-shadow: none;
}

.lvn-tool-page--month-calendar .lvn-month-cell:hover {
  background: #fffaf2;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(94, 35, 12, .10);
}

.lvn-tool-page--month-calendar .lvn-month-cell.is-goodday {
  background: #f7fcf7;
  border-color: transparent;
  box-shadow: none;
}

.lvn-tool-page--month-calendar .lvn-month-cell.is-hoangdao {
  background: #fffaf0;
  border-color: transparent;
  box-shadow: none;
}

.lvn-tool-page--month-calendar .lvn-month-cell.is-hacdao {
  background: #fff7f5;
  border-color: transparent;
  box-shadow: none;
}

.lvn-tool-page--month-calendar .lvn-month-cell.is-neutral {
  background: #fffbf4;
  border-color: transparent;
  box-shadow: none;
}

.lvn-tool-page--month-calendar .lvn-month-cell.is-xau {
  background: #f7f9fb;
  border-color: transparent;
  color: #596674;
  box-shadow: none;
}

.lvn-tool-page--month-calendar .lvn-month-cell.is-muted {
  background: #f7f7f6;
  color: #9a9a9a;
}

.lvn-tool-page--month-calendar .lvn-month-cell.is-goodday:hover {
  background: #eff8f0;
  box-shadow: 0 10px 22px rgba(47, 143, 58, .10);
}

.lvn-tool-page--month-calendar .lvn-month-cell.is-hoangdao:hover {
  background: #fff5df;
  box-shadow: 0 10px 22px rgba(164, 117, 22, .12);
}

.lvn-tool-page--month-calendar .lvn-month-cell.is-hacdao:hover {
  background: #fff1ef;
  box-shadow: 0 10px 22px rgba(154, 56, 48, .10);
}

.lvn-tool-page--month-calendar .lvn-month-cell.is-neutral:hover {
  background: #fff6e9;
  box-shadow: 0 10px 22px rgba(183, 126, 42, .10);
}

.lvn-tool-page--month-calendar .lvn-month-cell.is-xau:hover {
  background: #f0f4f7;
  box-shadow: 0 10px 22px rgba(82, 94, 106, .08);
}

.lvn-tool-page--month-calendar .lvn-month-cell.is-today {
  outline: 1px solid rgba(139, 0, 0, .24);
  outline-offset: -3px;
  box-shadow: inset 0 0 0 3px rgba(212, 160, 23, .10);
}

.lvn-tool-page--month-calendar .lvn-month-cell.is-today:hover {
  box-shadow: inset 0 0 0 3px rgba(212, 160, 23, .12), 0 12px 24px rgba(139, 0, 0, .11);
}

.lvn-tool-page--month-calendar .lvn-month-solar {
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
  color: #151515;
}

.lvn-tool-page--month-calendar .lvn-month-cell.is-weekend .lvn-month-solar {
  color: #ba1515;
}

.lvn-tool-page--month-calendar .lvn-month-cell.is-muted .lvn-month-solar {
  color: #9b9b9b;
}

.lvn-tool-page--month-calendar .lvn-month-cell.is-today .lvn-month-solar {
  width: 36px;
  height: 36px;
  margin: -4px 0 0 -2px;
  background: #ba0000;
  color: #fff;
  box-shadow: 0 8px 18px rgba(139, 0, 0, .18);
}

.lvn-tool-page--month-calendar .lvn-month-lunar {
  position: absolute;
  top: 20px;
  right: 12px;
  color: #697179;
  font-size: 12px;
  line-height: 1;
}

.lvn-tool-page--month-calendar .lvn-month-can {
  align-self: end;
  margin-top: 0;
  color: #67564f;
  font-size: 12px;
  line-height: 1.25;
  text-align: center;
}

.lvn-tool-page--month-calendar .lvn-day-status {
  min-height: 25px;
  padding: 4px 9px;
  gap: 6px;
  border-width: 1px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1;
  box-shadow: none;
}

.lvn-tool-page--month-calendar .lvn-day-status > span {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
  font-size: 10px;
}

.lvn-tool-page--month-calendar .lvn-status-good {
  --status-bg: #eef8ef;
  --status-border: #cce8d0;
  --status-color: #267a39;
}

.lvn-tool-page--month-calendar .lvn-status-hoangdao {
  --status-bg: #fff6df;
  --status-border: #e7c979;
  --status-color: #7a5a12;
  --status-icon-bg: #fffaf0;
}

.lvn-tool-page--month-calendar .lvn-status-bad {
  --status-bg: #fff0ee;
  --status-border: #efc8c2;
  --status-color: #9a3830;
}

.lvn-tool-page--month-calendar .lvn-status-neutral {
  --status-bg: #fff4e4;
  --status-border: #ecd2a5;
  --status-color: #94621e;
}

.lvn-tool-page--month-calendar .lvn-status-xau {
  --status-bg: #edf2f6;
  --status-border: #d5dee7;
  --status-color: #596774;
}

.lvn-tool-page--month-calendar .lvn-today-chip {
  position: absolute;
  left: 12px;
  bottom: 10px;
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(139, 0, 0, .08);
  color: #8b0000;
  padding: 3px 8px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
}

.lvn-tool-page--month-calendar .lvn-month-bottom {
  padding: 16px 18px;
  background: #fffaf3;
}

.lvn-tool-page--month-calendar .lvn-month-legend {
  gap: 10px;
  align-items: center;
}

.lvn-tool-page--month-calendar .lvn-month-legend .lvn-day-status {
  min-height: 30px;
  padding: 6px 10px;
  font-size: 12px;
}

.lvn-tool-page--month-calendar .lvn-month-bottom > a {
  min-width: 174px;
  min-height: 42px;
  border-color: #e8c99d;
  border-radius: 999px;
  background: linear-gradient(180deg, #fffdf9, #fff3df);
  color: #7a2d00;
  font-weight: 700;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.lvn-tool-page--month-calendar .lvn-month-bottom > a:hover {
  transform: translateY(-1px);
  border-color: #d4a017;
  box-shadow: 0 10px 22px rgba(139, 0, 0, .10);
}

.lvn-tool-page--month-calendar .lvn-month-guide-card {
  padding: 24px 20px;
  background: #fffdf9;
  box-shadow: 0 12px 30px rgba(94, 35, 12, .045);
}

.lvn-tool-page--month-calendar .lvn-month-guide-card > div {
  gap: 14px;
}

.lvn-tool-page--month-calendar .lvn-month-guide-card article {
  border-color: #efdec8;
  background: #fffdfa;
  padding: 16px 14px;
  box-shadow: 0 8px 18px rgba(94, 35, 12, .035);
}

.lvn-tool-page--month-calendar .lvn-month-guide-card p {
  color: #5f4f48;
  line-height: 1.6;
}

@media (max-width: 820px) {
  .lvn-tool-page--month-calendar .lvn-month-cell {
    min-height: 112px;
    padding: 12px 9px 10px;
  }

  .lvn-tool-page--month-calendar .lvn-month-lunar {
    top: 17px;
    right: 9px;
  }
}

@media (max-width: 560px) {
  .lvn-tool-page--month-calendar .lvn-month-cell {
    min-height: 94px;
    padding: 9px 5px 8px;
    gap: 5px;
  }

  .lvn-tool-page--month-calendar .lvn-month-solar {
    font-size: 17px;
  }

  .lvn-tool-page--month-calendar .lvn-month-cell.is-today .lvn-month-solar {
    width: 29px;
    height: 29px;
    margin: -2px 0 0 -1px;
  }

  .lvn-tool-page--month-calendar .lvn-month-lunar {
    top: 12px;
    right: 5px;
    font-size: 10px;
  }

  .lvn-tool-page--month-calendar .lvn-day-status {
    min-height: 22px;
    padding: 3px 5px;
    gap: 3px;
    font-size: 9.5px;
  }

  .lvn-tool-page--month-calendar .lvn-day-status > span {
    width: 13px;
    height: 13px;
    flex-basis: 13px;
    font-size: 8px;
  }

  .lvn-tool-page--month-calendar .lvn-month-can {
    font-size: 10px;
  }

  .lvn-tool-page--month-calendar .lvn-today-chip {
    left: 5px;
    bottom: 5px;
    padding: 3px 6px;
    font-size: 9px;
  }

  .lvn-tool-page--month-calendar .lvn-month-bottom > a {
    width: 100%;
  }
}

/* Convert date page - demo matched layout */
.lvn-tool-page--convert-date {
  background:
    radial-gradient(circle at 50% 0, rgba(212, 160, 23, .08), transparent 28%),
    #fffdf8;
}

.lvn-tool-page--convert-date .lvn-page-head {
  margin-top: 10px;
  margin-bottom: 22px;
}

.lvn-tool-page--convert-date .lvn-page-head h1 {
  color: #a40000;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: 0;
}

.lvn-convert-demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}

.lvn-convert-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.lvn-convert-sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 118px;
}

.lvn-convert-panel,
.lvn-convert-result-card,
.lvn-convert-lower,
.lvn-convert-summary-strip,
.lvn-convert-sidebar .lvn-side-card,
.lvn-convert-brand-card {
  border: 1px solid #f0d8c0;
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: 0 12px 30px rgba(94, 35, 12, .045);
}

.lvn-convert-panel {
  overflow: hidden;
}

.lvn-convert-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #f0d8c0;
  background: linear-gradient(180deg, #fff8ef, #fffdf8);
}

.lvn-convert-tabs button {
  min-height: 56px;
  border: 0;
  border-right: 1px solid #f0d8c0;
  border-radius: 0;
  background: transparent;
  color: #2b1a1a;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.lvn-convert-tabs button:last-child {
  border-right: 0;
}

.lvn-convert-tabs button img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.lvn-convert-tabs button.is-active {
  background: linear-gradient(135deg, #c40000, #8b0000);
  color: #fff;
}

.lvn-convert-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: center;
  padding: 30px;
}

.lvn-convert-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: end;
}

.lvn-convert-form h2 {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  color: #7a0000;
  font-size: 16px;
  text-transform: uppercase;
}

.lvn-convert-form label {
  display: grid;
  gap: 10px;
  color: #4b2d24;
  font-weight: 700;
}

.lvn-convert-form input,
.lvn-convert-form select {
  width: 100%;
  height: 46px;
  border: 1px solid #ead3b6;
  border-radius: 8px;
  background: #fff;
  color: #2b1a1a;
  padding: 0 14px;
  font: inherit;
}

.lvn-convert-form input:focus,
.lvn-convert-form select:focus {
  outline: 3px solid rgba(212, 160, 23, .18);
  border-color: #d4a017;
}

.lvn-convert-form button[type="submit"] {
  height: 48px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #c40000, #8b0000);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(139, 0, 0, .14);
  transition: transform .2s ease, box-shadow .2s ease;
}

.lvn-convert-form button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(139, 0, 0, .2);
}

.lvn-convert-form.is-loading {
  opacity: .72;
  pointer-events: none;
}

.lvn-convert-check {
  grid-column: span 2;
  display: flex !important;
  align-items: center;
  gap: 10px !important;
  min-height: 46px;
}

.lvn-convert-check input {
  width: 18px;
  height: 18px;
  padding: 0;
}

.lvn-convert-note {
  border: 1px solid #f0d8c0;
  border-radius: 10px;
  background: linear-gradient(135deg, #fffaf0, #fff8e8);
  padding: 20px 22px;
}

.lvn-convert-note h3 {
  margin: 0 0 12px;
  color: #7a0000;
  text-transform: uppercase;
}

.lvn-convert-note ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.75;
  color: #4b2d24;
}

.lvn-convert-result-card {
  padding: 22px;
}

.lvn-convert-result-card .lvn-section-title {
  margin-bottom: 18px;
}

.lvn-convert-result {
  grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr);
  gap: 28px;
}

.lvn-convert-date-box {
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #e2c9af;
  background: #fff;
}

.lvn-convert-date-box.is-solar {
  border-color: #bfe2c4;
  background: linear-gradient(180deg, #f4fff6, #fff);
}

.lvn-convert-date-box.is-lunar {
  border-color: #f0c4bd;
  background: linear-gradient(180deg, #fff6f4, #fff);
}

.lvn-convert-date-box header {
  padding: 18px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(139, 0, 0, .08);
}

.lvn-convert-date-box header span {
  display: block;
  color: #227a37;
  font-weight: 900;
  text-transform: uppercase;
}

.lvn-convert-date-box.is-lunar header span {
  color: #8b0000;
}

.lvn-convert-date-box h3 {
  margin: 8px 0 4px;
  color: #12702c;
  font-size: 22px;
}

.lvn-convert-date-box.is-lunar h3 {
  color: #b30000;
}

.lvn-convert-date-box header p {
  margin: 0;
  color: #4f4039;
}

.lvn-convert-date-box dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0;
  margin: 0;
  padding: 14px 20px 20px;
}

.lvn-convert-date-box dt,
.lvn-convert-date-box dd {
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid rgba(139, 0, 0, .06);
}

.lvn-convert-date-box dt {
  color: #6c5b51;
}

.lvn-convert-date-box dd {
  color: #2b1a1a;
  font-weight: 700;
}

.lvn-convert-equal {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  align-self: center;
  justify-self: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #c40000, #8b0000);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 12px 22px rgba(139, 0, 0, .18);
}

.lvn-convert-summary-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
}

.lvn-convert-summary-strip article {
  display: flex;
  gap: 12px;
  padding: 18px;
  border-right: 1px solid #f0d8c0;
  min-width: 0;
}

.lvn-convert-summary-strip article:last-child {
  border-right: 0;
}

.lvn-convert-summary-strip span {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff1d4;
  color: #a06400;
  font-weight: 900;
}

.lvn-convert-summary-strip img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.lvn-convert-summary-strip h3 {
  margin: 0 0 8px;
  color: #2b1a1a;
  font-size: 14px;
  text-transform: uppercase;
}

.lvn-convert-summary-strip p {
  margin: 0;
  color: #4f4039;
  line-height: 1.55;
}

.lvn-convert-lower {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  overflow: hidden;
}

.lvn-convert-lower > * {
  padding: 20px;
}

.lvn-convert-lower article {
  background:
    url('../images/logo-yinyang.svg') right 20px bottom -18px / 110px 110px no-repeat,
    linear-gradient(135deg, #fffaf0, #fff3d9);
  border-left: 1px solid #f0d8c0;
}

.lvn-convert-lower h2,
.lvn-convert-history h3 {
  margin-top: 0;
  color: #8b0000;
  font-size: 18px;
  text-transform: uppercase;
}

.lvn-convert-sidebar .lvn-tool-list a {
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
}

.lvn-convert-sidebar .lvn-tool-list a b,
.lvn-convert-sidebar .lvn-tool-list a small {
  grid-column: 2;
}

.lvn-convert-brand-card {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  padding: 24px;
  background: linear-gradient(135deg, #8b0000, #b30000);
  color: #fff;
}

.lvn-convert-brand-card h2 {
  margin: 0 0 10px;
  color: #fff;
}

.lvn-convert-brand-card p {
  max-width: 190px;
  margin: 0;
  color: rgba(255, 255, 255, .9);
  line-height: 1.6;
}

.lvn-convert-brand-card img {
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 118px;
  height: 118px;
  object-fit: contain;
}

@media (max-width: 1120px) {
  .lvn-convert-demo-layout {
    grid-template-columns: 1fr;
  }

  .lvn-convert-sidebar {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .lvn-convert-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .lvn-convert-tabs button {
    min-height: 50px;
    font-size: 13px;
  }

  .lvn-convert-body,
  .lvn-convert-result-card,
  .lvn-convert-lower > * {
    padding: 16px;
  }

  .lvn-convert-form,
  .lvn-convert-result,
  .lvn-convert-lower,
  .lvn-convert-sidebar {
    grid-template-columns: 1fr;
  }

  .lvn-convert-equal {
    transform: rotate(90deg);
  }

  .lvn-convert-summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lvn-convert-summary-strip article {
    border-bottom: 1px solid #f0d8c0;
  }

  .lvn-convert-lower article {
    border-left: 0;
    border-top: 1px solid #f0d8c0;
  }
}

@media (max-width: 520px) {
  .lvn-convert-tabs {
    grid-template-columns: 1fr;
  }

  .lvn-convert-tabs button {
    justify-content: flex-start;
    padding: 0 16px;
  }

  .lvn-convert-form {
    gap: 14px;
  }

  .lvn-convert-check {
    grid-column: auto;
  }

  .lvn-convert-date-box dl {
    grid-template-columns: 1fr;
  }

  .lvn-convert-date-box dt {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .lvn-convert-summary-strip {
    grid-template-columns: 1fr;
  }
}
