:root {
    color-scheme: dark;
    --bg: #101925;
    --panel: #162230;
    --panel2: #1b2a3b;
    --ink: #f1f4f7;
    --muted: #a9b6c5;
    --line: #2d3b4c;
    --accent: #ff9858;
    --soft: #243a50;
    --anchor-offset: 92px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--anchor-offset)
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.75
}

a {
    color: inherit;
    text-decoration: none
}

button {
    font: inherit;
    cursor: pointer
}

a,
button,
summary {
    touch-action: manipulation
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 5px
}

button {
    color: inherit
}

h1,
h2,
h3,
p {
    margin: 0
}

h1,
h2,
h3 {
    line-height: 1.35
}

h2 {
    font-size: 30px;
    letter-spacing: -.8px
}

h3 {
    font-size: 18px
}

.wrap {
    width: min(1240px, calc(100% - 80px));
    margin: auto
}

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #101925f5;
    border-bottom: 1px solid var(--line)
}

.nav-wrap {
    height: 76px;
    display: flex;
    align-items: center;
    gap: 42px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap
}

.brand-sub {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-top: 4px
}

.brand-mark {
    position: relative;
    background: var(--accent);
    color: var(--bg);
    font-size: 29px;
    font-family: Arial, sans-serif;
    font-weight: 800;
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    border-radius: 12px
}

.brand-mark span {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--bg);
    right: 5px;
    top: 5px
}

.nav-wrap nav {
    display: flex;
    gap: 28px;
    align-items: center;
    height: 100%
}

.nav-wrap nav a {
    font-size: 14px;
    color: var(--muted);
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap
}

.nav-wrap nav a:hover,
.nav-wrap nav a.active {
    color: var(--ink)
}

.nav-wrap nav a.active:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent)
}

.nav-note {
    font-size: 13px;
    color: var(--muted);
    margin-left: auto;
    white-space: nowrap
}

.menu-btn {
    display: none
}

.overview {
    padding-top: 45px
}

.intro {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 28px
}

.eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 16px
}

h1 {
    font-size: 40px;
    letter-spacing: -1px
}

h1 span {
    display: block;
    font-size: 24px;
    font-weight: 500;
    color: var(--muted);
    margin-top: 8px
}

.intro-copy {
    color: var(--muted);
    margin-top: 15px;
    max-width: 650px
}

.text-link {
    font-size: 14px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 18px
}

.text-link span {
    font-size: 23px;
    color: var(--accent)
}

.text-link:hover {
    color: var(--accent)
}

.demo-notice {
    background: #1c2937;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    color: #bec9d6;
    font-size: 14px
}

.notice-label {
    color: var(--accent);
    font-weight: 600;
    white-space: nowrap;
    padding-right: 16px;
    border-right: 1px solid var(--line)
}

.overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.25fr) minmax(0, 1fr);
    gap: 20px
}

.result-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden
}

.panel-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px
}

.panel-top h2 {
    font-size: 18px;
    letter-spacing: 0
}

.muted {
    color: var(--muted);
    font-size: 13px
}

.mono {
    font-family: ui-monospace, monospace
}

.result-body {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 18px 28px 29px
}

.formula {
    display: flex;
    align-items: center;
    gap: 9px
}

.number-ball,
.sum-ball {
    height: 64px;
    width: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    background: var(--panel2);
    border: 1px solid #405269
}

.sum-ball {
    width: 82px;
    height: 82px;
    font-size: 46px;
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent)
}

.operator {
    font-size: 16px;
    color: var(--muted)
}

.result-info {
    border-left: 1px solid var(--line);
    padding-left: 24px;
    min-width: 0
}

.tag {
    background: var(--accent);
    color: var(--bg);
    border: 1px solid var(--accent);
    display: inline-block;
    border-radius: 5px;
    padding: 0 11px;
    font-size: 14px;
    font-weight: 700;
    margin-right: 5px
}

.tag.outline {
    background: transparent;
    color: var(--accent)
}

