:root {
    --bg: #faf9f6;
    --ink: #292833;
    --muted: #85818d;
    --purple: #7c63ad;
    --line: #e9e5ef;
    --soft: #f1edf8
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.7
}

a {
    color: inherit;
    text-decoration: none
}

button,
select {
    font: inherit
}

button,
a,
select {
    -webkit-tap-highlight-color: transparent
}

button {
    cursor: pointer
}

button:focus-visible,
a:focus-visible,
select:focus-visible,
summary:focus-visible {
    outline: 3px solid #aa88d5;
    outline-offset: 5px
}

button {
    border: 0
}

button,
a {
    transition: background .2s, color .2s, box-shadow .2s, transform .2s
}

[hidden] {
    display: none !important
}

.header {
    max-width: 1240px;
    margin: auto;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    padding: 0 30px
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px
}

.brand-icon {
    font-size: 40px;
    color: var(--purple);
    line-height: 1
}

.brand small {
    font-size: 10px;
    letter-spacing: 2.2px;
    font-weight: 500;
    margin-left: 5px
}

.header nav {
    display: flex;
    gap: 36px;
    color: #64616c;
    font-size: 13px
}

.header nav a:hover,
.text-link:hover {
    color: var(--purple)
}

.nav-cta {
    background: #eeebf4;
    padding: 10px 20px;
    border-radius: 7px;
    font-size: 12px;
    color: #6d5894
}

.nav-cta span {
    margin-left: 18px
}

main {
    max-width: 1180px;
    padding: 0 20px;
    margin: auto
}

.hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    min-height: 430px;
    align-items: center;
    position: relative
}

.eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2.2px;
    color: #9584af;
    margin: 0 0 15px
}

.eyebrow>span {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #9e8ab7;
    margin-right: 7px;
    vertical-align: middle
}

.hero h1 {
    font-size: 49px;
    line-height: 1.45;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 18px 0;
    position: relative
}

.accent {
    color: var(--purple);
    position: relative
}

.accent:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 8px;
    border-top: 2px solid #cbbbe3;
    border-radius: 50%
}

.hero h1 i {
    font-size: 32px;
    color: #a390be;
    font-style: normal;
    position: absolute;
    top: 10px;
    margin-left: 20px
}

.hero-desc {
    color: #88838e;
    line-height: 1.95;
    font-size: 14px
}

.hero-tags {
    display: flex;
    gap: 23px;
    font-size: 11px;
    color: #8c8496;
    margin-top: 25px
}

.cosmos {
    height: 365px;
    width: 440px;
    max-width: 100%;
    position: relative;
    margin: auto;
    background: radial-gradient(ellipse, #e4dbee85 0, transparent 66%)
}

.orbit {
    position: absolute;
    left: 50%;
    top: 46%;
    border: 1px solid #d9d0e1;
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-28deg)
}

.orbit-a {
    width: 330px;
    height: 330px;
    border-style: dashed;
    opacity: .65
}

.orbit-b {
    width: 420px;
    height: 220px
}

.orbit-c {
    width: 270px;
    height: 270px;
    border-color: #e2d8e8
}

.planet {
    position: absolute;
    left: 50%;
    top: 46%;
    width: 165px;
    height: 165px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at 30% 25%, #fbf4f4 1%, #d8c6e1 32%, #b39acb 68%, #8f78b4);
    box-shadow: inset -12px -10px 22px #8d6dac33, 0 0 50px #dacde86b
}

.planet:after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: repeating-linear-gradient(155deg, transparent 0 20px, #ffffff12 22px 25px, transparent 29px 35px)
}

.planet-ring {
    position: absolute;
    width: 280px;
    height: 76px;
    border: 15px solid #c4b1d0;
    left: 50%;
    top: 46%;
    border-top-color: transparent;
    border-right-color: #dfd0db;
    border-bottom-color: #d3c0d4;
    transform: translate(-50%, -50%) rotate(-27deg);
    border-radius: 50%;
    box-shadow: 0 5px 0 -2px #b39dc255
}

