.today-fortune-page {
    --fortune-paper: #f7f1e7;
    --fortune-paper-deep: #eadfce;
    --fortune-ink: #20201e;
    --fortune-muted: #6f6a62;
    --fortune-line: rgba(57, 50, 42, 0.16);
    --fortune-clay: #b55f3d;
    --fortune-clay-dark: #8e422b;
    --fortune-sun: #e6a945;
    --fortune-navy: #26384a;
    background: #f5f0e8;
    color: var(--fortune-ink);
}

.today-fortune-page .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;
}

.fortune-app,
.fortune-app button {
    font-family: Pretendard, "Noto Sans KR", sans-serif;
}

.fortune-app {
    min-height: 100vh;
    background:
        radial-gradient(circle at 8% 13%, rgba(230, 169, 69, 0.17), transparent 23rem),
        radial-gradient(circle at 94% 42%, rgba(181, 95, 61, 0.10), transparent 30rem),
        linear-gradient(180deg, #faf7f1 0, #f3ede4 68%, #efe7dc 100%);
    overflow: hidden;
}

.fortune-shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.fortune-hero {
    position: relative;
    border-bottom: 1px solid var(--fortune-line);
}

.fortune-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(76, 64, 50, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(76, 64, 50, 0.08) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.fortune-hero__layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    min-height: 335px;
    align-items: center;
    gap: 44px;
    padding-block: 82px 18px;
}

.fortune-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--fortune-muted);
    font-size: 0.76rem;
    font-weight: 800;
    text-decoration: none;
}

.fortune-back:hover {
    color: var(--fortune-clay-dark);
}

.fortune-eyebrow,
.fortune-section-kicker {
    margin: 0;
    color: var(--fortune-clay-dark);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.fortune-hero h1 {
    margin: 8px 0 14px;
    color: var(--fortune-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.35rem, 3.2vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1.08;
}

.fortune-hero h1 span {
    color: var(--fortune-clay);
}

.fortune-hero__lead {
    max-width: 760px;
    margin: 0;
    color: #57534d;
    font-size: 0.92rem;
    line-height: 1.6;
    word-break: keep-all;
}

.fortune-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.fortune-trust-list span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid var(--fortune-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    color: #57514a;
    font-size: 0.72rem;
    font-weight: 800;
}

.fortune-orbit {
    position: relative;
    width: min(235px, 100%);
    aspect-ratio: 1;
    margin-inline: auto;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 28%, rgba(234, 223, 206, 0.7) 29% 30%, transparent 31%);
    box-shadow: 0 24px 50px rgba(86, 60, 40, 0.12);
}

.fortune-orbit::before,
.fortune-orbit::after {
    content: "";
    position: absolute;
    inset: 7%;
    border: 1px solid rgba(181, 95, 61, 0.2);
    border-radius: 50%;
}

.fortune-orbit::after {
    inset: 20%;
    border-style: dashed;
}

.fortune-orbit__ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(38, 56, 74, 0.12);
    border-radius: 50%;
}

.fortune-orbit__ring--outer {
    inset: 2%;
    border-width: 8px 1px 1px;
    transform: rotate(22deg);
}

.fortune-orbit__ring--inner {
    inset: 33%;
    border-color: rgba(181, 95, 61, 0.25);
}

.fortune-orbit__animal {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin: -15px;
    border: 1px solid rgba(38, 56, 74, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    box-shadow: 0 6px 14px rgba(49, 42, 35, 0.11);
    transform: rotate(calc(var(--orbit-index) * 30deg)) translateY(-97px) rotate(calc(var(--orbit-index) * -30deg));
}

.fortune-orbit__center {
    position: absolute;
    inset: 34%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--fortune-navy);
    color: white;
    text-align: center;
    box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.08);
}

.fortune-orbit__center small {
    color: #e8cfa9;
    font-size: 0.6rem;
    font-weight: 800;
}

.fortune-orbit__center strong {
    margin: 2px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
}

.fortune-orbit__center span {
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.54rem;
}

.fortune-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    padding-block: 18px 30px;
}

.fortune-picker,
.fortune-today-card,
.fortune-result {
    border: 1px solid var(--fortune-line);
    border-radius: 24px;
    background: rgba(255, 253, 249, 0.92);
    box-shadow: 0 18px 50px rgba(73, 59, 45, 0.07);
}

.fortune-result {
    scroll-margin-top: calc(var(--header-height, 70px) + 18px);
}

.fortune-picker {
    padding: 30px;
}

.fortune-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.fortune-section-head h2,
.fortune-today-card h2 {
    margin: 6px 0 0;
    font-size: 1.55rem;
    letter-spacing: -0.04em;
}

.fortune-date-chip {
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 999px;
    background: #efe6d8;
    color: #665a4d;
    font-size: 0.72rem;
    font-weight: 850;
}

.fortune-form fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 9px;
}

.zodiac-button {
    appearance: none;
    display: flex;
    min-width: 0;
    min-height: 92px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 5px;
    border: 1px solid rgba(65, 57, 48, 0.13);
    border-radius: 15px;
    background: #faf7f1;
    color: var(--fortune-ink);
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.zodiac-button:hover {
    transform: translateY(-2px);
    border-color: rgba(181, 95, 61, 0.45);
    background: #fff;
}

.zodiac-button:focus-visible,
.fortune-submit:focus-visible,
.fortune-secondary-button:focus-visible {
    outline: 3px solid rgba(230, 169, 69, 0.42);
    outline-offset: 3px;
}

.zodiac-button.is-selected {
    border-color: var(--fortune-clay);
    background: #fff4ea;
    box-shadow: 0 10px 22px rgba(181, 95, 61, 0.13);
}

.zodiac-button__emoji {
    font-size: 1.65rem;
    line-height: 1;
}

.zodiac-button strong {
    overflow: hidden;
    max-width: 100%;
    font-size: 0.8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fortune-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--fortune-line);
}

.fortune-submit-row p {
    margin: 0;
    color: var(--fortune-muted);
    font-size: 0.8rem;
}

.fortune-submit {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-width: 210px;
    min-height: 50px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    background: var(--fortune-clay);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(142, 66, 43, 0.22);
}

.fortune-submit:disabled {
    background: #c8c0b6;
    box-shadow: none;
    cursor: not-allowed;
}

.fortune-picker .ai-disclosure {
    margin: 20px 0 0;
    background: #fffaf1;
}

.fortune-today-card {
    position: relative;
    min-height: 100%;
    padding: 26px;
    overflow: hidden;
    background: var(--fortune-navy);
    color: #fff;
}

.fortune-today-card::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -70px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.035), 0 0 0 58px rgba(255, 255, 255, 0.025);
}

.fortune-today-card .fortune-section-kicker {
    color: #efc98d;
}

.fortune-today-card__symbol {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    margin: 38px 0 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    color: #f0c57f;
    font-family: Georgia, serif;
    font-size: 2rem;
}

.fortune-today-card__context {
    min-height: 52px;
    margin: 12px 0 24px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    line-height: 1.65;
}

.fortune-today-card__meta {
    position: relative;
    z-index: 1;
    margin: 0;
}

.fortune-today-card__meta div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.fortune-today-card__meta dt {
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.72rem;
}

.fortune-today-card__meta dd {
    margin: 0;
    font-size: 0.73rem;
    font-weight: 800;
    text-align: right;
}