.result-info p {
    font-size: 15px;
    margin-top: 10px
}

.result-info p span {
    font-size: 13px;
    color: var(--muted);
    display: block;
    max-width: 170px;
    line-height: 1.6
}

.result-bottom {
    padding: 14px 28px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: 13px;
    color: var(--muted)
}

.result-bottom a {
    color: var(--accent);
    white-space: nowrap
}

.observation {
    border-radius: 16px;
    background: var(--accent);
    color: var(--bg);
    padding: 22px 27px;
    display: flex;
    flex-direction: column
}

.note-number {
    font: 12px ui-monospace, monospace;
    letter-spacing: 1px;
    color: #523522
}

.observation h2 {
    font-size: 28px;
    margin: 15px 0 10px
}

.observation p {
    font-size: 14px;
    line-height: 1.7;
    max-width: 280px
}

.note-bottom {
    display: flex;
    gap: 16px;
    margin-top: auto;
    padding-top: 18px;
    font-size: 12px;
    font-weight: 600;
    border-top: 1px solid #10192535;
    margin-top: 20px
}

.section {
    padding-top: 72px;
    scroll-margin-top: 0
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px
}

.section-heading p {
    color: var(--muted);
    font-size: 15px;
    margin-top: 8px
}

.heading-dot {
    color: var(--accent);
    font-size: 40px
}

.range-control {
    display: flex;
    gap: 4px;
    background: var(--panel);
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 8px;
    flex-shrink: 0
}

.range-control button {
    border: 0;
    background: transparent;
    font-size: 14px;
    padding: 7px 13px;
    border-radius: 5px;
    color: var(--muted)
}

.range-control button.selected {
    background: var(--accent);
    color: var(--bg);
    font-weight: 700
}

.range-control button:hover:not(.selected) {
    background: var(--soft);
    color: var(--ink)
}

.trend-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
    gap: 20px
}

.chart-panel {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--panel);
    padding: 22px 24px 15px
}

.chart-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px
}

.chart-top h3 {
    font-size: 17px
}

.legend {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--muted)
}

.line-swatch {
    display: inline-block;
    width: 16px;
    height: 3px;
    background: var(--accent)
}

.dash-swatch {
    width: 16px;
    border-top: 1px dashed #71859d;
    margin-left: 8px
}

.chart {
    min-height: 250px;
    display: flex;
    align-items: center
}

.chart svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible
}

.chart-footer {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
    margin-top: 5px
}

.stats-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 24px
}

.stats-panel h3 {
    font-size: 16px
}

.stat-main {
    padding: 17px 0;
    border-bottom: 1px solid var(--line)
}

.stat-main span,
.stat-main small {
    display: block;
    font-size: 13px;
    color: var(--muted)
}

.stat-main strong {
    font-family: Arial, sans-serif;
    font-size: 50px;
    font-weight: 500;
    color: var(--accent);
    line-height: 1.3
}

.stat-main small {
    font-size: 12px
}

.stat-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 18px 0
}

.stat-pair>div+div {
    border-left: 1px solid var(--line);
    padding-left: 22px
}

.stat-pair span {
    display: block;
    font-size: 13px;
    color: var(--muted)
}

.stat-pair strong {
    font-family: Arial, sans-serif;
    font-size: 26px;
    font-weight: 500
}

.stat-summary {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7
}

.distribution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-top: 20px;
    padding: 24px
}

.distribution-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.distribution-title h3 {
    font-size: 16px
}

.distribution-title>span {
    font-size: 13px;
    color: var(--muted)
}

.split-bar {
    display: flex;
    gap: 4px;
    height: 9px;
    margin: 16px 0;
    border-radius: 4px;
    overflow: hidden
}

.split-bar .orange {
    background: var(--accent)
}

.split-bar .slate {
    background: #5d7896
}

.distribution p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7
}

.section-meta {
    font-size: 13px;
    color: var(--muted)
}

.table-panel {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: var(--panel)
}

.table-scroll {
    overflow-x: auto
}