.orbit-glyph {
    position: absolute;
    font-family: Georgia, serif;
    font-size: 29px;
    color: #a490ba
}

.g1 {
    top: 30px;
    left: 94px;
    transform: rotate(-20deg)
}

.g2 {
    right: 36px;
    top: 90px
}

.g3 {
    bottom: 55px;
    left: 55px
}

.g4 {
    right: 80px;
    bottom: 40px;
    transform: rotate(15deg)
}

.cosmic-star {
    position: absolute;
    color: #a894bf;
    font-size: 30px
}

.s1 {
    top: 2px;
    right: 115px
}

.s2 {
    top: 174px;
    left: 15px;
    font-size: 20px
}

.s3 {
    bottom: 63px;
    right: 7px
}

.cosmos-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 8px;
    letter-spacing: 3px;
    color: #ab9eb6
}

.match-card {
    background: #fff;
    border: 1px solid #e9e3f0;
    border-radius: 16px;
    padding: 31px 34px;
    box-shadow: 0 8px 35px #6d54820a;
    position: relative
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px
}

.section-heading .eyebrow {
    margin-bottom: 7px;
    font-size: 9px
}

h2 {
    font-size: 25px;
    letter-spacing: .7px;
    line-height: 1.5;
    margin: 0;
    font-weight: 600
}

.section-heading h2 span {
    color: #b3a1c6;
    font-weight: 400;
    margin-left: 9px
}

.soft-label {
    font-size: 11px;
    color: #aaa1b6;
    background: #faf8fc;
    border: 1px solid #f2eef6;
    border-radius: 20px;
    padding: 5px 12px
}

.mode-tabs {
    display: flex;
    margin: 24px 0 22px;
    border-bottom: 1px solid #efedf2;
    gap: 28px
}

.mode-tabs button {
    padding: 0 4px 13px;
    background: transparent;
    color: #8e8796;
    border-bottom: 2px solid transparent;
    font-size: 13px
}

.mode-tabs button.active {
    color: var(--purple);
    border-color: var(--purple);
    font-weight: 600
}

.pair-inputs {
    display: grid;
    grid-template-columns: 1fr 42px 1fr 225px;
    align-items: end;
    gap: 19px
}

.person label {
    font-size: 12px;
    color: #64606d;
    display: block;
    margin-bottom: 10px
}

.person label span {
    font-size: 8px;
    letter-spacing: 1.4px;
    color: #b5adbd;
    margin-left: 10px
}

.select-box {
    display: flex;
    align-items: center;
    border: 1px solid #e7e1ed;
    border-radius: 8px;
    background: #fcfbfd;
    height: 60px;
    padding-left: 16px
}

.select-box>span {
    font-size: 31px;
    color: #a28bbd
}

.select-box select {
    width: 100%;
    min-width: 0;
    padding: 15px 5px 15px 12px;
    border: 0;
    color: #5b5266;
    background: transparent;
    cursor: pointer;
    font-size: 12px
}

.swap {
    align-self: end;
    margin-bottom: 13px;
    width: 34px;
    height: 34px;
    border: 1px solid #ece7f2;
    border-radius: 50%;
    background: #fff;
    color: #aa99bd;
    font-size: 20px
}

.primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    color: white;
    background: var(--purple);
    border-radius: 8px;
    padding: 16px 24px;
    font-size: 13px;
    box-shadow: 0 5px 12px #7c63ad18
}

.primary:hover {
    background: #695199;
    transform: translateY(-1px)
}

.start {
    height: 60px;
    white-space: nowrap
}

.form-foot {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #a09aa9;
    margin-top: 17px
}

.form-foot a {
    color: #9787ac
}

.popular {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 25px 8px 0;
    font-size: 11px
}

.popular>span {
    color: #77717e;
    white-space: nowrap
}

.popular small {
    font-size: 8px;
    margin-left: 6px;
    color: #aaa2b2;
    letter-spacing: 1px
}

