html,
body {
    margin: 0;
    min-height: 100%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --bg: #f6efe4;
    --bg-soft: #fbf7f1;
    --paper: rgba(255, 252, 247, 0.78);
    --paper-strong: #fffaf2;
    --text: #261c16;
    --muted: #6f6258;
    --line: rgba(71, 50, 35, 0.12);
    --line-strong: rgba(71, 50, 35, 0.24);
    --brand: #8e4b2d;
    --brand-strong: #6f3318;
    --gold: #c38b2c;
    --sky: #356f8f;
    --rose: #9b5e59;
    --shadow: 0 20px 60px rgba(57, 34, 18, 0.12);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
}

body {
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(223, 193, 152, 0.35), transparent 32%),
        radial-gradient(circle at top right, rgba(157, 112, 91, 0.18), transparent 30%),
        linear-gradient(180deg, #f8f1e7 0%, #f4eadc 38%, #fbf7f1 100%);
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

a:hover {
    text-decoration: none;
}

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

ul {
    margin: 0;
    padding-left: 18px;
}

p,
h1,
h2,
h3 {
    margin-top: 0;
}

.container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.site-shell {
    position: relative;
    overflow: hidden;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(248, 241, 231, 0.72);
    border-bottom: 1px solid rgba(71, 50, 35, 0.08);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 70px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #b77d33 0%, #7b3e1e 100%);
    color: #fff7ea;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    box-shadow: var(--shadow);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 18px;
    letter-spacing: 0.04em;
}

.brand-text em {
    font-style: normal;
    font-size: 12px;
    color: var(--muted);
    margin-top: 5px;
}

.topnav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px 12px;
    flex-wrap: nowrap;
    font-size: 14px;
    color: var(--muted);
}

.topnav a {
    padding: 8px 0;
    border-bottom: 1px solid transparent;
    white-space: nowrap;
}

.topnav a:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.nav-more {
    position: relative;
}

.nav-more summary {
    list-style: none;
    cursor: pointer;
    padding: 8px 0;
    white-space: nowrap;
    color: var(--muted);
    border-bottom: 1px solid transparent;
}

.nav-more summary::-webkit-details-marker {
    display: none;
}

.nav-more[open] summary,
.nav-more summary:hover {
    color: var(--brand);
    border-color: var(--brand);
}

.nav-more-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 176px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 250, 242, 0.98);
    box-shadow: var(--shadow);
    display: grid;
    gap: 4px;
    z-index: 40;
}

.nav-more-menu a {
    padding: 6px 0;
    border: 0;
}

.nav-toggle {
    display: none;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 250, 242, 0.82);
    color: var(--brand-strong);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
}

.hero {
    padding: 42px 0 22px;
}

.page-hero {
    padding: 38px 0 20px;
}

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

.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 16px;
    align-items: stretch;
}

.crumb {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin-bottom: 4px;
    font-size: 13px;
    color: var(--muted);
}

.crumb a {
    color: var(--muted);
}

.crumb a:not(:last-child)::after {
    content: "/";
    margin: 0 10px;
    color: rgba(111, 51, 24, 0.35);
}

.hero-copy,
.page-copy,
.page-summary,
.hero-card,
.tool-card,
.feature-card,
.mini-card,
.panel-card,
.sign-card,
.ad-slot,
.note-box {
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.hero-copy {
    padding: 32px;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
}

.page-copy,
.page-summary {
    padding: 28px;
    border-radius: 24px;
}

.hero-copy::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -100px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(195, 139, 44, 0.22) 0%, rgba(195, 139, 44, 0) 68%);
}

.hero-tag,
.section-kicker,
.feature-tag,
.tool-label,
.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(195, 139, 44, 0.12);
    color: var(--brand-strong);
}