table {
    border-collapse: collapse;
    width: 100%;
    text-align: left;
    min-width: 550px
}

th {
    background: var(--panel2);
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    padding: 14px 28px
}

td {
    padding: 12px 28px;
    font-size: 14px;
    border-top: 1px solid var(--line)
}

tbody tr:hover {
    background: #1c2c3f
}

td:first-child {
    font-family: ui-monospace, monospace;
    color: #bac6d4
}

td:nth-child(3) {
    font-family: Arial, sans-serif;
    font-size: 19px;
    font-weight: 600
}

.mini-ball {
    display: inline-grid;
    place-items: center;
    background: #263b51;
    border-radius: 50%;
    height: 29px;
    width: 29px;
    margin-right: 9px;
    color: #dce5ee;
    font-family: Arial, sans-serif
}

.table-label {
    font-size: 13px;
    padding: 1px 10px;
    display: inline-block;
    border-radius: 4px;
    background: #26374b;
    color: #bfcddd
}

.table-label.accent {
    background: #ff985819;
    color: var(--accent)
}

.table-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 17px 28px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px
}

.secondary-btn {
    background: transparent;
    border: 1px solid #4a5b6f;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 14px
}

.secondary-btn:hover {
    border-color: var(--accent);
    color: var(--accent)
}

.under-table {
    color: var(--muted);
    font-size: 14px;
    margin-top: 15px;
    line-height: 1.8
}

.guide-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 65px;
    border-top: 1px solid var(--line);
    margin-top: 72px;
    padding-top: 60px
}

.guide-title h2 {
    font-size: 34px;
    line-height: 1.5
}

.guide-title>p:not(.eyebrow) {
    color: var(--muted);
    margin-top: 20px
}

.guide-index {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-top: 30px;
    font-size: 14px
}

.guide-index a {
    color: var(--muted);
    width: fit-content;
    border-bottom: 1px solid transparent
}

.guide-index a:hover {
    color: var(--accent);
    border-color: var(--accent)
}

.guide-content article {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 16px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 0
}

.guide-content article:first-child {
    padding-top: 0
}

.article-number {
    font: 19px ui-monospace, monospace;
    color: var(--accent);
    line-height: 1.5
}

.guide-content h3 {
    font-size: 21px;
    margin-bottom: 15px
}

.guide-content p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.95
}

.guide-content p+p {
    margin-top: 12px
}

.reading-section {
    margin-top: 70px;
    border-radius: 16px;
    background: var(--panel2);
    padding: 34px 32px
}

.reading-head p {
    color: var(--muted);
    margin-top: 10px
}

.reading-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    padding: 0;
    margin: 32px 0 0
}

.reading-steps li {
    border-top: 1px solid #41536a;
    padding-top: 22px
}

.reading-steps span {
    font: 14px ui-monospace, monospace;
    color: var(--accent)
}

.reading-steps h3 {
    font-size: 19px;
    margin-top: 13px
}

.reading-steps p {
    font-size: 15px;
    color: var(--muted);
    margin-top: 12px;
    line-height: 1.9
}

.prediction-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 90px;
    padding-top: 75px
}

.large-28 {
    display: block;
    font-family: Arial, sans-serif;
    font-size: 120px;
    font-weight: 800;
    color: #22334a;
    line-height: 1;
    letter-spacing: -8px;
    margin-bottom: 16px
}

.prediction-heading h2 {
    font-size: 34px;
    line-height: 1.5
}

.prediction-heading p {
    color: var(--muted);
    margin-top: 20px
}

.prediction-copy h3 {
    font-size: 20px;
    margin-bottom: 12px
}

.prediction-copy p {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.95
}

.prediction-copy p+h3 {
    margin-top: 28px
}

.faq-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 90px;
    border-top: 1px solid var(--line);
    margin-top: 70px;
    padding-top: 60px;
    padding-bottom: 80px
}

.faq-section>div>p {
    color: var(--muted);
    margin: 12px 0 25px
}