.popular button {
    border: 1px solid #e9e5ec;
    background: transparent;
    color: #8b8197;
    border-radius: 20px;
    padding: 5px 13px;
    font-size: 10px;
    white-space: nowrap
}

.popular button:hover {
    background: var(--soft)
}

.popular b {
    font-weight: 400;
    color: #b5a5c7;
    padding: 0 4px
}

.zodiac-section {
    padding-top: 65px
}

.subtext {
    font-size: 12px;
    color: #98919e;
    margin: 9px 0 0
}

.text-link {
    font-size: 11px;
    color: #9482a9
}

.filters {
    display: flex;
    gap: 9px;
    margin: 24px 0
}

.filters button {
    padding: 8px 18px;
    border-radius: 6px;
    background: transparent;
    color: #938b9a;
    font-size: 11px
}

.filters button.active {
    color: #786297;
    background: #eee8f6
}

.sign-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px
}

.sign-card {
    position: relative;
    border: 1px solid #e8e4ec;
    border-radius: 10px;
    background: #fff;
    padding: 17px 17px 13px;
    min-width: 0
}

.sign-card:hover {
    transform: translateY(-4px);
    border-color: #c5b3db;
    box-shadow: 0 10px 20px #806b9310
}

.sign-card>div {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.sign-symbol {
    font-size: 35px;
    line-height: 1.5;
    color: #bc9caf
}

.sign-symbol.火 {
    color: #c99888
}

.sign-symbol.土 {
    color: #9eaa85
}

.sign-symbol.风 {
    color: #a897c3
}

.sign-symbol.水 {
    color: #8ba7bd
}

.element {
    font-size: 9px;
    color: #aaa1b2;
    border: 1px solid #eee9f1;
    border-radius: 4px;
    padding: 0 6px
}

.sign-card h3 {
    font-size: 15px;
    font-weight: 500;
    margin: 9px 0 3px
}

.sign-card h3 small {
    display: block;
    font-size: 7px;
    letter-spacing: 1.2px;
    color: #b3aab9;
    margin-top: 1px
}

.sign-card p {
    font-size: 9px;
    color: #a59bab;
    margin: 10px 0 0;
    white-space: nowrap
}

.sign-card p.date {
    font-size: 10px;
    letter-spacing: .5px;
    color: #9b919f;
    margin: 0
}

.card-arrow {
    position: absolute;
    right: 13px;
    bottom: 13px;
    font-size: 12px;
    color: #c1b4cc;
    display: none
}

.birthday {
    margin-top: 45px;
    background: #f0edf5;
    border: 1px solid #e8e2ef;
    border-radius: 12px;
    padding: 26px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap
}

.birthday-title {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1
}

.birthday-icon {
    font-size: 58px;
    font-family: Georgia, serif;
    color: #b4a0c8;
    font-weight: 200
}

.birthday .eyebrow {
    font-size: 8px;
    margin-bottom: 4px
}

.birthday h2 {
    font-size: 20px
}

.birthday p {
    color: #9a8fa4;
    font-size: 11px;
    margin: 6px 0 0
}

.birthday form {
    display: flex;
    gap: 10px
}

.birthday select {
    padding: 11px 13px;
    border: 1px solid #e3dbea;
    border-radius: 6px;
    background: #faf8fc;
    color: #8c7e9b;
    font-size: 11px;
    min-width: 108px
}

.dark-button {
    color: white;
    background: #80718f;
    padding: 11px 19px;
    border-radius: 6px;
    font-size: 11px
}

.birthday p.birthday-note {
    width: 100%;
    margin-top: -10px;
    font-size: 10px
}

.birthday #birthday-result:not(:empty) {
    width: 100%;
    border-top: 1px solid #ded5e7;
    padding-top: 15px;
    color: #705587
}

.birthday-result-actions {
    display: inline-flex;
    gap: 10px;
    margin-left: 14px
}

.birthday-result-actions button {
    background: white;
    color: #705587;
    border-radius: 5px;
    padding: 4px 10px
}

.learn {
    padding-top: 60px
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 25px
}

.article {
    border: 1px solid #e8e4ea;
    border-radius: 11px;
    overflow: hidden;
    background: #fff
}

