.home-forecast {
    --hf-from: #aa234b;
    --hf-to: #611b70;
    --hf-mark: #ffbd74;
    --hf-surface: #fffdfb;
    --hf-soft: #fbf1e7;
    --hf-line: #ecd5c2;
    --hf-warm-row: #ffc677;
    --hf-warm-hover: #ffb85a;
    --hf-warm-strong: #812735;
    --hf-warm-period-ink: #fff8e7;
    --hf-warm-label: #592615;
    --hf-warm-value: #672b15;
    --hf-warm-value-bg: #ffe4b7;
    --hf-cool-row: #8cdfee;
    --hf-cool-hover: #71d3e7;
    --hf-cool-strong: #064464;
    --hf-cool-period-ink: #e5fcff;
    --hf-cool-label: #153f5c;
    --hf-cool-value: #103c61;
    --hf-cool-value-bg: #ccf2ff;
    --hf-page-main: var(--hf-from);
    --hf-page-main-ink: #fff;
    --hf-hit: #126142;
    --hf-hit-bg: #d9f8e7;
    --hf-miss: #9d2338;
    --hf-miss-bg: #ffe6ea;
    --hf-wait: #4b5464;
    --hf-wait-bg: #edf0f5;
    --hf-check: #774507;
    --hf-check-bg: #fff0cc;
    --hf-inset: clamp(12px, 2.4vw, 26px);
    --hf-period-column: clamp(117px, 12vw, 143px);
    --hf-status-column: 55px;
    --hf-detail-column: 81px;
    --hf-actions-gap: 7px;
    --hf-result-column: calc(var(--hf-status-column) + var(--hf-detail-column) + var(--hf-actions-gap));
    min-width: 0;
    border: 1px solid var(--hf-line);
    border-radius: 14px;
    background: var(--hf-surface);
    box-shadow: var(--pub-shadow);
    scroll-margin-block-start: 6px;
}

.home-forecast[data-region='am'] {
    --hf-from: #006e56;
    --hf-to: #164873;
    --hf-mark: #a9ffd3;
}

.home-forecast[data-region='xg'] {
    --hf-from: #234fb2;
    --hf-to: #512170;
    --hf-mark: #9be6ff;
}

:root[data-theme='dark'] .home-forecast {
    --hf-surface: #211916;
    --hf-soft: #2b201a;
    --hf-line: #4f3a33;
    --hf-warm-row: #612b56;
    --hf-warm-hover: #723465;
    --hf-warm-strong: #f8a7d6;
    --hf-warm-period-ink: #3e172f;
    --hf-warm-label: #ffd2e7;
    --hf-warm-value: #fff0f7;
    --hf-warm-value-bg: #794165;
    --hf-cool-row: #105461;
    --hf-cool-hover: #126673;
    --hf-cool-strong: #86edeb;
    --hf-cool-period-ink: #0e343c;
    --hf-cool-label: #caf8f7;
    --hf-cool-value: #ddfdff;
    --hf-cool-value-bg: #1b6a79;
    --hf-page-main: #ffcb81;
    --hf-page-main-ink: #271a0c;
    --hf-hit: #a1efc7;
    --hf-hit-bg: #143a31;
    --hf-miss: #ffbfc8;
    --hf-miss-bg: #492731;
    --hf-wait: #d3d8e1;
    --hf-wait-bg: #30303a;
    --hf-check: #ffdb93;
    --hf-check-bg: #42301a;
}

.home-forecast,
.fv-detail-shell[data-forecast-tone='cool'] .fv-poem {
    --hf-row: var(--hf-warm-row);
    --hf-row-hover: var(--hf-warm-hover);
    --hf-tone-strong: var(--hf-warm-strong);
    --hf-period-ink: var(--hf-warm-period-ink);
    --hf-label: var(--hf-warm-label);
    --hf-value: var(--hf-warm-value);
    --hf-value-bg: var(--hf-warm-value-bg);
}

.home-forecast-list li:nth-child(even),
.fv-detail-shell[data-forecast-tone='cool'],
.fv-detail-shell:not([data-forecast-tone='cool']) .fv-poem {
    --hf-row: var(--hf-cool-row);
    --hf-row-hover: var(--hf-cool-hover);
    --hf-tone-strong: var(--hf-cool-strong);
    --hf-period-ink: var(--hf-cool-period-ink);
    --hf-label: var(--hf-cool-label);
    --hf-value: var(--hf-cool-value);
    --hf-value-bg: var(--hf-cool-value-bg);
}