.hero h1,
.page-copy h1,
.section-head h2,
.note-box h2 {
    font-family: Georgia, "Times New Roman", "Songti SC", serif;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.hero h1 {
    margin: 16px 0 14px;
    font-size: clamp(36px, 4.8vw, 58px);
    line-height: 1.08;
    max-width: 11ch;
}

.page-copy h1 {
    margin: 14px 0 12px;
    font-size: clamp(34px, 4.2vw, 50px);
    line-height: 1.1;
}

.hero-desc {
    max-width: 640px;
    font-size: 17px;
    color: var(--muted);
    margin-bottom: 20px;
}

.page-lead,
.page-summary p,
.page-disclaimer {
    color: var(--muted);
}

.page-lead {
    font-size: 16px;
    margin-bottom: 16px;
}

.page-disclaimer {
    margin-bottom: 0;
    font-size: 14px;
}

.page-summary h2 {
    margin: 14px 0 12px;
    font-size: 30px;
    font-family: Georgia, "Times New Roman", "Songti SC", serif;
}

.summary-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.summary-list div {
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 250, 242, 0.72);
    border: 1px solid rgba(71, 50, 35, 0.1);
}

.summary-list span,
.data-pairs span,
.time-top span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 6px;
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.button[disabled] {
    opacity: 0.72;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.button-primary {
    background: linear-gradient(135deg, #aa6f2e 0%, #7d3f1f 100%);
    color: #fff8ef;
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(125, 63, 31, 0.22);
}

.button-secondary {
    color: var(--brand-strong);
    border: 1px solid var(--line-strong);
    background: rgba(255, 250, 242, 0.68);
}

.button-secondary:hover {
    transform: translateY(-2px);
    border-color: rgba(111, 51, 24, 0.4);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    list-style: none;
}

.hero-points li {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 250, 242, 0.7);
    border: 1px solid rgba(71, 50, 35, 0.1);
    color: var(--muted);
    font-size: 13px;
}

.hero-panel {
    display: grid;
    gap: 14px;
}

.hero-card {
    border-radius: 24px;
    padding: 22px;
}

.hero-card-main {
    background:
        linear-gradient(180deg, rgba(255, 248, 237, 0.92), rgba(247, 236, 218, 0.94)),
        var(--paper);
}

.hero-card-main h2 {
    margin: 10px 0 12px;
    font-size: 26px;
    line-height: 1.2;
    font-family: Georgia, "Times New Roman", "Songti SC", serif;
}

.checklist {
    padding: 0;
    list-style: none;
}

.checklist li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(71, 50, 35, 0.09);
}

.checklist li:last-child {
    border-bottom: 0;
}

.hero-card-side {
    display: grid;
    gap: 14px;
}

.ad-preview {
    padding: 14px;
    border-radius: 18px;
    border: 1px dashed rgba(111, 51, 24, 0.25);
    background: rgba(255, 250, 242, 0.7);
}

.ad-preview span,
.ad-slot span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 8px;
}

.ad-preview strong,
.ad-slot strong {
    font-size: 18px;
    font-weight: 700;
}

.section {
    padding: 22px 0 26px;
}

.section-soft {
    background: linear-gradient(180deg, rgba(255, 251, 245, 0.4), rgba(250, 243, 233, 0.56));
}

.section-deep {
    position: relative;
}

.section-deep::before {
    content: "";
    position: absolute;
    inset: 48px 0 auto;
    height: 72%;
    background: linear-gradient(90deg, rgba(195, 139, 44, 0.08), rgba(53, 111, 143, 0.08));
    z-index: -1;
}

.section-head {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.section-head h2 {
    font-size: clamp(26px, 3.6vw, 40px);
    margin-bottom: 0;
}

.section-head p {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--muted);
}

.grid {
    display: grid;
    gap: 14px;
}

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

.cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tool-card,
.mini-card,
.panel-card,
.sign-card {
    border-radius: var(--radius-lg);
    padding: 20px;
}

.js-signhub-card {
    cursor: pointer;
}

.tool-card:hover,
.mini-card:hover,
.panel-card:hover,
.sign-card:hover,
.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(111, 51, 24, 0.22);
}

.mini-card.is-active {
    border-color: rgba(111, 51, 24, 0.35);
    box-shadow: 0 14px 26px rgba(111, 51, 24, 0.08);
}