.fortune-status {
    display: flex;
    min-height: 120px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-block: 8px 32px;
    border: 1px dashed rgba(181, 95, 61, 0.3);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.52);
    color: #635c54;
    font-weight: 800;
}

.fortune-status[hidden],
.fortune-result[hidden] {
    display: none;
}

.fortune-loader {
    display: flex;
    gap: 4px;
}

.fortune-loader span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--fortune-clay);
    animation: fortune-bounce 0.9s ease-in-out infinite alternate;
}

.fortune-loader span:nth-child(2) { animation-delay: 0.15s; }
.fortune-loader span:nth-child(3) { animation-delay: 0.3s; }

@keyframes fortune-bounce {
    to { transform: translateY(-7px); opacity: 0.5; }
}

.fortune-result {
    margin-block: 12px 34px;
    padding: 34px;
    animation: fortune-rise 0.4s ease-out both;
}

@keyframes fortune-rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.fortune-result__topline,
.fortune-result__header,
.fortune-result__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.fortune-result__topline {
    color: var(--fortune-muted);
    font-size: 0.73rem;
}

.fortune-result__topline .ai-result-mark {
    margin: 0;
}

.fortune-result__header {
    margin-top: 18px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--fortune-line);
}

.fortune-result__identity {
    display: flex;
    align-items: center;
    gap: 15px;
}

.fortune-result__identity > span {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: #f4e8d7;
    font-size: 2rem;
}

.fortune-result__identity p {
    margin: 0 0 3px;
    color: var(--fortune-muted);
    font-size: 0.76rem;
}

.fortune-result__identity h2 {
    margin: 0;
    font-size: 1.6rem;
    letter-spacing: -0.04em;
}

.fortune-keyword {
    text-align: right;
}

.fortune-keyword span {
    display: block;
    color: var(--fortune-muted);
    font-size: 0.7rem;
}

.fortune-keyword strong {
    display: block;
    margin-top: 4px;
    color: var(--fortune-clay-dark);
    font-family: Georgia, serif;
    font-size: 1.45rem;
}

.fortune-result__headline {
    max-width: 850px;
    margin: 30px 0 12px;
    color: var(--fortune-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.65rem, 3.5vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.3;
    word-break: keep-all;
}

.fortune-result__overview {
    max-width: 880px;
    margin: 0;
    color: #5d5750;
    font-size: 0.98rem;
    line-height: 1.78;
    word-break: keep-all;
}

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

.fortune-score {
    padding: 14px 0;
}

.fortune-score div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 9px;
    color: var(--fortune-muted);
    font-size: 0.76rem;
}

.fortune-score strong {
    color: var(--fortune-ink);
    font-size: 0.92rem;
}

.fortune-score i {
    display: block;
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8e0d5;
}

.fortune-score b {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--fortune-sun), var(--fortune-clay));
    transition: width 0.7s ease;
}

.fortune-reading-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--fortune-line);
    border-radius: 18px;
    background: var(--fortune-line);
    overflow: hidden;
}

.fortune-reading-grid article {
    padding: 24px;
    background: #fcfaf6;
}

.fortune-reading-grid article > span,
.fortune-action-strip span {
    color: var(--fortune-clay-dark);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.fortune-reading-grid h3 {
    margin: 7px 0 10px;
    font-size: 1.02rem;
}

.fortune-reading-grid p {
    margin: 0;
    color: #5e5952;
    font-size: 0.88rem;
    line-height: 1.7;
}

.fortune-action-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 16px;
    padding: 22px 24px;
    border-radius: 16px;
    background: var(--fortune-navy);
    color: white;
}

.fortune-action-strip span {
    color: #efc98d;
}

.fortune-action-strip strong {
    display: block;
    margin-top: 7px;
    font-size: 0.9rem;
    line-height: 1.55;
}

.fortune-result__footer {
    align-items: flex-end;
    margin-top: 24px;
}

.fortune-result__footer p {
    max-width: 690px;
    margin: 0;
    color: var(--fortune-muted);
    font-size: 0.75rem;
    line-height: 1.55;
}

.fortune-result__footer > div {
    display: flex;
    gap: 7px;
}

.fortune-secondary-button {
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--fortune-line);
    border-radius: 9px;
    background: #fff;
    color: #4f4942;
    font-size: 0.75rem;
    font-weight: 850;
    cursor: pointer;
}

.fortune-principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-block: 0 46px;
    border-top: 1px solid var(--fortune-line);
    border-bottom: 1px solid var(--fortune-line);
}

.fortune-principles p {
    margin: 0;
    padding: 20px 22px;
    border-right: 1px solid var(--fortune-line);
}

.fortune-principles p:last-child {
    border-right: 0;
}

.fortune-principles strong,
.fortune-principles span {
    display: block;
}

.fortune-principles strong {
    margin-bottom: 6px;
    font-size: 0.82rem;
}

.fortune-principles span {
    color: var(--fortune-muted);
    font-size: 0.74rem;
    line-height: 1.55;
}

/* Desktop service switch and birth-based Saju workspace. */
.fortune-desktop-switch {
    display: inline-flex;
    width: auto;
    max-width: calc(100% - 40px);
    align-items: center;
    gap: 4px;
    margin: 14px max(20px, calc((100% - 1180px) / 2)) 0;
    padding: 4px;
    border: 1px solid var(--fortune-line);
    border-radius: 13px;
    background: rgba(239, 230, 216, 0.82);
    box-shadow: 0 8px 22px rgba(73, 59, 45, 0.05);
}

.fortune-service-tab {
    appearance: none;
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #675f56;
    font-size: 0.84rem;
    font-weight: 850;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.fortune-service-tab.is-active,
.fortune-service-tab[aria-selected="true"],
.fortune-service-tab[aria-pressed="true"] {
    background: var(--fortune-clay);
    color: #fff;
    box-shadow: 0 7px 16px rgba(142, 66, 43, 0.19);
}

.fortune-service-tab:focus-visible,
.fortune-saju-form button:focus-visible,
.fortune-saju-form input:focus-visible,
.fortune-saju-privacy a:focus-visible,
.fortune-saju-result button:focus-visible,
.fortune-saju-result a:focus-visible {
    outline: 3px solid rgba(230, 169, 69, 0.56);
    outline-offset: 3px;
}

.fortune-saju-workspace {
    display: grid;
    width: min(1180px, calc(100% - 40px));
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 18px;
    margin: 0 auto 30px;
}

.fortune-saju-form,
.fortune-saju-privacy,
.fortune-saju-result {
    border: 1px solid var(--fortune-line);
    border-radius: 24px;
    background: rgba(255, 253, 249, 0.94);
    box-shadow: 0 18px 50px rgba(73, 59, 45, 0.07);
}

.fortune-saju-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
    min-width: 0;
    padding: 30px;
}

.fortune-saju-form > fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.fortune-saju-form > fieldset > legend {
    width: 100%;
    margin: 0 0 11px;
    padding: 0;
    color: #4f4942;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1.35;
}

.fortune-saju-form > .fortune-saju-form__head,
.fortune-saju-form > .ai-disclosure,
.fortune-saju-form > .fortune-saju-message,
.fortune-saju-form > .fortune-saju-submit {
    grid-column: 1 / -1;
}

.fortune-saju-form > .fortune-saju-form__head {
    margin-bottom: 0;
}

.fortune-saju-form [hidden],
.fortune-desktop-switch[hidden],
.fortune-workspace[hidden],
.fortune-saju-workspace[hidden],
.fortune-saju-result[hidden] {
    display: none !important;
}

