:root {
    --red: #a40000;
    --red-2: #d41414;
    --wine: #650000;
    --gold: #f6c35b;
    --paper: #fffaf2;
    --line: #ead9c9;
    --text: #2a1c18;
    --muted: #766a64;
    --green: #21823a;
    --orange: #f49a19;
    --blue: #2c6dd8;
    --shadow: 0 10px 30px rgba(84, 32, 0, .08);
    --font-sans: "Be Vietnam Pro", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    color: var(--text);
    font-family: var(--font-sans);
    background: #fffdfa;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
button,
input,
select,
textarea {
    font: inherit;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 26px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: radial-gradient(circle at 20% 0, #a5160c 0, var(--wine) 52%, #4e0000 100%);
    color: #fff;
    box-shadow: 0 4px 18px rgba(80, 0, 0, .2);
}
.header-inner {
    display: grid;
    grid-template-columns: minmax(230px, auto) minmax(260px, 1fr) auto;
    grid-template-areas:
        "brand search actions"
        "nav nav nav";
    align-items: center;
    gap: 0 18px;
    min-height: 112px;
    padding-top: 12px;
    overflow: visible;
}
.brand {
    grid-area: brand;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: #ffd463;
}
.brand-mark {
    position: relative;
    display: block;
    width: 54px;
    height: 54px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    background: linear-gradient(90deg, #ffe19b 0 50%, #7d0800 50% 100%);
    box-shadow: inset 0 0 18px rgba(255, 220, 125, .22), 0 0 0 4px rgba(255, 214, 99, .1);
    overflow: hidden;
}
.brand-logo-wrap {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
}
.brand-logo {
    display: block;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: contain;
}
.brand-mark:before,
.brand-mark:after {
    content: "";
    position: absolute;
    left: 50%;
    width: 26px;
    height: 26px;
    transform: translateX(-50%);
    border-radius: 50%;
}
.brand-mark:before {
    top: 0;
    background: radial-gradient(circle, #ffe19b 0 4px, #7d0800 5px 100%);
}
.brand-mark:after {
    bottom: 0;
    background: radial-gradient(circle, #7d0800 0 4px, #ffe19b 5px 100%);
}
.brand strong { display: block; font-size: 24px; line-height: 1; }
.brand em { display: block; color: #fff4d4; font-style: normal; font-size: 13px; margin-top: 5px; }
.nav-toggle {
    grid-area: toggle;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 44px;
    height: 42px;
    border: 1px solid rgba(255, 219, 137, .45);
    border-radius: 8px;
    color: #ffe6a4;
    background: rgba(255, 255, 255, .08);
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}
.nav-toggle b {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}
.main-nav {
    grid-area: nav;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: clamp(26px, 3vw, 38px);
    min-width: 0;
    overflow: visible;
}
.main-nav a,
.main-nav button {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0;
    white-space: nowrap;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 12px;
    min-height: 44px;
    color: inherit;
    border: 0;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
}
.main-nav a.is-active, .main-nav a:hover, .nav-item.is-active > button, .nav-item:hover > button { color: #ffd547; }
.main-nav a.is-active:after, .main-nav a:hover:after, .nav-item.is-active > button:after, .nav-item:hover > button:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 4px;
    border-radius: 4px 4px 0 0;
    background: var(--gold);
}
.nav-item { position: relative; display: flex; align-items: stretch; }
.has-submenu > button { gap: 7px; padding-right: 0; }
.nav-caret {
    display: inline-block;
    flex: 0 0 auto;
    width: 0;
    height: 0;
    margin-top: 2px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
}
.submenu {
    position: absolute;
    top: calc(100% - 1px);
    right: 0;
    z-index: 30;
    width: 236px;
    padding: 8px;
    border: 1px solid rgba(255, 215, 120, .28);
    border-radius: 0 0 8px 8px;
    background: linear-gradient(180deg, #850800, #5d0000);
    box-shadow: 0 16px 30px rgba(40, 0, 0, .28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.has-submenu.is-open .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.submenu a {
    min-height: 0;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
}
.submenu a:after { display: none; }
.submenu a:hover,
.submenu a.is-active {
    color: #ffd547;
    background: rgba(255, 224, 140, .1);
}
.site-header .search {
    grid-area: search;
    justify-self: end;
    display: flex;
    align-items: center;
    width: min(100%, 310px);
    min-width: 240px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 7px;
    overflow: hidden;
}
.site-header .search input { flex: 1; min-width: 0; padding: 12px 14px; color: #fff; background: transparent; border: 0; outline: 0; }
.site-header .search input::placeholder { color: rgba(255,255,255,.72); }
.site-header .search button { width: 42px; border: 0; color: #fff; background: transparent; font-size: 23px; cursor: pointer; }
.header-actions {
    grid-area: actions;
    display: flex;
    align-items: center;
    gap: 12px;
}
.vip-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 6px;
    color: #7a2500;
    background: linear-gradient(180deg, #ffe8aa, #f5bd4d);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}
.account-link {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 2px solid #ffd678;
    border-radius: 50%;
    color: #7a1200;
    background: #ffe6a1;
    font-weight: 900;
    line-height: 1;
}
.account-link.is-active {
    box-shadow: 0 0 0 4px rgba(255, 214, 120, .18);
}

.site-main { padding-top: 24px; }
.breadcrumb { color: #665b55; font-size: 14px; margin-bottom: 18px; }
.page-head { text-align: center; margin: 16px 0 26px; }
.page-head h1 { margin: 0; color: var(--red); text-transform: uppercase; font-size: clamp(30px, 4vw, 42px); line-height: 1.1; letter-spacing: 0; }
.page-head h1:before, .page-head h1:after { content: "⟵"; color: #e8bb80; font-size: .65em; margin: 0 18px; vertical-align: middle; }
.page-head h1:after { content: "⟶"; }
.page-head p { margin: 10px 0 0; color: var(--muted); font-size: 17px; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.home-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 20px;
    align-items: start;
}
.home-hero { grid-column: 1; min-height: 520px; }
.home-side { grid-column: 2; grid-row: 1 / span 2; display: grid; gap: 18px; }
.home-quick { grid-column: 1; }
.home-calendar { grid-column: 1; }
.home-posts { grid-column: 2; grid-row: 3; margin-bottom: 0; }
.home-bottom-widgets {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.home-widget { min-height: 292px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); padding: 20px; }
.panel, .hero-panel, .lvn-card, .form-panel, .table-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,.94);
    box-shadow: var(--shadow);
}
.panel { padding: 20px; margin-bottom: 18px; }
.panel-title { margin-bottom: 16px; color: var(--red); text-transform: uppercase; font-size: 20px; font-weight: 900; }
.hero-panel {
    display: grid;
    grid-template-columns: 245px 1fr;
    overflow: hidden;
    background: linear-gradient(110deg, #fff 0, #fff 48%, #fff5e5 100%);
    min-height: 310px;
}
.home-layout .hero-panel {
    grid-template-columns: 250px 1fr;
}
.hero-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--line);
    background: linear-gradient(#fffaf2, #fff);
    position: relative;
    overflow: hidden;
}
.hero-date:after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 112px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 120'%3E%3Cg fill='none' stroke='%23ecd9bf' stroke-width='2'%3E%3Cpath d='M0 112c28-38 43-44 70-10 20-37 49-64 90-18 20-28 36-35 60-8'/%3E%3Cpath d='M20 118c23-28 50-42 75-14 33-31 58-38 94-8'/%3E%3C/g%3E%3C/svg%3E") bottom center/contain no-repeat;
    opacity: .82;
}
.hero-date .dow { font-weight: 900; font-size: 22px; }
.hero-date .big { color: var(--red-2); font-size: 118px; line-height: .9; font-weight: 900; }
.hero-date .month { font-size: 25px; font-weight: 900; }
.primary-btn, .soft-btn, .ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 6px;
    border: 1px solid transparent;
    padding: 0 22px;
    font-weight: 900;
    cursor: pointer;
}
.primary-btn { color: #fff; background: linear-gradient(180deg, #d61717, #9b0000); }
.soft-btn { color: var(--red); border-color: #f0d6bd; background: #fff7ea; }
.ghost-btn { color: var(--red); border-color: #dcaba4; background: #fff; }
.hero-content { padding: 28px 32px; position: relative; }
.hero-content:after {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: 50%;
    background:
        radial-gradient(circle at 68% 28%, rgba(214, 23, 23, .16), transparent 12%),
        linear-gradient(140deg, transparent, rgba(246,195,91,.18)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 220'%3E%3Cg fill='none' stroke='%23b5522e' stroke-opacity='.25' stroke-width='4'%3E%3Cpath d='M20 178q58-70 104-38t116-76'/%3E%3Cpath d='M44 194q70-82 120-44t88-54'/%3E%3C/g%3E%3Ccircle cx='204' cy='52' r='28' fill='%23d41414' fill-opacity='.22'/%3E%3C/svg%3E") right center/contain no-repeat;
}
.home-hero .hero-content:after {
    opacity: 1;
    background:
        radial-gradient(circle at 72% 18%, rgba(214, 20, 20, .95) 0 21px, transparent 22px),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 320'%3E%3Cdefs%3E%3ClinearGradient id='m' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop stop-color='%236d8b82' stop-opacity='.55'/%3E%3Cstop offset='1' stop-color='%23d9c19c' stop-opacity='.4'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M6 276C76 190 112 185 152 228c42-80 74-97 122-28 26-44 48-58 86-28v148H6z' fill='url(%23m)'/%3E%3Cg fill='none' stroke='%23627b72' stroke-width='6' stroke-linecap='round' stroke-linejoin='round' opacity='.48'%3E%3Cpath d='M10 260C70 190 98 178 137 219c32-67 70-93 118-29 27-47 52-63 95-25'/%3E%3Cpath d='M0 306c65-60 104-70 157-28 55-55 98-69 174-28'/%3E%3C/g%3E%3Cg stroke='%23b64030' stroke-width='4' fill='none' opacity='.65'%3E%3Cpath d='M244 80c36 8 62 36 70 72'/%3E%3Cpath d='M246 101c20 8 35 24 42 45'/%3E%3Ccircle cx='245' cy='78' r='6' fill='%23d41414'/%3E%3C/g%3E%3C/svg%3E") right bottom/78% auto no-repeat,
        linear-gradient(90deg, transparent 0, rgba(255, 247, 231, .78) 54%, rgba(255, 235, 195, .92) 100%);
}
.home-hero .hero-content {
    padding: 26px 30px;
}
.home-hero .hero-content h2 {
    font-size: 25px;
    margin-bottom: 10px;
}
.home-stars {
    display: grid;
    gap: 12px;
    margin: 22px 0;
    max-width: 460px;
}
.home-stars div {
    display: flex;
    gap: 10px;
    align-items: center;
}
.home-stars b { min-width: 84px; color: var(--red); }
.home-note { max-width: 335px; }
.hero-content > * { position: relative; z-index: 1; }
.hero-content h2 { margin: 0 0 10px; font-size: 25px; }
.fact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 26px; margin: 18px 0; max-width: 620px; }
.fact-list div, .line-row { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed #ebded3; padding: 8px 0; }
.good-box, .bad-box { margin-top: 12px; padding: 14px 16px; border-radius: 7px; max-width: 540px; }
.good-box { background: #f0faef; border: 1px solid #cde8ce; color: #17672b; }
.bad-box { background: #fff0f0; border: 1px solid #f1cccc; color: #b71010; }

.home-breadcrumb {
    margin-top: -4px;
}
.home-detail-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 20px;
    align-items: start;
}
.home-detail-main,
.home-detail-sidebar {
    display: grid;
    gap: 16px;
}
.home-detail-hero {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(110deg, #fff 0, #fff 56%, #fff3dc 100%);
    box-shadow: var(--shadow);
}
.home-date-card {
    position: relative;
    display: grid;
    justify-items: center;
    align-content: start;
    min-height: 485px;
    padding: 0 18px 28px;
    border-right: 1px solid var(--line);
    background: linear-gradient(#fff9f0, #fff);
    overflow: hidden;
}
.home-date-card:after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 108px;
    background: url("../img/auth-bg.png") bottom center/230px auto no-repeat;
    opacity: .26;
}
.home-date-card b {
    display: block;
    width: calc(100% + 36px);
    margin: 0 -18px 28px;
    padding: 14px 10px;
    color: #fff;
    background: linear-gradient(180deg, #c71313, #a70000);
    text-align: center;
    text-transform: uppercase;
    font-size: 19px;
}
.home-date-card strong {
    color: var(--red-2);
    font-size: 112px;
    line-height: .85;
    font-weight: 900;
}
.home-date-card span {
    margin-top: 12px;
    color: #241b18;
    font-size: 30px;
    font-weight: 800;
}
.home-zodiac-art {
    position: relative;
    z-index: 1;
    width: min(158px, 84%);
    aspect-ratio: 1.42;
    margin: 24px 0 30px;
}
.home-zodiac-art img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}
.home-date-card small {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 14px;
    border: 1px solid #f0d5bc;
    border-radius: 8px;
    background: #fffaf4;
    color: #6d4b25;
    font-weight: 800;
}
.home-lunar-card {
    position: relative;
    padding: 24px 28px 22px;
}
.home-lunar-card:after {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: 42%;
    background:
        linear-gradient(90deg, rgba(255, 249, 239, 0), rgba(255, 244, 223, .74)),
        url("../img/xuat-hanh-compass.png") right -62px bottom -86px/260px auto no-repeat;
    opacity: .11;
    pointer-events: none;
}
.home-lunar-card > * {
    position: relative;
    z-index: 1;
}
.home-lunar-card h1 {
    margin: 0 0 10px;
    color: var(--red);
    text-align: center;
    text-transform: uppercase;
    font-size: 25px;
}
.home-lunar-card > p {
    margin: 0 0 18px;
    text-align: center;
    font-size: 15px;
}
.home-lunar-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 18px 0;
    border: 1px solid #f0dccb;
    border-radius: 8px;
    background: rgba(255,255,255,.78);
}
.home-lunar-facts div {
    min-height: 84px;
    padding: 14px 10px;
    border-right: 1px solid #f0dccb;
    border-bottom: 1px solid #f0dccb;
    text-align: center;
}
.home-lunar-facts div:nth-child(4n) { border-right: 0; }
.home-lunar-facts div:nth-last-child(-n+2) { border-bottom: 0; }
.home-lunar-facts span {
    display: block;
    margin-bottom: 7px;
    color: #8e4b19;
    font-weight: 800;
}
.home-lunar-facts strong {
    display: block;
    color: #2c221e;
}
.home-good-bad {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}
.home-good-bad p {
    margin: 8px 0 0;
    color: inherit;
}
.home-hours-panel,
.home-explain-panel,
.home-faq-panel,
.home-related-days,
.home-related-posts {
    margin-bottom: 0;
}
.home-hours-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    border: 1px solid #f0dccb;
    border-radius: 8px;
    overflow: hidden;
}
.home-hours-grid div {
    display: grid;
    gap: 5px;
    min-height: 100px;
    padding: 12px 6px;
    border-right: 1px solid #f0dccb;
    text-align: center;
    font-size: 12px;
}
.home-hours-grid div:last-child { border-right: 0; }
.home-hours-grid strong { font-size: 15px; }
.home-hours-grid span { color: #1f1714; }
.home-hours-grid small { color: #695c55; }
.home-hours-grid em {
    align-self: end;
    color: inherit;
    font-style: normal;
    font-weight: 900;
}
.home-hours-grid .is-good { background: #f5fbf3; color: var(--green); }
.home-hours-grid .is-bad { background: #fff7f4; color: var(--red); }
.home-explain-panel p {
    margin: 0 0 12px;
    line-height: 1.8;
}
.home-faq-panel details {
    border: 1px solid #f0dccb;
    border-radius: 7px;
    background: #fff;
}
.home-faq-panel details + details { margin-top: 8px; }
.home-faq-panel summary {
    cursor: pointer;
    padding: 14px 16px;
    font-weight: 900;
}
.home-faq-panel details p {
    margin: 0;
    padding: 0 16px 14px;
    color: #5f524b;
}
.home-related-days {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 0;
    overflow: hidden;
}
.home-related-days a {
    display: grid;
    gap: 7px;
    justify-items: center;
    min-height: 132px;
    padding: 18px;
    border-right: 1px solid #f0dccb;
    text-align: center;
}
.home-related-days a:last-child { border-right: 0; }
.home-related-days span {
    color: var(--red);
    text-transform: uppercase;
    font-weight: 900;
    font-size: 13px;
}
.home-related-days strong { font-size: 16px; }
.home-related-days small { color: #6d625d; }
.home-related-days .is-current {
    background: #fff8e9;
}
.home-post-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}
.home-post-strip a {
    display: grid;
    gap: 8px;
    align-content: start;
}
.home-post-strip .thumb {
    width: 100%;
    height: 86px;
    grid-row: auto;
}
.home-post-strip strong {
    font-size: 13px;
    line-height: 1.35;
}
.home-post-strip small {
    color: var(--muted);
}
.home-date-picker {
    padding: 22px;
    border-radius: 8px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(172, 0, 0, .97), rgba(112, 0, 0, .86)),
        url("../img/phong-thuy-compass.png") right -36px center/142px auto no-repeat;
}
.home-date-picker .panel-title {
    color: #fff;
}
.home-date-picker form {
    display: grid;
    gap: 14px;
}
.home-date-picker label {
    display: grid;
    gap: 7px;
    font-weight: 800;
}
.home-date-picker input,
.home-date-picker select {
    width: 100%;
    min-height: 42px;
    border: 0;
    border-radius: 6px;
    padding: 0 12px;
    color: #2c201d;
    background: #fff;
    font-family: inherit;
}
.home-date-picker button {
    min-height: 44px;
    border: 0;
    border-radius: 6px;
    color: #6a1800;
    background: linear-gradient(180deg, #ffe08f, #f6b844);
    font-weight: 900;
    text-transform: uppercase;
}
.home-side-list p,
.home-zodiac-panel p {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin: 0;
    padding: 7px 0;
}
.home-side-list p span,
.home-zodiac-panel p span {
    color: #6f625d;
}
.home-side-list p strong,
.home-zodiac-panel p strong {
    text-align: right;
}
.zodiac-box {
    margin-top: 10px;
    padding: 12px;
    border-radius: 8px;
    font-weight: 800;
}
.zodiac-box.good { background: #f0faef; color: #17672b; }
.zodiac-box.bad { background: #fff0f0; color: #b71010; }
.home-side-stars strong {
    display: block;
    color: var(--green);
    text-transform: uppercase;
}
.home-side-stars strong + p {
    margin: 5px 0 14px;
    color: #4f433e;
}
.home-side-stars p:last-child { margin-bottom: 0; }
.home-side-ad {
    min-height: 170px;
    padding: 24px;
    border-radius: 8px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(151, 0, 0, .98), rgba(102, 0, 0, .74)),
        url("../img/phong-thuy-compass.png") right -28px center/178px auto no-repeat;
}
.home-side-ad h3 {
    margin: 0 0 10px;
    font-size: 22px;
}
.home-side-ad p {
    max-width: 210px;
    color: #ffe8cf;
}
.home-side-ad a {
    display: inline-flex;
    margin-top: 8px;
    padding: 11px 22px;
    border-radius: 7px;
    color: #691400;
    background: var(--gold);
    font-weight: 900;
}

.quick-tools { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; margin: 20px 0; }
.quick-tools a {
    min-height: 96px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font-weight: 800;
    font-size: 13px;
}
.quick-tools span { font-size: 28px; }

.home-tools { margin-bottom: 0; padding: 18px; }
.home-tools .panel-title,
.home-posts .panel-title,
.home-widget .panel-title {
    color: #201714;
    text-transform: none;
    font-size: 21px;
}
.home-tools a {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 0 12px;
    align-items: center;
    padding: 10px 0;
}
.home-tools a + a { border-top: 1px solid #f1e5da; }
.home-tools strong { display: block; font-size: 15px; }
.home-tools small { display: block; color: var(--muted); font-size: 13px; }
.tool-icon {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    font-size: 22px;
}
.tool-icon.green { background: #edf9e8; }
.tool-icon.orange { background: #fff3df; }
.tool-icon.red { background: #fff0f0; }
.tool-icon.blue { background: #eaf2ff; }
.tool-icon.pink { background: #fff0f5; }
.tool-icon.gold { background: #fff5d8; }
.home-ad {
    min-height: 178px;
    border-radius: 8px;
    padding: 24px;
    color: #fff;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 170'%3E%3Cdefs%3E%3CradialGradient id='g'%3E%3Cstop stop-color='%23f9cf71'/%3E%3Cstop offset='.58' stop-color='%23813f12'/%3E%3Cstop offset='1' stop-color='%231b120b'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cellipse cx='134' cy='112' rx='78' ry='26' fill='%23000' opacity='.2'/%3E%3Ccircle cx='126' cy='82' r='63' fill='url(%23g)' stroke='%23f6c35b' stroke-width='5'/%3E%3Cg fill='none' stroke='%23f8d783' stroke-width='2' opacity='.95'%3E%3Ccircle cx='126' cy='82' r='48'/%3E%3Ccircle cx='126' cy='82' r='31'/%3E%3Cpath d='M126 22v120M66 82h120M84 40l84 84M168 40l-84 84'/%3E%3C/g%3E%3Cpath d='M126 41l13 41-13 41-13-41z' fill='%23fff0bd'/%3E%3Cpath d='M126 41l13 41h-26z' fill='%23b40000'/%3E%3Ccircle cx='126' cy='82' r='9' fill='%23220b05' stroke='%23f6c35b' stroke-width='3'/%3E%3Cg fill='%23f6c35b'%3E%3Ccircle cx='37' cy='126' r='13'/%3E%3Ccircle cx='62' cy='137' r='9'/%3E%3C/g%3E%3C/svg%3E") right bottom/54% auto no-repeat,
        linear-gradient(135deg, #9a0000, #670000);
}
.home-ad h3 { margin: 0 0 8px; font-size: 24px; }
.home-ad p { max-width: 170px; margin: 0 0 18px; }
.home-ad a { display: inline-flex; padding: 10px 22px; border-radius: 7px; color: #6b1600; background: var(--gold); font-weight: 900; }

.month-title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.month-title-row .panel-title { margin-bottom: 0; text-transform: none; color: #1f1512; }
.month-title-row .panel-title small { font-weight: 500; color: var(--muted); font-size: 16px; }
.home-month-panel { margin-bottom: 0; padding: 22px; }
.home-month-panel .calendar-head div {
    color: #161111;
    background: #fff;
    text-transform: none;
    border-bottom: 1px solid #eee3d8;
}
.home-month-panel .calendar-head div:last-child { color: var(--red-2); }
.home-month-panel .day-cell {
    min-height: 92px;
    padding: 12px 14px;
}
.home-month-panel .day-cell .num { font-size: 22px; }
.home-month-panel .day-cell.today {
    background: #fff8ca;
}
.day-cell.avg .num { color: #6f6a66; }
.day-cell.is-selected {
    position: relative;
    background: #fff8ca;
    box-shadow: inset 0 0 0 2px #c40000;
}
.day-cell.is-selected:before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--red-2);
}
.day-cell.is-selected .num {
    position: relative;
    z-index: 1;
    color: var(--text);
}
.day-cell.is-selected .num {
    justify-content: space-between;
}
.day-cell.is-selected .num:first-letter {
    color: #fff;
}
.home-posts {
    padding: 20px;
}
.home-posts .post-list { gap: 15px; }
.home-posts .post-list a {
    grid-template-columns: 96px 1fr;
}
.home-posts .thumb {
    width: 96px;
    height: 72px;
}
.more-link {
    display: block;
    margin-top: 14px;
    color: #6c1b13;
    text-align: right;
    font-weight: 800;
}
.tab-row {
    display: flex;
    gap: 6px;
    margin: 12px 0 14px;
}
.tab-row button {
    flex: 1;
    min-height: 38px;
    border: 1px solid #e7d4c4;
    border-radius: 5px;
    background: #fff;
    color: #5f4038;
    font-weight: 800;
}
.tab-row .active {
    color: #fff;
    background: linear-gradient(180deg, #d61717, #9b0000);
    border-color: #b40000;
}
.home-widget label { color: #3d2924; font-weight: 700; }
.home-widget .primary-btn { width: 100%; margin: 12px 0; }
.result-box {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid #efdfd1;
    border-radius: 7px;
    background: #fffaf5;
}
.good-day-row {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 4px 14px;
    align-items: center;
    padding: 9px 0;
}
.good-day-row + .good-day-row { border-top: 1px solid #f1e5da; }
.good-day-row span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    min-height: 58px;
    border-radius: 8px;
    color: var(--green);
    background: #eaf7df;
    font-size: 24px;
    font-weight: 900;
}
.good-day-row span small { display: block; color: #426a32; font-size: 12px; font-weight: 700; }
.good-day-row strong { font-size: 14px; }
.good-day-row em { color: var(--muted); font-size: 13px; font-style: normal; }
.zodiac-line {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
    font-size: 27px;
}
.zodiac-line span {
    width: 1px;
    height: 42px;
    background: #ead9c9;
}

.good-page {
    grid-template-columns: minmax(0, 1fr) 340px;
}
.good-filter-panel h1 {
    margin: 0;
    color: var(--red);
    text-transform: uppercase;
    font-size: 32px;
}
.good-filter-panel > p {
    margin: 6px 0 18px;
    color: var(--muted);
}
.good-purpose-tabs {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    border: 1px solid #efdfd1;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 22px;
}
.good-purpose-tabs a {
    display: grid;
    place-items: center;
    gap: 7px;
    min-height: 78px;
    border-right: 1px solid #efdfd1;
    background: #fff;
    color: #31211d;
    font-size: 13px;
    font-weight: 800;
}
.good-purpose-tabs a:last-child { border-right: 0; }
.good-purpose-tabs a span { font-size: 24px; }
.good-purpose-tabs a.is-active {
    color: #fff;
    background: linear-gradient(180deg, #d31616, #9a0000);
}
.good-filter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 22px;
}
.good-filter-grid .primary-btn {
    grid-column: span 2;
    min-height: 48px;
}
.good-results-panel {
    padding: 20px;
}
.good-result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}
.good-result-head h2 {
    margin: 0;
    color: var(--red);
    font-size: 21px;
    text-transform: uppercase;
}
.good-result-head p { margin: 4px 0 0; color: var(--muted); }
.good-day-list {
    display: grid;
    gap: 8px;
}
.good-result-card {
    display: grid;
    grid-template-columns: 112px 128px minmax(0, 1fr) 142px;
    align-items: stretch;
    border: 1px solid #efdfd1;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}
.solar-date,
.lunar-date {
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    padding: 12px;
    border-right: 1px solid #efdfd1;
    background: #fffaf4;
}
.solar-date span,
.lunar-date span {
    color: #8a1a12;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 900;
}
.solar-date strong {
    color: var(--red);
    font-size: 34px;
    line-height: 1;
}
.lunar-date strong {
    color: #201714;
    font-size: 25px;
    line-height: 1;
}
.solar-date em,
.lunar-date em {
    color: #4f403a;
    font-size: 13px;
    font-style: normal;
}
.good-info {
    padding: 14px 18px;
}
.good-info strong {
    display: block;
    color: var(--green);
    margin-bottom: 6px;
}
.good-info p {
    margin: 4px 0;
}
.good-result-card > .ghost-btn {
    align-self: center;
    justify-self: center;
    min-height: 36px;
    padding: 0 14px;
}
.detail-btn {
    min-width: 112px;
    white-space: nowrap;
}
.detail-btn,
.view-calendar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1;
    height: 38px;
}
.view-calendar-btn {
    min-width: 156px;
    white-space: nowrap;
}
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    line-height: 1;
    font-size: 11px;
    transform: translateY(-1px);
}
.pager {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 18px 0 26px;
}
.pager a,
.pager strong {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid #ead9c9;
    border-radius: 6px;
    background: #fff;
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
    user-select: none;
}
.pager strong {
    color: #fff;
    background: var(--red);
}
.pager .is-disabled {
    pointer-events: none;
    color: #b7a79a;
    background: #fffaf5;
}
.good-sidebar {
    display: grid;
    gap: 18px;
}
.guide-panel .panel-title,
.good-other-panel .panel-title {
    font-size: 20px;
}
.guide-step {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    align-items: center;
    padding: 9px 0;
}
.guide-step span {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: var(--red);
    border: 1px solid #d84b35;
    border-radius: 50%;
    font-weight: 900;
}
.good-consult-card {
    min-height: 210px;
    border-radius: 8px;
    padding: 24px;
    color: #fff;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 170'%3E%3Cdefs%3E%3CradialGradient id='g'%3E%3Cstop stop-color='%23f9cf71'/%3E%3Cstop offset='.58' stop-color='%23813f12'/%3E%3Cstop offset='1' stop-color='%231b120b'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='142' cy='94' r='60' fill='url(%23g)' stroke='%23f6c35b' stroke-width='5'/%3E%3Cg fill='none' stroke='%23f8d783' stroke-width='2'%3E%3Ccircle cx='142' cy='94' r='46'/%3E%3Ccircle cx='142' cy='94' r='28'/%3E%3Cpath d='M142 38v112M86 94h112M103 55l78 78M181 55l-78 78'/%3E%3C/g%3E%3C/svg%3E") right bottom/52% auto no-repeat,
        linear-gradient(135deg, #a30000, #640000);
}
.good-consult-card h3 {
    margin: 0 0 8px;
    text-transform: uppercase;
    font-size: 22px;
}
.good-consult-card p {
    max-width: 210px;
    margin: 0 0 18px;
}
.good-consult-card a {
    display: inline-flex;
    padding: 10px 20px;
    border-radius: 6px;
    color: #6b1600;
    background: var(--gold);
    font-weight: 900;
    text-transform: uppercase;
}
.good-other-panel a {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 0 12px;
    align-items: center;
    padding: 11px 0;
}
.good-other-panel a + a { border-top: 1px solid #f1e5da; }
.good-other-panel span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #fff2ed;
    font-size: 22px;
}
.good-other-panel a:nth-of-type(1) span { color: #d51a1a; background: #fff0f0; }
.good-other-panel a:nth-of-type(2) span { color: #9a4f16; background: #fff3e5; }
.good-other-panel a:nth-of-type(3) span { color: #20713a; background: #edf9e8; }
.good-other-panel a:nth-of-type(4) span { color: #2d67bf; background: #edf4ff; }
.good-other-panel a:nth-of-type(5) span { color: #b02d2d; background: #fff1f1; }
.good-other-panel a:nth-of-type(6) span { color: #9a1b12; background: #fff4e8; }
.good-other-panel a:nth-of-type(7) span { color: #d28a00; background: #fff8df; }
.good-other-panel strong { font-size: 15px; }
.good-other-panel small { color: var(--muted); }

.good-list-page {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
}
.good-list-filter {
    padding: 22px;
    background: linear-gradient(120deg, #fff, #fff8ef);
}
.good-list-filter form {
    display: grid;
    grid-template-columns: 1.2fr .9fr .9fr 190px;
    gap: 18px;
    align-items: end;
}
.good-list-filter .primary-btn {
    min-height: 46px;
}
.good-list-table-panel {
    padding: 0;
    overflow: hidden;
}
.good-list-table-panel .panel-title {
    margin: 0;
    padding: 22px 22px 14px;
}
.good-list-table-wrap {
    overflow-x: auto;
}
.good-list-table {
    min-width: 760px;
    border-collapse: separate;
    border-spacing: 0;
}
.good-list-table th,
.good-list-table td {
    border-right: 1px solid #f0e2d4;
    border-bottom: 1px solid #f0e2d4;
    vertical-align: middle;
}
.good-list-table th:last-child,
.good-list-table td:last-child {
    border-right: 0;
}
.good-list-table th {
    padding: 13px 14px;
    text-align: center;
    background: #fff7ef;
}
.good-list-table td {
    padding: 14px 16px;
}
.good-list-solar,
.good-list-lunar,
.good-list-rating {
    text-align: center;
    white-space: nowrap;
}
.good-list-solar strong {
    display: block;
    color: var(--red);
    font-size: 34px;
    line-height: 1;
}
.good-list-solar span,
.good-list-lunar span,
.good-list-rating small {
    display: block;
    margin-top: 4px;
}
.good-list-solar small,
.good-list-lunar small {
    color: var(--muted);
}
.good-list-lunar strong {
    display: block;
    color: #1f1714;
    font-size: 22px;
}
.good-list-info {
    min-width: 260px;
    font-size: 14px;
}
.good-list-info p {
    margin: 0 0 6px;
}
.good-list-info p:last-child {
    margin-bottom: 0;
}
.good-list-rating span {
    display: block;
    color: var(--green);
    font-weight: 900;
}
.good-list-rating em {
    display: block;
    margin-top: 4px;
    color: #f0a018;
    font-style: normal;
    letter-spacing: 1px;
}
.good-list-fit {
    min-width: 140px;
    text-align: center;
}
.good-list-fit div {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.good-list-fit div span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    color: var(--red);
    background: #fff0ed;
    font-size: 18px;
}
.good-list-fit .detail-btn {
    min-height: 34px;
    padding: 0 12px;
    font-size: 13px;
}
.good-list-sidebar {
    display: grid;
    gap: 18px;
}
.guide-step.icon-step span {
    color: var(--red);
    background: #fff4f0;
}
.purpose-symbol-panel {
    padding: 20px;
}
.purpose-symbol-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
}
.purpose-symbol-grid a {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 10px;
    align-items: center;
    color: #3a2823;
    font-weight: 800;
}
.purpose-symbol-grid a span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid #f2d9cf;
    border-radius: 8px;
    color: var(--red);
    background: #fff2ed;
    font-size: 20px;
}
.purpose-symbol-grid a.is-active {
    color: var(--red);
}

.month-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}
.month-nav-row {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) 170px;
    align-items: start;
    gap: 18px;
    margin: 24px 0 20px;
}
.month-heading {
    text-align: center;
}
.month-heading h1 {
    margin: 0;
    color: var(--red);
    text-transform: uppercase;
    font-size: 32px;
}
.month-heading p {
    margin: 6px 0 18px;
    font-size: 18px;
}
.month-inline-form {
    display: flex;
    justify-content: center;
    gap: 28px;
}
.month-inline-form select {
    width: 150px;
}
.month-inline-form .primary-btn {
    min-width: 86px;
}
.month-calendar {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}
.month-weekdays,
.month-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}
.month-weekdays div {
    padding: 13px 10px;
    color: #fff;
    background: linear-gradient(180deg, #c20e0e, #930000);
    text-align: center;
    text-transform: uppercase;
    font-weight: 900;
}
.month-cell {
    position: relative;
    min-height: 132px;
    padding: 18px 18px 12px;
    border-right: 1px solid #eee3d8;
    border-bottom: 1px solid #eee3d8;
    background: #fff;
}
.month-cell:nth-child(7n) {
    border-right: 0;
}
.month-cell.outside {
    color: #9b9b9b;
    background: #fdfaf7;
}
.month-cell .solar {
    display: inline-block;
    font-size: 25px;
    font-weight: 900;
    line-height: 1;
}
.month-cell .lunar {
    position: absolute;
    top: 32px;
    right: 20px;
    color: #6d6570;
    font-size: 13px;
}
.month-cell .canchi {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    color: #625a56;
    font-size: 14px;
    text-align: center;
}
.month-cell.good .solar { color: var(--green); }
.month-cell.bad .solar { color: var(--red-2); }
.month-cell.avg .solar { color: #191514; }
.month-cell.is-active {
    background: #fff7cc;
}
.month-cell.is-active .solar {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    background: var(--red-2);
}
.month-cell strong {
    position: absolute;
    left: 18px;
    bottom: 12px;
    padding: 4px 12px;
    border-radius: 4px;
    color: #fff;
    background: var(--red);
    font-size: 12px;
}
.month-star,
.month-dot {
    position: absolute;
    right: 14px;
    bottom: 42px;
}
.month-star {
    color: var(--green);
    font-size: 16px;
    line-height: 1;
}
.month-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}
.month-dot.good { background: var(--green); }
.month-dot.bad { background: var(--red-2); }
.month-dot.avg { background: var(--orange); }
.month-legend {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    margin: 18px 0 22px;
}
.month-legend .view-calendar-btn {
    margin-left: auto;
}
.symbol.star {
    display: inline-block;
    margin-right: 6px;
    color: var(--green);
}
.dot.muted,
.month-symbol-grid .dot.muted {
    background: #aaa;
}
.month-symbol-panel {
    padding: 22px;
}
.month-symbol-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
.month-symbol-grid > div {
    border-right: 1px solid #eee3d8;
    padding-right: 16px;
}
.month-symbol-grid > div:last-child {
    border-right: 0;
}
.month-symbol-grid strong {
    display: block;
    margin-bottom: 8px;
}
.month-symbol-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}
.month-sidebar {
    display: grid;
    gap: 18px;
    margin-top: 36px;
}
.month-picker-panel form {
    display: grid;
    gap: 16px;
}
.month-picker-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.month-stats-panel ul {
    margin: 0;
    padding-left: 18px;
}
.month-stats-panel li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
}
.month-stats-panel strong.green { color: var(--green); }
.month-stats-panel strong.red { color: var(--red-2); }
.month-stats-panel strong.orange { color: var(--orange); }
.month-featured-good {
    display: grid;
    gap: 11px;
}
.month-featured-good a {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 2px 14px;
    align-items: center;
}
.month-featured-good a span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    min-height: 54px;
    border: 1px solid #cfe4bd;
    border-radius: 7px;
    color: var(--green);
    background: #edf8e8;
    font-weight: 900;
}
.month-featured-good small {
    color: var(--muted);
}
.month-quick-panel {
    display: grid;
    gap: 10px;
}
.month-quick-panel a {
    color: #3f2b24;
}

.age-page {
    align-items: start;
}
.age-search-panel {
    padding: 22px;
    background: linear-gradient(120deg, #fff, #fff8ef);
}
.age-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: end;
}
.age-form .primary-btn {
    min-height: 48px;
}
.age-hero-result {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 18px;
    padding: 22px;
}
.age-person-card,
.age-score-card {
    min-height: 280px;
    border: 1px solid #efdfd1;
    border-radius: 10px;
    background: #fff;
    padding: 24px;
    text-align: center;
    box-shadow: 0 12px 28px rgba(120, 40, 0, .06);
}
.age-person-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #fff, #fff9f2);
}
.age-person-card.accent {
    background: linear-gradient(180deg, #fff, #fff4f4);
}
.age-animal {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #fff3df;
    font-size: 42px;
}
.age-person-card span {
    color: var(--muted);
    font-weight: 800;
}
.age-person-card h2 {
    margin: 8px 0 0;
    color: var(--red);
    font-size: 42px;
}
.age-person-card strong {
    display: block;
    font-size: 20px;
}
.age-person-card p {
    margin: 8px 0 0;
    color: var(--muted);
}
.age-score-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 8%, #fff5dd 0, #fff 42%);
}
.score-ring {
    --score: 50;
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background:
        radial-gradient(circle, #fff 0 58%, transparent 59%),
        conic-gradient(var(--green) calc(var(--score) * 1%), #ead9c9 0);
}
.score-ring span {
    position: absolute;
    left: 50%;
    top: 48%;
    transform: translate(-50%, -50%);
    color: var(--red);
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
}
.score-ring small {
    position: absolute;
    left: 50%;
    top: 64%;
    transform: translateX(-50%);
    color: var(--muted);
    font-weight: 800;
    font-size: 13px;
}
.age-score-card h2 {
    margin: 0 0 6px;
    color: var(--green);
    font-size: 28px;
    line-height: 1.1;
}
.age-score-card p {
    margin: 0 0 8px;
    color: var(--muted);
}
.age-stars {
    color: #f2a51b;
    font-size: 24px;
    line-height: 1;
    letter-spacing: 1px;
    white-space: nowrap;
}
.age-analysis-panel {
    padding: 22px;
}
.age-analysis-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}
.age-analysis-grid article {
    min-height: 170px;
    border: 1px solid #efdfd1;
    border-radius: 9px;
    background: #fff;
    padding: 18px;
}
.age-analysis-grid article span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-weight: 900;
}
.age-analysis-grid article.good span { color: #fff; background: var(--green); }
.age-analysis-grid article.mid span { color: #7a4a00; background: #fff0c8; }
.age-analysis-grid article.bad span { color: #fff; background: var(--red-2); }
.age-analysis-grid h3 {
    margin: 0 0 6px;
    font-size: 18px;
}
.age-analysis-grid strong {
    color: var(--red);
}
.age-analysis-grid p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
}
.age-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.age-branch-list {
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 10px;
}
.age-branch-list.good {
    color: #17672b;
    background: #eff9ec;
}
.age-branch-list.bad {
    color: #a40000;
    background: #fff0f0;
}
.age-tips {
    margin: 0;
    padding-left: 20px;
}
.age-tips li {
    margin: 8px 0;
}

.convert-page {
    display: grid;
    gap: 22px;
}
.convert-search-panel {
    padding: 0;
    overflow: hidden;
}
.convert-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #ead9c9;
}
.convert-tabs button {
    min-height: 54px;
    border: 0;
    border-right: 1px solid #ead9c9;
    background: #fff8ef;
    color: #2f211d;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}
.convert-tabs button:last-child { border-right: 0; }
.convert-tabs .is-active {
    color: #fff;
    background: linear-gradient(180deg, #d61717, #9b0000);
}
.convert-search-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 30px;
    padding: 28px 30px 24px;
}
.convert-field-group {
    display: grid;
    grid-template-columns: 1.1fr .9fr .9fr 160px;
    gap: 22px;
    align-items: end;
}
.convert-form-title {
    grid-column: 1 / -1;
    color: #7e1710;
    text-transform: uppercase;
    font-weight: 900;
}
.convert-note {
    align-self: center;
    border: 1px solid #f1d4a7;
    border-radius: 8px;
    padding: 16px 18px;
    background: #fff9ed;
}
.convert-note h3 {
    margin: 0 0 8px;
    color: #7e1710;
    text-transform: uppercase;
}
.convert-note ul {
    margin: 0;
    padding-left: 18px;
}
.convert-note li { margin: 5px 0; }
.convert-result-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 22px;
}
.convert-results-panel {
    padding: 20px;
}
.convert-result-cards {
    display: grid;
    grid-template-columns: 1fr 48px 1fr;
    gap: 26px;
    align-items: center;
}
.convert-date-card {
    min-height: 340px;
    border: 1px solid #d9edcf;
    border-radius: 8px;
    overflow: hidden;
    background: #fbfff9;
}
.convert-date-card.lunar {
    border-color: #f0cfc9;
    background: #fffafa;
}
.convert-date-card > span {
    display: block;
    padding: 12px;
    color: var(--green);
    background: #eef9ec;
    text-align: center;
    text-transform: uppercase;
    font-weight: 900;
}
.convert-date-card.lunar > span {
    color: var(--red);
    background: #fff0ef;
}
.convert-date-card h2 {
    margin: 18px 18px 4px;
    color: var(--green);
    text-align: center;
    font-size: 24px;
}
.convert-date-card.lunar h2 { color: var(--red); }
.convert-date-card p {
    margin: 0 18px 12px;
    text-align: center;
}
.convert-date-card dl {
    margin: 0;
    padding: 14px 20px 20px;
}
.convert-date-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 7px 0;
}
.convert-date-card dt {
    color: #5f514c;
}
.convert-date-card dd {
    margin: 0;
    font-weight: 700;
}
.convert-swap {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    background: var(--red);
    font-size: 22px;
    font-weight: 900;
}
.convert-tools-panel {
    padding: 20px;
}
.convert-tools-panel a {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 0 12px;
    align-items: center;
    padding: 10px 0;
}
.convert-tools-panel a + a { border-top: 1px solid #f1e5da; }
.convert-tools-panel a span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 9px;
    background: #f2f8ff;
}
.convert-tools-panel small { color: var(--muted); }
.convert-summary-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    padding: 18px 22px;
}
.convert-summary-strip div {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 0 10px;
}
.convert-summary-strip span {
    grid-row: span 2;
    font-size: 24px;
}
.convert-summary-strip strong {
    text-transform: uppercase;
}
.convert-summary-strip p {
    margin: 4px 0 0;
    color: #4f4541;
    font-size: 13px;
}
.convert-bottom-grid {
    display: grid;
    grid-template-columns: 1.9fr 1fr;
    gap: 22px;
}
.convert-history {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.convert-history a {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 0 12px;
    padding: 14px;
    border: 1px solid #ead9c9;
    border-radius: 8px;
}
.convert-history span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #fff0f0;
}
.convert-history small {
    color: var(--muted);
}
.convert-intro {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fffaf2, #fff0d6);
}
.convert-intro:after {
    content: "☯";
    position: absolute;
    right: 24px;
    bottom: -18px;
    color: rgba(190, 120, 25, .16);
    font-size: 120px;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.lvn-card { padding: 18px; display: flex; gap: 14px; min-height: 110px; }
.lvn-card-icon { font-size: 34px; line-height: 1; }
.lvn-card h3 { margin: 0 0 5px; font-size: 17px; }
.lvn-card p { margin: 0; color: var(--muted); font-size: 14px; }

.form-panel { padding: 22px; margin-bottom: 22px; background: linear-gradient(120deg, #fff, #fff7eb); }
.form-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: end; }
label { display: grid; gap: 8px; font-weight: 800; font-size: 14px; color: #7e1710; }
input, select, textarea {
    width: 100%;
    border: 1px solid #e7d4c4;
    border-radius: 6px;
    background: #fff;
    min-height: 44px;
    padding: 0 13px;
    color: var(--text);
    font: inherit;
}
textarea { padding-top: 12px; min-height: 88px; resize: vertical; }

.calendar-card { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.calendar-head, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.calendar-head div { background: linear-gradient(180deg, #c20e0e, #930000); color: #fff; padding: 13px; text-align: center; font-weight: 900; text-transform: uppercase; }
.day-cell {
    min-height: 118px;
    padding: 14px;
    border-right: 1px solid #eee3d8;
    border-bottom: 1px solid #eee3d8;
    background: #fff;
}
.day-cell .num { display: flex; justify-content: space-between; font-size: 24px; font-weight: 900; }
.day-cell small { color: #777; }
.day-cell.good .num { color: var(--green); }
.day-cell.bad .num { color: var(--red-2); }
.day-cell.avg .num { color: #6f6a66; }
.day-cell.today { background: #fff7cd; }
.legend { display: flex; gap: 22px; flex-wrap: wrap; margin: 18px 0 0; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; margin-right: 6px; background: #999; }
.dot.good { background: var(--green); }.dot.bad { background: var(--red-2); }.dot.avg, .dot.average { background: var(--orange); }

.table-panel { overflow: hidden; margin-bottom: 22px; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: 14px 15px; border-bottom: 1px solid #f0e2d4; text-align: left; vertical-align: top; }
th { color: #8b110b; background: #fff6ec; text-transform: uppercase; font-size: 13px; }
.rank { font-size: 24px; font-weight: 900; color: var(--red); }
.rating { color: var(--green); font-weight: 900; }

.mini-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 14px; }
.mini-grid b, .mini-grid a { min-height: 38px; display: grid; place-items: center; border-radius: 6px; }
.mini-grid a small { display: block; font-size: 10px; color: #8a817c; }
.mini-grid a.good { background: #edf8ee; color: var(--green); }
.mini-grid a.bad { background: #fff0f0; color: var(--red-2); }
.tool-list { display: grid; gap: 10px; }
.tool-list a { display: flex; gap: 10px; align-items: center; padding: 12px; border: 1px solid #f0e1d2; border-radius: 7px; background: #fffaf4; font-weight: 800; }
.vip-box { color: #fff; padding: 22px; border-radius: 8px; margin-bottom: 18px; background: radial-gradient(circle at 85% 30%, #c7882f 0, transparent 26%), linear-gradient(135deg, #a00000, #610000); }
.vip-box a { display: inline-flex; margin-top: 10px; padding: 10px 18px; border-radius: 6px; background: var(--gold); color: #6c1600; font-weight: 900; }
.post-list { display: grid; gap: 14px; }
.post-list a { display: grid; grid-template-columns: 74px 1fr; gap: 10px; align-items: center; }
.post-list small { color: var(--muted); }
.thumb {
    grid-row: span 2;
    width: 74px;
    height: 58px;
    border-radius: 7px;
    overflow: hidden;
    background: #f8efe5;
}
.thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.thumb.no-thumb {
    display: grid;
    place-items: center;
    color: #8b110b;
    font-size: 24px;
    font-weight: 900;
    background: #fff4e8;
    border: 1px solid #ead9c9;
}
.article-thumb {
    display: block;
    width: 100%;
    height: 150px;
    margin-bottom: 14px;
}

.blog-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
}
.blog-main {
    min-width: 0;
}
.blog-tabs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}
.blog-tabs a {
    display: grid;
    place-items: center;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: #3b2c27;
    font-weight: 800;
}
.blog-tabs a.is-active,
.blog-tabs a:hover {
    color: #fff;
    background: linear-gradient(180deg, #c20e0e, #970000);
    border-color: #ad0000;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.search-tools {
    margin-bottom: 20px;
}
.search-tool-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.search-tool-grid a {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 4px 12px;
    align-items: center;
    min-height: 78px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffaf5;
}
.search-tool-grid a:hover {
    border-color: #d71919;
    box-shadow: 0 12px 26px rgba(120, 0, 0, .08);
}
.search-tool-grid span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #fff1e8;
    color: #b00000;
    font-size: 21px;
}
.search-tool-grid strong {
    color: #a80000;
    font-size: 15px;
}
.search-tool-grid small {
    color: #75645c;
    line-height: 1.45;
}
.blog-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}
.blog-empty {
    grid-column: 1 / -1;
}
.blog-card-media {
    position: relative;
    display: block;
}
.blog-thumb {
    display: block;
    width: 100%;
    height: 170px;
    border-radius: 0;
    background: linear-gradient(135deg, #8a180e, #e7b65b);
}
.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-badge {
    position: absolute;
    z-index: 2;
    left: 14px;
    top: 14px;
    padding: 6px 10px;
    border-radius: 5px;
    color: #fff;
    background: var(--red);
    font-size: 12px;
    font-weight: 900;
}
.blog-card-body {
    padding: 16px;
}
.blog-card h2 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.35;
}
.blog-card p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 14px;
}
.blog-card small {
    color: #7a5d52;
}
.blog-pager {
    margin-top: 24px;
}
.blog-sidebar {
    display: grid;
    gap: 18px;
    align-content: start;
}
.blog-search {
    display: grid;
    grid-template-columns: 1fr 54px;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}
.blog-search input {
    min-height: 44px;
}
.blog-search button {
    border: 0;
    border-radius: 6px;
    color: #fff;
    background: var(--red);
    font-size: 22px;
    cursor: pointer;
}
.blog-featured-list a {
    grid-template-columns: 82px 1fr;
}
.blog-featured-list .thumb {
    width: 82px;
    height: 64px;
}
.blog-cats-panel {
    display: grid;
    gap: 10px;
}
.blog-cats-panel .panel-title {
    margin-bottom: 6px;
}
.blog-cats-panel a {
    display: grid;
    grid-template-columns: 34px 1fr 34px;
    gap: 10px;
    align-items: center;
    padding: 8px 0;
    color: #3a2823;
}
.blog-cats-panel a + a {
    border-top: 1px solid #f0e2d4;
}
.blog-cats-panel span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    color: var(--red);
    background: #fff1ee;
}
.blog-cats-panel small {
    display: grid;
    place-items: center;
    min-width: 28px;
    height: 24px;
    border-radius: 12px;
    color: #8a7468;
    background: #f6eee7;
    font-weight: 900;
}
.blog-newsletter {
    min-height: 260px;
    border-radius: 8px;
    padding: 24px;
    color: #fff;
    background:
        radial-gradient(circle at 86% 70%, rgba(245, 195, 90, .55) 0 17%, transparent 18%),
        linear-gradient(135deg, #9c0000, #650000);
    box-shadow: var(--shadow);
}
.blog-newsletter h3 {
    margin: 0 0 10px;
    text-transform: uppercase;
    font-size: 20px;
}
.blog-newsletter p {
    color: #ffe9df;
}
.blog-newsletter form {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}
.blog-newsletter button {
    min-height: 44px;
    border: 0;
    border-radius: 6px;
    color: #7b1700;
    background: var(--gold);
    font-weight: 900;
    text-transform: uppercase;
}
.blog-benefits {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 10px;
    padding: 18px 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}
.blog-benefits div {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 0 12px;
}
.blog-benefits div > :first-child {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid #f1cbc5;
    border-radius: 50%;
    color: var(--red);
    font-size: 20px;
}
.blog-benefits strong {
    color: var(--red);
    text-transform: uppercase;
    font-size: 13px;
}
.blog-benefits p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.year-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: start;
}
.year-main {
    min-width: 0;
}
.year-hero-panel {
    display: grid;
    grid-template-columns: minmax(280px, .95fr) minmax(320px, 1.05fr);
    padding: 0;
    overflow: hidden;
    background: linear-gradient(110deg, #fff7ec 0, #fff 52%, #fff6e9 100%);
}
.year-animal-art {
    position: relative;
    min-height: 338px;
    overflow: hidden;
    background: linear-gradient(135deg, #fff1df, #fffaf2);
}
.year-animal-art img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 338px;
    object-fit: cover;
    object-position: center;
}
.year-seal {
    position: absolute;
    top: 34px;
    left: 28px;
    display: grid;
    place-items: center;
    width: 48px;
    min-height: 94px;
    padding: 7px;
    border-radius: 4px;
    color: #fff7d9;
    background: linear-gradient(#c72720, #8b0904);
    border: 1px solid #f1b05d;
    font-weight: 900;
    text-align: center;
    line-height: 1.2;
}
.year-animal {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -45%);
    font-size: 164px;
    filter: drop-shadow(0 18px 22px rgba(126, 23, 0, .18));
}
.year-seal,
.year-animal {
    display: none;
}
.year-overview {
    padding: 38px 34px;
}
.year-overview .panel-title {
    margin-bottom: 22px;
}
.year-overview-list {
    display: grid;
    gap: 12px;
}
.year-overview-list div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 16px;
    align-items: center;
}
.year-overview-list span {
    color: #5c433b;
}
.year-overview-list strong {
    color: #221713;
    text-align: left;
}
.year-good-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}
.year-good-card {
    min-height: 214px;
    padding: 18px 14px;
    border: 1px solid #ecd8c7;
    border-radius: 8px;
    background: linear-gradient(180deg, #fff, #fff9f1);
    text-align: center;
}
.year-good-icon {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #fff0e8;
    font-size: 32px;
}
.year-good-card h3 {
    margin: 0 0 8px;
    color: var(--red);
    text-transform: uppercase;
    font-size: 14px;
}
.year-good-card strong {
    display: block;
    font-size: 18px;
}
.year-good-card small {
    display: block;
    color: var(--muted);
}
.year-good-card em {
    display: block;
    margin: 8px 0;
    color: #f49a19;
    font-style: normal;
    letter-spacing: 1px;
}
.year-good-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}
.year-center-btn {
    width: min(360px, 100%);
    margin: 18px auto 0;
}
.section-title {
    margin: 26px 0 14px;
    color: var(--red);
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 900;
}
.year-month-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.year-month-card,
.year-fortune-grid article {
    min-height: 134px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,.96);
    box-shadow: var(--shadow);
}
.year-month-card div {
    display: flex;
    gap: 10px;
    align-items: center;
}
.year-month-card div span,
.year-fortune-grid article > span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #fff0e8;
    color: var(--red);
}
.year-month-card p {
    margin: 12px 0;
    color: #4b3831;
    min-height: 44px;
}
.year-month-card a,
.year-fortune-grid a {
    color: var(--red);
    font-weight: 800;
}
.year-fortune-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.year-fortune-grid article {
    min-height: 178px;
}
.year-fortune-grid article > span {
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
    border-radius: 50%;
    color: #be2a15;
    font-size: 30px;
    background: #fff1df;
}
.year-fortune-grid b {
    display: block;
    color: var(--red);
    text-transform: uppercase;
    font-size: 13px;
}
.year-fortune-grid strong {
    display: block;
    margin: 3px 0 8px;
}
.year-fortune-grid p {
    color: var(--muted);
    font-size: 14px;
}
.year-sidebar {
    display: grid;
    gap: 18px;
}
.year-sidebar .panel {
    margin-bottom: 0;
}
.year-month-pick .panel-title,
.year-compat .panel-title,
.year-tools .panel-title {
    margin: -20px -20px 18px;
    padding: 14px 18px;
    border-radius: 8px 8px 0 0;
    color: #fff;
    background: linear-gradient(180deg, #c81111, #940000);
    font-size: 18px;
}
.year-month-mini {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px 16px;
    margin-bottom: 18px;
}
.year-month-mini a {
    display: grid;
    place-items: center;
    min-height: 38px;
    border-radius: 50%;
    font-weight: 800;
}
.year-month-mini a.is-active {
    color: #fff;
    background: var(--red);
}
.year-month-pick .primary-btn,
.year-compat .soft-btn,
.year-tools .soft-btn {
    width: 100%;
}
.year-compat p {
    color: var(--muted);
    margin-top: 0;
}
.year-compat .compat-row {
    display: grid;
    grid-template-columns: 24px 1fr auto;
    gap: 8px;
    align-items: center;
    margin: 10px 0;
}
.year-compat .compat-row span {
    color: var(--green);
}
.year-compat .compat-row strong {
    color: #3b261f;
}
.year-tools {
    display: grid;
    gap: 8px;
}
.year-tools a:not(.soft-btn) {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 10px;
    align-items: center;
    padding: 8px 0;
    font-weight: 800;
}
.year-tools a:not(.soft-btn) + a:not(.soft-btn) {
    border-top: 1px solid #f0e2d4;
}
.year-tools a span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fff1ee;
}

.feng-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: start;
}
.feng-main {
    min-width: 0;
}
.feng-filter form {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr 124px;
    gap: 18px;
    align-items: end;
}
.feng-filter label {
    display: grid;
    gap: 8px;
    color: var(--red);
    font-size: 13px;
    font-weight: 800;
}
.feng-segment {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.feng-segment button {
    min-height: 42px;
    border: 1px solid #ead5c7;
    border-radius: 5px;
    background: #fff;
    color: #5b4139;
    font-weight: 800;
}
.feng-segment .active {
    color: #fff;
    background: linear-gradient(180deg, #c91414, #900000);
    border-color: #a40000;
}
.feng-hero {
    display: grid;
    grid-template-columns: 235px 1fr;
    gap: 0;
    padding: 0;
    overflow: hidden;
}
.feng-image {
    min-height: 342px;
    background:
        linear-gradient(180deg, rgba(120, 0, 0, .04), rgba(120, 0, 0, .04)),
        url("../img/phong-thuy-compass.png") center/cover no-repeat,
        #8f0000;
}
.feng-summary {
    padding: 28px 32px;
}
.feng-summary h2 {
    margin: 0;
    color: var(--red);
    text-align: center;
    font-size: 26px;
}
.feng-summary > p {
    margin: 6px 0 22px;
    text-align: center;
}
.feng-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 42px;
}
.feng-facts div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}
.feng-facts span {
    color: #5e4b44;
}
.feng-notice {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: center;
    margin-top: 22px;
    padding: 16px;
    border: 1px solid #f0d9b8;
    border-radius: 8px;
    background: #fffaf0;
}
.feng-notice > span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff0d7;
    color: var(--orange);
}
.feng-notice p {
    margin: 3px 0 0;
    color: var(--muted);
}
.feng-hours-panel .panel-title {
    color: var(--green);
}
.feng-hours-panel.bad .panel-title {
    color: var(--red);
}
.feng-hour-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}
.feng-hour-grid article {
    display: grid;
    place-items: center;
    min-height: 160px;
    padding: 14px 10px;
    border: 1px solid #d7ead8;
    border-radius: 8px;
    background: #f7fff6;
    text-align: center;
}
.feng-hour-grid article.is-bad {
    border-color: #f1cccc;
    background: #fff5f5;
}
.feng-hour-grid strong {
    font-size: 15px;
}
.feng-hour-grid small {
    color: var(--muted);
    font-size: 12px;
}
.feng-hour-grid span {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 8px 0;
    border-radius: 50%;
    background: #e8f5e8;
    font-size: 30px;
}
.feng-hour-grid .is-bad span {
    background: #ffe4e4;
}
.feng-hour-grid b {
    color: #155f2b;
}
.feng-hour-grid .is-bad b {
    color: var(--red);
}
.feng-hour-grid em {
    color: #155f2b;
    font-style: normal;
    font-weight: 800;
}
.feng-hour-grid .is-bad em {
    color: var(--red);
}
.feng-table-wrap {
    overflow-x: auto;
}
.feng-hour-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 780px;
}
.feng-hour-table th {
    padding: 12px;
    color: #7a2b1f;
    background: #fff4ea;
    text-align: left;
    font-size: 13px;
}
.feng-hour-table td {
    padding: 12px;
    border-bottom: 1px solid #f0e1d5;
    font-size: 13px;
}
.feng-hour-table tr.good td:first-child {
    color: var(--green);
    font-weight: 900;
}
.feng-hour-table tr.bad td:first-child {
    color: var(--red);
    font-weight: 900;
}
.feng-hour-table td span {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 12px;
    color: var(--green);
    background: #e9f8e9;
    font-weight: 800;
}
.feng-hour-table tr.bad td span {
    color: var(--red);
    background: #ffe8e8;
}
.feng-more-hours {
    width: min(260px, 100%);
    margin: 16px auto 0;
}
.feng-sidebar {
    display: grid;
    gap: 18px;
}
.feng-sidebar .panel {
    margin-bottom: 0;
}
.feng-mini-calendar .mini-grid span {
    min-height: 34px;
}
.feng-mini-calendar .mini-grid a.is-active {
    color: #fff;
    background: var(--red);
    border-radius: 50%;
}
.feng-tool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.feng-tool-grid a {
    display: grid;
    place-items: center;
    gap: 6px;
    min-height: 74px;
    color: #5b3129;
    font-size: 12px;
    font-weight: 800;
}
.feng-tool-grid span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 9px;
    color: var(--red);
    background: #fff0ee;
    font-size: 21px;
}
.feng-guide p {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 10px;
    align-items: start;
    margin: 12px 0;
    color: #4b3831;
}
.feng-guide p span {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: var(--red);
}
.feng-today p {
    color: var(--muted);
}
.feng-today div {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 10px;
    align-items: center;
    margin: 8px 0;
}
.feng-today div span {
    padding: 4px 8px;
    border-radius: 5px;
    color: var(--green);
    background: #e6f6e5;
    font-weight: 800;
    font-size: 12px;
}

.consult-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: start;
}
.consult-main,
.consult-sidebar {
    display: grid;
    gap: 18px;
    min-width: 0;
}
.consult-hero {
    min-height: 305px;
    display: grid;
    align-items: center;
    padding: 34px 36px;
    border-radius: 8px;
    color: #fff7db;
    background:
        linear-gradient(90deg, rgba(92, 0, 0, .96) 0 46%, rgba(92, 0, 0, .72) 62%, rgba(92, 0, 0, .18) 100%),
        url("../img/phong-thuy-compass.png") right center/contain no-repeat,
        radial-gradient(circle at 78% 42%, #9d4b13, #590000 62%);
    overflow: hidden;
}
.consult-hero h1 {
    max-width: 520px;
    margin: 0 0 12px;
    color: #ffe08a;
    font-size: 36px;
    line-height: 1.16;
    text-transform: uppercase;
}
.consult-hero p {
    max-width: 500px;
    margin: 0 0 22px;
    color: #fff7e0;
    font-size: 17px;
}
.consult-hero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 560px;
    margin-bottom: 24px;
}
.consult-hero-points span {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 4px 8px;
    align-items: center;
    color: #ffd86e;
}
.consult-hero-points small {
    grid-column: 2;
    color: #fff0c8;
    font-size: 12px;
}
.consult-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}
.gold-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 22px;
    border: 0;
    border-radius: 6px;
    color: #7a2000;
    background: linear-gradient(180deg, #ffe5a2, #f4bc4a);
    font-weight: 900;
}
.consult-step-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--red);
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
}
.consult-step-title span {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #fff;
    background: var(--red);
    font-size: 12px;
}
.consult-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 18px;
    border: 1px solid #ead9c9;
    border-radius: 6px;
    overflow: hidden;
}
.consult-steps b {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    color: var(--muted);
    background: #fffdfa;
    font-size: 12px;
    text-transform: uppercase;
}
.consult-steps b:not(:last-child) {
    border-right: 1px solid #ead9c9;
}
.consult-steps .is-active {
    color: var(--red);
    background: #fff8f1;
}
.consult-steps span {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: #fff;
    background: #c8b8ad;
    box-shadow: inset 0 0 0 999px rgba(164, 0, 0, .05);
}
.consult-steps .is-active span {
    background: var(--red);
}
.consult-form {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 16px 22px;
}
.consult-form label {
    display: grid;
    gap: 8px;
    color: var(--red);
    font-size: 13px;
    font-weight: 800;
}
.consult-form input,
.consult-form select,
.consult-form textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid #ead5c7;
    border-radius: 6px;
    background: #fff;
    padding: 0 14px;
    color: var(--text);
    font: inherit;
}
.consult-form textarea {
    min-height: 92px;
    padding-top: 12px;
    resize: vertical;
}
.consult-wide {
    grid-row: span 2;
}
.consult-wide small {
    justify-self: end;
    margin-top: -28px;
    padding-right: 10px;
    color: var(--muted);
    font-weight: 600;
}
.consult-radio {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 42px;
}
.consult-radio label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--text);
}
.consult-submit {
    grid-column: 2;
    width: min(460px, 100%);
}
.consult-secure {
    margin: 10px 0 0;
    color: #a36b1e;
    text-align: center;
    font-size: 13px;
}
.consult-result-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.consult-result-grid article {
    min-width: 0;
    min-height: 224px;
    padding: 18px;
    border: 1px solid #ead9c9;
    border-radius: 8px;
    background: #fffdfa;
}
.consult-result-grid h3 {
    margin: 0 0 14px;
    color: var(--green);
    text-align: center;
    text-transform: uppercase;
    font-size: 15px;
}
.consult-result-grid p {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0;
    color: var(--muted);
    font-size: 13px;
}
.consult-result-grid strong {
    color: var(--text);
}
.consult-result-grid article > small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}
.consult-score {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin: 18px auto 0;
    border: 8px solid #dcefdc;
    border-top-color: var(--green);
    border-radius: 50%;
    color: var(--green);
    text-align: center;
}
.consult-score b {
    font-size: 26px;
    line-height: 1;
}
.consult-score small {
    color: var(--green);
    font-size: 10px;
    line-height: 1.2;
}
.bagua {
    display: grid;
    place-items: center;
    width: 104px;
    height: 104px;
    margin: 8px auto 0;
    border: 10px double #202020;
    border-radius: 50%;
    color: #111;
    background: #fffdf5;
    font-size: 36px;
}
.color-dots {
    display: flex;
    gap: 11px;
    margin: 7px 0 14px;
}
.color-dots i {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
.consult-result-grid article > a {
    display: block;
    margin-top: 10px;
    color: var(--red);
    font-weight: 800;
    text-align: center;
}
.consult-warning {
    display: grid;
    grid-template-columns: 150px 1fr 130px;
    gap: 18px;
    align-items: center;
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 7px;
    background: #fff7ed;
}
.consult-warning strong {
    color: var(--red);
    text-transform: uppercase;
}
.consult-warning span {
    color: var(--muted);
}
.consult-warning a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 6px;
    color: #fff;
    background: var(--red);
    font-weight: 900;
}
.consult-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.consult-plan-grid article {
    position: relative;
    display: grid;
    gap: 10px;
    min-height: 286px;
    padding: 22px;
    border: 1px solid #ead9c9;
    border-radius: 8px;
    background: #fffdfa;
    text-align: center;
}
.consult-plan-grid article.is-popular {
    border-color: #e9873b;
    box-shadow: 0 16px 28px rgba(148, 46, 0, .09);
}
.consult-plan-grid article.is-selected {
    border-color: var(--red);
    background: linear-gradient(180deg, #fffaf2, #fffdfb);
    box-shadow: 0 18px 34px rgba(164, 0, 0, .13);
}
.consult-plan-grid h3 {
    margin: 0;
    color: var(--red);
    font-size: 24px;
}
.consult-plan-grid strong {
    color: var(--red-2);
    font-size: 28px;
}
.consult-plan-grid del {
    color: var(--muted);
}
.consult-plan-grid mark {
    position: absolute;
    top: -1px;
    right: 20px;
    padding: 4px 12px;
    border-radius: 0 0 7px 7px;
    color: #7a2500;
    background: #ffd077;
    font-weight: 900;
}
.plan-selected-label {
    position: absolute;
    top: 8px;
    left: 14px;
    padding: 4px 10px;
    border-radius: 999px;
    color: #fff;
    background: var(--red);
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}
.consult-plan-grid ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    text-align: left;
    list-style: none;
}
.consult-plan-grid li {
    color: #315f36;
    font-size: 13px;
}
.consult-plan-grid a {
    align-self: end;
    width: 100%;
}
.consult-plan-next {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) 220px;
    gap: 16px;
    align-items: center;
    margin-top: 16px;
    padding: 14px 16px;
    border: 1px solid #f0d1a5;
    border-radius: 8px;
    background: #fff7e9;
}
.consult-plan-next strong {
    color: var(--red);
    text-transform: uppercase;
}
.consult-plan-next span {
    color: var(--muted);
    font-size: 14px;
}
.consult-process > div {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}
.consult-process article {
    display: grid;
    justify-items: center;
    gap: 8px;
    text-align: center;
}
.consult-process span {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid #f0d2a6;
    border-radius: 50%;
    color: var(--orange);
    background: #fff8ec;
}
.consult-process small {
    color: var(--muted);
}
.consult-sidebar .panel {
    margin-bottom: 0;
}
.consult-why p {
    margin: 10px 0;
    color: #4b3831;
}
.consult-why > div:not(.panel-title) {
    display: grid;
    place-items: center;
    width: 116px;
    height: 116px;
    margin: 18px auto 0;
    border: 8px double #f1c078;
    border-radius: 50%;
    color: #c77b16;
    background: #fffaf1;
    font-size: 42px;
}
.consult-expert-card {
    padding: 20px;
    border: 1px solid #ead9c9;
    border-radius: 8px;
    background:
        linear-gradient(90deg, #fffdfa 0 60%, rgba(255,253,250,.78)),
        url("../img/phong-thuy-compass.png") right bottom/150px auto no-repeat;
    box-shadow: var(--shadow);
}
.consult-expert-card h3 {
    margin: 0 0 10px;
    color: var(--red);
    text-transform: uppercase;
}
.consult-expert-card p {
    color: var(--muted);
}
.consult-expert-card ul {
    display: grid;
    gap: 7px;
    margin: 12px 0 16px;
    padding: 0;
    list-style: none;
}
.consult-expert-card a {
    display: inline-flex;
    min-height: 38px;
    padding: 0 18px;
    align-items: center;
    border-radius: 6px;
    color: #fff;
    background: var(--red);
    font-weight: 900;
}
.consult-testimonials article {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0dfcf;
}
.consult-testimonials article:last-of-type {
    border-bottom: 0;
}
.consult-testimonials article > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff0ef;
}
.consult-testimonials b,
.consult-testimonials small,
.consult-testimonials em {
    display: block;
}
.consult-testimonials small {
    color: var(--muted);
}
.consult-testimonials em {
    color: var(--orange);
    font-style: normal;
}
.consult-testimonials p {
    margin: 6px 0 0;
    color: #4d3b34;
    font-size: 13px;
}
.consult-testimonials .more-link {
    display: inline-flex;
    margin-top: 8px;
    color: var(--red);
    font-weight: 800;
}
.auth-page {
    position: relative;
    left: 50%;
    width: calc(100vw - 15px);
    max-width: calc(100vw - 15px);
    margin-left: calc(-50vw + 7.5px);
    margin-right: -50vw;
    margin-top: -8px;
    padding: 30px max(26px, calc((100vw - 1199px) / 2 + 26px)) 38px;
    background:
        radial-gradient(circle at 50% 34%, rgba(255,255,255,.94), rgba(255,255,255,.5) 44%, transparent 70%),
        linear-gradient(90deg, #fff3e4 0, #fff9f0 16%, #fffdf8 34%, #fffdf8 66%, #fff8ef 84%, #fff1e1 100%);
    overflow: hidden;
}
.auth-title {
    position: relative;
    z-index: 1;
    margin-top: 0;
    margin-bottom: 24px;
}
.auth-page:before,
.auth-page:after {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
}
.auth-page:before {
    left: 0;
    top: 14px;
    bottom: 0;
    width: clamp(150px, 18vw, 245px);
    height: auto;
    background: url("../img/auth-left-decor.png") left bottom/100% 100% no-repeat;
    opacity: .92;
    mask-image: linear-gradient(90deg, #000 0 48%, rgba(0,0,0,.75) 64%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 0 48%, rgba(0,0,0,.75) 64%, transparent 100%);
}
.auth-page:after {
    right: 0;
    top: 14px;
    bottom: 0;
    width: clamp(150px, 18vw, 245px);
    height: auto;
    background: url("../img/auth-right-decor.png") right bottom/100% 100% no-repeat;
    opacity: .92;
    mask-image: linear-gradient(270deg, #000 0 48%, rgba(0,0,0,.75) 64%, transparent 100%);
    -webkit-mask-image: linear-gradient(270deg, #000 0 48%, rgba(0,0,0,.75) 64%, transparent 100%);
}
.auth-shell,
.auth-benefits,
.auth-alert {
    position: relative;
    z-index: 1;
}
.auth-alert {
    max-width: 980px;
    margin: 0 auto 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 800;
}
.auth-alert.success {
    color: var(--green);
    background: #edf9ed;
    border: 1px solid #cae8ca;
}
.auth-alert.error {
    color: var(--red);
    background: #fff0ef;
    border: 1px solid #f0caca;
}
.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}
.auth-shell.is-logged-in {
    grid-template-columns: minmax(0, 520px);
    justify-content: center;
}
.auth-card {
    min-height: 0;
    padding: 30px 28px 28px;
    border: 1px solid #ead8c9;
    border-radius: 8px;
    background: rgba(255,255,255,.93);
    box-shadow: 0 18px 45px rgba(111, 45, 0, .07);
}
.auth-card h2 {
    margin: 10px 0 4px;
    color: var(--red);
    text-align: center;
    text-transform: uppercase;
    font-size: 22px;
}
.auth-register h2 {
    color: #c77b16;
}
.auth-card > p {
    margin: 0 0 22px;
    color: var(--muted);
    text-align: center;
}
.auth-icon {
    position: relative;
    display: block;
    width: 58px;
    height: 58px;
    margin: 0 auto;
    border-radius: 50%;
    color: var(--red);
    background: #ffe5e3;
}
.auth-icon.gold {
    color: #bf7412;
    background: #ffe9ba;
}
.auth-icon:before,
.auth-icon:after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 2px solid currentColor;
}
.auth-icon:before {
    top: 15px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
}
.auth-icon:after {
    top: 31px;
    width: 26px;
    height: 16px;
    border-radius: 16px 16px 5px 5px;
    border-bottom: 0;
}
.auth-icon-register .auth-icon-plus,
.auth-icon-register:before {
    color: inherit;
}
.auth-icon-register {
    overflow: visible;
}
.auth-icon-register:after {
    width: 25px;
}
.auth-icon-register:before {
    box-shadow: 19px 20px 0 -8px #ffe9ba;
}
.auth-icon-register {
    --plus-color: #bf7412;
}
.auth-icon-register::marker {
    content: "";
}
.auth-icon-register + h2:before {
    content: "";
}
.auth-icon-register span {
    display: none;
}
.auth-icon-register:after {
    box-shadow: 18px -2px 0 -7px #ffe9ba;
}
.auth-icon-register {
    background-image:
        linear-gradient(var(--plus-color), var(--plus-color)),
        linear-gradient(var(--plus-color), var(--plus-color));
    background-size: 14px 2px, 2px 14px;
    background-position: calc(50% + 15px) calc(50% + 15px);
    background-repeat: no-repeat;
}
.auth-form {
    display: grid;
    gap: 13px;
}
.auth-form label {
    display: block;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
}
.auth-form label span {
    display: inline;
    color: var(--red);
}
.auth-input {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    align-items: center;
    min-height: 42px;
    margin-top: 8px;
    border: 1px solid #dccbc1;
    border-radius: 6px;
    background: #fff;
}
.auth-input i {
    display: block;
    width: 18px;
    height: 18px;
    margin: 0 auto;
    background: #9f9691;
    font-size: 0;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}
.auth-line-user {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm0 2c-4.42 0-8 2.24-8 5v1h16v-1c0-2.76-3.58-5-8-5Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm0 2c-4.42 0-8 2.24-8 5v1h16v-1c0-2.76-3.58-5-8-5Z'/%3E%3C/svg%3E");
}
.auth-line-mail {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M3 6h18v12H3V6Zm9 7 7-5H5l7 5Zm0 2L5 10v6h14v-6l-7 5Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M3 6h18v12H3V6Zm9 7 7-5H5l7 5Zm0 2L5 10v6h14v-6l-7 5Z'/%3E%3C/svg%3E");
}
.auth-line-phone {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M7.6 3h3l1.2 5-2 1.3c.9 1.9 2.4 3.4 4.3 4.3l1.3-2 5 1.2v3c0 1.1-.9 2-2 2C10 17.8 3 10.8 3 5c0-1.1.9-2 2-2h2.6Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M7.6 3h3l1.2 5-2 1.3c.9 1.9 2.4 3.4 4.3 4.3l1.3-2 5 1.2v3c0 1.1-.9 2-2 2C10 17.8 3 10.8 3 5c0-1.1.9-2 2-2h2.6Z'/%3E%3C/svg%3E");
}
.auth-line-lock {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M7 10V8a5 5 0 0 1 10 0v2h2v11H5V10h2Zm2 0h6V8a3 3 0 0 0-6 0v2Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M7 10V8a5 5 0 0 1 10 0v2h2v11H5V10h2Zm2 0h6V8a3 3 0 0 0-6 0v2Z'/%3E%3C/svg%3E");
}
.auth-input input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
    font: inherit;
}
.auth-input button {
    position: relative;
    width: 34px;
    height: 34px;
    border: 0;
    color: #665b55;
    background: transparent;
    cursor: pointer;
}
.auth-input button:before {
    content: "";
    position: absolute;
    inset: 11px 7px;
    border: 1.6px solid currentColor;
    border-radius: 50% 50% 46% 46%;
    transform: rotate(-8deg);
}
.auth-input button:after {
    content: "";
    position: absolute;
    left: 15px;
    top: 15px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
}
.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--red);
    font-size: 14px;
    font-weight: 800;
}
.auth-check {
    display: flex !important;
    align-items: center;
    gap: 8px !important;
    color: var(--text) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}
.auth-consent-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 2px 0 4px;
}
.auth-consent-row input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--red);
}
.auth-consent-row label {
    display: block !important;
    margin: 0 !important;
    color: var(--text);
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.35;
}
.auth-consent-row a {
    color: var(--red);
    font-weight: 900;
    text-decoration: underline;
}
.auth-check input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--red);
}
.auth-check a {
    color: var(--red);
    font-weight: 900;
    text-decoration: underline;
}
.auth-submit {
    width: 100%;
    min-height: 46px;
    border: 0;
    cursor: pointer;
}
.auth-switch {
    margin-top: 16px !important;
    text-align: center;
}
.auth-switch a {
    color: var(--red);
    font-weight: 900;
    text-decoration: underline;
}
.auth-closed,
.auth-logged-in {
    display: grid;
    gap: 14px;
    padding: 20px;
    border: 1px solid #ead9c9;
    border-radius: 8px;
    background: #fffaf4;
}
.auth-benefits {
    max-width: 1000px;
    margin: 24px auto 0;
    padding: 20px 30px 22px;
    border: 1px solid #ead8c9;
    border-radius: 10px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 14px 34px rgba(111, 45, 0, .055);
}
.auth-benefits h2 {
    margin: 0 0 20px;
    color: var(--red);
    text-align: center;
    text-transform: uppercase;
    font-size: 18px;
}
.auth-benefits > div {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}
.auth-benefits article {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 2px 12px;
    align-items: center;
    min-width: 0;
    padding: 0 18px;
    border-right: 1px solid #f0dfd2;
}
.auth-benefits article:last-child {
    border-right: 0;
}
.auth-benefits span {
    display: grid;
    place-items: center;
    grid-row: span 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--red);
    background: #fff2eb;
    font-size: 0;
}
.auth-benefit-icon:before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background: currentColor;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}
.auth-benefit-icon.calendar:before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M7 2h2v3h6V2h2v3h3v17H4V5h3V2Zm11 8H6v10h12V10Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M7 2h2v3h6V2h2v3h3v17H4V5h3V2Zm11 8H6v10h12V10Z'/%3E%3C/svg%3E");
}
.auth-benefit-icon.bell:before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M12 22a2.8 2.8 0 0 0 2.7-2h-5.4A2.8 2.8 0 0 0 12 22Zm8-5-2-3V9a6 6 0 1 0-12 0v5l-2 3v1h16v-1Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M12 22a2.8 2.8 0 0 0 2.7-2h-5.4A2.8 2.8 0 0 0 12 22Zm8-5-2-3V9a6 6 0 1 0-12 0v5l-2 3v1h16v-1Z'/%3E%3C/svg%3E");
}
.auth-benefit-icon.ai:before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M5 5h14v10H8l-3 3V5Zm4 5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm6 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm-6 3h6v-2H9v2Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M5 5h14v10H8l-3 3V5Zm4 5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm6 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm-6 3h6v-2H9v2Z'/%3E%3C/svg%3E");
}
.auth-benefit-icon.crown:before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='m4 18 1-10 5 4 2-6 2 6 5-4 1 10H4Zm1 2h14v2H5v-2Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='m4 18 1-10 5 4 2-6 2 6 5-4 1 10H4Zm1 2h14v2H5v-2Z'/%3E%3C/svg%3E");
}
.auth-benefits strong {
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
}
.auth-benefits small {
    color: var(--muted);
    line-height: 1.35;
}
.checkout-page {
    align-items: start;
}
.checkout-main,
.checkout-sidebar {
    display: grid;
    gap: 18px;
    min-width: 0;
}
.checkout-card {
    border: 1px solid #ead8c9;
    border-radius: 8px;
    background: #fffdfa;
    box-shadow: 0 18px 42px rgba(120, 43, 18, 0.06);
}
.checkout-main .checkout-card {
    padding: 28px;
}
.checkout-sidebar .checkout-card {
    padding: 22px;
}
.checkout-plan-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 18%, rgba(246, 195, 87, 0.22), transparent 24%),
        linear-gradient(135deg, #fffdf8, #fff7ec);
}
.checkout-plan-head span {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    color: #8b3600;
    background: #fff0ce;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}
.checkout-plan-head h2 {
    margin: 14px 0 8px;
    color: var(--red);
    font-size: 30px;
    line-height: 1.15;
}
.checkout-plan-head p,
.checkout-note,
.checkout-help-card p {
    color: var(--muted);
    line-height: 1.65;
}
.checkout-price {
    display: grid;
    align-content: center;
    justify-items: end;
    gap: 5px;
    min-width: 150px;
}
.checkout-price strong {
    color: var(--red);
    font-size: 34px;
    line-height: 1;
}
.checkout-price del {
    color: #9d8d84;
    font-weight: 800;
}
.checkout-features {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}
.checkout-features li {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    font-weight: 800;
}
.checkout-bank-layout {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    margin-top: 16px;
}
.checkout-qr {
    display: grid;
    place-items: center;
    width: 168px;
    height: 168px;
    border: 1px solid #e5c8a7;
    border-radius: 8px;
    color: var(--red);
    background:
        linear-gradient(90deg, #6f0000 10px, transparent 10px) 18px 18px / 42px 42px,
        linear-gradient(#6f0000 10px, transparent 10px) 18px 18px / 42px 42px,
        #fff5dc;
    font-weight: 900;
}
.checkout-qr span {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fffdfa;
    box-shadow: 0 0 0 8px rgba(255, 253, 250, 0.85);
}
.checkout-bank-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.checkout-bank-grid p {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 14px;
    border: 1px solid #f0dcca;
    border-radius: 8px;
    background: #fff;
}
.checkout-bank-grid span,
.checkout-form label {
    color: #7d2a1b;
    font-size: 13px;
    font-weight: 900;
}
.checkout-bank-grid strong {
    color: var(--text);
    font-size: 16px;
}
.checkout-note {
    margin: 18px 0 0;
    padding: 12px 14px;
    border-radius: 8px;
    background: #fff7eb;
}
.checkout-form {
    display: grid;
    gap: 14px;
}
.checkout-form label {
    display: grid;
    gap: 8px;
}
.checkout-form input,
.checkout-form textarea {
    width: 100%;
    border: 1px solid #dccbc1;
    border-radius: 6px;
    background: #fff;
    color: var(--text);
    font: inherit;
}
.checkout-form input {
    height: 44px;
    padding: 0 12px;
}
.checkout-form textarea {
    min-height: 102px;
    padding: 12px;
    resize: vertical;
}
.checkout-form button {
    width: 100%;
    border: 0;
}
.checkout-help-card .ghost-btn {
    width: 100%;
    justify-content: center;
    margin-top: 12px;
}
.account-page {
    max-width: 980px;
    margin: 0 auto;
}
.account-grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}
.account-summary,
.account-card {
    border: 1px solid #ead8c9;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(111, 45, 0, .07);
}
.account-summary {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 30px 24px;
    text-align: center;
}
.account-avatar {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border: 3px solid #ffd36c;
    border-radius: 50%;
    color: #8f170f;
    background: linear-gradient(135deg, #fff4cf, #f2b841);
    font-size: 34px;
    font-weight: 900;
    text-transform: uppercase;
}
.account-summary h2 {
    margin: 8px 0 0;
    color: var(--red);
    font-size: 24px;
}
.account-summary p {
    margin: 0;
    color: var(--muted);
    overflow-wrap: anywhere;
}
.account-plan-badge {
    display: grid;
    gap: 6px;
    width: 100%;
    margin-top: 8px;
    padding: 16px;
    border: 1px solid #f0d7b7;
    border-radius: 10px;
    background: linear-gradient(135deg, #fff9ed, #fff);
    text-align: left;
}
.account-plan-badge span {
    color: #8c3a1f;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}
.account-plan-badge strong {
    color: var(--red);
    font-size: 26px;
    line-height: 1;
}
.account-plan-badge small {
    color: var(--muted);
    line-height: 1.45;
}
.account-plan-badge em {
    display: block;
    margin-top: 4px;
    padding: 8px 10px;
    border-radius: 7px;
    color: #8a4a00;
    background: #fff1d3;
    font-style: normal;
    font-size: 12px;
    font-weight: 900;
}
.account-plan-badge a {
    display: inline-flex;
    justify-content: center;
    margin-top: 6px;
    padding: 10px 14px;
    border-radius: 7px;
    color: #681200;
    background: linear-gradient(135deg, #ffe18a, #f3b73d);
    font-weight: 900;
}
.account-plan-badge.is-vip {
    border-color: #e7b84e;
    background: linear-gradient(135deg, #fff7d8, #fffdf8);
}
.account-plan-strip {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 12px;
    align-items: center;
    margin: -4px 0 20px;
    padding: 14px 16px;
    border: 1px solid #f0d7b7;
    border-radius: 8px;
    background: #fff8ed;
}
.account-plan-strip span {
    color: #8c3a1f;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}
.account-plan-strip strong {
    color: var(--red);
    font-size: 16px;
}
.account-plan-strip small {
    grid-column: 1 / -1;
    color: #8a4a00;
    font-weight: 800;
}
.account-actions {
    display: grid;
    gap: 10px;
    width: 100%;
    margin-top: 16px;
}
.account-card {
    padding: 28px;
}
.account-card h2 {
    margin: 0 0 20px;
    color: var(--red);
    text-transform: uppercase;
}
.account-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.account-form label {
    min-width: 0;
}
.account-form label:nth-last-child(-n+3),
.account-form .auth-submit,
.account-password-note {
    grid-column: 1 / -1;
}
.auth-input.is-disabled {
    background: #f8f3ef;
}
.auth-input.is-disabled input {
    color: #8a7d75;
}
.account-password-note {
    padding: 10px 12px;
    border: 1px solid #f1dfca;
    border-radius: 7px;
    color: #7b5b34;
    background: #fff8ed;
    font-size: 13px;
    font-weight: 700;
}
.policy-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: start;
}
.policy-card {
    padding: 28px;
    border: 1px solid #ead8c9;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(121, 52, 10, .06);
}
.policy-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid #f1dbc4;
    border-radius: 10px;
    background: linear-gradient(90deg, #fff7ed, #fff);
}
.policy-meta > span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--red);
    background: #ffe8e2;
    font-size: 22px;
}
.policy-meta strong {
    display: block;
    color: var(--red);
    text-transform: uppercase;
    font-size: 18px;
}
.policy-meta small,
.policy-lead,
.policy-section li,
.policy-contact p {
    color: var(--muted);
}
.policy-lead {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.7;
}
.policy-section {
    padding: 20px 0;
    border-top: 1px solid #f0dfd2;
}
.policy-section h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    color: var(--red);
    text-transform: uppercase;
    font-size: 18px;
}
.policy-section h2 span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #fff;
    background: var(--red);
    font-size: 14px;
}
.policy-section ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding-left: 22px;
}
.policy-section li {
    line-height: 1.65;
}
.policy-contact {
    margin-top: 8px;
    padding: 18px;
    border-radius: 10px;
    background: #fff7ed;
}
.policy-contact strong {
    color: var(--red);
    text-transform: uppercase;
}
.info-page,
.contact-page {
    display: grid;
    gap: 22px;
}
.info-hero-card,
.contact-card,
.info-card,
.info-note {
    border: 1px solid #ead8c9;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(121, 52, 10, .06);
}
.info-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: stretch;
    padding: 30px;
    overflow: hidden;
}
.info-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--red);
    background: #fff1e6;
    font-weight: 900;
}
.info-hero-card h2,
.contact-card h2 {
    margin: 0 0 14px;
    color: var(--red);
    text-transform: uppercase;
    font-size: 24px;
}
.info-hero-card p,
.info-card p,
.info-note,
.contact-card p {
    color: var(--muted);
    line-height: 1.7;
}
.info-image-card {
    min-height: 250px;
    border-radius: 10px;
    overflow: hidden;
    background: #8b0800;
}
.info-image-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.info-grid,
.contact-page {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.info-grid {
    display: grid;
    gap: 18px;
}
.info-card,
.info-note,
.contact-card {
    padding: 22px;
}
.info-card h3 {
    margin: 0 0 10px;
    color: var(--red);
}
.info-note strong {
    color: var(--red);
}
.contact-page {
    align-items: start;
    grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
}
.contact-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}
.contact-list p {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 12px;
    margin: 0;
    padding: 12px;
    border-radius: 8px;
    background: #fff8ef;
}
.contact-list span {
    color: #7b6258;
    font-weight: 800;
}
.contact-list strong {
    color: #261b18;
}
.contact-form {
    display: grid;
    gap: 14px;
}
.contact-form label {
    display: grid;
    gap: 7px;
    color: #3a2924;
    font-weight: 800;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #dec7b8;
    border-radius: 7px;
    padding: 12px 14px;
    font: inherit;
    background: #fffdfa;
}
.direction-image {
    min-height: 342px;
    background:
        linear-gradient(180deg, rgba(255, 248, 232, .05), rgba(255, 248, 232, .05)),
        url("../img/xuat-hanh-compass.png") center/cover no-repeat,
        #8d4a12;
}
.direction-table td:first-child {
    display: flex;
    align-items: center;
    gap: 12px;
}
.dir-symbol {
    display: grid !important;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: var(--green) !important;
    background: #e8f8e8 !important;
    flex: 0 0 auto;
}
.direction-table tr.mid .dir-symbol {
    color: var(--orange) !important;
    background: #fff3df !important;
}
.direction-table tr.bad .dir-symbol {
    color: var(--red) !important;
    background: #ffe8e8 !important;
}
.direction-table mark {
    display: inline-flex;
    padding: 4px 9px;
    border-radius: 10px;
    color: var(--green);
    background: #e8f8e8;
    font-weight: 900;
}
.direction-table tr.mid mark {
    color: var(--orange);
    background: #fff3df;
}
.direction-table tr.bad mark {
    color: var(--red);
    background: #ffe8e8;
}
.direction-table tr.is-recommended td {
    background: #fffaf0;
}
.direction-table tr.is-recommended td:first-child strong:after {
    content: " · Gợi ý";
    color: var(--orange);
    font-size: 12px;
}
.direction-table em {
    color: var(--green);
    font-style: normal;
    letter-spacing: 1px;
}
.direction-table tr.mid em {
    color: var(--orange);
}
.direction-table tr.bad em {
    color: var(--red);
}
.direction-note {
    margin: 14px 0 0;
    padding: 10px 14px;
    border: 1px solid #d9edd9;
    border-radius: 6px;
    color: #1f6330;
    background: #f4fbf2;
    text-align: center;
}
.direction-purpose-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}
.direction-purpose-grid article {
    display: grid;
    place-items: center;
    gap: 7px;
    min-height: 176px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffdf9;
    text-align: center;
}
.direction-purpose-grid article.is-active {
    border-color: #e3a04d;
    background: #fff8ea;
    box-shadow: 0 0 0 2px rgba(246, 195, 91, .22);
}
.direction-purpose-grid article > span {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff1df;
    font-size: 28px;
}
.direction-purpose-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}
.direction-purpose-grid em {
    color: var(--green);
    font-style: normal;
}
.direction-guide p {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    align-items: start;
    margin: 11px 0;
}
.direction-guide p span {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
}

.star-main { min-width: 0; }
.star-filter form {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.1fr 140px;
    gap: 18px;
    align-items: end;
}
.star-filter label {
    display: grid;
    gap: 8px;
    color: var(--red);
    font-size: 13px;
    font-weight: 800;
}
.star-gender {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.star-gender button {
    min-height: 42px;
    border: 1px solid #ead5c7;
    border-radius: 5px;
    background: #fff;
    color: #6a443b;
    font-weight: 900;
}
.star-gender .active {
    color: #fff;
    background: linear-gradient(180deg, #c91414, #900000);
    border-color: #a40000;
}
.star-result {
    display: grid;
    grid-template-columns: 255px minmax(0, 1fr) 205px;
    gap: 0;
    padding: 0;
    overflow: hidden;
}
.star-image {
    min-height: 354px;
    background: url("../img/sao-chieu-menh-horse.png") center/cover no-repeat, #820000;
}
.star-info {
    padding: 26px 30px;
}
.star-info-grid {
    display: grid;
    gap: 8px;
}
.star-info-grid div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 16px;
    align-items: center;
}
.star-info-grid span {
    color: #4d3c35;
}
.star-info-grid strong.red {
    color: var(--red);
}
.star-map {
    margin: 18px 16px 18px 0;
    padding: 18px;
    border: 1px solid #efdcc9;
    border-radius: 8px;
    background: #fffaf0;
    text-align: center;
}
.star-map h3 {
    margin: 0 0 16px;
    color: var(--red);
    text-transform: uppercase;
    font-size: 15px;
}
.star-diagram {
    position: relative;
    width: 138px;
    height: 168px;
    margin: 0 auto 16px;
}
.star-diagram:before,
.star-diagram:after {
    content: "";
    position: absolute;
    background: #b00404;
}
.star-diagram:before { left: 68px; top: 10px; width: 2px; height: 142px; }
.star-diagram:after { left: 14px; top: 82px; width: 110px; height: 2px; }
.star-diagram span {
    position: absolute;
    z-index: 1;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #b00404;
}
.star-diagram .top { left: 62px; top: 6px; }
.star-diagram .mid-left { left: 34px; top: 60px; }
.star-diagram .mid { left: 62px; top: 60px; }
.star-diagram .mid-right { left: 90px; top: 60px; }
.star-diagram .left { left: 8px; top: 76px; }
.star-diagram .right { left: 118px; top: 76px; }
.star-diagram .bottom-left { left: 34px; top: 104px; }
.star-diagram .bottom { left: 62px; top: 104px; }
.star-diagram .bottom-right { left: 90px; top: 104px; }
.star-diagram .center { left: 62px; top: 76px; }
.star-section {
    margin-bottom: 18px;
}
.star-overview-grid,
.star-note-grid {
    display: grid;
    gap: 14px;
}
.star-overview-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.star-note-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
.star-overview-grid article,
.star-note-grid article {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    text-align: center;
}
.star-overview-grid article > span,
.star-note-grid article > span {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: #fff1df;
    font-size: 28px;
}
.star-overview-grid b {
    display: block;
    color: var(--red);
    text-transform: uppercase;
    font-size: 12px;
}
.star-overview-grid strong {
    display: block;
}
.star-overview-grid small {
    color: var(--muted);
}
.star-overview-grid em {
    display: block;
    margin: 8px 0;
    color: var(--green);
    font-style: normal;
    letter-spacing: 1px;
}
.star-overview-grid p,
.star-note-grid p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
}
.star-table-wrap {
    overflow-x: auto;
}
.star-table {
    width: 100%;
    min-width: 740px;
    border-collapse: collapse;
}
.star-table th,
.star-table td {
    padding: 10px 12px;
    border: 1px solid #ecdccb;
    text-align: center;
    font-size: 13px;
}
.star-table thead th {
    background: #fff4ea;
    color: #7a2b1f;
}
.star-table th.current,
.star-table td.current {
    background: #fff0ef;
    color: var(--red);
    font-weight: 900;
}
.star-table tr.is-age th,
.star-table tr.is-age td {
    background: #fff5f3;
}
.star-sidebar {
    display: grid;
    gap: 18px;
}
.star-sidebar .panel {
    margin-bottom: 0;
}
.star-meaning p,
.star-worship p {
    color: #4b3831;
}
.star-meaning p span {
    display: inline-grid;
    place-items: center;
    width: 22px;
    margin-right: 8px;
}

.life-main { min-width: 0; }
.life-filter form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 140px;
    gap: 18px;
    align-items: end;
}
.life-filter label {
    display: grid;
    gap: 8px;
    color: var(--red);
    font-size: 13px;
    font-weight: 800;
}
.life-gender {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.life-gender button {
    min-height: 42px;
    border: 1px solid #ead5c7;
    border-radius: 5px;
    background: #fff;
    color: #6a443b;
    font-weight: 900;
}
.life-gender .active {
    color: #fff;
    background: linear-gradient(180deg, #c91414, #900000);
}
.life-info-panel {
    display: grid;
    grid-template-columns: 275px 1fr;
    gap: 0;
    padding: 0;
    overflow: hidden;
}
.life-image {
    min-height: 310px;
    background: url("../img/tu-vi-zodiac.png") center/cover no-repeat, #7f1200;
}
.life-info {
    padding: 24px 30px;
}
.life-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 38px;
}
.life-info-grid div {
    display: grid;
    grid-template-columns: 106px 1fr;
    gap: 12px;
}
.life-info-grid span {
    color: #5f4a42;
}
.life-chart-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}
.life-palace,
.life-center {
    min-height: 150px;
    padding: 12px;
    border: 1px solid #efdcca;
    border-radius: 7px;
    background: #fffdf9;
}
.life-palace header {
    display: grid;
    grid-template-columns: 38px 1fr 34px;
    gap: 8px;
    color: var(--red);
    text-transform: uppercase;
    font-size: 12px;
}
.life-palace header strong {
    color: #261814;
}
.life-palace .main-star {
    margin: 10px 0 6px;
    color: #7b1700;
    font-weight: 900;
}
.life-palace div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px 8px;
}
.life-palace span {
    color: #237336;
    font-size: 12px;
}
.life-palace .bad span {
    color: var(--red);
}
.life-center {
    grid-column: span 2;
    display: grid;
    place-items: center;
    min-height: 308px;
    background:
        radial-gradient(circle, rgba(180, 0, 0, .04), transparent 58%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke='%23c9b49d' stroke-width='8' opacity='.18'%3E%3Ccircle cx='120' cy='120' r='76'/%3E%3Cpath d='M120 16v208M16 120h208M46 46l148 148M194 46L46 194'/%3E%3C/g%3E%3C/svg%3E") center/68% auto no-repeat,
        #fffaf3;
    text-align: center;
}
.life-center span {
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
}
.life-center strong {
    font-size: 22px;
}
.life-center em {
    color: var(--muted);
    font-style: normal;
}
.life-tabs {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 7px;
    margin: 16px 0 10px;
}
.life-tabs button {
    display: grid;
    place-items: center;
    min-height: 42px;
    border: 1px solid #ead8c6;
    border-radius: 6px;
    background: #fff;
    color: #5c4039;
    font-weight: 800;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
}
.life-tabs .is-active {
    color: #fff;
    background: linear-gradient(180deg, #c91414, #900000);
}
.life-summary ul {
    display: grid;
    gap: 8px;
    padding-left: 20px;
}
.life-year-info div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 7px 0;
}
.life-year-info span {
    color: #5f4a42;
}
.life-sidebar {
    display: grid;
    gap: 18px;
}
.life-sidebar .panel {
    margin-bottom: 0;
}

.holiday-main { min-width: 0; }
.holiday-tabs {
    display: grid;
    grid-template-columns: 110px repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}
.holiday-tabs a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    border: 1px solid #efdcca;
    border-radius: 5px;
    font-weight: 800;
}
.holiday-tabs .is-active {
    color: #fff;
    background: linear-gradient(180deg, #c91414, #900000);
    border-color: #a40000;
}
.holiday-upcoming article {
    display: grid;
    grid-template-columns: 88px 72px minmax(0, 1fr) 104px;
    gap: 18px;
    align-items: center;
    padding: 14px;
    border: 1px solid #f0e1d2;
    border-radius: 8px;
    background: #fffdf8;
}
.holiday-upcoming article + article {
    margin-top: 12px;
}
.holiday-date {
    display: grid;
    place-items: center;
    min-height: 70px;
    border-radius: 6px;
    background: #fff6ea;
}
.holiday-date strong {
    color: #8b2a12;
    font-size: 24px;
}
.holiday-date span {
    color: #8b2a12;
    font-weight: 800;
}
.holiday-flag {
    display: grid;
    place-items: center;
    width: 62px;
    height: 52px;
    border-radius: 6px;
    background: linear-gradient(135deg, #df1717, #b60000);
    font-size: 30px;
}
.holiday-upcoming h3 {
    margin: 0 0 6px;
    color: var(--red);
}
.holiday-upcoming small,
.holiday-row mark {
    display: inline-flex;
    padding: 3px 9px;
    border-radius: 10px;
    color: var(--red);
    background: #ffe8e8;
    font-size: 12px;
    font-weight: 800;
}
.holiday-upcoming p {
    margin: 7px 0 0;
    color: var(--muted);
}
.holiday-count {
    display: grid;
    place-items: center;
    min-height: 78px;
    border: 1px solid #f1d7d7;
    border-radius: 8px;
    color: var(--red);
    background: #fff2f2;
}
.holiday-count strong {
    font-size: 30px;
    line-height: 1;
}
.holiday-year-list details {
    border: 1px solid #e2eadf;
    border-radius: 7px;
    overflow: hidden;
    margin-bottom: 10px;
}
.holiday-year-list summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #1d7137;
    background: #f2faf0;
    font-weight: 900;
    cursor: pointer;
}
.holiday-row {
    display: grid;
    grid-template-columns: 112px minmax(160px, 1fr) 118px minmax(0, 1.5fr);
    gap: 12px;
    align-items: center;
    padding: 10px 14px;
    border-top: 1px solid #eef0e8;
}
.holiday-row time {
    font-weight: 900;
}
.holiday-row time small {
    display: block;
    color: var(--muted);
    font-weight: 500;
}
.holiday-row p {
    margin: 0;
    color: var(--muted);
}
.holiday-more {
    width: min(330px, 100%);
    margin: 18px auto 0;
}
.holiday-sidebar {
    display: grid;
    gap: 18px;
}
.holiday-sidebar .panel {
    margin-bottom: 0;
}
.holiday-meaning p {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 0 12px;
    margin: 16px 0;
}
.holiday-meaning p span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff1df;
    color: var(--red);
}
.holiday-meaning small {
    color: var(--muted);
}

.top-good-page {
    align-items: start;
}
.top-good-main,
.top-good-sidebar {
    display: grid;
    gap: 18px;
    min-width: 0;
}
.top-good-filter form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: end;
}
.top-good-ranking {
    padding: 0;
    overflow: hidden;
}
.top-good-ranking .panel-title {
    padding: 18px 20px;
    border-bottom: 1px solid #f1dfd1;
}
.top-good-row {
    display: grid;
    grid-template-columns: 84px 210px minmax(0, 1fr) 126px;
    gap: 18px;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f1dfd1;
}
.rank-badge {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    color: #7b2b00;
    font-size: 22px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffe18a, #d49423);
    box-shadow: 0 8px 18px rgba(139, 35, 0, .14);
}
.rank-2 { background: linear-gradient(135deg, #f1f3f6, #aab0ba); color: #565c66; }
.rank-3 { background: linear-gradient(135deg, #ffd0a3, #b96b31); color: #743400; }
.rank-4 { background: #fff7ef; color: var(--text); box-shadow: none; }
.top-good-date strong {
    display: block;
    font-size: 22px;
    color: var(--text);
}
.top-good-date small {
    color: var(--muted);
}
.top-good-info p {
    margin: 0 0 8px;
}
.top-good-info span {
    color: var(--muted);
}
.top-good-info em {
    color: #ff9f1a;
    font-style: normal;
    letter-spacing: 0;
}
.top-good-more {
    width: min(360px, calc(100% - 40px));
    margin: 18px auto 20px;
}
.top-month-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}
.top-month-grid a {
    display: grid;
    justify-items: center;
    gap: 7px;
    padding: 16px 10px;
    border: 1px solid #efd8c9;
    border-radius: 8px;
    background: #fffaf5;
    color: var(--text);
    text-align: center;
}
.top-month-grid a span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    color: var(--red);
    background: #fff0e8;
}
.top-month-grid a b {
    color: var(--red);
    font-size: 28px;
    line-height: 1;
}
.top-month-grid a small {
    color: var(--muted);
}
.top-month-grid a em {
    color: var(--red);
    font-style: normal;
    font-weight: 800;
}
.top-good-note p {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 10px 0;
    color: var(--muted);
}

.week-page {
    align-items: start;
}
.week-main,
.week-sidebar {
    display: grid;
    gap: 22px;
    min-width: 0;
}
.week-nav {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 170px;
    gap: 14px;
    align-items: center;
    text-align: center;
}
.week-nav div strong,
.week-nav div small {
    display: block;
}
.week-nav div small {
    color: var(--muted);
}
.week-card-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
}
.week-day-card {
    display: grid;
    gap: 12px;
    min-height: 430px;
    padding: 18px 14px;
    border: 1px solid #ead9c9;
    border-radius: 8px;
    background: #fffdfa;
}
.week-day-card.is-good {
    background: linear-gradient(180deg, #fbfffb, #fffdfa);
}
.week-day-card.is-bad {
    border-color: #f1c9c9;
    background: linear-gradient(180deg, #fff5f5, #fffdfa);
}
.week-day-card.is-average {
    border-color: #efd8bc;
    background: linear-gradient(180deg, #fff9ee, #fffdfa);
}
.week-day-card.is-today {
    box-shadow: inset 0 0 0 2px rgba(164, 0, 0, .12);
}
.week-day-card header {
    text-align: center;
}
.week-day-card header strong {
    display: block;
    color: var(--green);
    font-size: 13px;
}
.week-day-card.is-bad header strong {
    color: var(--red-2);
}
.week-day-card.is-average header strong {
    color: var(--orange);
}
.week-day-card header span,
.week-day-card header small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}
.week-number {
    color: var(--green);
    font-size: 46px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
}
.week-day-card.is-bad .week-number {
    color: var(--red-2);
}
.week-day-card.is-average .week-number {
    color: var(--orange);
}
.week-day-card p {
    margin: 0;
    color: #4b3b35;
    font-size: 13px;
    text-align: center;
}
.week-day-card mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 28px;
    border-radius: 999px;
    color: var(--green);
    background: #edf8ee;
    font-weight: 800;
}
.week-day-card.is-bad mark {
    color: var(--red-2);
    background: #fff0f0;
}
.week-day-card.is-average mark {
    color: var(--orange);
    background: #fff6e8;
}
.week-day-card mark i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: currentColor;
}
.week-do,
.week-hours {
    display: grid;
    gap: 6px;
    font-size: 12px;
}
.week-do b,
.week-hours b {
    color: var(--text);
    font-size: 13px;
}
.week-do span {
    color: #315f36;
}
.week-day-card.is-bad .week-do span {
    color: var(--red-2);
}
.week-hours span {
    color: #4b3b35;
}
.week-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.week-stat {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 6px 14px;
    align-items: center;
    padding: 18px;
    border: 1px solid #ead9c9;
    border-radius: 8px;
    background: #fffdfa;
}
.week-stat span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: var(--green);
    border: 2px solid currentColor;
    font-size: 22px;
}
.week-stat.bad span { color: var(--red-2); }
.week-stat.average span { color: var(--orange); }
.week-stat.hours span { color: #7e4bd8; }
.week-stat strong {
    font-size: 30px;
    line-height: 1;
}
.week-stat small {
    color: var(--muted);
}
.week-work-section h2 {
    margin: 0 0 14px;
    color: var(--green);
    text-transform: uppercase;
    font-size: 18px;
}
.week-avoid h2 {
    color: var(--red);
}
.week-task-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}
.week-task-grid article {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 18px 10px;
    border: 1px solid #ead9c9;
    border-radius: 8px;
    background: #fffdfa;
    text-align: center;
}
.week-task-grid span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    color: var(--green);
    background: #edf8ee;
    font-size: 23px;
}
.week-avoid .week-task-grid span {
    color: var(--red-2);
    background: #fff0f0;
}
.week-task-grid small {
    color: var(--muted);
}
.week-note p {
    display: flex;
    gap: 8px;
    color: var(--muted);
}

.stats-page {
    align-items: start;
}
.stats-main,
.stats-sidebar {
    display: grid;
    gap: 18px;
}
.stats-tabs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffdfa;
    overflow: hidden;
}
.stats-tabs a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    color: #6c3327;
    font-weight: 800;
    font-size: 13px;
    border-right: 1px solid #f0dfcf;
}
.stats-tabs a:last-child { border-right: 0; }
.stats-tabs a.is-active {
    color: #fff;
    background: linear-gradient(180deg, #ba0909, #a40000);
}
.stats-filter form {
    display: grid;
    grid-template-columns: 1fr 1fr 190px;
    gap: 18px;
    align-items: end;
}
.stats-filter label {
    display: grid;
    gap: 8px;
    color: #6c1b13;
    font-weight: 800;
    font-size: 13px;
}
.stats-filter select {
    width: 100%;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    padding: 0 14px;
    font: inherit;
}
.stats-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.stats-metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 112px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffdfa;
    box-shadow: var(--shadow);
}
.stats-metric small {
    display: block;
    color: currentColor;
    font-weight: 900;
    text-transform: uppercase;
}
.stats-metric strong {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-top: 6px;
    font-size: 36px;
    line-height: 1;
}
.stats-metric em {
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
}
.stats-metric span {
    color: var(--muted);
    font-size: 13px;
}
.stats-metric > i {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 3px solid currentColor;
    border-radius: 50%;
    font-style: normal;
    font-size: 23px;
}
.stats-metric.good { color: var(--green); background: linear-gradient(135deg, #f7fff7, #fffdfa); }
.stats-metric.bad { color: var(--red-2); background: linear-gradient(135deg, #fff7f7, #fffdfa); }
.stats-metric.average { color: var(--orange); background: linear-gradient(135deg, #fffaf0, #fffdfa); }
.stats-metric.hours { color: #7e4bd8; background: linear-gradient(135deg, #fbf8ff, #fffdfa); }
.stats-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr);
    gap: 18px;
}
.stats-chart-card {
    min-width: 0;
}
.stats-quarter-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 14px 22px;
    align-items: center;
}
.stats-quarter-card .panel-title {
    grid-column: 1 / -1;
    margin-bottom: 0;
}
.stats-chart-card:nth-child(3),
.stats-chart-card:nth-child(5) {
    grid-column: span 1;
}
.stats-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 13px;
}
.stats-chart-legend span,
.stats-quarter-list p {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.stats-chart-legend i,
.stats-quarter-list i {
    width: 18px;
    height: 8px;
    border-radius: 999px;
}
.stats-chart-legend i.good,
.stats-quarter-list i.q1 { background: var(--green); }
.stats-chart-legend i.bad,
.stats-quarter-list i.q4 { background: var(--red-2); }
.stats-chart-legend i.line,
.stats-quarter-list i.q3 { background: var(--orange); }
.stats-quarter-list i.q2 { background: #2b8a4a; }
.stats-bars {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 10px;
    align-items: end;
    min-height: 230px;
    padding: 18px 8px 0;
    border-left: 1px solid #ead9c9;
    border-bottom: 1px solid #ead9c9;
    background: repeating-linear-gradient(to top, transparent 0 45px, rgba(234, 217, 201, .45) 46px);
}
.stats-bar-col {
    display: grid;
    justify-items: center;
    gap: 8px;
}
.stats-bar-stack {
    position: relative;
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-height: 190px;
}
.stats-bar-stack span {
    width: 14px;
    border-radius: 4px 4px 0 0;
}
.stats-bar-stack span.good { background: linear-gradient(180deg, #3ea456, #21823a); }
.stats-bar-stack span.bad { background: linear-gradient(180deg, #ee6666, #d41414); }
.stats-bar-stack em {
    position: absolute;
    left: 50%;
    width: 9px;
    height: 9px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 4px rgba(244, 154, 25, .15);
}
.stats-bar-col b {
    color: var(--muted);
    font-size: 12px;
}
.stats-donut {
    display: grid;
    place-items: center;
    width: 190px;
    height: 190px;
    margin: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #fffdfa 0 56px, transparent 57px),
        conic-gradient(var(--green) 0 var(--q1-end), #2b8a4a var(--q1-end) var(--q2-end), var(--orange) var(--q2-end) var(--q3-end), var(--red-2) var(--q3-end) 360deg);
    text-align: center;
}
.stats-donut > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: #fffdfa;
}
.stats-donut strong {
    color: var(--text);
    font-size: 30px;
    line-height: 1;
}
.stats-donut span {
    display: block;
    max-width: 82px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
}
.stats-quarter-list {
    display: grid;
    gap: 12px;
    min-width: 0;
}
.stats-quarter-list p {
    display: grid;
    grid-template-columns: 22px minmax(58px, 1fr) auto;
    gap: 10px;
    align-items: center;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}
.stats-quarter-list strong {
    color: #766a64;
    font-weight: 900;
    text-align: right;
}
.stats-top-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.stats-top-table th,
.stats-top-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #f0dfcf;
    text-align: left;
    vertical-align: top;
}
.stats-top-table th {
    color: #6c1b13;
    background: #fff7ef;
    font-size: 12px;
}
.stats-top-table b {
    color: var(--red);
}
.stats-center-btn {
    width: fit-content;
    margin: 16px auto 0;
}
.stats-work-list {
    display: grid;
    gap: 12px;
}
.stats-work-list a {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 70px minmax(70px, .9fr) 48px;
    gap: 8px;
    align-items: center;
    color: #4b3b35;
}
.stats-work-list span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: #fff0ec;
}
.stats-work-list b {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.stats-work-list em,
.stats-work-list small {
    color: var(--muted);
    font-style: normal;
    font-size: 12px;
}
.stats-work-list i {
    height: 8px;
    border-radius: 999px;
    background: #e8eff8;
    overflow: hidden;
}
.stats-work-list i strong {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #75a7df, #2c6dd8);
}
.stats-radar {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 12px;
    align-items: center;
}
.stats-radar svg {
    max-width: 100%;
}
.stats-radar div {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
}
.stats-hours-line {
    padding: 12px;
    border: 1px solid #f0dfcf;
    border-radius: 8px;
    background: linear-gradient(#fffdfa, #fffdfa), repeating-linear-gradient(to top, transparent 0 38px, rgba(234, 217, 201, .35) 39px);
}
.stats-hours-line svg {
    display: block;
    width: 100%;
    height: auto;
}
.stats-note {
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid #cfe8cf;
    border-radius: 7px;
    color: #315f36;
    background: #f0fbf0;
    font-size: 13px;
}
.stats-quick p {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 11px 0;
    border-bottom: 1px solid #f0dfcf;
    color: var(--muted);
    font-size: 13px;
}
.stats-quick p:last-child { border-bottom: 0; }
.stats-quick strong {
    color: var(--text);
    text-align: right;
}
.stats-vip-card {
    min-height: 180px;
    padding: 24px;
    border-radius: 8px;
    color: #fff7d8;
    background:
        radial-gradient(circle at 88% 62%, rgba(246, 195, 91, .36) 0 50px, transparent 52px),
        linear-gradient(135deg, #8f0000, #650000);
    box-shadow: var(--shadow);
}
.stats-vip-card h3 {
    margin: 0 0 10px;
    color: #ffd45f;
    text-transform: uppercase;
}
.stats-vip-card p {
    max-width: 230px;
    margin: 0 0 18px;
}
.stats-vip-card a {
    display: inline-flex;
    justify-content: center;
    min-width: 140px;
    padding: 11px 16px;
    border-radius: 6px;
    color: #7b1700;
    background: linear-gradient(180deg, #ffe29a, #f4b943);
    font-weight: 900;
}

.chat { display: grid; gap: 14px; }
.bubble { max-width: 84%; padding: 16px 18px; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.bubble.user { justify-self: end; background: #fff2f2; border-color: #f0caca; }
.answer-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.ai-page {
    align-items: start;
}
.ai-main,
.ai-sidebar {
    display: grid;
    gap: 18px;
}
.ai-suggestions {
    display: grid;
    grid-template-columns: auto repeat(6, minmax(0, 1fr));
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #f1ddce;
    border-radius: 8px;
    background: #fff7f0;
}
.ai-suggestions strong {
    color: var(--red);
    white-space: nowrap;
}
.ai-suggestions button,
.ai-followups button {
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid #ead7c6;
    border-radius: 7px;
    color: #6d3328;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.15;
    cursor: pointer;
}
.ai-suggestions button {
    width: 100%;
    min-height: 38px;
    white-space: normal;
}
.ai-chat-panel {
    display: grid;
    gap: 16px;
}
.ai-messages {
    display: grid;
    gap: 14px;
}
.ai-message {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.ai-message.user {
    justify-content: flex-end;
}
.ai-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f5fbff;
    border: 1px solid #d8ebf8;
    font-size: 22px;
}
.ai-avatar.user {
    color: #fff;
    background: linear-gradient(135deg, #b00000, #e23b3b);
    border-color: #f0c4c4;
}
.ai-bubble {
    max-width: 78%;
    padding: 15px 18px;
    border: 1px solid #ecd8ca;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(116, 39, 20, .05);
}
.ai-message.user .ai-bubble {
    background: #fff1f1;
    border-color: #efc9c9;
}
.ai-bubble p {
    margin: 0 0 8px;
}
.ai-bubble ul {
    margin: 8px 0 0;
    padding-left: 18px;
}
.ai-bubble small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    text-align: right;
}
.ai-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.ai-result-card {
    display: grid;
    justify-items: center;
    gap: 8px;
    min-height: 276px;
    padding: 18px 14px;
    border: 1px solid #efd7c6;
    border-radius: 8px;
    background: linear-gradient(180deg, #fffdf9, #fff9f3);
    text-align: center;
}
.ai-result-card h3 {
    margin: 0;
    font-size: 22px;
}
.ai-result-card p,
.ai-result-card small {
    margin: 0;
    color: var(--muted);
}
.ai-medal {
    position: relative;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    color: #7c3100;
    background: linear-gradient(135deg, #ffdd7b, #d78216);
    box-shadow: inset 0 0 0 5px rgba(255,255,255,.4);
}
.ai-medal.silver {
    color: #4c535d;
    background: linear-gradient(135deg, #f0f2f6, #a9b0b9);
}
.ai-medal.bronze {
    color: #6a2d12;
    background: linear-gradient(135deg, #f8b487, #bd5b2c);
}
.ai-stars {
    color: #f2a018;
    font-size: 22px;
    letter-spacing: 1px;
}
.ai-score b {
    color: var(--green);
    font-size: 28px;
}
.ai-score {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}
.ai-score em {
    color: var(--muted);
    font-style: normal;
}
.ai-note {
    padding: 12px 14px;
    border: 1px solid #f0dfcb;
    border-radius: 8px;
    color: #654037;
    background: #fffaf1;
}
.ai-followups {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.ai-input-row {
    display: grid;
    grid-template-columns: 1fr 44px 54px;
    gap: 10px;
    align-items: center;
}
.ai-input-row input {
    min-height: 48px;
}
.ai-mic,
.ai-send {
    display: grid;
    place-items: center;
    min-height: 48px;
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    font-weight: 900;
}
.ai-mic {
    color: var(--red);
    background: #fff5f5;
}
.ai-send {
    color: #fff;
    background: var(--red);
}
.ai-disclaimer {
    margin: -4px 0 0;
    color: var(--muted);
    font-size: 13px;
}
.ai-api-notice {
    margin-top: 10px !important;
    padding: 9px 11px;
    border: 1px solid #f1d5a8;
    border-radius: 7px;
    color: #8a4f00;
    background: #fff8e8;
    font-size: 13px;
}
.ai-faq details {
    border-bottom: 1px solid #efdfd1;
    padding: 12px 0;
}
.ai-faq details:last-child {
    border-bottom: 0;
}
.ai-faq summary {
    cursor: pointer;
    font-weight: 800;
}
.ai-support-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
.ai-support-grid a {
    display: grid;
    justify-items: center;
    gap: 7px;
    padding: 16px 10px;
    border: 1px solid #ecd9c9;
    border-radius: 8px;
    background: #fffdf9;
    text-align: center;
}
.ai-support-grid span {
    font-size: 26px;
}
.ai-support-grid small,
.ai-quick-list small {
    color: var(--muted);
}
.ai-today-flex {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
}
.ai-today-flex > div {
    display: grid;
    justify-items: center;
    gap: 4px;
    padding: 12px;
    border-radius: 8px;
    background: #eef8ed;
    color: var(--green);
    text-align: center;
}
.ai-today-flex > div b {
    font-size: 44px;
    line-height: 1;
}
.ai-today-flex p {
    margin: 0;
    line-height: 1.75;
}
.ai-today-flex p b {
    font-size: inherit;
    line-height: inherit;
}
.ai-today-flex mark {
    padding: 3px 8px;
    border-radius: 12px;
    color: var(--green);
    background: #e6f6e6;
}
.ai-quick-list {
    display: grid;
    gap: 12px;
}
.ai-quick-list a:not(.soft-btn) {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 10px;
    align-items: center;
}
.ai-quick-list span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    color: #e85d16;
    background: #fff2e9;
    grid-row: span 2;
}
.ai-vip-card {
    display: grid;
    gap: 12px;
    padding: 24px;
    border-radius: 8px;
    color: #fff;
    background: radial-gradient(circle at 100% 80%, rgba(255,206,99,.42), transparent 34%), linear-gradient(135deg, #970000, #5e0000);
}
.ai-vip-card strong {
    color: #ffd46e;
    text-transform: uppercase;
}
.ai-vip-card a {
    justify-self: start;
    padding: 11px 18px;
    border-radius: 7px;
    color: #7b2400;
    background: #ffd46e;
    font-weight: 900;
}
.ai-empty {
    grid-column: 1 / -1;
    padding: 20px;
    border: 1px dashed #e5cbbb;
    border-radius: 8px;
    color: var(--muted);
    text-align: center;
}

.site-footer { margin-top: 36px; color: #fff; background: radial-gradient(circle at 10% 0, #a51008 0, #620000 52%, #440000 100%); }
.footer-grid { display: grid; grid-template-columns: minmax(250px, 1.35fr) minmax(150px, .85fr) minmax(170px, .9fr) minmax(250px, 1.25fr); gap: 42px; padding-top: 36px; padding-bottom: 30px; }
.footer-grid h3 { margin: 0 0 12px; text-transform: uppercase; font-size: 15px; }
.footer-grid p { color: #ffe9df; }
.footer-grid a { display: block; margin: 8px 0; color: #fff; line-height: 1.35; }
.footer-brand { margin-bottom: 12px; }
.subscribe { display: grid; gap: 10px; }
.subscribe button { min-height: 44px; border: 0; border-radius: 6px; color: #fff; background: #e31212; font-weight: 900; text-transform: uppercase; }
.copyright { border-top: 1px solid rgba(255,255,255,.16); padding: 18px 26px 22px; color: #ffe9df; }
.copyright span { float: right; }

@media (max-width: 1100px) {
    .header-inner {
        grid-template-columns: minmax(210px, auto) minmax(220px, 1fr) auto;
        grid-template-areas:
            "brand search actions"
            "nav nav nav";
        padding-top: 12px;
        padding-bottom: 12px;
        overflow: visible;
    }
    .main-nav { justify-content: flex-start; gap: 24px; overflow-x: auto; overflow-y: visible; scrollbar-width: none; }
    .main-nav::-webkit-scrollbar { display: none; }
    .main-nav a, .main-nav button { min-height: 44px; padding: 0; }
    .has-submenu > button { padding-right: 0; }
    .submenu { left: 0; right: auto; top: 44px; }
    .site-header .search { margin-left: 0; width: min(100%, 280px); min-width: 210px; }
    .header-actions { margin-left: 0; }
    .layout { grid-template-columns: 1fr; }
    .ai-suggestions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ai-suggestions strong { grid-column: 1 / -1; }
    .ai-card-grid { grid-template-columns: repeat(2, 1fr); }
    .ai-followups { grid-template-columns: repeat(2, 1fr); }
    .ai-support-grid { grid-template-columns: repeat(3, 1fr); }
    .good-page { grid-template-columns: 1fr; }
    .good-list-page { grid-template-columns: 1fr; }
    .month-page { grid-template-columns: 1fr; }
    .month-sidebar { margin-top: 0; }
    .month-symbol-grid { grid-template-columns: repeat(2, 1fr); }
    .good-purpose-tabs { grid-template-columns: repeat(4, 1fr); }
    .good-result-card { grid-template-columns: 100px 112px minmax(0, 1fr); }
    .good-result-card > .ghost-btn { grid-column: 1 / -1; margin: 10px; }
    .good-result-head {
        align-items: flex-start;
        flex-direction: column;
    }
    .good-result-head .view-calendar-btn {
        align-self: flex-start;
    }
    .home-layout { grid-template-columns: 1fr; }
    .home-hero, .home-side, .home-quick, .home-calendar, .home-posts, .home-bottom-widgets { grid-column: 1; grid-row: auto; }
    .home-bottom-widgets { grid-template-columns: 1fr; }
    .home-side { grid-template-columns: 1fr 1fr; }
    .home-detail-page { grid-template-columns: 1fr; }
    .home-detail-hero { grid-template-columns: 220px minmax(0, 1fr); }
    .home-date-card { min-height: 420px; }
    .home-lunar-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-lunar-facts div:nth-child(4n) { border-right: 1px solid #f0dccb; }
    .home-lunar-facts div:nth-child(2n) { border-right: 0; }
    .home-lunar-facts div:nth-last-child(-n+2) { border-bottom: 0; }
    .home-hours-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .home-hours-grid div:nth-child(6n) { border-right: 0; }
    .home-hours-grid div:nth-child(n+7) { border-top: 1px solid #f0dccb; }
    .home-post-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .quick-tools { grid-template-columns: repeat(4, 1fr); }
    .info-hero-card,
    .contact-page { grid-template-columns: 1fr; }
    .info-grid { grid-template-columns: 1fr; }
    .info-image-card { min-height: 220px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-page { grid-template-columns: 1fr; }
    .blog-tabs { grid-template-columns: repeat(3, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .blog-benefits { grid-template-columns: repeat(2, 1fr); }
    .auth-shell { grid-template-columns: 1fr; max-width: 720px; }
    .auth-card { min-height: 0; }
    .auth-benefits > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .auth-benefits article:nth-child(2n) { border-right: 0; }
    .auth-benefits article:nth-child(n+3) { padding-top: 16px; }
    .checkout-plan-card,
    .checkout-bank-layout,
    .checkout-bank-grid {
        grid-template-columns: 1fr;
    }
    .checkout-price {
        justify-items: start;
    }
    .year-page { grid-template-columns: 1fr; }
    .year-hero-panel { grid-template-columns: 1fr; }
    .year-good-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .year-month-grid,
    .year-fortune-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feng-page { grid-template-columns: 1fr; }
    .feng-filter form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feng-hour-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .feng-hero { grid-template-columns: 220px minmax(0, 1fr); }
    .feng-facts { gap: 12px 24px; }
    .consult-page { grid-template-columns: 1fr; }
    .consult-form,
    .consult-result-grid,
    .consult-process > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .consult-plan-grid { grid-template-columns: 1fr; }
    .consult-plan-next { grid-template-columns: 1fr; }
    .consult-wide { grid-row: auto; }
    .consult-submit { grid-column: auto; }
    .direction-purpose-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .star-filter form,
    .star-result { grid-template-columns: 1fr; }
    .star-overview-grid,
    .star-note-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .life-filter form,
    .life-info-panel { grid-template-columns: 1fr; }
    .life-chart-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .life-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .holiday-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .holiday-upcoming article,
    .holiday-row { grid-template-columns: 1fr; }
    .top-good-page { grid-template-columns: 1fr; }
    .top-good-filter form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .top-good-row { grid-template-columns: 72px minmax(0, 1fr); }
    .top-good-row .detail-btn { grid-column: 2; justify-self: start; }
    .top-month-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .week-page { grid-template-columns: 1fr; }
    .week-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .week-stat-grid,
    .week-task-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .stats-filter form,
    .stats-quarter-card,
    .stats-grid { grid-template-columns: 1fr; }
    .stats-donut { margin: 0 auto; }
    .stats-quarter-list { max-width: 220px; margin: 0 auto; width: 100%; }
    .stats-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .account-grid { grid-template-columns: 1fr; }
    .age-form,
    .age-hero-result,
    .age-analysis-grid,
    .age-detail-grid,
    .convert-search-body,
    .convert-result-layout,
    .convert-bottom-grid {
        grid-template-columns: 1fr;
    }
    .convert-search-body {
        gap: 16px;
        padding: 20px;
    }
    .convert-tabs button {
        min-height: 50px;
        padding: 0 10px;
        line-height: 1.35;
    }
    .convert-form {
        min-width: 0;
    }
    .convert-form-title {
        margin-bottom: -4px;
    }
    .convert-field-group {
        gap: 12px;
    }
    .convert-field-group label,
    .convert-field-group input,
    .convert-field-group select,
    .convert-field-group .primary-btn {
        width: 100%;
        min-width: 0;
    }
    .convert-note {
        align-self: stretch;
        padding: 14px 16px;
    }
    .convert-results-panel,
    .convert-tools-panel {
        padding: 16px;
    }
    .convert-result-cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .convert-date-card {
        min-height: 0;
    }
    .convert-date-card h2 {
        margin-top: 16px;
        font-size: 21px;
        line-height: 1.35;
    }
    .convert-date-card dl {
        padding: 12px 16px 16px;
    }
    .convert-date-card dl div {
        gap: 10px;
    }
    .convert-swap {
        justify-self: center;
        width: 38px;
        height: 38px;
        font-size: 19px;
    }
    .convert-tools-panel a {
        grid-template-columns: 42px 1fr;
        padding: 9px 0;
    }
    .convert-summary-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 16px;
    }
    .convert-summary-strip div {
        grid-template-columns: 28px 1fr;
        align-items: start;
    }
    .convert-summary-strip span {
        font-size: 21px;
    }
    .convert-history { grid-template-columns: 1fr; }
    .convert-intro {
        min-height: 0;
        padding: 18px;
    }
}

@media (min-width: 1101px) and (max-width: 1280px) {
    .wrap { padding-left: 20px; padding-right: 20px; }
    .header-inner { gap: 8px; }
    .brand { gap: 9px; }
    .brand strong { font-size: 21px; }
    .brand em { font-size: 12px; }
    .brand-mark,
    .brand-logo-wrap,
    .brand-logo { width: 48px; height: 48px; }
    .brand-mark:before,
    .brand-mark:after {
        width: 23px;
        height: 23px;
    }
    .main-nav { gap: 24px; }
    .main-nav a,
    .main-nav button {
        padding-left: 0;
        padding-right: 0;
        font-size: 11.5px;
    }
    .has-submenu > button { padding-right: 0; }
    .site-header .search { width: min(100%, 280px); min-width: 210px; }
    .site-header .search input { padding-left: 10px; padding-right: 8px; }
}

@media (max-width: 720px) {
    .wrap { padding: 0 16px; }
    .header-inner {
        grid-template-columns: minmax(0, 1fr) auto auto;
        grid-template-areas:
            "brand actions toggle"
            "search search search"
            "nav nav nav";
        gap: 8px 10px;
        min-height: 0;
        padding-top: 8px;
        padding-bottom: 10px;
    }
    .brand strong { font-size: 20px; }
    .brand em { font-size: 12px; }
    .brand-mark,
    .brand-logo-wrap,
    .brand-logo { width: 46px; height: 46px; }
    .brand-mark { font-size: 27px; }
    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
    }
    .site-header.is-menu-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .site-header.is-menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .site-header.is-menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .nav-toggle span { transition: transform .16s ease, opacity .16s ease; }
    .main-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 8px;
        border: 1px solid rgba(255, 219, 137, .26);
        border-radius: 8px;
        background: rgba(83, 0, 0, .46);
        overflow: visible;
    }
    .site-header.is-menu-open .main-nav { display: flex; }
    .main-nav a,
    .main-nav button {
        width: 100%;
        min-height: 42px;
        justify-content: space-between;
        padding: 0 12px 0 20px;
        border-radius: 6px;
    }
    .main-nav a.is-active:after,
    .main-nav a:hover:after,
    .nav-item.is-active > button:after,
    .nav-item:hover > button:after {
        left: 6px;
        right: auto;
        top: 9px;
        bottom: auto;
        width: 4px;
        height: 24px;
        border-radius: 4px;
    }
    .nav-item {
        display: block;
        width: 100%;
    }
    .has-submenu > button .nav-caret { margin-left: auto; }
    .submenu {
        position: static;
        display: none;
        width: 100%;
        margin: 0 0 6px;
        padding: 4px;
        border: 0;
        border-radius: 8px;
        background: rgba(255, 255, 255, .08);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }
    .has-submenu:hover .submenu,
    .has-submenu:focus-within .submenu { display: none; }
    .has-submenu.is-open .submenu { display: block; }
    .submenu a {
        min-height: 38px;
        padding: 0 12px;
        font-size: 12px;
    }
    .site-header .search {
        width: 100%;
        min-width: 0;
        min-height: 48px;
        margin-top: 0;
    }
    .site-header .search input {
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 15px;
    }
    .header-actions { width: auto; justify-content: flex-end; }
    .vip-link { display: none; }
    .auth-page { padding-left: 16px; padding-right: 16px; }
    .auth-page:before, .auth-page:after { opacity: .32; }
    .auth-card { padding: 28px 20px; }
    .auth-shell,
    .auth-benefits > div { grid-template-columns: 1fr; }
    .auth-row { align-items: flex-start; flex-direction: column; }
    .auth-benefits { padding: 20px; }
    .auth-benefits article {
        grid-template-columns: 38px 1fr;
        padding: 14px 0;
        border-right: 0;
        border-bottom: 1px solid #f0dfd2;
    }
    .auth-benefits article:nth-child(n+3) { padding-top: 14px; }
    .auth-benefits article:last-child { border-bottom: 0; }
    .account-card { padding: 22px; }
    .account-form { grid-template-columns: 1fr; }
    .checkout-main .checkout-card,
    .checkout-sidebar .checkout-card {
        padding: 20px;
    }
    .checkout-features {
        grid-template-columns: 1fr;
    }
    .checkout-qr {
        width: 140px;
        height: 140px;
    }
    .hero-panel { grid-template-columns: 1fr; }
    .home-layout .hero-panel { grid-template-columns: 1fr; }
    .hero-content:after { opacity: .35; }
    .home-side { grid-template-columns: 1fr; }
    .home-detail-hero { grid-template-columns: 1fr; }
    .home-date-card {
        min-height: 340px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    .home-date-card strong { font-size: 96px; }
    .home-date-card span { font-size: 24px; }
    .home-zodiac-art { width: 150px; margin: 16px 0 18px; }
    .home-lunar-card { padding: 22px 18px; }
    .home-lunar-card h1 { font-size: 21px; }
    .home-lunar-card:after { opacity: .28; }
    .home-lunar-facts,
    .home-good-bad,
    .home-related-days,
    .home-post-strip { grid-template-columns: 1fr; }
    .home-lunar-facts div,
    .home-lunar-facts div:nth-child(2n),
    .home-lunar-facts div:nth-child(4n),
    .home-lunar-facts div:nth-last-child(-n+2) {
        border-right: 0;
        border-bottom: 1px solid #f0dccb;
    }
    .home-lunar-facts div:last-child { border-bottom: 0; }
    .home-hours-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-hours-grid div,
    .home-hours-grid div:nth-child(6n) { border-right: 1px solid #f0dccb; border-top: 1px solid #f0dccb; }
    .home-hours-grid div:nth-child(2n) { border-right: 0; }
    .home-hours-grid div:nth-child(-n+2) { border-top: 0; }
    .home-related-days a {
        min-height: 104px;
        border-right: 0;
        border-bottom: 1px solid #f0dccb;
    }
    .home-related-days a:last-child { border-bottom: 0; }
    .month-title-row { align-items: flex-start; flex-direction: column; }
    .month-nav-row {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 14px 0 16px;
    }
    .month-heading { order: -1; }
    .month-heading h1 {
        font-size: 25px;
        line-height: 1.2;
    }
    .month-heading p {
        margin-bottom: 12px;
        font-size: 15px;
    }
    .month-inline-form,
    .month-picker-grid,
    .month-symbol-grid {
        grid-template-columns: 1fr;
        display: grid;
    }
    .month-inline-form {
        gap: 10px;
    }
    .month-inline-form select,
    .month-inline-form .primary-btn {
        width: 100%;
        min-width: 0;
    }
    .month-calendar {
        border-radius: 7px;
        overflow-x: hidden;
    }
    .month-weekdays div {
        padding: 9px 2px;
        font-size: 11px;
        line-height: 1.15;
    }
    .month-cell {
        min-height: 62px;
        padding: 7px 5px 6px;
    }
    .month-cell .solar {
        font-size: 17px;
        line-height: 1;
    }
    .month-cell .lunar {
        position: static;
        display: block;
        margin-top: 6px;
        color: #7a7470;
        font-size: 10px;
        line-height: 1;
        text-align: right;
    }
    .month-cell .canchi { display: none; }
    .month-cell.is-active {
        box-shadow: inset 0 0 0 1px #f0c083;
    }
    .month-cell.is-active .solar {
        width: 28px;
        height: 28px;
        font-size: 15px;
    }
    .month-cell strong {
        left: 5px;
        bottom: 4px;
        padding: 2px 5px;
        font-size: 10px;
        line-height: 1.2;
    }
    .month-star,
    .month-dot {
        right: 5px;
        bottom: 5px;
    }
    .month-star {
        font-size: 11px;
    }
    .month-dot {
        width: 6px;
        height: 6px;
    }
    .month-legend {
        gap: 10px 14px;
        margin: 14px 0 18px;
        font-size: 12px;
    }
    .month-legend .view-calendar-btn {
        width: 100%;
        margin-left: 0;
    }
    .good-purpose-tabs,
    .good-filter-grid,
    .good-list-filter form,
    .good-result-card,
    .convert-field-group {
        grid-template-columns: 1fr;
    }
    .good-list-page {
        gap: 14px;
    }
    .good-list-filter {
        padding: 16px;
    }
    .good-list-filter form {
        gap: 12px;
    }
    .good-list-filter .primary-btn {
        width: 100%;
        min-height: 44px;
    }
    .good-list-table-panel {
        padding: 0;
        overflow: visible;
    }
    .good-list-table-panel .panel-title {
        padding: 16px 16px 10px;
        font-size: 17px;
        line-height: 1.35;
    }
    .good-list-table-wrap {
        overflow: visible;
        padding: 0 12px 12px;
    }
    .good-list-table {
        display: block;
        width: 100%;
        min-width: 0;
        border-spacing: 0;
    }
    .good-list-table thead {
        display: none;
    }
    .good-list-table tbody,
    .good-list-table tr,
    .good-list-table td {
        display: block;
        width: 100%;
    }
    .good-list-table tr {
        margin: 0 0 12px;
        overflow: hidden;
        border: 1px solid #efdccd;
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 8px 22px rgba(84, 32, 0, .06);
    }
    .good-list-table td {
        border-right: 0;
        border-bottom: 1px solid #f0e2d4;
        padding: 12px 14px;
    }
    .good-list-table td:last-child {
        border-bottom: 0;
    }
    .good-list-solar,
    .good-list-lunar,
    .good-list-rating,
    .good-list-fit {
        min-width: 0;
        text-align: left;
        white-space: normal;
    }
    .good-list-solar {
        display: grid !important;
        grid-template-columns: 72px minmax(0, 1fr);
        align-items: center;
        gap: 0 12px;
        background: #fff8ef;
    }
    .good-list-solar strong {
        grid-row: 1 / span 2;
        font-size: 38px;
        text-align: center;
    }
    .good-list-solar span,
    .good-list-solar small {
        margin-top: 0;
    }
    .good-list-lunar strong,
    .good-list-rating span {
        font-size: 18px;
    }
    .good-list-info {
        min-width: 0;
        font-size: 13px;
        line-height: 1.55;
    }
    .good-list-rating em {
        letter-spacing: 0;
    }
    .good-list-fit div {
        justify-content: flex-start;
        gap: 8px;
    }
    .good-list-fit .detail-btn {
        width: 100%;
        justify-content: center;
    }
    .good-list-sidebar {
        gap: 14px;
    }
    .good-filter-panel h1 {
        font-size: 26px;
        line-height: 1.2;
    }
    .good-purpose-tabs {
        gap: 8px;
        border: 0;
        overflow: visible;
    }
    .good-purpose-tabs a {
        min-height: 58px;
        grid-template-columns: 32px 1fr;
        place-items: center start;
        gap: 10px;
        padding: 10px 12px;
        border: 1px solid #efdfd1;
        border-radius: 8px;
        font-size: 13px;
    }
    .good-purpose-tabs a:last-child {
        border-right: 1px solid #efdfd1;
    }
    .good-purpose-tabs a span {
        font-size: 22px;
    }
    .good-results-panel {
        padding: 16px;
    }
    .good-result-head {
        gap: 10px;
    }
    .good-result-head h2 {
        font-size: 18px;
        line-height: 1.35;
    }
    .good-result-head .view-calendar-btn {
        width: 100%;
    }
    .good-result-card {
        overflow: hidden;
    }
    .good-filter-grid .primary-btn { grid-column: auto; }
    .good-info {
        padding: 14px;
    }
    .good-result-card > .ghost-btn {
        width: calc(100% - 24px);
        margin: 0 12px 12px;
        justify-self: stretch;
    }
    .good-sidebar {
        gap: 14px;
    }
    .good-consult-card {
        min-height: 180px;
        padding: 20px;
        background-size: 160px auto, auto;
    }
    .good-other-panel a {
        grid-template-columns: 42px minmax(0, 1fr);
    }
    .good-other-panel span {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }
    .solar-date,
    .lunar-date {
        border-right: 0;
        border-bottom: 1px solid #efdfd1;
    }
    .quick-tools, .grid-2, .grid-3, .grid-4, .grid-5, .form-grid, .answer-cards, .blog-tabs, .blog-grid, .blog-benefits, .search-tool-grid, .ai-suggestions, .ai-card-grid, .ai-followups, .ai-support-grid { grid-template-columns: 1fr; }
    .home-detail-page {
        gap: 14px;
    }
    .home-detail-main,
    .home-detail-sidebar {
        gap: 14px;
    }
    .breadcrumb,
    .home-breadcrumb {
        margin-top: 6px;
        margin-bottom: 14px;
        padding-top: 2px;
        white-space: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .breadcrumb::-webkit-scrollbar,
    .home-breadcrumb::-webkit-scrollbar {
        display: none;
    }
    .page-head {
        margin: 12px 0 20px;
    }
    .page-head h1 {
        font-size: clamp(25px, 8vw, 32px);
        line-height: 1.15;
    }
    .page-head h1:before,
    .page-head h1:after {
        margin: 0 8px;
        font-size: .55em;
    }
    .page-head p {
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
        font-size: 15px;
        line-height: 1.55;
    }
    .home-detail-hero {
        border-radius: 7px;
    }
    .home-date-card {
        min-height: 0;
        padding: 0 18px 20px;
    }
    .home-date-card:after {
        display: none;
    }
    .home-date-card b {
        margin-bottom: 18px;
        padding: 12px 10px;
        font-size: 18px;
    }
    .home-date-card strong {
        font-size: clamp(76px, 24vw, 96px);
    }
    .home-date-card span {
        margin-top: 8px;
        font-size: 24px;
    }
    .home-zodiac-art {
        width: min(132px, 58vw);
        margin: 14px 0 16px;
    }
    .home-date-card small {
        padding: 12px 14px;
    }
    .home-lunar-card {
        padding: 20px 16px;
    }
    .home-lunar-card h1 {
        max-width: 330px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.28;
    }
    .home-lunar-card > p {
        margin-bottom: 14px;
        line-height: 1.55;
    }
    .home-lunar-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .home-lunar-facts div,
    .home-lunar-facts div:nth-child(2n),
    .home-lunar-facts div:nth-child(4n),
    .home-lunar-facts div:nth-last-child(-n+2) {
        min-height: 82px;
        border-right: 1px solid #f0dccb;
        border-bottom: 1px solid #f0dccb;
    }
    .home-lunar-facts div:nth-child(2n) {
        border-right: 0;
    }
    .home-lunar-facts div:nth-last-child(-n+2) {
        border-bottom: 0;
    }
    .home-good-bad {
        gap: 10px;
    }
    .home-good-bad .good-box,
    .home-good-bad .bad-box {
        margin-top: 0;
        padding: 13px 14px;
    }
    .home-hours-panel,
    .home-explain-panel,
    .home-faq-panel,
    .home-related-posts,
    .home-side-list,
    .home-side-stars,
    .home-zodiac-panel {
        padding: 16px;
    }
    .quick-tools {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin: 14px 0;
    }
    .quick-tools a {
        min-height: 76px;
        padding: 10px 8px;
    }
    .quick-tools span {
        font-size: 24px;
    }
    .home-widget {
        min-height: 0;
        padding: 16px;
    }
    .home-post-strip .thumb {
        height: 132px;
    }
    .ai-suggestions { align-items: stretch; }
    .ai-bubble { max-width: 100%; }
    .ai-input-row { grid-template-columns: 1fr 44px 50px; }
    .ai-today-flex { grid-template-columns: 1fr; }
    .calendar-head div { padding: 8px 4px; font-size: 12px; }
    .day-cell { min-height: 80px; padding: 8px; }
    .day-cell .num { font-size: 18px; }
    .info-hero-card,
    .contact-card,
    .info-card,
    .info-note { padding: 18px; }
    .info-hero-card h2,
    .contact-card h2 { font-size: 21px; }
    .contact-list p { grid-template-columns: 1fr; gap: 4px; }
    .site-footer { margin-top: 28px; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 30px;
        padding-bottom: 26px;
    }
    .footer-grid h3 {
        margin-bottom: 10px;
        font-size: 14px;
        letter-spacing: .01em;
    }
    .footer-grid p {
        margin: 8px 0 0;
        line-height: 1.65;
    }
    .footer-grid a {
        margin: 9px 0;
        line-height: 1.55;
    }
    .footer-brand {
        align-items: center;
        margin-bottom: 10px;
    }
    .subscribe input {
        min-height: 48px;
    }
    .subscribe button {
        min-height: 48px;
    }
    .copyright {
        margin-top: 2px;
        padding: 22px 16px 26px;
        line-height: 1.55;
    }
    .copyright span { float: none; display: block; margin-top: 12px; }
    .year-good-grid,
    .year-month-grid,
    .year-fortune-grid,
    .year-overview-list div {
        grid-template-columns: 1fr;
    }
    .year-overview-list strong {
        text-align: left;
    }
    .year-animal-art {
        min-height: 240px;
    }
    .year-animal {
        font-size: 118px;
    }
    .feng-filter form,
    .feng-hero,
    .feng-facts,
    .feng-hour-grid {
        grid-template-columns: 1fr;
    }
    .feng-filter {
        padding: 16px;
    }
    .feng-filter form {
        gap: 14px;
    }
    .feng-filter label,
    .feng-filter input,
    .feng-filter select,
    .feng-filter .primary-btn {
        width: 100%;
        min-width: 0;
    }
    .feng-segment {
        gap: 6px;
    }
    .feng-segment button {
        min-width: 0;
        padding: 0 8px;
    }
    .feng-image {
        min-height: 260px;
    }
    .feng-summary {
        padding: 22px;
    }
    .feng-summary h2 {
        font-size: 22px;
        line-height: 1.3;
    }
    .feng-facts div {
        gap: 10px;
        padding-bottom: 8px;
        border-bottom: 1px dashed #f0dccb;
    }
    .feng-notice {
        grid-template-columns: 36px minmax(0, 1fr);
        padding: 14px;
    }
    .feng-hour-grid {
        gap: 10px;
    }
    .feng-hour-grid article {
        min-height: 132px;
    }
    .feng-hour-grid span {
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
    .feng-hour-table {
        min-width: 700px;
    }
    .feng-tool-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .consult-hero {
        padding: 28px 20px;
        background:
            linear-gradient(90deg, rgba(92, 0, 0, .96), rgba(92, 0, 0, .82)),
            url("../img/phong-thuy-compass.png") right bottom/220px auto no-repeat,
            #650000;
    }
    .consult-hero h1 {
        font-size: 29px;
    }
    .consult-hero-points,
    .consult-form,
    .consult-result-grid,
    .consult-warning,
    .consult-plan-next,
    .consult-plan-grid,
    .consult-process > div {
        grid-template-columns: 1fr;
    }
    .consult-steps {
        grid-template-columns: 1fr;
    }
    .consult-steps b:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid #ead9c9;
    }
    .direction-purpose-grid {
        grid-template-columns: 1fr;
    }
    .star-filter form,
    .star-info-grid div,
    .star-overview-grid,
    .star-note-grid {
        grid-template-columns: 1fr;
    }
    .star-map {
        margin: 0 18px 18px;
    }
    .life-filter form,
    .life-info-grid,
    .life-info-grid div,
    .life-chart-grid,
    .life-tabs {
        grid-template-columns: 1fr;
    }
    .life-center {
        grid-column: auto;
        min-height: 220px;
    }
    .holiday-tabs {
        grid-template-columns: 1fr;
    }
    .top-good-filter form,
    .top-good-row,
    .top-month-grid {
        grid-template-columns: 1fr;
    }
    .top-good-row .detail-btn {
        grid-column: auto;
    }
    .rank-badge {
        width: 50px;
        height: 50px;
    }
    .week-nav,
    .week-card-grid,
    .week-stat-grid,
    .week-task-grid {
        grid-template-columns: 1fr;
    }
    .stats-tabs,
    .stats-filter form,
    .stats-quarter-card,
    .stats-metric-grid,
    .stats-work-list a,
    .stats-radar {
        grid-template-columns: 1fr;
    }
    .stats-quarter-card .panel-title {
        grid-column: auto;
    }
    .stats-tabs a {
        min-height: 40px;
        border-right: 0;
        border-bottom: 1px solid #f0dfcf;
    }
    .stats-bars {
        gap: 5px;
        overflow-x: auto;
        padding-bottom: 8px;
    }
    .stats-bar-stack span {
        width: 10px;
    }
    .stats-top-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    .stats-quick p {
        grid-template-columns: 24px 1fr;
    }
    .stats-quick strong {
        grid-column: 2;
        text-align: left;
    }
    .week-day-card {
        min-height: 0;
    }
    .convert-page {
        gap: 16px;
    }
    .convert-tabs {
        grid-template-columns: 1fr;
    }
    .convert-tabs button {
        justify-content: center;
        border-right: 0;
        border-bottom: 1px solid #ead9c9;
        text-align: center;
    }
    .convert-tabs button:last-child {
        border-bottom: 0;
    }
    .convert-search-body {
        padding: 16px;
    }
    .convert-note {
        font-size: 13px;
    }
    .convert-date-card h2 {
        font-size: 19px;
    }
    .convert-date-card p {
        font-size: 13px;
    }
    .convert-date-card dl div {
        align-items: flex-start;
        padding: 8px 0;
    }
    .convert-date-card dt {
        flex: 0 0 42%;
    }
    .convert-date-card dd {
        min-width: 0;
        text-align: right;
        overflow-wrap: anywhere;
    }
    .convert-tools-panel a {
        grid-template-columns: 40px minmax(0, 1fr);
    }
    .convert-summary-strip {
        grid-template-columns: 1fr;
    }
    .convert-history a {
        grid-template-columns: 38px minmax(0, 1fr);
        padding: 12px;
    }
}

@media (max-width: 420px) {
    .wrap { padding: 0 14px; }
    .header-inner {
        gap: 8px;
        padding-top: 6px;
        padding-bottom: 8px;
    }
    .brand { gap: 8px; }
    .brand strong { font-size: 18px; }
    .brand em { display: none; }
    .brand-mark,
    .brand-logo-wrap,
    .brand-logo { width: 42px; height: 42px; }
    .nav-toggle {
        width: 42px;
        height: 42px;
    }
    .site-header .search input { min-width: 0; }
    .site-main {
        padding-top: 18px;
    }
    .breadcrumb,
    .home-breadcrumb {
        margin-top: 0;
        margin-bottom: 12px;
        padding-top: 0;
        font-size: 13px;
    }
    .page-head {
        margin: 8px 0 18px;
    }
    .page-head h1 {
        font-size: clamp(22px, 7vw, 28px);
        line-height: 1.16;
    }
    .page-head h1:before,
    .page-head h1:after {
        display: none;
    }
    .page-head p {
        max-width: 310px;
        font-size: 14px;
    }
    .main-nav {
        padding: 6px;
    }
    .main-nav a,
    .main-nav button {
        min-height: 40px;
        padding-left: 18px;
    }
    .footer-grid {
        gap: 22px;
        padding-top: 28px;
        padding-bottom: 24px;
    }
    .footer-grid a {
        margin: 10px 0;
    }
    .copyright {
        padding-top: 24px;
        padding-bottom: 28px;
    }
    .home-detail-main,
    .home-detail-sidebar {
        gap: 12px;
    }
    .home-date-card {
        padding-left: 16px;
        padding-right: 16px;
    }
    .home-date-card b {
        width: calc(100% + 32px);
        margin-left: -16px;
        margin-right: -16px;
    }
    .home-lunar-card h1 {
        font-size: 20px;
    }
    .home-lunar-facts div {
        padding: 12px 8px;
    }
    .home-lunar-facts span {
        font-size: 13px;
    }
    .home-lunar-facts strong {
        font-size: 14px;
    }
    .good-filter-panel {
        padding: 16px;
    }
    .good-filter-panel h1 {
        font-size: 24px;
    }
    .good-purpose-tabs a {
        min-height: 52px;
        padding: 9px 10px;
    }
    .good-list-table-panel .panel-title {
        padding: 14px 14px 8px;
        font-size: 16px;
    }
    .good-list-table-wrap {
        padding: 0 8px 10px;
    }
    .good-list-table td {
        padding: 11px 12px;
    }
    .good-list-solar {
        grid-template-columns: 62px minmax(0, 1fr);
    }
    .good-list-solar strong {
        font-size: 34px;
    }
    .good-list-fit div span {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
    .good-result-card {
        border-radius: 7px;
    }
    .good-info p {
        font-size: 13px;
        line-height: 1.5;
    }
    .solar-date,
    .lunar-date {
        min-height: 96px;
        padding: 10px;
    }
    .solar-date strong {
        font-size: 32px;
    }
    .lunar-date strong {
        font-size: 23px;
    }
    .feng-filter {
        padding: 14px;
    }
    .feng-image {
        min-height: 210px;
    }
    .feng-summary {
        padding: 18px 16px;
    }
    .feng-summary h2 {
        font-size: 20px;
    }
    .feng-facts div {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2px;
    }
    .feng-hour-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .feng-hour-grid article {
        min-height: 122px;
        padding: 12px 8px;
    }
    .feng-hour-grid strong {
        font-size: 14px;
    }
    .feng-hour-grid small {
        font-size: 11px;
    }
    .feng-hour-grid span {
        width: 44px;
        height: 44px;
        font-size: 23px;
    }
    .feng-table-wrap {
        margin-left: -16px;
        margin-right: -16px;
        padding: 0 16px 8px;
    }
    .feng-hour-table {
        min-width: 640px;
    }
    .home-hours-grid {
        grid-template-columns: 1fr;
    }
    .home-hours-grid div,
    .home-hours-grid div:nth-child(2n),
    .home-hours-grid div:nth-child(6n),
    .home-hours-grid div:nth-child(-n+2) {
        border-right: 0;
        border-top: 1px solid #f0dccb;
    }
    .home-hours-grid div:first-child {
        border-top: 0;
    }
    .quick-tools {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .quick-tools a {
        min-height: 72px;
        font-size: 12px;
    }
    .month-weekdays div {
        padding: 8px 1px;
        font-size: 10px;
    }
    .month-cell {
        min-height: 58px;
        padding: 6px 4px;
    }
    .month-cell .solar {
        font-size: 16px;
    }
    .month-cell .lunar {
        margin-top: 5px;
        font-size: 9px;
    }
    .month-cell.is-active .solar {
        width: 26px;
        height: 26px;
        font-size: 14px;
    }
    .month-cell strong {
        display: none;
    }
}