.page-pager {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.page-pager a {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.page-pager a.is-active {
    border-color: rgba(111, 51, 24, 0.35);
    color: var(--brand-strong);
    background: rgba(195, 139, 44, 0.12);
}

.filter-tools {
    margin-bottom: 14px;
}

.filter-tools input {
    width: 100%;
    max-width: 560px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    padding: 10px 12px;
    font-size: 14px;
    color: var(--ink);
}

.filter-chips {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chip {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    padding: 6px 12px;
    font-size: 13px;
    line-height: 1.2;
}

.filter-chip.is-active {
    border-color: rgba(111, 51, 24, 0.35);
    color: var(--brand-strong);
    background: rgba(195, 139, 44, 0.12);
}

.hub-jump {
    margin-bottom: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hub-jump a {
    border: 1px dashed rgba(111, 51, 24, 0.25);
    border-radius: 10px;
    padding: 5px 10px;
    font-size: 12px;
    color: var(--muted);
}

.hub-sign-links {
    margin: 8px 0 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--muted);
}

.hub-sign-links a {
    border: 1px dashed rgba(111, 51, 24, 0.25);
    border-radius: 10px;
    padding: 4px 10px;
    color: var(--muted);
}

.empty-note {
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
}

.tool-card h3,
.feature-card h3,
.mini-card h3,
.panel-card h3,
.sign-card h3 {
    font-size: 21px;
    margin: 10px 0 8px;
    font-family: Georgia, "Times New Roman", "Songti SC", serif;
}

.tool-card p,
.feature-card p,
.mini-card p,
.panel-card p,
.sign-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.accent-sun {
    background: linear-gradient(180deg, rgba(255, 249, 238, 0.95), rgba(253, 242, 222, 0.94));
}

.accent-sky {
    background: linear-gradient(180deg, rgba(246, 251, 253, 0.95), rgba(230, 242, 247, 0.94));
}

.accent-rose {
    background: linear-gradient(180deg, rgba(253, 246, 244, 0.96), rgba(246, 230, 226, 0.94));
}

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

.metric-grid,
.content-grid,
.step-grid {
    display: grid;
    gap: 20px;
}

.almanac-grid,
.fortune-split,
.time-grid,
.sign-layout,
.sign-list-grid {
    display: grid;
    gap: 20px;
}

.metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.step-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.almanac-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fortune-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.time-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sign-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
}

.sign-list-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
    border-radius: var(--radius-lg);
    padding: 22px;
}

.metric-card,
.info-card,
.step-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.metric-card {
    padding: 18px 20px;
}

.metric-card strong {
    display: block;
    font-size: 34px;
    font-family: Georgia, "Times New Roman", serif;
}

.metric-card span {
    color: var(--muted);
    font-size: 14px;
}

.date-form {
    display: grid;
    grid-template-columns: auto minmax(180px, 260px) auto;
    gap: 10px;
    align-items: end;
    margin-bottom: 12px;
}

.date-form label {
    font-size: 14px;
    color: var(--muted);
    padding-bottom: 10px;
}

.date-form input {
    min-height: 44px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(71, 50, 35, 0.16);
    background: rgba(255, 250, 242, 0.8);
    color: var(--text);
    font-size: 15px;
}

.tool-form {
    display: grid;
    gap: 10px;
    margin-bottom: 12px;
}

.tool-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.tool-form-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tool-form-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tool-form label {
    display: grid;
    gap: 6px;
}

.tool-form label span {
    font-size: 13px;
    color: var(--muted);
}

.tool-form input,
.tool-form select {
    min-height: 42px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid rgba(71, 50, 35, 0.16);
    background: rgba(255, 250, 242, 0.8);
    color: var(--text);
    font-size: 14px;
}

.score-summary .score-number {
    font-size: 52px;
    line-height: 1;
    font-family: Georgia, "Times New Roman", serif;
    margin: 8px 0;
}

.date-shortcuts {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.info-card,
.step-card {
    padding: 20px;
}

.almanac-card,
.fortune-panel,
.time-card,
.sign-result-card,
.sign-side-card,
.sign-list-item {
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    padding: 20px;
}

.info-card h3,
.step-card h3 {
    font-size: 21px;
    margin: 10px 0 8px;
    font-family: Georgia, "Times New Roman", "Songti SC", serif;
}

.info-card p,
.step-card p {
    color: var(--muted);
    margin-bottom: 0;
}

.almanac-card h3,
.fortune-panel h3,
.time-card h3,
.sign-side-card h3 {
    margin: 10px 0;
    font-size: 21px;
    font-family: Georgia, "Times New Roman", "Songti SC", serif;
}

.sign-result-card h2 {
    margin: 12px 0 14px;
    font-size: clamp(26px, 3.5vw, 36px);
    font-family: Georgia, "Times New Roman", "Songti SC", serif;
}

.info-card ul {
    color: var(--muted);
    margin-top: 12px;
}

.data-pairs {
    display: grid;
    gap: 10px;
}

.data-pairs div {
    padding: 10px 0;
    border-bottom: 1px solid rgba(71, 50, 35, 0.08);
}

.data-pairs div:last-child {
    border-bottom: 0;
}

.data-pairs strong,
.time-top strong {
    display: block;
    font-size: 16px;
}

.table-wrap {
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
    overflow: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.data-table th,
.data-table td {
    border-bottom: 1px solid rgba(71, 50, 35, 0.1);
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
    font-size: 14px;
}

.data-table th {
    white-space: nowrap;
    color: var(--brand-strong);
    font-weight: 700;
    background: rgba(255, 250, 242, 0.75);
}

.data-table tr:last-child td {
    border-bottom: 0;
}

.feature-card ul,
.panel-list {
    margin-top: 12px;
    color: var(--muted);
}

.fortune-panel-yi {
    background: linear-gradient(180deg, rgba(255, 249, 238, 0.96), rgba(253, 242, 222, 0.92));
}

.fortune-panel-ji {
    background: linear-gradient(180deg, rgba(252, 245, 241, 0.96), rgba(244, 231, 226, 0.92));
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-list span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 250, 242, 0.8);
    border: 1px solid rgba(71, 50, 35, 0.1);
    color: var(--text);
}

.time-card {
    padding-bottom: 14px;
}

.time-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.time-meta {
    color: var(--brand-strong);
    margin-bottom: 12px;
}

.time-card p {
    margin-bottom: 10px;
    color: var(--muted);
}

.sign-result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.sign-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(142, 75, 45, 0.12);
    color: var(--brand-strong);
    font-weight: 700;
}

.sign-poem {
    padding: 16px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 250, 242, 0.94), rgba(246, 237, 223, 0.92));
    border: 1px solid rgba(71, 50, 35, 0.1);
    margin-bottom: 14px;
}