.fortune-saju-calendar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px;
    padding: 3px;
    border-radius: 11px;
    background: #efe6d8;
}

.fortune-saju-calendar button {
    appearance: none;
    min-height: 42px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #6e645a;
    font-size: 0.82rem;
    font-weight: 850;
    cursor: pointer;
}

.fortune-saju-calendar button.is-selected,
.fortune-saju-calendar button[aria-pressed="true"] {
    background: #fffdf9;
    color: var(--fortune-clay-dark);
    box-shadow: 0 2px 7px rgba(73, 59, 45, 0.10);
}

.fortune-saju-date-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.fortune-saju-date-grid label,
.fortune-saju-time-input {
    display: flex;
    min-width: 0;
    min-height: 48px;
    align-items: center;
    gap: 4px;
    padding: 0 10px;
    border: 1px solid rgba(65, 57, 48, 0.15);
    border-radius: 10px;
    background: #fff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.fortune-saju-time-input:focus-within {
    border-color: rgba(181, 95, 61, 0.68);
    box-shadow: 0 0 0 3px rgba(230, 169, 69, 0.14);
}

.fortune-saju-date-grid label:focus-within {
    border-color: rgba(65, 57, 48, 0.15);
    box-shadow: none;
}

.fortune-saju-date-grid input:focus,
.fortune-saju-date-grid input:focus-visible {
    outline: none;
    box-shadow: none;
    caret-color: var(--fortune-clay-dark);
}

.fortune-saju-date-grid input,
.fortune-saju-date-grid > input,
.fortune-saju-time-input input[type="text"],
.fortune-saju-form select {
    appearance: none;
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: var(--fortune-ink);
    font-size: 16px;
    font-weight: 750;
    line-height: 46px;
}

.fortune-saju-date-grid > input,
.fortune-saju-form select {
    padding: 0 11px;
    border: 1px solid rgba(65, 57, 48, 0.15);
    border-radius: 10px;
    background: #fff;
}

.fortune-saju-date-grid input::-webkit-inner-spin-button,
.fortune-saju-date-grid input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.fortune-saju-date-grid label > span {
    flex: 0 0 auto;
    color: var(--fortune-muted);
    font-size: 0.72rem;
    font-weight: 750;
}

.fortune-saju-time-row {
    display: grid;
    grid-template-columns: auto minmax(120px, 1fr) auto;
    align-items: center;
    gap: 9px;
}

.fortune-saju-time-input input::placeholder {
    color: #a49b91;
    font-weight: 700;
    letter-spacing: 0;
}

.fortune-saju-period {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px;
    padding: 3px;
    border-radius: 10px;
    background: #f1e8dc;
}

.fortune-saju-period button {
    appearance: none;
    min-width: 48px;
    min-height: 40px;
    padding: 0 9px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #766d63;
    font-size: 0.76rem;
    font-weight: 850;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.fortune-saju-period button.is-selected,
.fortune-saju-period button[aria-pressed="true"] {
    background: #fffdf9;
    color: var(--fortune-clay-dark);
    box-shadow: 0 2px 7px rgba(73, 59, 45, 0.10);
}

.fortune-saju-period button:disabled {
    color: #aaa197;
    cursor: not-allowed;
    box-shadow: none;
}

.fortune-saju-check {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 8px;
    color: #5e574f;
    font-size: 0.76rem;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
}

.fortune-saju-check input {
    appearance: auto;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--fortune-clay);
}

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

.fortune-saju-focus button {
    appearance: none;
    min-height: 40px;
    padding: 0 10px;
    border: 1px solid rgba(65, 57, 48, 0.14);
    border-radius: 9px;
    background: #fff;
    color: #665f57;
    font-size: 0.78rem;
    font-weight: 820;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.fortune-saju-focus button.is-selected,
.fortune-saju-focus button[aria-pressed="true"] {
    border-color: rgba(181, 95, 61, 0.52);
    background: #fff3e9;
    color: var(--fortune-clay-dark);
}

.fortune-saju-form > .ai-disclosure {
    margin: 0;
    border-color: rgba(181, 95, 61, 0.15);
    background: #fff9ef;
}

.fortune-saju-message {
    min-height: 20px;
    margin: -6px 0 0;
    color: var(--fortune-muted);
    font-size: 0.75rem;
    line-height: 1.5;
}

.fortune-saju-submit {
    appearance: none;
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 0;
    border-radius: 11px;
    background: var(--fortune-clay);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(142, 66, 43, 0.20);
    transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.fortune-saju-submit:disabled {
    background: #c8c0b6;
    box-shadow: none;
    cursor: not-allowed;
}

.fortune-saju-privacy {
    position: sticky;
    top: calc(var(--header-height, 70px) + 18px);
    min-width: 0;
    padding: 27px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(245, 237, 226, 0.96)),
        var(--fortune-paper);
}

.fortune-saju-privacy::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--fortune-clay), var(--fortune-sun));
}

.fortune-saju-privacy__symbol {
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--fortune-navy);
    color: #f3d39f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.08);
}

.fortune-saju-privacy h2,
.fortune-saju-privacy h3,
.fortune-saju-privacy p {
    margin: 0;
}

.fortune-saju-privacy h2,
.fortune-saju-privacy h3 {
    color: var(--fortune-ink);
    font-size: 1.15rem;
    letter-spacing: -0.035em;
}

.fortune-saju-privacy > p {
    margin-top: 10px;
    color: #6d655c;
    font-size: 0.78rem;
    line-height: 1.65;
    word-break: keep-all;
}

.fortune-saju-privacy__meta {
    margin: 22px 0 0;
}

.fortune-saju-privacy__meta > div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 0;
    border-top: 1px solid var(--fortune-line);
}

.fortune-saju-privacy__meta dt,
.fortune-saju-privacy__meta dd {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.45;
}

.fortune-saju-privacy__meta dt {
    flex: 0 0 auto;
    color: var(--fortune-muted);
}

.fortune-saju-privacy__meta dd {
    color: #4d4740;
    font-weight: 850;
    text-align: right;
    word-break: keep-all;
}

.fortune-saju-privacy a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    color: var(--fortune-clay-dark);
    font-size: 0.76rem;
    font-weight: 850;
    text-decoration: none;
}

.fortune-saju-privacy a::after {
    content: "\2192";
}

.fortune-saju-result {
    width: min(1180px, calc(100% - 40px));
    margin: 12px auto 34px;
    padding: 34px;
    animation: fortune-rise 0.4s ease-out both;
}

.fortune-saju-pillars {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 28px 0 0;
    border-top: 1px solid var(--fortune-line);
    border-bottom: 1px solid var(--fortune-line);
    background: #faf5ed;
}

.fortune-saju-pillars > div {
    min-width: 0;
    padding: 17px 12px 18px;
    border-right: 1px solid var(--fortune-line);
    text-align: center;
}

.fortune-saju-pillars > div:last-child {
    border-right: 0;
}

.fortune-saju-pillars span,
.fortune-saju-pillars strong {
    display: block;
}

.fortune-saju-pillars span {
    color: var(--fortune-muted);
    font-size: 0.68rem;
    font-weight: 780;
}