.home-forecast-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 16px;
    padding: clamp(8px, 1.25vw, 13px) var(--hf-inset);
    border-radius: 13px 13px 0 0;
    border-bottom: 3px solid var(--hf-mark);
    color: #fff;
    background: radial-gradient(ellipse at 88% 20%, rgb(255 255 255 / 8%), transparent 52%),
        linear-gradient(110deg, var(--hf-from), var(--hf-to));
}

.home-forecast-head > div { min-width: 0; }

.home-forecast-head :is(h1, h2) {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: clamp(1.19rem, 2.25vw, 1.55rem);
    font-weight: 820;
    line-height: 1.18;
}

.home-forecast-head :is(h1, h2)::before {
    content: '';
    inline-size: 5px;
    block-size: .9em;
    flex: 0 0 auto;
    border-radius: 4px;
    background: var(--hf-mark);
}

.home-forecast-head p { margin-block-start: 6px; font-size: .82rem; line-height: 1.55; }

.home-forecast-featured {
    padding-top: clamp(8px, 1.4vw, 15px);
    border-bottom: 1px solid var(--hf-line);
    background: var(--hf-soft);
}

.home-forecast-featured-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 2px 12px;
    padding: 0 var(--hf-inset) 7px;
}

.home-forecast-featured-head h3 {
    font-size: 1rem;
    font-size: clamp(1rem, 1.9vw, 1.18rem);
    line-height: 1.25;
    font-weight: 800;
}

.home-forecast-featured-head p {
    color: var(--hf-label);
    font-size: .8rem;
    line-height: 1.3;
}

.home-forecast-featured-card {
    display: block;
    margin-right: -1px;
    margin-left: -1px;
    border-radius: 14px;
    color: #fff;
    text-decoration: none;
}

.home-forecast-featured-card:focus-visible {
    outline: 3px solid var(--pub-accent);
    outline-offset: 3px;
}