.sign-poem p {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.8;
    font-family: Georgia, "Times New Roman", "Songti SC", serif;
}

.sign-poem p:last-child {
    margin-bottom: 0;
}

.sign-side-card p,
.sign-note {
    color: var(--muted);
}

.sign-side-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}

.sign-note {
    margin-top: 8px;
    margin-bottom: 0;
}

.sign-meta-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.sign-meta-list li {
    display: grid;
    grid-template-columns: minmax(64px, 90px) minmax(0, 1fr);
    gap: 8px;
    align-items: start;
}

.sign-meta-list strong {
    color: var(--brand-strong);
    font-weight: 700;
}

.sign-meta-list span {
    color: var(--muted);
}

.sign-list-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 96px;
    justify-content: center;
    padding: 16px;
}

.sign-list-item strong {
    font-size: 18px;
    font-family: Georgia, "Times New Roman", serif;
}

.sign-list-item span {
    color: var(--muted);
}

.sign-list-item.is-active,
.sign-list-item:hover {
    transform: translateY(-3px);
    border-color: rgba(111, 51, 24, 0.24);
}

.sign-card {
    position: relative;
    overflow: hidden;
}

.draw-stage {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.85fr);
    gap: 18px;
    padding: 22px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at top right, rgba(195, 139, 44, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(255, 250, 242, 0.96), rgba(244, 235, 220, 0.94));
    box-shadow: var(--shadow);
    overflow: hidden;
}

.draw-stage-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.draw-stage-copy h2 {
    margin: 12px 0 10px;
    font-size: clamp(26px, 3.5vw, 38px);
    font-family: Georgia, "Times New Roman", "Songti SC", serif;
}

.draw-stage-copy p {
    color: var(--muted);
    margin-bottom: 0;
}

.draw-stage-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 16px 0 12px;
}