.fortune-saju-pillars strong {
    margin-top: 7px;
    overflow: hidden;
    color: var(--fortune-clay-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fortune-saju-chart-note {
    margin: 8px 0 0;
    color: var(--fortune-muted);
    font-size: 0.72rem;
    line-height: 1.5;
}

.fortune-saju-forecast {
    margin-top: 30px;
    border-top: 1px solid var(--fortune-line);
}

.fortune-saju-forecast__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 0 18px;
}

.fortune-saju-forecast__head p,
.fortune-saju-forecast__head h3 {
    margin: 0;
}

.fortune-saju-forecast__head p {
    color: var(--fortune-clay-dark);
    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.13em;
}

.fortune-saju-forecast__head h3 {
    margin-top: 5px;
    color: var(--fortune-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.42rem;
    letter-spacing: -0.035em;
}

.fortune-saju-forecast__head > span {
    flex: 0 0 auto;
    color: var(--fortune-muted);
    font-size: 0.74rem;
    font-weight: 800;
}

.fortune-saju-forecast__periods,
.fortune-saju-forecast__categories {
    display: grid;
    min-width: 0;
}

.fortune-saju-forecast__periods {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px;
    padding: 3px;
    border-radius: 12px;
    background: #eee4d6;
}

.fortune-saju-forecast__categories {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin-top: 16px;
    border-top: 1px solid var(--fortune-line);
    border-bottom: 1px solid var(--fortune-line);
}

.fortune-saju-forecast__periods button,
.fortune-saju-forecast__categories button {
    appearance: none;
    min-width: 0;
    border: 0;
    background: transparent;
    color: #746a60;
    font-family: inherit;
    font-weight: 850;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.fortune-saju-forecast__periods button {
    min-height: 44px;
    padding: 0 12px;
    border-radius: 9px;
    font-size: 0.8rem;
}

.fortune-saju-forecast__categories button {
    position: relative;
    min-height: 50px;
    padding: 0 8px;
    font-size: 0.78rem;
}

.fortune-saju-forecast__periods button.is-active,
.fortune-saju-forecast__periods button[aria-pressed="true"] {
    background: #fffdf9;
    color: var(--fortune-clay-dark);
    box-shadow: 0 2px 8px rgba(73, 59, 45, 0.1);
}

.fortune-saju-forecast__categories button.is-active,
.fortune-saju-forecast__categories button[aria-pressed="true"] {
    color: var(--fortune-clay-dark);
}

.fortune-saju-forecast__categories button.is-active::after,
.fortune-saju-forecast__categories button[aria-pressed="true"]::after {
    content: "";
    position: absolute;
    right: 18%;
    bottom: -1px;
    left: 18%;
    height: 2px;
    background: var(--fortune-clay);
}

.fortune-saju-detail {
    margin: 0;
    padding: 29px 2px 27px;
    background: transparent;
}

.fortune-saju-detail__eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--fortune-clay-dark);
    font-size: 0.7rem;
    font-weight: 900;
}

.fortune-saju-detail__eyebrow span + span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--fortune-muted);
    font-weight: 750;
}

.fortune-saju-detail__eyebrow span + span::before {
    content: "";
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
}

.fortune-saju-detail > h3 {
    margin: 10px 0 0;
    color: var(--fortune-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    line-height: 1.35;
    letter-spacing: -0.04em;
    word-break: keep-all;
}

.fortune-saju-detail__body {
    max-width: 920px;
    margin: 15px 0 0;
    color: #575048;
    font-size: 0.96rem;
    line-height: 1.9;
    word-break: keep-all;
}

.fortune-saju-detail__points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 23px;
    padding-top: 19px;
    border-top: 1px solid var(--fortune-line);
}

.fortune-saju-detail__points > div {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
}

.fortune-saju-detail__points span {
    color: var(--fortune-clay-dark);
    font-size: 0.72rem;
    font-weight: 900;
}

.fortune-saju-detail__points p {
    margin: 0;
    color: #625a52;
    font-size: 0.82rem;
    line-height: 1.65;
    word-break: keep-all;
}

.fortune-saju-foundation {
    margin-top: 4px;
    border-top: 1px solid var(--fortune-line);
    border-bottom: 1px solid var(--fortune-line);
}

.fortune-saju-foundation > summary {
    padding: 18px 2px;
    color: #5d554c;
    font-size: 0.8rem;
    font-weight: 850;
    cursor: pointer;
}

.fortune-saju-foundation[open] > summary {
    color: var(--fortune-clay-dark);
}

.fortune-saju-foundation__content {
    padding: 0 0 26px;
}

.fortune-saju-foundation .fortune-saju-result__headline {
    margin-top: 18px;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.fortune-saju-reading-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
}

.fortune-saju-reading-grid article,
.fortune-saju-reading-grid h3,
.fortune-saju-reading-grid p {
    min-width: 0;
}

.fortune-saju-reading-grid h3,
.fortune-saju-reading-grid p {
    overflow-wrap: break-word;
    word-break: keep-all;
}

.fortune-mobile-flow {
    display: none;
}

@media (min-width: 761px) and (max-width: 980px) {
    .today-fortune-page .fortune-hero__layout {
        grid-template-columns: minmax(0, 1fr) 220px;
        min-height: 325px;
        gap: 30px;
        padding-block: 82px 16px;
    }

    .today-fortune-page .fortune-hero h1 {
        font-size: clamp(2.15rem, 4.8vw, 2.75rem);
    }

    .today-fortune-page .fortune-orbit {
        width: min(210px, 100%);
    }

    .today-fortune-page .fortune-orbit__animal {
        transform: rotate(calc(var(--orbit-index) * 30deg)) translateY(-86px) rotate(calc(var(--orbit-index) * -30deg));
    }

    .today-fortune-page .zodiac-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .today-fortune-page .zodiac-button {
        min-height: 84px;
    }

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

@media (min-width: 761px) and (max-width: 1100px) {
    .fortune-saju-workspace,
    .fortune-saju-result {
        width: min(1040px, calc(100% - 32px));
    }

    .fortune-saju-workspace {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 0.48fr);
        gap: 14px;
    }

    .fortune-saju-form {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 24px;
    }

    .fortune-saju-form > fieldset,
    .fortune-saju-form > .ai-disclosure,
    .fortune-saju-form > .fortune-saju-message,
    .fortune-saju-form > .fortune-saju-submit {
        grid-column: 1;
    }

    .fortune-saju-privacy {
        padding: 23px;
    }

    .fortune-saju-result {
        padding: 28px;
    }
}

@media (min-width: 761px) and (max-width: 899px) {
    .fortune-desktop-switch {
        max-width: calc(100% - 40px);
        margin-left: 20px;
    }

    .fortune-saju-workspace,
    .fortune-saju-result {
        width: calc(100% - 40px);
    }

    .fortune-saju-workspace {
        grid-template-columns: minmax(0, 1fr);
    }

    .fortune-saju-privacy {
        position: static;
    }

    .fortune-saju-reading-grid article {
        padding: 18px;
    }

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

    .fortune-saju-forecast__categories button:nth-child(-n + 3) {
        border-bottom: 1px solid var(--fortune-line);
    }
}