.article:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px #6752770d
}

.article-art {
    height: 155px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 23px;
    font-family: Georgia, serif;
    font-size: 52px;
    overflow: hidden;
    position: relative
}

.art-elements {
    background: #efede5;
    color: #ab9a77
}

.art-elements span {
    font-size: 34px;
    border: 1px solid #cfc4ac;
    border-radius: 50%;
    height: 55px;
    width: 55px;
    display: grid;
    place-items: center
}

.art-elements span:nth-child(even) {
    transform: translateY(16px)
}

.art-elements span:nth-child(odd) {
    transform: translateY(-14px)
}

.art-love {
    background: #f2e8e8;
    color: #c2a1ad;
    gap: 0
}

.art-love span:first-child {
    font-size: 105px;
    transform: rotate(-16deg)
}

.art-love span:last-child {
    font-size: 85px;
    transform: rotate(16deg)
}

.art-love span:nth-child(2) {
    font-size: 35px;
    transform: translateY(-30px)
}

.art-moon {
    background: #eaeaf3;
    color: #a9a3c2;
    gap: 37px
}

.art-moon:after {
    content: '';
    position: absolute;
    width: 240px;
    height: 90px;
    border: 1px solid #c6c0d5;
    border-radius: 50%;
    transform: rotate(-14deg)
}

.article-body {
    padding: 20px
}

.article-body small {
    font-size: 9px;
    color: #a597ad
}

.article-body h3 {
    font-size: 14px;
    line-height: 1.8;
    margin: 9px 0 8px;
    font-weight: 500
}

.article-body h3 span {
    color: #aa9bb9
}

.article-body p {
    font-size: 11px;
    color: #aaa0ae;
    line-height: 1.9;
    margin: 0
}

.faq {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 70px;
    padding-top: 65px
}

.faq>div>p:not(.eyebrow) {
    font-size: 12px;
    color: #a599ad
}

.faq-star {
    display: block;
    font-size: 85px;
    color: #c4b3d4;
    line-height: 1.6;
    margin-left: 30px
}

details {
    border-bottom: 1px solid #e9e4ed
}

summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 0;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #6e637b
}

summary::-webkit-details-marker {
    display: none
}

summary span {
    color: #a997bd
}

details[open] summary span {
    transform: rotate(45deg)
}

details p {
    font-size: 12px;
    color: #968a9f;
    line-height: 1.95;
    margin: 0 25px 18px 0
}

.closing {
    margin: 60px 0 45px;
    text-align: center;
    padding: 35px 0;
    background: radial-gradient(ellipse, #eee7f280, transparent 70%)
}

.closing>span {
    font-size: 30px;
    color: #b6a2c9
}

.closing h2 {
    font-size: 22px;
    line-height: 1.8;
    color: #7f6a95;
    letter-spacing: 3px;
    font-weight: 400;
    margin: 10px 0 14px
}

.closing a {
    font-size: 10px;
    color: #a18bae
}

footer {
    max-width: 1180px;
    margin: auto;
    border-top: 1px solid var(--line);
    padding: 28px 20px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

footer .brand {
    font-size: 18px;
    color: #8b789d
}

footer .brand small {
    font-size: 8px
}

footer p {
    font-size: 10px;
    color: #aaa0b2
}

footer>span {
    font-size: 9px;
    color: #b0a7b6;
    text-align: right;
    line-height: 1.9
}

.result {
    border-top: 1px solid var(--line);
    margin-top: 25px;
    padding-top: 25px;
    outline: none
}

.result-top {
    display: flex;
    gap: 28px;
    align-items: center
}

.score-ring {
    --score: 80;
    flex-shrink: 0;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: conic-gradient(#9d83c1 calc(var(--score)*1%), #f0eaf5 0);
    padding: 7px
}

.score-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center
}

.score-inner strong {
    font-size: 33px;
    font-weight: 500;
    color: #7c63ad;
    line-height: 1.1
}

.score-inner small {
    font-size: 9px;
    color: #a497b1
}

.result h3 {
    font-size: 22px;
    margin: 0 0 4px
}

.result p {
    color: #93849e;
    font-size: 12px
}

.result .result-label {
    font-size: 10px;
    color: #a999b7
}

.metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 25px 0
}

.metric label {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #91809f;
    margin-bottom: 7px
}

.bar {
    height: 5px;
    background: #f0eaf5;
    border-radius: 5px;
    overflow: hidden
}

.bar span {
    display: block;
    height: 100%;
    background: #b69bcd;
    border-radius: 5px
}

.insights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px
}