.draw-stage-tip {
    min-height: 28px;
}

.draw-stage-meta {
    display: grid;
    gap: 8px;
    margin-top: 8px;
}

.draw-meter {
    height: 8px;
    border-radius: 999px;
    background: rgba(111, 51, 24, 0.12);
    overflow: hidden;
}

.draw-meter-bar {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #8e4b2d, #c38b2c);
}

.draw-stage-counter {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.draw-stage-counter strong {
    color: var(--brand-strong);
    font-family: "Azeret Mono", Consolas, monospace;
}

.draw-stage-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    padding: 12px;
}

.sign-tube {
    position: relative;
    width: 200px;
    height: 228px;
    transform-origin: 50% 90%;
}

.sign-tube-glow {
    position: absolute;
    left: 50%;
    top: 38px;
    width: 188px;
    height: 188px;
    border-radius: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(195, 139, 44, 0.28) 0%, rgba(195, 139, 44, 0.04) 54%, rgba(195, 139, 44, 0) 76%);
    animation: tubeGlow 2.6s ease-in-out infinite;
}

.sign-stick {
    position: absolute;
    bottom: 118px;
    left: 50%;
    width: 14px;
    border-radius: 999px 999px 4px 4px;
    background: linear-gradient(180deg, #f3deb1 0%, #c38b2c 100%);
    box-shadow: 0 8px 16px rgba(101, 62, 15, 0.16);
}

.sign-stick-1 {
    height: 124px;
    margin-left: -58px;
    transform: rotate(-18deg);
}

.sign-stick-2 {
    height: 138px;
    margin-left: -28px;
    transform: rotate(-10deg);
}

.sign-stick-3 {
    height: 146px;
    margin-left: -2px;
    transform: rotate(0deg);
}

.sign-stick-4 {
    height: 136px;
    margin-left: 24px;
    transform: rotate(10deg);
}

.sign-stick-5 {
    height: 122px;
    margin-left: 52px;
    transform: rotate(18deg);
}

.sign-tube-cap {
    position: absolute;
    left: 50%;
    bottom: 16px;
    width: 164px;
    height: 28px;
    border-radius: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #9d5d31 0%, #6d3218 100%);
    box-shadow: 0 16px 30px rgba(57, 34, 18, 0.22);
}

.sign-tube-body {
    position: absolute;
    left: 50%;
    bottom: 34px;
    width: 148px;
    height: 150px;
    border-radius: 34px 34px 44px 44px;
    transform: translateX(-50%);
    background:
        linear-gradient(180deg, rgba(255, 240, 211, 0.18), rgba(255, 240, 211, 0) 24%),
        linear-gradient(180deg, #9b552d 0%, #6f3318 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 232, 194, 0.38),
        0 18px 38px rgba(57, 34, 18, 0.22);
}

.sign-tube-band {
    position: absolute;
    left: 50%;
    bottom: 86px;
    width: 148px;
    height: 18px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, rgba(195, 139, 44, 0.95), rgba(232, 194, 113, 0.9), rgba(195, 139, 44, 0.95));
}

.sign-tube-mark {
    position: absolute;
    left: 50%;
    bottom: 126px;
    transform: translateX(-50%);
    color: rgba(255, 245, 228, 0.96);
    font-family: Georgia, "Times New Roman", "Songti SC", serif;
    font-size: 28px;
    letter-spacing: 0.12em;
}

.is-drawing .sign-tube {
    animation: tubeShake 0.18s ease-in-out infinite;
}

.is-drawing .sign-stick-1,
.is-drawing .sign-stick-2,
.is-drawing .sign-stick-3,
.is-drawing .sign-stick-4,
.is-drawing .sign-stick-5 {
    animation: stickBounce 0.22s ease-in-out infinite alternate;
}

.is-drawing .sign-tube-glow {
    animation-duration: 0.55s;
}

.js-sign-result-card {
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.js-sign-result-card.is-drawing {
    opacity: 0.72;
    transform: scale(0.99);
}

.js-sign-result-card.is-revealed {
    transform: translateY(-4px);
    border-color: rgba(111, 51, 24, 0.24);
    box-shadow: 0 28px 60px rgba(57, 34, 18, 0.16);
}

@keyframes tubeShake {
    0% { transform: rotate(0deg) translateY(0); }
    25% { transform: rotate(-4deg) translateY(-3px); }
    50% { transform: rotate(4deg) translateY(2px); }
    75% { transform: rotate(-3deg) translateY(-2px); }
    100% { transform: rotate(3deg) translateY(1px); }
}

@keyframes stickBounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

@keyframes tubeGlow {
    0%, 100% { transform: translateX(-50%) scale(0.96); opacity: 0.72; }
    50% { transform: translateX(-50%) scale(1.04); opacity: 1; }
}

.sign-index {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(142, 75, 45, 0.1);
    color: var(--brand-strong);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
}

.ads-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 20px;
}

.ad-slot {
    min-height: 180px;
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-style: dashed;
}

.ad-slot-wide {
    background: linear-gradient(135deg, rgba(255, 249, 238, 0.95), rgba(242, 232, 219, 0.95));
}

.fortune-kpi .score-number {
    margin: 12px 0 8px;
}

.fortune-score-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.fortune-score-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--panel);
    padding: 16px;
}