.faq-list details {
    border-bottom: 1px solid var(--line)
}

.faq-list details:first-child {
    border-top: 1px solid var(--line)
}

summary {
    padding: 20px 38px 20px 0;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    position: relative
}

summary::-webkit-details-marker {
    display: none
}

summary:after {
    content: "＋";
    position: absolute;
    right: 0;
    color: var(--accent);
    font-size: 23px;
    top: 14px
}

details[open] summary:after {
    content: "−"
}

details p {
    color: var(--muted);
    padding: 0 28px 23px 0;
    line-height: 1.9;
    font-size: 16px
}

.footer {
    border-top: 1px solid var(--line);
    background: #0d1520
}

.footer-top {
    padding: 44px 0;
    display: grid;
    grid-template-columns: 1.6fr .7fr .7fr 1.3fr;
    gap: 40px
}

.footer-about>p {
    font-size: 14px;
    color: var(--muted);
    margin-top: 20px
}

.footer-top h2 {
    font-size: 14px;
    letter-spacing: 0;
    margin-bottom: 16px
}

.footer-top>div:not(:first-child)>a {
    display: block;
    font-size: 14px;
    color: var(--muted);
    margin-top: 8px
}

.footer-top a:hover {
    color: var(--accent)
}

.footer-note p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8
}

.footer-bottom {
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 12px;
    color: var(--muted);
    padding: 20px 0
}

.footer-bottom a {
    color: var(--accent)
}

.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
}

.skip {
    position: fixed;
    z-index: 100;
    top: 10px;
    left: 15px;
    background: var(--accent);
    color: var(--bg);
    padding: 8px 15px;
    transform: translateY(-150%)
}

.skip:focus {
    transform: translateY(0)
}

@media(min-width:1400px) {
    .wrap {
        width: min(1280px, calc(100% - 100px))
    }

    .result-body {
        gap: 35px
    }

    .formula {
        gap: 12px
    }

    .number-ball {
        width: 74px;
        height: 74px
    }
}

@media(max-width:1100px) {
    .nav-wrap {
        gap: 25px;
        height: 72px
    }

    .nav-wrap nav {
        gap: 22px
    }

    .nav-note {
        display: none
    }

    .overview-grid {
        grid-template-columns: 2fr 1fr
    }

    .result-body {
        flex-wrap: wrap;
        gap: 20px;
        padding-top: 8px
    }

    .result-info {
        display: flex;
        align-items: center;
        gap: 8px;
        border: 0;
        padding: 0
    }

    .result-info p {
        margin: 0 0 0 9px
    }

    .result-info p span {
        display: none
    }

    .number-ball {
        height: 57px;
        width: 57px
    }

    .sum-ball {
        width: 70px;
        height: 70px;
        font-size: 40px
    }

    .result-bottom {
        flex-wrap: wrap;
        gap: 4px
    }

    .trend-layout {
        grid-template-columns: 3fr 1.1fr
    }

    .stats-panel {
        padding: 20px
    }

    .chart-panel {
        padding: 20px
    }

    .guide-section {
        gap: 40px
    }

    .prediction-section,
    .faq-section {
        gap: 55px
    }

    .footer-top {
        gap: 25px
    }

    .guide-title h2 {
        font-size: 30px
    }
}