@media (max-width: 760px) {
    body.today-fortune-page {
        overflow-x: hidden;
        background: #fffdf9;
    }

    .today-fortune-page .fortune-app {
        box-sizing: border-box;
        min-height: calc(100svh - var(--header-height, 45px));
        min-height: calc(100dvh - var(--header-height, 45px));
        margin-top: var(--header-height, 45px);
        padding-top: 0;
        overflow: visible;
        background: #fffdf9;
    }

    .today-fortune-page .fortune-hero,
    .today-fortune-page .fortune-workspace,
    .today-fortune-page .fortune-status,
    .today-fortune-page > .fortune-result,
    .today-fortune-page .fortune-app > .fortune-result,
    .today-fortune-page .fortune-principles,
    .today-fortune-page .fortune-desktop-switch,
    .today-fortune-page .fortune-saju-workspace,
    .today-fortune-page .fortune-saju-form,
    .today-fortune-page .fortune-saju-privacy,
    .today-fortune-page .fortune-saju-result,
    .today-fortune-page .footer {
        display: none !important;
    }

    .today-fortune-page .fortune-mobile-flow {
        --fortune-mobile-bg: #fffdf9;
        --fortune-mobile-paper: #f7f1e8;
        --fortune-mobile-paper-strong: #eee3d5;
        --fortune-mobile-ink: #231f1b;
        --fortune-mobile-muted: #746c63;
        --fortune-mobile-line: rgba(67, 56, 46, 0.15);
        --fortune-mobile-accent: #a84f32;
        --fortune-mobile-accent-dark: #7f3825;
        --fortune-mobile-blue: #28598f;
        display: block;
        width: 100%;
        min-height: calc(100svh - var(--header-height, 45px));
        min-height: calc(100dvh - var(--header-height, 45px));
        overflow-x: hidden;
        background: var(--fortune-mobile-bg);
        color: var(--fortune-mobile-ink);
        font-family: Pretendard, "Noto Sans KR", sans-serif;
        -webkit-tap-highlight-color: transparent;
        scroll-padding: 80px 0 calc(92px + env(safe-area-inset-bottom, 0px));
    }

    .today-fortune-page .fortune-mobile-flow,
    .today-fortune-page .fortune-mobile-flow * {
        box-sizing: border-box;
    }

    .today-fortune-page .fortune-mobile-flow [hidden] {
        display: none !important;
    }

    .today-fortune-page .fortune-mobile-flow button,
    .today-fortune-page .fortune-mobile-flow input {
        font-family: inherit;
    }

    .today-fortune-page .fortune-mobile-flow button {
        touch-action: manipulation;
    }

    .today-fortune-page .fortune-mobile-flow button:focus-visible,
    .today-fortune-page .fortune-mobile-flow input:focus-visible {
        outline: 2px solid rgba(40, 89, 143, 0.72);
        outline-offset: 2px;
    }

    .today-fortune-page .fortune-mobile-screen {
        width: 100%;
        min-height: calc(100svh - var(--header-height, 45px));
        min-height: calc(100dvh - var(--header-height, 45px));
        background: var(--fortune-mobile-bg);
    }

    .today-fortune-page .fortune-mobile-screen--home {
        display: flex;
        min-height: calc(100svh - var(--header-height, 45px));
        min-height: calc(100dvh - var(--header-height, 45px));
        flex-direction: column;
        padding: clamp(36px, 9svh, 76px) 14px calc(24px + env(safe-area-inset-bottom, 0px));
    }

    .today-fortune-page .fortune-mobile-home-head {
        position: relative;
        padding-top: 15px;
    }

    .today-fortune-page .fortune-mobile-home-head::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 34px;
        height: 2px;
        background: var(--fortune-mobile-accent);
    }

    .today-fortune-page .fortune-mobile-home-head p,
    .today-fortune-page .fortune-mobile-home-head h1,
    .today-fortune-page .fortune-mobile-home-head span {
        margin: 0;
    }

    .today-fortune-page .fortune-mobile-home-head p {
        color: var(--fortune-mobile-accent-dark);
        font-size: 12px;
        font-weight: 850;
        letter-spacing: 0.04em;
    }

    .today-fortune-page .fortune-mobile-home-head h1 {
        margin-top: 7px;
        font-family: Georgia, "Times New Roman", serif;
        font-size: clamp(30px, 9.5vw, 38px);
        line-height: 1.08;
        letter-spacing: -0.055em;
    }

    .today-fortune-page .fortune-mobile-home-head span {
        display: block;
        margin-top: 10px;
        color: var(--fortune-mobile-muted);
        font-size: 13px;
        line-height: 1.55;
        word-break: keep-all;
    }

    .today-fortune-page .fortune-mobile-service-list {
        margin-top: clamp(34px, 7svh, 56px);
        border-top: 1px solid var(--fortune-mobile-line);
    }

    .today-fortune-page .fortune-mobile-service {
        appearance: none;
        display: grid;
        width: 100%;
        min-height: 82px;
        grid-template-columns: 48px minmax(0, 1fr) 24px;
        align-items: center;
        gap: 13px;
        padding: 13px 2px;
        border: 0;
        border-bottom: 1px solid var(--fortune-mobile-line);
        background: transparent;
        color: var(--fortune-mobile-ink);
        text-align: left;
        cursor: pointer;
        transition: background-color 0.18s ease, color 0.18s ease;
    }

    .today-fortune-page .fortune-mobile-service:active {
        background: #faf4eb;
    }

    .today-fortune-page .fortune-mobile-service__icon {
        display: grid;
        width: 46px;
        height: 46px;
        place-items: center;
        border-radius: 50%;
        background: var(--fortune-mobile-paper);
        font-size: 23px;
        line-height: 1;
    }

    .today-fortune-page .fortune-mobile-service__icon--saju {
        background: #efe5d9;
        color: var(--fortune-mobile-accent-dark);
        font-family: Georgia, "Times New Roman", serif;
        font-size: 24px;
        font-weight: 700;
    }

    .today-fortune-page .fortune-mobile-service__copy {
        min-width: 0;
    }

    .today-fortune-page .fortune-mobile-service__copy strong,
    .today-fortune-page .fortune-mobile-service__copy small {
        display: block;
    }

    .today-fortune-page .fortune-mobile-service__copy strong {
        font-size: 16px;
        font-weight: 850;
        letter-spacing: -0.025em;
    }

    .today-fortune-page .fortune-mobile-service__copy small {
        margin-top: 4px;
        overflow: hidden;
        color: var(--fortune-mobile-muted);
        font-size: 12px;
        line-height: 1.35;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .today-fortune-page .fortune-mobile-service__arrow {
        color: var(--fortune-mobile-accent);
        font-size: 20px;
        text-align: right;
        transition: transform 0.18s ease;
    }

    .today-fortune-page .fortune-mobile-service:active .fortune-mobile-service__arrow {
        transform: translateX(3px);
    }

    .today-fortune-page .fortune-mobile-home-note {
        margin: auto 0 0;
        padding-top: 26px;
        color: #8a8177;
        font-size: 11px;
        line-height: 1.55;
        word-break: keep-all;
    }

    .today-fortune-page .fortune-mobile-screen-head {
        position: relative;
        z-index: 30;
        top: auto;
        display: grid;
        min-height: 66px;
        grid-template-columns: 38px minmax(0, 1fr) auto;
        align-items: center;
        gap: 9px;
        padding: 9px 14px;
        border-bottom: 1px solid var(--fortune-mobile-line);
        background: rgba(255, 253, 249, 0.96);
        backdrop-filter: blur(12px);
    }

    .today-fortune-page .fortune-mobile-back {
        appearance: none;
        display: grid;
        width: 36px;
        height: 36px;
        place-items: center;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: transparent;
        color: var(--fortune-mobile-ink);
        font-size: 21px;
        cursor: pointer;
    }

    .today-fortune-page .fortune-mobile-back:active {
        background: var(--fortune-mobile-paper);
    }

    .today-fortune-page .fortune-mobile-screen-head p,
    .today-fortune-page .fortune-mobile-screen-head h2 {
        margin: 0;
    }

    .today-fortune-page .fortune-mobile-screen-head p {
        color: var(--fortune-mobile-accent-dark);
        font-size: 9px;
        font-weight: 900;
        letter-spacing: 0.12em;
    }

    .today-fortune-page .fortune-mobile-screen-head h2 {
        margin-top: 2px;
        overflow: hidden;
        font-size: 17px;
        font-weight: 850;
        letter-spacing: -0.035em;
        line-height: 1.2;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .today-fortune-page .fortune-mobile-screen-head > span {
        color: var(--fortune-mobile-muted);
        font-size: 11px;
        font-weight: 750;
        white-space: nowrap;
    }

    .today-fortune-page .fortune-mobile-form {
        width: 100%;
        padding: 18px 14px calc(94px + env(safe-area-inset-bottom, 0px));
    }

    .today-fortune-page .fortune-mobile-form fieldset {
        min-width: 0;
        margin: 0;
        padding: 0;
        border: 0;
    }

    .today-fortune-page .fortune-mobile-form--zodiac fieldset {
        margin-bottom: 16px;
    }

    .today-fortune-page .fortune-mobile-zodiac-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 7px;
    }

    .today-fortune-page .fortune-mobile-zodiac {
        appearance: none;
        display: flex;
        min-width: 0;
        min-height: 66px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 7px 3px;
        border: 1px solid var(--fortune-mobile-line);
        border-radius: 9px;
        background: #fff;
        color: var(--fortune-mobile-ink);
        cursor: pointer;
        transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
    }

    .today-fortune-page .fortune-mobile-zodiac > span {
        font-size: 23px;
        line-height: 1;
    }

    .today-fortune-page .fortune-mobile-zodiac strong {
        overflow: hidden;
        max-width: 100%;
        font-size: 11px;
        font-weight: 800;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .today-fortune-page .fortune-mobile-zodiac.is-selected,
    .today-fortune-page .fortune-mobile-zodiac[aria-pressed="true"] {
        border-color: var(--fortune-mobile-accent);
        background: #fff3e9;
        color: var(--fortune-mobile-accent-dark);
        transform: translateY(-1px);
    }

    .today-fortune-page .fortune-mobile-fieldset {
        margin-bottom: 21px !important;
    }

    .today-fortune-page .fortune-mobile-fieldset > legend {
        width: 100%;
        margin: 0 0 9px;
        padding: 0;
        color: #4e4841;
        font-size: 12px;
        font-weight: 850;
        line-height: 1.3;
    }

    .today-fortune-page .fortune-mobile-segment {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 3px;
        border-radius: 10px;
        background: var(--fortune-mobile-paper);
    }

    .today-fortune-page .fortune-mobile-segment button,
    .today-fortune-page .fortune-mobile-focus button {
        appearance: none;
        min-height: 38px;
        border: 0;
        border-radius: 8px;
        background: transparent;
        color: #6c645b;
        font-size: 13px;
        font-weight: 800;
        cursor: pointer;
    }

    .today-fortune-page .fortune-mobile-segment button.is-selected,
    .today-fortune-page .fortune-mobile-segment button[aria-pressed="true"] {
        background: #fff;
        color: var(--fortune-mobile-accent-dark);
        box-shadow: 0 1px 4px rgba(74, 57, 42, 0.10);
    }

    .today-fortune-page .fortune-mobile-leap {
        margin-top: 9px;
    }

    .today-fortune-page .fortune-mobile-birth-row {
        display: grid;
        grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .today-fortune-page .fortune-mobile-birth-row label,
    .today-fortune-page .fortune-mobile-time-input {
        display: flex;
        min-width: 0;
        align-items: center;
        border-bottom: 1px solid #dfe3e8;
        transition: border-color 0.16s ease;
    }

    .today-fortune-page .fortune-mobile-birth-row label:focus-within,
    .today-fortune-page .fortune-mobile-time-input:focus-within {
        border-bottom-color: var(--fortune-mobile-blue);
    }

    .today-fortune-page .fortune-mobile-birth-row input,
    .today-fortune-page .fortune-mobile-time-input input {
        appearance: none;
        width: 100%;
        min-width: 0;
        height: 44px;
        padding: 0 3px;
        border: 0;
        border-radius: 0;
        outline: 0;
        background: transparent;
        color: var(--fortune-mobile-ink);
        font-size: 16px;
        font-weight: 700;
        line-height: 44px;
        scroll-margin-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
    }

    .today-fortune-page .fortune-mobile-birth-row input::-webkit-inner-spin-button,
    .today-fortune-page .fortune-mobile-birth-row input::-webkit-outer-spin-button {
        margin: 0;
        appearance: none;
    }

    .today-fortune-page .fortune-mobile-birth-row label > span {
        flex: 0 0 auto;
        color: var(--fortune-mobile-muted);
        font-size: 12px;
    }

    .today-fortune-page .fortune-mobile-time-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 14px;
    }

    .today-fortune-page .fortune-mobile-check {
        display: inline-flex;
        min-height: 36px;
        align-items: center;
        gap: 7px;
        color: #5e574f;
        font-size: 12px;
        font-weight: 750;
        cursor: pointer;
        white-space: nowrap;
    }

    .today-fortune-page .fortune-mobile-check input {
        appearance: auto;
        width: 18px;
        height: 18px;
        margin: 0;
        accent-color: var(--fortune-mobile-accent);
    }

    .today-fortune-page .fortune-mobile-focus {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .today-fortune-page .fortune-mobile-focus button {
        border: 1px solid var(--fortune-mobile-line);
        background: #fff;
    }

    .today-fortune-page .fortune-mobile-focus button.is-selected,
    .today-fortune-page .fortune-mobile-focus button[aria-pressed="true"] {
        border-color: rgba(168, 79, 50, 0.55);
        background: #fff3e9;
        color: var(--fortune-mobile-accent-dark);
    }

    .today-fortune-page .fortune-mobile-privacy-note {
        margin: 2px 0 12px;
        padding: 10px 0;
        border-top: 1px solid var(--fortune-mobile-line);
        border-bottom: 1px solid var(--fortune-mobile-line);
        color: #70675e;
        font-size: 11px;
        line-height: 1.55;
        word-break: keep-all;
    }

    .today-fortune-page .fortune-mobile-flow .ai-disclosure {
        gap: 8px;
        margin: 10px 0;
        padding: 9px 10px;
        border: 0;
        border-left: 2px solid #d4a255;
        border-radius: 0;
        background: #fff9ef;
        color: var(--fortune-mobile-ink);
    }

    .today-fortune-page .fortune-mobile-flow .ai-disclosure__mark {
        min-width: 28px;
        height: 21px;
        font-size: 10px;
    }

    .today-fortune-page .fortune-mobile-flow .ai-disclosure__title {
        font-size: 11.5px;
    }

    .today-fortune-page .fortune-mobile-flow .ai-disclosure__text {
        margin-top: 2px;
        color: #6e655c;
        font-size: 10.5px;
        line-height: 1.48;
        word-break: keep-all;
    }

    .today-fortune-page .fortune-mobile-form-message {
        min-height: 18px;
        margin: 11px 0 0;
        color: #7e756b;
        font-size: 11px;
        line-height: 1.45;
    }

    .today-fortune-page .fortune-mobile-action-bar {
        position: fixed;
        z-index: 1000;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        width: 100%;
        min-height: calc(64px + env(safe-area-inset-bottom, 0px));
        align-items: flex-start;
        padding: 8px 14px calc(8px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid rgba(52, 43, 35, 0.11);
        background: rgba(255, 253, 249, 0.97);
        backdrop-filter: blur(14px);
    }

    .today-fortune-page .fortune-mobile-action-bar button {
        appearance: none;
        width: 100%;
        min-height: 48px;
        padding: 0 16px;
        border: 0;
        border-radius: 10px;
        background: var(--fortune-mobile-accent);
        color: #fff;
        font-size: 15px;
        font-weight: 900;
        cursor: pointer;
        box-shadow: 0 8px 20px rgba(127, 56, 37, 0.18);
    }

    .today-fortune-page .fortune-mobile-action-bar button:disabled {
        background: #cbc4bb;
        color: #f9f7f4;
        box-shadow: none;
        cursor: not-allowed;
    }

    .today-fortune-page .fortune-mobile-loading {
        display: flex;
        min-height: 45svh;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 24px 14px;
        color: var(--fortune-mobile-muted);
        text-align: center;
    }

    .today-fortune-page .fortune-mobile-loading p {
        margin: 0;
        font-size: 13px;
    }

    .today-fortune-page .fortune-mobile-result {
        width: 100%;
        padding: 16px 14px calc(30px + env(safe-area-inset-bottom, 0px));
        background: var(--fortune-mobile-bg);
        animation: fortune-rise 0.28s ease-out both;
    }

    .today-fortune-page .fortune-mobile-result__topline {
        display: flex;
        min-width: 0;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        color: var(--fortune-mobile-muted);
        font-size: 10px;
    }

    .today-fortune-page .fortune-mobile-result-mark {
        display: inline-flex;
        min-width: 0;
        max-width: 75%;
        min-height: 25px;
        align-items: center;
        overflow: hidden;
        padding: 4px 8px;
        border: 1px solid rgba(126, 92, 49, 0.13);
        border-radius: 999px;
        background: #fff4cd;
        color: #4c3e2c;
        font-size: 10px;
        font-weight: 850;
        line-height: 1.25;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .today-fortune-page .fortune-mobile-result__identity {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr) auto;
        align-items: center;
        gap: 11px;
        margin-top: 16px;
        padding: 0 0 16px;
        border-bottom: 1px solid var(--fortune-mobile-line);
    }

    .today-fortune-page .fortune-mobile-result__identity > span {
        display: grid;
        width: 46px;
        height: 46px;
        place-items: center;
        border-radius: 50%;
        background: var(--fortune-mobile-paper);
        font-size: 24px;
    }

    .today-fortune-page .fortune-mobile-result__identity p,
    .today-fortune-page .fortune-mobile-result__identity h2 {
        margin: 0;
    }

    .today-fortune-page .fortune-mobile-result__identity p {
        color: var(--fortune-mobile-muted);
        font-size: 10px;
    }

    .today-fortune-page .fortune-mobile-result__identity h2 {
        margin-top: 2px;
        overflow: hidden;
        font-size: 17px;
        letter-spacing: -0.035em;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .today-fortune-page .fortune-mobile-result__identity > strong {
        max-width: 84px;
        color: var(--fortune-mobile-accent-dark);
        font-family: Georgia, "Times New Roman", serif;
        font-size: 13px;
        text-align: right;
        word-break: keep-all;
    }

    .today-fortune-page .fortune-mobile-result__headline {
        margin: 22px 0 10px;
        color: var(--fortune-mobile-ink);
        font-family: Georgia, "Times New Roman", serif;
        font-size: clamp(21px, 6.8vw, 28px);
        font-weight: 700;
        letter-spacing: -0.045em;
        line-height: 1.33;
        word-break: keep-all;
    }

    .today-fortune-page .fortune-mobile-result__overview {
        margin: 0;
        color: #5f5850;
        font-size: 13px;
        line-height: 1.72;
        word-break: keep-all;
    }

    .today-fortune-page .fortune-mobile-reading-list {
        margin-top: 22px;
        border-top: 1px solid var(--fortune-mobile-line);
    }

    .today-fortune-page .fortune-mobile-reading-list article {
        display: grid;
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 11px;
        margin: 0;
        padding: 14px 0;
        border-bottom: 1px solid var(--fortune-mobile-line);
        background: transparent;
    }

    .today-fortune-page .fortune-mobile-reading-list article > span {
        color: var(--fortune-mobile-accent-dark);
        font-size: 10px;
        font-weight: 900;
        line-height: 1.55;
        letter-spacing: 0.02em;
    }

    .today-fortune-page .fortune-mobile-reading-list article > p {
        margin: 0;
        color: #5f5850;
        font-size: 12.5px;
        line-height: 1.62;
        word-break: keep-all;
    }

    .today-fortune-page .fortune-mobile-result__notice {
        margin: 18px 0 0;
        padding: 10px 0;
        color: #7d746a;
        font-size: 10.5px;
        line-height: 1.55;
        word-break: keep-all;
    }

    .today-fortune-page .fortune-mobile-result-back {
        appearance: none;
        width: 100%;
        min-height: 44px;
        margin-top: 8px;
        border: 1px solid var(--fortune-mobile-line);
        border-radius: 9px;
        background: #fff;
        color: #564f47;
        font-size: 13px;
        font-weight: 850;
        cursor: pointer;
    }

    .today-fortune-page .fortune-mobile-saju-chart {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        margin-top: 17px;
        border-top: 1px solid var(--fortune-mobile-line);
        border-bottom: 1px solid var(--fortune-mobile-line);
        background: #fbf6ef;
    }

    .today-fortune-page .fortune-mobile-saju-chart > div {
        min-width: 0;
        padding: 11px 3px 12px;
        border-right: 1px solid var(--fortune-mobile-line);
        text-align: center;
    }

    .today-fortune-page .fortune-mobile-saju-chart > div:last-child {
        border-right: 0;
    }

    .today-fortune-page .fortune-mobile-saju-chart span,
    .today-fortune-page .fortune-mobile-saju-chart strong {
        display: block;
    }

    .today-fortune-page .fortune-mobile-saju-chart span {
        color: var(--fortune-mobile-muted);
        font-size: 9px;
    }

    .today-fortune-page .fortune-mobile-saju-chart strong {
        margin-top: 5px;
        overflow: hidden;
        color: var(--fortune-mobile-accent-dark);
        font-family: Georgia, "Times New Roman", serif;
        font-size: 17px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .today-fortune-page .fortune-mobile-saju-chart-note {
        margin: 7px 0 0;
        color: #857b70;
        font-size: 9.5px;
        line-height: 1.45;
    }

    .today-fortune-page .fortune-mobile-saju-forecast {
        margin-top: 20px;
        border-top-color: var(--fortune-mobile-line);
    }

    .today-fortune-page .fortune-mobile-saju-forecast .fortune-saju-forecast__head {
        align-items: flex-end;
        gap: 8px;
        padding: 17px 0 13px;
    }

    .today-fortune-page .fortune-mobile-saju-forecast .fortune-saju-forecast__head p {
        color: var(--fortune-mobile-accent-dark);
        font-size: 8.5px;
    }

    .today-fortune-page .fortune-mobile-saju-forecast .fortune-saju-forecast__head h3 {
        margin-top: 3px;
        font-size: 18px;
    }

    .today-fortune-page .fortune-mobile-saju-forecast .fortune-saju-forecast__head > span {
        max-width: 48%;
        color: var(--fortune-mobile-muted);
        font-size: 9px;
        line-height: 1.35;
        text-align: right;
    }

    .today-fortune-page .fortune-mobile-saju-forecast .fortune-saju-forecast__periods {
        gap: 2px;
        padding: 2px;
        border-radius: 9px;
        background: var(--fortune-mobile-paper-strong);
    }

    .today-fortune-page .fortune-mobile-saju-forecast .fortune-saju-forecast__periods button {
        min-height: 44px;
        padding: 0 3px;
        border-radius: 7px;
        font-size: 11px;
    }

    .today-fortune-page .fortune-mobile-saju-forecast .fortune-saju-forecast__categories {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: 13px;
        border-color: var(--fortune-mobile-line);
    }

    .today-fortune-page .fortune-mobile-saju-forecast .fortune-saju-forecast__categories button {
        min-height: 44px;
        padding: 0 3px;
        border-bottom: 1px solid var(--fortune-mobile-line);
        font-size: 10.5px;
    }

    .today-fortune-page .fortune-mobile-saju-forecast .fortune-saju-forecast__categories button:nth-child(n + 4) {
        border-bottom: 0;
    }

    .today-fortune-page .fortune-mobile-saju-forecast .fortune-saju-detail {
        padding: 22px 0 19px;
    }

    .today-fortune-page .fortune-mobile-saju-forecast .fortune-saju-detail__eyebrow {
        font-size: 9.5px;
    }

    .today-fortune-page .fortune-mobile-saju-forecast .fortune-saju-detail > h3 {
        margin-top: 8px;
        font-size: clamp(20px, 6vw, 24px);
        line-height: 1.4;
    }

    .today-fortune-page .fortune-mobile-saju-forecast .fortune-saju-detail__body {
        margin-top: 12px;
        color: #595149;
        font-size: 13px;
        line-height: 1.78;
    }

    .today-fortune-page .fortune-mobile-saju-forecast .fortune-saju-detail__points {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        margin-top: 18px;
        padding-top: 0;
        border-top: 1px solid var(--fortune-mobile-line);
    }

    .today-fortune-page .fortune-mobile-saju-forecast .fortune-saju-detail__points > div {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 9px;
        padding: 12px 0;
        border-bottom: 1px solid var(--fortune-mobile-line);
    }

    .today-fortune-page .fortune-mobile-saju-forecast .fortune-saju-detail__points span {
        color: var(--fortune-mobile-accent-dark);
        font-size: 9.5px;
    }

    .today-fortune-page .fortune-mobile-saju-forecast .fortune-saju-detail__points p {
        color: #5f5850;
        font-size: 12px;
        line-height: 1.6;
    }

    .today-fortune-page .fortune-mobile-saju-foundation {
        margin-top: 0;
        border-color: var(--fortune-mobile-line);
    }

    .today-fortune-page .fortune-mobile-saju-foundation > summary {
        padding: 15px 0;
        color: #645b52;
        font-size: 11px;
    }

    .today-fortune-page .fortune-mobile-saju-foundation .fortune-saju-foundation__content {
        padding-bottom: 18px;
    }

    .today-fortune-page .fortune-mobile-saju-foundation .fortune-mobile-result__headline {
        margin-top: 16px;
        font-size: 20px;
    }

    .today-fortune-page .fortune-mobile-reading-list--saju article {
        grid-template-columns: 82px minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    .fortune-shell {
        width: calc(100% - 20px);
    }

    .fortune-hero h1 {
        font-size: clamp(2.35rem, 12vw, 3.2rem);
        line-height: 1.02;
    }

    .fortune-hero h1 span {
        white-space: nowrap;
    }

    .fortune-trust-list {
        gap: 5px;
    }

    .fortune-trust-list span {
        min-height: 30px;
        padding: 0 9px;
        font-size: 0.7rem;
    }

    .fortune-orbit {
        width: 270px;
    }

    .fortune-orbit__animal {
        width: 31px;
        height: 31px;
        margin: -15.5px;
        transform: rotate(calc(var(--orbit-index) * 30deg)) translateY(-113px) rotate(calc(var(--orbit-index) * -30deg));
    }

    .fortune-section-head {
        flex-direction: column;
        margin-bottom: 18px;
    }

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

    .zodiac-button {
        min-height: 78px;
        border-radius: 12px;
    }

    .zodiac-button__emoji {
        font-size: 1.4rem;
    }

    .fortune-result__header {
        align-items: flex-start;
    }

    .fortune-result__identity > span {
        width: 48px;
        height: 48px;
        border-radius: 13px;
        font-size: 1.6rem;
    }

    .fortune-keyword strong {
        font-size: 1.1rem;
    }

    .fortune-score-grid {
        gap: 4px 14px;
    }

    .fortune-reading-grid article,
    .fortune-action-strip {
        padding: 18px;
    }

    .fortune-result__footer > div {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 340px) {
    .today-fortune-page .fortune-mobile-screen--home {
        padding-right: 10px;
        padding-left: 10px;
    }

    .today-fortune-page .fortune-mobile-screen-head {
        grid-template-columns: 36px minmax(0, 1fr) auto;
        gap: 7px;
        padding-right: 10px;
        padding-left: 10px;
    }

    .today-fortune-page .fortune-mobile-screen-head h2 {
        font-size: 16px;
    }

    .today-fortune-page .fortune-mobile-form,
    .today-fortune-page .fortune-mobile-result {
        padding-right: 10px;
        padding-left: 10px;
    }

    .today-fortune-page .fortune-mobile-action-bar {
        padding-right: 10px;
        padding-left: 10px;
    }

    .today-fortune-page .fortune-mobile-zodiac-grid {
        gap: 5px;
    }

    .today-fortune-page .fortune-mobile-zodiac {
        min-height: 62px;
    }

    .today-fortune-page .fortune-mobile-birth-row {
        gap: 7px;
    }

    .today-fortune-page .fortune-mobile-reading-list article {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 8px;
    }

    .today-fortune-page .fortune-mobile-reading-list--saju article {
        grid-template-columns: 72px minmax(0, 1fr);
    }
}

@media (max-width: 760px) and (max-height: 520px) {
    .today-fortune-page .fortune-mobile-screen--home {
        padding-top: 24px;
    }

    .today-fortune-page .fortune-mobile-service-list {
        margin-top: 22px;
    }

    .today-fortune-page .fortune-mobile-fieldset {
        margin-bottom: 16px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fortune-loader span,
    .fortune-result,
    .fortune-saju-result,
    .fortune-mobile-result {
        animation: none;
    }

    .zodiac-button,
    .fortune-score b,
    .fortune-service-tab,
    .fortune-saju-calendar button,
    .fortune-saju-date-grid label,
    .fortune-saju-time-input,
    .fortune-saju-period button,
    .fortune-saju-focus button,
    .fortune-saju-forecast__periods button,
    .fortune-saju-forecast__categories button,
    .fortune-saju-submit,
    .fortune-mobile-service,
    .fortune-mobile-service__arrow,
    .fortune-mobile-zodiac,
    .fortune-mobile-segment button,
    .fortune-mobile-focus button,
    .fortune-mobile-birth-row label,
    .fortune-mobile-time-input {
        transition: none;
    }
}