.fortune-score-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.fortune-score-head strong {
    font-size: 15px;
}

.fortune-score-head span {
    font-family: "Azeret Mono", Consolas, monospace;
    color: var(--brand-strong);
}

.fortune-progress {
    height: 10px;
    border-radius: 999px;
    background: rgba(142, 75, 45, 0.12);
    overflow: hidden;
}

.fortune-progress-bar {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #e08b4d 0%, #d35a47 100%);
}

.week-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.week-day-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    padding: 16px;
}

.week-day-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.week-day-head strong {
    font-size: 15px;
}

.week-day-head span {
    font-family: "Azeret Mono", Consolas, monospace;
    color: var(--brand-strong);
}

.week-day-date {
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--muted);
}

.week-day-focus {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.month-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.month-week-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    padding: 16px;
}

.month-week-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.month-week-head strong {
    font-size: 15px;
}

.month-week-head span {
    font-family: "Azeret Mono", Consolas, monospace;
    color: var(--brand-strong);
}

.month-week-range {
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--muted);
}

.month-week-focus {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.year-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.year-quarter-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    padding: 16px;
}

.year-quarter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.year-quarter-head strong {
    font-size: 15px;
}

.year-quarter-head span {
    font-family: "Azeret Mono", Consolas, monospace;
    color: var(--brand-strong);
}

.year-quarter-range {
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--muted);
}