@media(max-width:767px) {
    .wrap {
        width: calc(100% - 36px)
    }

    .header .wrap {
        width: calc(100% - 36px)
    }

    .nav-wrap {
        height: 68px;
        justify-content: space-between
    }

    .brand {
        font-size: 20px
    }

    .brand-mark {
        width: 40px;
        height: 40px;
        font-size: 26px;
        border-radius: 10px
    }

    .brand-sub {
        font-size: 12px
    }

    .menu-btn {
        display: block;
        border: 1px solid var(--line);
        background: var(--panel);
        padding: 5px 13px;
        border-radius: 6px;
        font-size: 14px
    }

    .nav-wrap nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        height: auto;
        padding: 10px 18px 15px;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        flex-wrap: wrap;
        gap: 0
    }

    .nav-wrap nav.open {
        display: flex
    }

    .nav-wrap nav a {
        padding: 9px 12px;
        height: auto
    }

    .nav-wrap nav a.active:after {
        display: none
    }

    .overview {
        padding-top: 30px
    }

    .intro {
        display: block;
        margin-bottom: 20px
    }

    .eyebrow {
        font-size: 11px;
        letter-spacing: 1px;
        margin-bottom: 12px
    }

    h1 {
        font-size: 30px
    }

    h1 span {
        font-size: 21px;
        margin-top: 8px
    }

    .intro-copy {
        font-size: 15px
    }

    .intro>.text-link {
        margin-top: 15px
    }

    .demo-notice {
        align-items: start;
        padding: 12px 13px;
        gap: 10px;
        font-size: 13px;
        line-height: 1.7
    }

    .notice-label {
        padding-right: 10px
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 14px
    }

    .panel-top {
        padding: 18px;
        gap: 10px
    }

    .panel-top h2 {
        font-size: 16px
    }

    .panel-top .muted {
        font-size: 12px
    }

    .result-body {
        padding: 12px 18px 24px;
        gap: 16px
    }

    .formula {
        gap: 7px
    }

    .number-ball {
        height: 50px;
        width: 50px;
        font-size: 27px
    }

    .sum-ball {
        height: 64px;
        width: 64px;
        font-size: 36px
    }

    .operator {
        font-size: 13px
    }

    .result-info p {
        font-size: 14px
    }

    .result-bottom {
        padding: 12px 18px;
        justify-content: space-between;
        font-size: 12px
    }

    .observation {
        padding: 18px 22px;
        display: grid;
        grid-template-columns: 1fr 1.4fr;
        gap: 8px 15px
    }

    .note-number {
        grid-column: 1/-1
    }

    .observation h2 {
        font-size: 23px;
        margin: 7px 0
    }

    .observation p {
        font-size: 14px;
        align-self: center
    }

    .note-bottom {
        grid-column: 1/-1;
        margin-top: 5px;
        padding-top: 12px;
        font-size: 12px
    }

    .section {
        padding-top: 48px
    }

    h2 {
        font-size: 25px
    }

    .section-heading {
        display: block;
        margin-bottom: 19px
    }

    .section-heading p {
        font-size: 14px;
        margin-top: 8px
    }

    .range-control {
        width: fit-content;
        margin-top: 18px
    }

    .range-control button {
        font-size: 13px;
        padding: 6px 13px
    }

    .trend-layout {
        grid-template-columns: 1fr;
        gap: 14px
    }

    .chart-panel {
        padding: 17px 14px 13px
    }

    .chart-top {
        display: block
    }

    .chart-top h3 {
        font-size: 16px;
        margin-bottom: 7px
    }

    .legend {
        font-size: 11px
    }

    .chart {
        min-height: 180px
    }

    .chart-footer {
        font-size: 11px
    }

    .chart-footer>span:first-child,
    .chart-footer>span:last-child {
        display: none
    }

    .chart-footer {
        justify-content: center
    }

    .stats-panel {
        padding: 20px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px 20px
    }

    .stats-panel h3 {
        grid-column: 1/-1
    }

    .stat-main {
        padding: 0;
        border: 0
    }

    .stat-main strong {
        font-size: 40px
    }

    .stat-pair {
        margin: 0;
        align-items: center
    }

    .stat-pair>div+div {
        padding-left: 13px
    }

    .stat-summary {
        grid-column: 1/-1;
        border-top: 1px solid var(--line);
        padding-top: 12px
    }

    .distribution {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 20px
    }

    .distribution-title {
        gap: 8px
    }

    .distribution-title>span {
        font-size: 12px
    }

    .distribution p {
        font-size: 14px
    }

    .section-meta {
        display: inline-block;
        margin-top: 10px;
        font-size: 12px
    }

    th {
        padding: 12px 17px
    }

    td {
        padding: 11px 17px
    }

    .table-bottom {
        padding: 15px 16px;
        font-size: 12px;
        align-items: center
    }

    .secondary-btn {
        padding: 5px 11px;
        font-size: 13px
    }

    .under-table {
        font-size: 13px
    }

    .guide-section {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 48px;
        padding-top: 40px
    }

    .guide-title h2 {
        font-size: 29px
    }

    .guide-title>p:not(.eyebrow) {
        margin-top: 13px;
        font-size: 15px
    }

    .guide-index {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 20px
    }

    .guide-content article {
        grid-template-columns: 28px 1fr;
        gap: 12px;
        padding: 24px 0
    }

    .guide-content h3 {
        font-size: 19px;
        margin-bottom: 12px
    }

    .article-number {
        font-size: 17px
    }

    .guide-content p {
        font-size: 16px;
        line-height: 1.9
    }

    .reading-section {
        margin-top: 40px;
        padding: 25px 22px
    }

    .reading-head h2 {
        font-size: 23px
    }

    .reading-head p {
        font-size: 15px
    }

    .reading-steps {
        grid-template-columns: 1fr;
        gap: 23px;
        margin-top: 25px
    }

    .reading-steps li {
        padding-top: 16px
    }

    .reading-steps h3 {
        margin-top: 7px
    }

    .reading-steps p {
        margin-top: 9px;
        font-size: 16px
    }

    .prediction-section {
        grid-template-columns: 1fr;
        gap: 25px;
        padding-top: 45px
    }

    .prediction-heading {
        position: relative;
        padding-right: 55px
    }

    .large-28 {
        position: absolute;
        right: 0;
        top: 7px;
        font-size: 100px;
        z-index: -1
    }

    .prediction-heading h2 {
        font-size: 28px
    }

    .prediction-heading p {
        margin-top: 10px;
        font-size: 15px
    }

    .prediction-copy h3 {
        font-size: 19px
    }

    .prediction-copy p {
        font-size: 16px
    }

    .faq-section {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 40px;
        margin-top: 44px;
        padding-bottom: 50px
    }

    .faq-section>div>p {
        margin: 10px 0 12px;
        font-size: 15px
    }

    summary {
        font-size: 16px;
        padding-top: 18px;
        padding-bottom: 18px
    }

    details p {
        font-size: 16px;
        padding-right: 12px
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        padding: 32px 0
    }

    .footer-about {
        grid-column: 1/-1
    }

    .footer-about>p {
        margin-top: 16px
    }

    .footer-note {
        grid-column: 1/-1
    }

    .footer-bottom {
        flex-wrap: wrap;
        gap: 5px 18px;
        padding: 17px 0
    }

    .footer-bottom>span:nth-child(2) {
        order: 3;
        width: 100%
    }

    .footer-bottom>a {
        margin-left: auto
    }

    html {
        --anchor-offset: 84px
    }
}

@media(max-width:360px) {
    .formula {
        gap: 5px
    }

    .number-ball {
        width: 44px;
        height: 44px
    }

    .sum-ball {
        height: 58px;
        width: 58px
    }

    .operator {
        font-size: 12px
    }

    .panel-top {
        padding: 16px
    }

    .result-body {
        padding: 10px 15px 22px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    * {
        transition: none !important
    }
}

@media(prefers-reduced-motion:no-preference) {

    button,
    a {
        transition: color .18s, background .18s, border-color .18s
    }
}

.footer-bottom {
    flex-wrap: wrap
}

.footer-bottom .icp-link {
    color: var(--muted)
}

.footer-bottom .icp-link:hover {
    color: var(--accent)
}

@media(max-width:767px) {
    .footer-bottom .icp-link {
        margin-left: 0;
        order: 4;
        width: 100%
    }

    .footer-bottom>a:last-child {
        margin-left: auto
    }
}

@media (min-width: 768px) {
  .nav-wrap {
    position: relative;
  }

  .nav-wrap nav {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
    width: max-content;
    height: 100%;
  }
}