.insights>div {
    padding: 15px 20px;
    background: #f9f6fc;
    border-radius: 8px
}

.insights h4 {
    margin: 0;
    color: #887098;
    font-size: 12px
}

.insights p {
    margin: 7px 0
}

.result-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    gap: 20px
}

.result-bottom button {
    padding: 7px 13px;
    background: #eee8f5;
    color: #81659e;
    border-radius: 5px;
    font-size: 11px
}

.result-bottom small {
    font-size: 10px;
    color: #ab9db6
}

.toast {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 25px;
    max-width: 90vw;
    background: #6f5b82;
    color: white;
    border-radius: 8px;
    box-shadow: 0 8px 30px #49395c25;
    z-index: 20
}

.reading {
    max-width: 830px;
    padding: 50px 24px 70px;
    position: relative
}

.reading>.eyebrow {
    margin-top: 40px
}

.reading h1 {
    font-size: 36px;
    line-height: 1.5;
    font-weight: 500;
    max-width: 670px
}

.reading-symbol {
    font-size: 100px;
    float: right;
    color: #cbb7da
}

.reading .lead {
    font-size: 17px;
    color: #9785a5
}

.reading section {
    padding: 24px 0;
    border-bottom: 1px solid var(--line)
}

.reading section h2 {
    font-size: 22px
}

.reading section p {
    font-size: 15px;
    color: #807686;
    line-height: 2.1
}

.reading .primary {
    margin-top: 30px
}