.year-quarter-focus {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.board-item {
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    padding: 16px;
    display: block;
}

.board-item.is-top {
    border-color: rgba(195, 139, 44, 0.42);
    background: linear-gradient(180deg, rgba(255, 249, 238, 0.96), rgba(252, 241, 220, 0.9));
}

.board-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.board-rank {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(142, 75, 45, 0.1);
    color: var(--brand-strong);
    font-family: "Azeret Mono", Consolas, monospace;
    font-size: 12px;
}

.board-head strong {
    font-size: 18px;
    font-family: Georgia, "Times New Roman", serif;
}

.board-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

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

.board-meta em {
    font-style: normal;
    color: var(--brand-strong);
    font-family: "Azeret Mono", Consolas, monospace;
    font-size: 16px;
}

.board-item p {
    margin: 0;
    color: var(--muted);
}

.section-note {
    padding-bottom: 44px;
}

.note-box {
    border-radius: 28px;
    padding: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.note-box p {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--muted);
}

.footer {
    padding: 20px 0 30px;
    border-top: 1px solid rgba(71, 50, 35, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    gap: 20px;
    color: var(--muted);
}

.footer strong {
    color: var(--text);
    display: block;
    margin-bottom: 10px;
}

.footer p {
    margin-bottom: 6px;
}

@media (max-width: 1100px) {
    .hero-grid,
    .page-hero-grid,
    .feature-layout,
    .metric-grid,
    .fortune-score-grid,
    .week-grid,
    .month-grid,
    .year-grid,
    .board-grid,
    .content-grid,
    .step-grid,
    .almanac-grid,
    .fortune-split,
    .time-grid,
    .sign-layout,
    .sign-list-grid,
    .cards-4,
    .ads-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cards-3,
    .cards-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-copy {
        padding: 34px;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 20px, 100%);
    }

    .topbar-inner,
    .note-box,
    .hero-grid,
    .page-hero-grid,
    .feature-layout,
    .metric-grid,
    .fortune-score-grid,
    .week-grid,
    .month-grid,
    .year-grid,
    .board-grid,
    .content-grid,
    .step-grid,
    .almanac-grid,
    .fortune-split,
    .time-grid,
    .sign-layout,
    .sign-list-grid,
    .cards-2,
    .cards-3,
    .cards-4,
    .ads-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .draw-stage {
        grid-template-columns: 1fr;
        padding: 16px;
        border-radius: 18px;
    }

    .topbar-inner {
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        padding: 10px 0;
        min-height: 56px;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .topnav {
        position: absolute;
        top: 56px;
        left: 10px;
        right: 10px;
        z-index: 30;
        display: none;
        gap: 4px;
        padding: 10px;
        border-radius: 14px;
        border: 1px solid var(--line);
        background: rgba(248, 241, 231, 0.98);
        box-shadow: var(--shadow);
    }

    .topnav.is-open {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .topnav a {
        padding: 8px 4px;
        font-size: 13px;
        border-bottom: 0;
    }

    .nav-more {
        grid-column: 1 / -1;
    }

    .nav-more summary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 34px;
        border: 1px solid var(--line);
        border-radius: 999px;
        padding: 0 12px;
        background: rgba(255, 250, 242, 0.92);
    }

    .nav-more-menu {
        position: static;
        margin-top: 8px;
        min-width: 0;
        padding: 10px;
        grid-template-columns: 1fr 1fr;
    }

    .nav-more-menu a {
        padding: 8px 4px;
        font-size: 13px;
        text-align: center;
    }

    .hero {
        padding-top: 14px;
    }

    .page-hero {
        padding: 14px 0 10px;
    }

    .hero-copy,
    .page-copy,
    .page-summary,
    .hero-card,
    .feature-card,
    .tool-card,
    .mini-card,
    .panel-card,
    .sign-card,
    .ad-slot,
    .note-box {
        padding: 16px;
        border-radius: 18px;
    }

    .hero h1 {
        max-width: none;
        font-size: 30px;
    }

    .page-copy h1,
    .page-summary h2 {
        font-size: 24px;
    }

    .section {
        padding: 12px 0 16px;
    }

    .section-head h2 {
        font-size: 22px;
    }

    .section-head {
        gap: 4px;
        margin-bottom: 10px;
    }

    .section-head p {
        font-size: 13px;
    }

    .button {
        width: auto;
        min-height: 40px;
        padding: 0 14px;
    }

    .hero-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 12px;
    }

    .hero-actions .button {
        width: 100%;
        min-height: 38px;
        padding: 0 10px;
        font-size: 13px;
    }

    .hero-actions .button:only-child {
        grid-column: 1 / -1;
    }

    .hero-points {
        flex-direction: column;
    }

    .summary-list {
        margin-top: 10px;
        gap: 8px;
    }

    .summary-list div {
        padding: 10px 12px;
        border-radius: 12px;
    }

    .grid {
        gap: 10px;
    }

    .page-disclaimer {
        font-size: 13px;
    }

    .tool-card,
    .mini-card,
    .sign-card,
    .panel-card {
        padding: 14px;
        border-radius: 14px;
    }

    .tool-card h3,
    .mini-card h3,
    .panel-card h3,
    .sign-card h3 {
        font-size: 18px;
        margin: 8px 0 6px;
    }

    .tool-card p,
    .mini-card p,
    .panel-card p,
    .sign-card p {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .fortune-kpi .score-number,
    .score-summary .score-number {
        font-size: 40px;
        margin: 4px 0 6px;
    }

    .date-form {
        grid-template-columns: 1fr;
    }

    .tool-form > .button,
    .date-form > .button {
        width: 100%;
    }

    .tool-form-grid,
    .tool-form-grid-3,
    .tool-form-grid-4 {
        grid-template-columns: 1fr;
    }

    .date-shortcuts {
        flex-direction: column;
    }
}