.home-forecast-featured-card:hover .home-forecast-featured-gameplay {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.home-forecast-featured-cover {
    position: relative;
    display: block;
    aspect-ratio: 3 / 1;
    overflow: hidden;
    border-radius: inherit;
    background: #98101b;
}

.home-forecast-featured-cover::before {
    display: block;
    padding-top: 33.333%;
    content: "";
}

@supports (aspect-ratio: 3 / 1) {
    .home-forecast-featured-cover::before { display: none; }
}

.home-forecast-featured-image,
.home-forecast-featured-image img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.home-forecast-featured-image img { object-fit: cover; }

.home-forecast-featured-overlay {
    position: absolute;
    top: 2.5%;
    right: 26%;
    bottom: 6.5%;
    left: 26%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    text-align: center;
}

.home-forecast-featured-gameplay {
    display: block;
    padding: 3px 12px;
    padding: .13em .58em;
    border: 1px solid #ffecb9;
    border-radius: 999px;
    background: #ffd26a;
    background: linear-gradient(#fff0ac, #ffbf4f);
    box-shadow: 0 2px 9px rgba(60, 0, 8, .37);
    color: #63121e;
    font-size: 1.5rem;
    font-size: clamp(1.05rem, 4.35vw, 3.3rem);
    font-weight: 850;
    line-height: 1.1;
    white-space: nowrap;
}

.home-forecast-featured-picks {
    display: block;
    max-width: 100%;
    margin-top: .12em;
    padding: .22em .36em;
    border-radius: 6px;
    background: rgba(68, 3, 16, .88);
    color: #fff7df;
    font-size: 1.15rem;
    font-size: clamp(.92rem, 3.05vw, 2.4rem);
    font-variant-numeric: tabular-nums;
    font-weight: 850;
    line-height: 1.22;
}

.home-forecast-featured-pick-line { display: block; }

.home-forecast-featured-pick-group { display: inline; }

.home-forecast-featured-pick-group b,
.home-forecast-featured-pick {
    display: inline-block;
    margin: 0 .13em;
    white-space: nowrap;
}

.home-forecast-featured-pick-group b {
    color: #ffda8a;
    font-size: .9em;
}

.home-forecast-featured-pick-group--numbers { display: block; }

.home-forecast-featured-card[data-featured-category='twenty-four'] .home-forecast-featured-overlay {
    right: 20%;
    left: 20%;
}

.home-forecast-featured-card[data-featured-category='twenty-four'] .home-forecast-featured-picks {
    font-size: .95rem;
    font-size: clamp(.88rem, 2.9vw, 1.97rem);
}

.home-forecast-featured-card[data-featured-category='twenty-four'] .home-forecast-featured-pick-group--numbers {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1px 2px;
}

.home-forecast-featured-card[data-featured-category='twenty-four'] .home-forecast-featured-pick {
    margin: 0;
    border-radius: 3px;
    background: rgba(255, 238, 192, .13);
}

.home-forecast-featured-balls {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    pointer-events: none;
}

.home-forecast-featured-balls span {
    position: absolute;
    top: var(--ball-y);
    left: var(--ball-x);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3%;
    height: 9%;
    transform: translate(-50%, -50%) scale(var(--ball-scale));
    border: 1px solid rgba(255, 237, 198, .76);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, #ff9768, #a41924 62%, #590711);
    box-shadow: 0 1px 3px rgba(42, 4, 13, .55);
    color: white;
    font-size: 8px;
    font-size: clamp(6px, 1.18vw, 18px);
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 1px 1px #22060b;
}

.home-forecast-featured-balls .is-green {
    background: radial-gradient(circle at 30% 20%, #79cf68, #186339 62%, #0b4129);
}

.home-forecast-featured-balls .is-blue {
    background: radial-gradient(circle at 30% 20%, #8cd4ff, #2158a8 62%, #122d6e);
}

@media (max-width: 680px) {
    .home-forecast-featured-card { border-radius: 10px; }
    .home-forecast-featured-overlay {
        right: 10%;
        left: 10%;
    }
    .home-forecast-featured-gameplay {
        font-size: 1.2rem;
        font-size: clamp(1.08rem, 5.9vw, 1.85rem);
    }
    .home-forecast-featured-picks {
        font-size: .98rem;
        font-size: clamp(.89rem, 4.55vw, 1.43rem);
    }
    .home-forecast-featured-card[data-featured-category='twenty-four'] .home-forecast-featured-overlay {
        right: 10%;
        left: 10%;
    }
    .home-forecast-featured-pick-group--numbers .home-forecast-featured-pick {
        margin-right: .045em;
        margin-left: .045em;
    }
    .home-forecast-featured-card[data-featured-category='twenty-four'] .home-forecast-featured-picks {
        padding: .16em .29em;
        font-size: .97rem;
        font-size: clamp(.91rem, 4.75vw, 1.48rem);
        line-height: 1.08;
    }
    .home-forecast-featured-balls span { border-width: .5px; }
}

@media (max-width: 480px) {
    .home-forecast-featured-card[data-featured-category='four-zodiac-eight'] .home-forecast-featured-overlay,
    .home-forecast-featured-card[data-featured-category='five-zodiac-ten'] .home-forecast-featured-overlay,
    .home-forecast-featured-card[data-featured-category='four-tail-eight'] .home-forecast-featured-overlay,
    .home-forecast-featured-card[data-featured-category='twenty-four'] .home-forecast-featured-overlay {
        right: 5%;
        left: 5%;
    }
}

@media (max-width: 300px) {
    .home-forecast-featured-card[data-featured-category='five-zodiac-ten'] .home-forecast-featured-pick-group--numbers {
        font-size: .9em;
    }
}

.home-forecast-region {
    flex: 0 0 auto;
    padding: 4px 11px;
    border: 1px solid rgb(255 255 255 / 55%);
    border-radius: 999px;
    color: #fff;
    font-size: .83rem;
    font-weight: 750;
    line-height: 1.5;
}

.home-forecast-categories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1px clamp(3px, .4vw, 6px);
    padding: 6px var(--hf-inset);
    background: var(--hf-soft);
}

.public-site .home-forecast-categories a {
    --hf-button-accent: #9b224b;
    --hf-button-dot-light: #ff849c;
    --hf-button-dot: var(--hf-button-accent);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 34px;
    padding-inline: 5px;
    border-radius: 6px;
    color: var(--pub-ink);
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
}

.home-forecast-categories a:nth-child(7n+2) { --hf-button-accent: #81500d; --hf-button-dot-light: #ffca74; }
.home-forecast-categories a:nth-child(7n+3) { --hf-button-accent: #0b6b53; --hf-button-dot-light: #72dcb2; }
.home-forecast-categories a:nth-child(7n+4) { --hf-button-accent: #0c6181; --hf-button-dot-light: #72d2f2; }
.home-forecast-categories a:nth-child(7n+5) { --hf-button-accent: #3546a4; --hf-button-dot-light: #9cabff; }
.home-forecast-categories a:nth-child(7n+6) { --hf-button-accent: #733298; --hf-button-dot-light: #cfa0ff; }
.home-forecast-categories a:nth-child(7n+7) { --hf-button-accent: #95306c; --hf-button-dot-light: #fca2db; }

:root[data-theme='dark'] .home-forecast-categories a { --hf-button-dot: var(--hf-button-dot-light); }

.home-forecast-categories a::before {
    content: '';
    inline-size: 5px;
    block-size: 5px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--hf-button-dot);
}

.public-site .home-forecast-categories a:hover { text-decoration: underline; text-underline-offset: 3px; }
.public-site .home-forecast-categories a[aria-current] {
    background: var(--hf-button-accent);
    color: #fff;
}

.home-forecast-categories a[aria-current]::before { background: currentColor; }

.home-forecast-categories a:focus-visible,
.home-forecast-pages a:focus-visible,
.home-forecast-row:focus-visible {
    position: relative;
    z-index: 1;
    outline: 3px solid var(--pub-focus);
    outline-offset: 2px;
}

.home-forecast .home-forecast-message { padding: 19px var(--hf-inset); color: var(--pub-muted); }

.home-forecast-columns,
.home-forecast-row {
    display: grid;
    grid-template-columns: var(--hf-period-column) minmax(0, 1fr) var(--hf-result-column);
    align-items: center;
    column-gap: 12px;
    padding-inline: var(--hf-inset);
}

.home-forecast-columns {
    padding-block: 8px;
    border-block: 1px solid var(--hf-line);
    background: var(--hf-soft);
    color: var(--pub-muted);
    font-size: .79rem;
    font-weight: 750;
}

.home-forecast-columns > :last-child { inline-size: var(--hf-status-column); text-align: center; }
.home-forecast-list { margin: 0; padding: 0; list-style-type: none; }
.home-forecast-list li + li { border-block-start: 1px solid var(--hf-line); }

.home-forecast-row { min-height: 44px; padding-block: 6px; background: var(--hf-row); }
.home-forecast-row:hover { background: var(--hf-row-hover); }
.home-forecast-row:focus-visible { outline-offset: -3px; }
.home-forecast-list li:last-child .home-forecast-row { border-radius: 0 0 13px 13px; }
.home-forecast-list:has(+ .home-forecast-pages:not([hidden])) li:last-child .home-forecast-row { border-radius: 0; }

.home-forecast-period {
    justify-self: start;
    max-width: 100%;
    padding: 3px 7px;
    border-radius: 5px;
    background: var(--hf-tone-strong);
    color: var(--hf-period-ink);
    font-size: .89rem;
    font-weight: 820;
    font-variant-numeric: tabular-nums;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.home-forecast-row:hover .home-forecast-period { text-decoration: underline; text-underline-offset: 3px; }

.home-forecast-pick,
.home-forecast-group,
.home-forecast-values {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    min-width: 0;
}

.home-forecast-pick { gap: 6px 13px; }
.home-forecast-group { gap: 4px 6px; }
.home-forecast-group b { color: var(--hf-label); font-size: .76rem; line-height: 1.35; }
.home-forecast-values { gap: 4px; }
.home-forecast-values > span {
    min-width: 1.8em;
    padding: 1px 4px;
    border-radius: 4px;
    background: var(--hf-value-bg);
    color: var(--hf-value);
    font-size: .82rem;
    font-weight: 740;
    font-variant-numeric: tabular-nums;
    line-height: 1.55;
    text-align: center;
    overflow-wrap: anywhere;
}

.home-forecast-values > [data-match='1'] {
    background: var(--hf-hit-bg);
    color: var(--hf-hit);
    box-shadow: inset 0 0 0 1px currentColor;
}

.home-forecast-actions {
    display: grid;
    grid-template-columns: var(--hf-status-column) var(--hf-detail-column);
    align-items: center;
    column-gap: var(--hf-actions-gap);
    justify-self: end;
}

.home-forecast-badge {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 3.05rem;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--hf-wait-bg);
    color: var(--hf-wait);
    font-size: .77rem;
    font-weight: 780;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
}

.home-forecast-badge svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-forecast-badge[data-status='hit'] { background: var(--hf-hit-bg); color: var(--hf-hit); }
.home-forecast-badge[data-status='miss'] { background: var(--hf-miss-bg); color: var(--hf-miss); }
.home-forecast-badge[data-status='checking'] { background: var(--hf-check-bg); color: var(--hf-check); }
.home-forecast-actions .home-forecast-badge { justify-self: center; }

.home-forecast-detail-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 30px;
    padding: 2px 5px;
    border: 1px solid var(--hf-tone-strong);
    border-radius: 6px;
    background: var(--hf-value-bg);
    color: var(--hf-value);
    font-size: .77rem;
    font-weight: 790;
    line-height: 1.3;
    white-space: nowrap;
}

.home-forecast-detail-action::after {
    content: '';
    flex: 0 0 5px;
    block-size: 5px;
    border-block-start: 1.5px solid currentColor;
    border-inline-end: 1.5px solid currentColor;
    transform: rotate(45deg);
}

.home-forecast-row:is(:hover, :focus-visible) .home-forecast-detail-action {
    background: var(--hf-tone-strong);
    color: var(--hf-period-ink);
}

.home-forecast-pages {
    display: grid;
    grid-template-columns: minmax(0, 94px) auto minmax(0, 94px);
    justify-content: center;
    align-items: center;
    gap: clamp(5px, 2vw, 12px);
    padding: 11px var(--hf-inset);
    border-block-start: 1px solid var(--hf-line);
    border-radius: 0 0 13px 13px;
    background: var(--hf-soft);
}

.public-site .home-forecast-pages a {
    display: grid;
    grid-row: 1;
    place-items: center;
    min-height: 44px;
    padding: 4px;
    border: 1px solid currentColor;
    border-radius: 7px;
    background: var(--hf-surface);
    color: var(--pub-accent);
    font-size: .84rem;
    font-weight: 750;
    line-height: 1.3;
    text-align: center;
}

.home-forecast-pages [data-forecast-prev] { grid-column: 1; }
.home-forecast-pages [data-forecast-page-label] {
    grid-column: 2;
    grid-row: 1;
    color: var(--pub-ink);
    font-size: .82rem;
    font-weight: 720;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.public-site .home-forecast-pages [data-forecast-next] {
    grid-column: 3;
    border-color: transparent;
    background: var(--hf-page-main);
    color: var(--hf-page-main-ink);
}

.public-site .home-forecast-pages a[href]:hover { text-decoration: underline; text-underline-offset: 3px; }
.public-site .home-forecast-pages a:is(:not([href]), [aria-disabled='true']) {
    border-color: var(--hf-line);
    background: var(--hf-soft);
    color: var(--pub-muted);
    pointer-events: none;
}

body.public-site.fv-site { background: var(--pub-bg); }

.fv-detail-shell .fv-issue-summary,
.fv-detail-shell > .fv-empty {
    margin: 0;
    padding: 12px var(--hf-inset);
    border: 0;
    border-radius: 0;
    background: var(--hf-surface);
    box-shadow: none;
}

.fv-detail-shell .fv-issue-summary { background: var(--hf-row); }
.fv-detail-shell .fv-issue-summary .home-forecast-period {
    color: var(--hf-period-ink);
    font-size: clamp(1rem, 2.1vw, 1.36rem);
}
.fv-detail-shell .fv-issue-meta { color: var(--hf-label); }
.fv-detail-shell .fv-issue-actions { border-color: var(--hf-line); }

.public-site .fv-detail-shell .fv-issue-actions a {
    display: inline-flex;
    align-items: center;
    float: none;
    min-height: 36px;
    border-color: var(--hf-line);
    background: var(--hf-soft);
    color: var(--pub-accent);
}

.fv-detail-shell .fv-issue-summary .fv-issue-actions a {
    background: var(--hf-value-bg);
    color: var(--hf-value);
}

.public-site .fv-detail-shell .fv-issue-actions a:hover {
    border-color: currentColor;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fv-detail-shell > .home-forecast-categories { border-block: 1px solid var(--hf-line); }

.fv-detail-shell .fv-result .pub-ball {
    width: min(100%, 42px);
    aspect-ratio: 5 / 4;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: clamp(.78rem, 2.65vw, 1.16rem);
}

.fv-detail-shell .fv-result .pub-ball[data-wave='red'] { background: #d60000; }
.fv-detail-shell .fv-result .pub-ball[data-wave='blue'] { background: #1616ef; }
.fv-detail-shell .fv-result .pub-ball[data-wave='green'] { background: #007e00; }
.fv-detail-shell .fv-result-ball { color: var(--hf-label); }
.fv-detail-shell .fv-result-ball--special { color: var(--hf-tone-strong); }
.fv-detail-shell .fv-result-ball--special .pub-ball { outline-color: var(--pub-special); }

.fv-detail-shell .fv-detail {
    gap: clamp(10px, 1.4vw, 17px);
    padding: clamp(12px, 2.1vw, 22px) var(--hf-inset);
    scroll-margin-block-start: 7px;
}

.fv-detail-shell .fv-detail-copy { gap: clamp(10px, 1.4vw, 17px); }
.fv-detail-shell .fv-detail-copy .fv-panel {
    padding: clamp(13px, 2vw, 21px);
    border: 1px solid var(--hf-line);
    background: var(--hf-row);
    color: var(--hf-label);
    box-shadow: none;
}

.fv-detail-shell .fv-detail-copy h2 { color: var(--hf-tone-strong); }
.fv-detail-shell :is(.fv-rule, .fv-groups dt, .fv-clues dt, .fv-poem .fv-empty) { color: var(--hf-label); }
.fv-detail-shell .fv-clues dd { color: var(--hf-tone-strong); }
.fv-detail-shell .fv-groups > div { border-color: var(--hf-line); }

.fv-detail-shell .fv-value {
    min-width: 2em;
    min-height: 29px;
    padding: 3px 6px;
    border: 0;
    border-radius: 4px;
    background: var(--hf-value-bg);
    color: var(--hf-value);
    overflow-wrap: anywhere;
}

.fv-detail-shell .fv-value--matched,
.fv-detail-shell .fv-label--hit { background: var(--hf-hit-bg); color: var(--hf-hit); }
.fv-detail-shell .fv-value--matched { box-shadow: inset 0 0 0 1px currentColor; }
.fv-detail-shell .fv-label--miss { background: var(--hf-miss-bg); color: var(--hf-miss); }

.fv-site .fv-detail-shell .fv-poem-text {
    border-color: var(--hf-tone-strong);
    border-radius: 0 6px 6px 0;
    background: var(--hf-value-bg);
    color: var(--hf-value);
}

.fv-detail-shell .fv-illustration { border: 1px solid var(--hf-line); box-shadow: none; }

@media (max-width: 670px) {
    .home-forecast-categories { padding-inline: 9px; }
    .public-site .home-forecast-categories a { padding-inline: 3px; font-size: .76rem; }
    .home-forecast-columns { display: none; }
    .home-forecast-row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; }
    .home-forecast-pick { grid-column: 1 / -1; grid-row: 2; }
    .home-forecast-actions, .home-forecast-row > .home-forecast-badge { grid-column: 2; grid-row: 1; }
    .home-forecast-list { border-block-start: 1px solid var(--hf-line); }
}

@media (max-width: 390px) {
    .home-forecast-head { gap: 6px; }
    .home-forecast-list { --hf-detail-column: 71px; --hf-actions-gap: 5px; }
    .home-forecast-row { column-gap: 5px; }
    .home-forecast-detail-action { font-size: .75rem; }
}

@media (max-width: 319px) {
    .home-forecast-row .home-forecast-period { padding-inline: 4px; font-size: .76rem; }
}

@media (max-width: 300px) {
    .home-forecast-list { --hf-inset: 9px; }
}