.related {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.related a {
    padding: 8px 13px;
    background: var(--soft);
    border-radius: 5px;
    color: #8d70a5;
    font-size: 12px
}

.muted {
    font-size: 12px;
    color: #9d90a6
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

@media(min-width:1400px) {
    .hero {
        min-height: 460px
    }

    .header {
        height: 105px
    }
}

@media(max-width:1050px) {
    .pair-inputs {
        grid-template-columns: 1fr 32px 1fr;
        gap: 12px
    }

    .start {
        grid-column: 1/-1;
        height: 48px
    }

    .sign-grid {
        grid-template-columns: repeat(4, 1fr)
    }

    .hero h1 {
        font-size: 40px
    }

    .cosmos {
        transform: scale(.85)
    }

    .popular {
        flex-wrap: wrap
    }

    .popular>span {
        width: 100%
    }

    .header nav {
        gap: 20px
    }

    .birthday {
        gap: 18px
    }

    .birthday-title {
        min-width: 310px
    }

    .birthday form {
        flex: 1
    }

    .article-art {
        gap: 10px
    }

    .art-elements span {
        width: 45px;
        height: 45px
    }

    .article-body {
        padding: 15px
    }

    footer p {
        display: none
    }
}

@media(max-width:700px) {
    .header {
        height: 75px;
        padding: 0 20px
    }

    .brand {
        font-size: 21px;
        gap: 6px
    }

    .brand small {
        font-size: 7px;
        margin-left: 0;
        letter-spacing: 1px
    }

    .brand-icon {
        font-size: 32px
    }

    .header nav {
        display: none
    }

    .nav-cta {
        padding: 7px 11px;
        font-size: 10px
    }

    .nav-cta span {
        margin-left: 8px
    }

    main {
        padding: 0 18px
    }

    .hero {
        min-height: 0;
        grid-template-columns: 1fr;
        padding: 35px 0 22px
    }

    .hero h1 {
        font-size: 36px;
        margin: 16px 0
    }

    .hero h1 i {
        font-size: 25px
    }

    .hero .eyebrow {
        font-size: 8px;
        letter-spacing: 1.5px
    }

    .hero-desc {
        font-size: 12px
    }

    .hero-tags {
        gap: 15px;
        font-size: 9px;
        margin-top: 18px
    }

    .cosmos {
        position: absolute;
        right: -8px;
        top: 8px;
        width: 200px;
        height: 220px;
        opacity: .22;
        transform: scale(.7);
        transform-origin: top right;
        pointer-events: none;
        z-index: -1
    }

    .cosmos-label {
        display: none
    }

    .match-card {
        padding: 22px 18px;
        border-radius: 12px
    }

    .section-heading h2,
    h2 {
        font-size: 20px
    }

    .soft-label {
        display: none
    }

    .mode-tabs {
        gap: 22px;
        margin-top: 20px
    }

    .mode-tabs button {
        font-size: 12px
    }

    .pair-inputs {
        grid-template-columns: minmax(0, 1fr) 25px minmax(0, 1fr);
        gap: 8px
    }

    .person label {
        font-size: 11px
    }

    .person label span {
        display: none
    }

    .select-box {
        height: 54px;
        padding-left: 8px
    }

    .select-box>span {
        font-size: 22px
    }

    .select-box select {
        font-size: 11px;
        padding-left: 5px
    }

    .swap {
        width: 26px;
        height: 26px;
        font-size: 17px
    }

    .start {
        margin-top: 8px
    }

    .form-foot {
        display: block;
        font-size: 10px
    }

    .form-foot>span {
        display: block;
        margin-top: 5px;
        font-size: 9px
    }

    .popular {
        gap: 8px;
        padding-top: 18px
    }

    .popular button {
        font-size: 9px;
        padding: 5px 9px
    }

    .zodiac-section {
        padding-top: 42px
    }

    .section-heading {
        align-items: start
    }

    .section-heading>.text-link {
        white-space: nowrap;
        font-size: 9px;
        padding-top: 26px
    }

    .subtext {
        font-size: 10px
    }

    .filters {
        gap: 4px;
        flex-wrap: wrap;
        margin: 18px 0
    }

    .filters button {
        font-size: 10px;
        padding: 6px 9px
    }

    .sign-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 9px
    }

    .sign-card {
        padding: 12px 10px
    }

    .sign-symbol {
        font-size: 30px
    }

    .element {
        font-size: 8px;
        padding: 0 4px
    }

    .sign-card h3 {
        font-size: 13px
    }

    .sign-card h3 small {
        font-size: 6px;
        letter-spacing: .4px
    }

    .sign-card p {
        font-size: 8px;
        letter-spacing: -.5px
    }

    .sign-card p.date {
        font-size: 8px;
        letter-spacing: 0
    }

    .birthday {
        margin-top: 30px;
        padding: 21px 17px;
        gap: 17px
    }

    .birthday-title {
        min-width: 0;
        flex-basis: 100%;
        gap: 14px
    }

    .birthday h2 {
        font-size: 18px
    }

    .birthday-icon {
        font-size: 45px
    }

    .birthday form {
        width: 100%;
        gap: 7px
    }

    .birthday select {
        min-width: 0;
        flex: 1;
        padding: 10px 5px
    }

    .dark-button {
        padding: 10px;
        font-size: 10px
    }

    .birthday p.birthday-note {
        font-size: 9px;
        margin-top: 0
    }

    .birthday-result-actions {
        margin: 8px 0 0;
        display: flex
    }

    .learn {
        padding-top: 40px
    }

    .learn .section-heading>.subtext {
        display: none
    }

    .article-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 20px
    }

    .article {
        display: grid;
        grid-template-columns: 115px 1fr;
        min-height: 150px
    }

    .article-art {
        height: 100%;
        flex-wrap: wrap;
        gap: 5px;
        padding: 20px
    }

    .art-elements span {
        height: 30px;
        width: 30px;
        font-size: 23px;
        transform: none !important
    }

    .art-love span:first-child {
        font-size: 55px
    }

    .art-love span:nth-child(2) {
        font-size: 22px;
        position: absolute;
        top: 20px;
        right: 12px;
        transform: none
    }

    .art-love span:last-child {
        display: none
    }

    .art-moon {
        font-size: 40px
    }

    .art-moon span:last-child {
        display: none
    }

    .article-body {
        padding: 15px 13px
    }

    .article-body h3 {
        font-size: 12px;
        margin: 5px 0
    }

    .article-body small {
        font-size: 8px
    }

    .article-body p {
        font-size: 10px
    }

    .faq {
        padding-top: 40px;
        grid-template-columns: 1fr;
        gap: 16px
    }

    .faq h2 br {
        display: none
    }

    .faq-star {
        display: none
    }

    .faq>div>p:not(.eyebrow) {
        display: none
    }

    summary {
        font-size: 11px;
        padding: 15px 0
    }

    .closing {
        margin: 30px 0 20px;
        padding: 25px 0
    }

    .closing h2 {
        font-size: 19px
    }

    footer {
        padding: 23px 18px;
        flex-wrap: wrap;
        gap: 12px
    }

    footer>span {
        text-align: left;
        font-size: 8px;
        width: 100%
    }

    .result-top {
        gap: 16px;
        align-items: flex-start
    }

    .score-ring {
        width: 86px;
        height: 86px;
        padding: 5px
    }

    .score-inner strong {
        font-size: 27px
    }

    .result h3 {
        font-size: 17px
    }

    .result p {
        font-size: 11px;
        margin: 5px 0
    }

    .metrics {
        gap: 12px;
        margin: 20px 0
    }

    .metric label {
        font-size: 10px
    }

    .insights {
        grid-template-columns: 1fr;
        gap: 10px
    }

    .result-bottom {
        flex-wrap: wrap;
        gap: 10px
    }

    .reading {
        padding: 32px 20px 45px
    }

    .reading h1 {
        font-size: 28px
    }

    .reading-symbol {
        font-size: 65px
    }

    .reading section h2 {
        font-size: 20px
    }

    .reading section p {
        font-size: 14px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    * {
        transition: none !important
    }
}

/* Keep decorative orbital paths within the hero on narrow screens. */
@media(max-width:700px) {
    .hero {
        overflow: hidden
    }

    .cosmos {
        right: 12px
    }
}

/* Parent website identity shared across all channel pages. */
.site-bar {
    background: #7963a2;
    color: #fff
}

.site-bar-inner {
    max-width: 1240px;
    margin: auto;
    padding: 10px 30px;
    display: flex;
    align-items: center;
    gap: 24px
}

.parent-site {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .5px
}

.parent-site span {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .3px;
    margin-left: 12px;
    color: #eee7f7
}

.site-channel {
    font-size: 11px;
    color: #e4d9ef;
    border-left: 1px solid #b29cc9;
    padding-left: 24px
}

.site-home {
    margin-left: auto;
    font-size: 11px;
    white-space: nowrap
}

.site-bar a:hover {
    color: #f5e4bb
}

.footer-parent {
    font-size: 17px;
    font-weight: 600;
    color: #6f568d
}

.footer-parent span {
    display: block;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .5px;
    margin-top: 3px
}

.footer-site p {
    display: block;
    margin: 7px 0 0;
    color: #8c7d97;
    font-size: 11px
}

.footer-channel {
    font-size: 11px;
    color: #88729d;
    white-space: nowrap
}

@media(max-width:700px) {
    .site-bar-inner {
        padding: 10px 18px;
        gap: 10px;
        flex-wrap: wrap
    }

    .parent-site {
        font-size: 13px
    }

    .parent-site span {
        font-size: 10px;
        margin-left: 6px
    }

    .site-channel {
        display: none
    }

    .site-home {
        font-size: 10px
    }

    .footer-parent {
        font-size: 15px
    }

    .footer-site p {
        font-size: 10px
    }

    .footer-channel {
        margin-left: auto;
        font-size: 10px
    }
}
