/* Result and tool landing sections only. Keep the shared SEO and footer styles intact. */
.seo-landing {
    --landing-accent: #806011;
    --draw-prize-accent: var(--landing-accent);
}

body.dark .seo-landing {
    --landing-accent: #edce80;
}

.seo-landing .landing-content {
    display: grid;
    gap: 5px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.seo-landing .landing-hero {
    padding: 22px 20px;
    border: 1px solid #69522d;
    border-radius: 18px;
    background: radial-gradient(ellipse at 100% 0, #4d3a1c, transparent 75%), #1c1811;
    box-shadow: 0 10px 25px rgba(34, 24, 10, .12);
}

.seo-landing .landing-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    color: #e6c674;
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .13em;
}

.seo-landing .landing-eyebrow::before {
    content: "";
    width: 18px;
    height: 2px;
    background: #d4af37;
}

.seo-landing .landing-eyebrow span {
    font-weight: 500;
    letter-spacing: .03em;
}

.seo-landing .landing-hero h1 {
    margin: 0;
    color: #fff5dc;
    font-size: 1.28rem;
    line-height: 1.6;
    text-wrap: balance;
}

.seo-landing .landing-shortcuts {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 8px;
}

.seo-landing .landing-shortcuts a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    min-height: 40px;
    padding: 6px 2px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface);
    color: var(--landing-accent);
    font-size: .73rem;
    font-weight: 800;
    line-height: 1.4;
    text-decoration: none;
}

.seo-landing .landing-shortcuts span {
    font-size: .68rem;
    font-weight: 500;
}

.seo-landing .landing-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: 0 5px 18px rgba(20, 22, 26, .035);
    scroll-margin-top: 18px;
}

/* Leave room for the live board's sticky brand control when jumping down. */
.app-shell ~ .seo-landing .landing-card {
    scroll-margin-top: 70px;
}

.seo-landing .landing-intro {
    padding: 4px 18px;
}

.seo-landing .landing-language {
    padding: 5px;
}

.seo-landing .landing-language + .landing-language {
    border-top: 1px solid var(--line);
}

.seo-landing .landing-language-label {
    display: inline-block;
    margin-bottom: 6px;
    padding: 3px 7px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--surface-soft);
    color: var(--landing-accent);
    font-size: .61rem;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1.4;
}

.seo-landing .landing-language p {
    margin: 0;
    font-size: .84rem;
    line-height: 1.85;
}

.seo-landing .landing-intro .seo-cta {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin: 0 0 16px;
    padding: 11px 13px;
    border: 1px solid #806011;
    background: #241d12;
    color: #f5dc94 !important;
    font-size: .8rem;
    line-height: 1.6;
}

.seo-landing .landing-section {
    padding: 18px 16px;
}

.seo-landing .landing-section > h2,
.seo-landing .landing-latest > summary h2 {
    margin: 0;
    font-size: .96rem;
    line-height: 1.5;
}

.seo-landing .landing-section > h2 {
    padding-left: 11px;
    border-left: 3px solid var(--gold);
}

.seo-landing .landing-section > h2 span,
.seo-landing .landing-latest > summary h2 span {
    display: block;
    margin-top: 3px;
    color: var(--text-soft);
    font-size: .76rem;
    font-weight: 500;
}

.seo-landing .landing-latest {
    margin: 0;
}

.seo-landing .landing-latest > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 17px 16px;
    background: #241d12;
    color: #fff5dc;
}

.seo-landing .landing-latest > summary h2 span {
    color: #e6c674;
}

.seo-landing .landing-latest > summary::after {
    content: none;
}

.seo-landing .landing-disclosure {
    display: grid;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid #806a3b;
    border-radius: 50%;
    color: #edce80;
}

.seo-landing .landing-disclosure::before {
    content: "+";
    font-size: 1.1rem;
    line-height: 1;
}

.seo-landing .landing-latest[open] .landing-disclosure::before {
    content: "−";
}

.seo-landing .landing-latest-body {
    padding: 16px;
}

.seo-landing .landing-draw-meta {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
}

.seo-landing .landing-draw-meta .seo-meta {
    margin: 0;
    font-size: .73rem !important;
    line-height: 1.7;
}

.seo-landing .landing-draw-meta .seo-meta > span {
    display: block;
    color: var(--text-soft);
    font-size: .66rem;
}

.seo-landing .landing-draw-meta strong {
    color: var(--text);
}

.seo-landing .landing-results-table {
    margin: 14px 0 0;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    font-size: .79rem;
}

.seo-landing .landing-results-table th,
.seo-landing .landing-results-table td {
    padding: 0 7px;
    vertical-align: middle;
    white-space: nowrap;
}

.seo-landing .landing-results-table thead th {
    height: 38px;
    background: var(--surface-soft);
    color: var(--text-soft);
    font-size: .67rem;
}

.seo-landing .landing-results-table th:not(:first-child),
.seo-landing .landing-results-table td:not(:first-child) {
    text-align: center;
}

    .seo-landing .landing-results-table td {
        height: 49px;
        font-weight: 800;
        font-size: 16px;
        letter-spacing: .025em;
    }

.seo-landing .landing-results-table tbody tr:last-child > * {
    border-bottom: 0;
}

.seo-landing .landing-results-table tbody tr:nth-child(even) {
    background: var(--surface-soft);
}

.seo-landing .landing-results-table a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--landing-accent);
    text-decoration: underline;
    text-decoration-color: var(--line);
    text-underline-offset: 4px;
}

.seo-landing .landing-recent-table th[scope="row"] a {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    font-size: .76rem;
    font-weight: 700;
}

.seo-landing .landing-recent-table small {
    font-size: .6rem;
    font-weight: 500;
    text-decoration: none;
}

.seo-landing .landing-brands-table {
    table-layout: fixed;
}

.seo-landing .landing-brands-table th:first-child {
    width: 40%;
    white-space: normal;
}

.seo-landing .landing-brands-table thead small {
    display: block;
    font-size: .59rem;
    font-weight: 500;
}

.seo-landing .landing-brands-table th[scope="row"] {
    padding-top: 7px;
    padding-bottom: 7px;
}

.seo-landing .landing-brands-table th[scope="row"] a {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 44px;
    font-size: .75rem;
}

.seo-landing .landing-brands-table th[scope="row"] span {
    color: var(--text-soft);
    font-size: .65rem;
    font-weight: 500;
}

.seo-landing .landing-brands-table .landing-board-date {
    display: block;
    margin-top: 3px;
    color: var(--text-soft);
    font-size: .63rem;
    font-weight: 500;
    letter-spacing: 0;
}

.seo-landing .landing-years,
.seo-landing .landing-other {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.seo-landing .landing-years {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.seo-landing .landing-years a {
    display: grid;
    min-height: 44px;
    padding: 8px 3px;
    place-items: center;
    border-radius: 9px;
    color: var(--landing-accent);
    font-size: .77rem;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 2px 0 var(--line);
}

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

.seo-landing .landing-other a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 60px;
    padding: 9px 25px 9px 11px;
    border-radius: 10px;
    font-size: .76rem;
    line-height: 1.6;
}

.seo-landing .landing-other a::after {
    content: "›";
    position: absolute;
    top: 50%;
    right: 10px;
    color: var(--landing-accent);
    font-size: 1.1rem;
    font-weight: 500;
    transform: translateY(-50%);
}

.seo-landing .landing-other a span {
    color: var(--text-soft);
    font-size: .68rem;
    font-weight: 500;
}

.seo-landing .seo-faq {
    display: grid;
    gap: 9px;
    margin-top: 16px;
}

.seo-landing .seo-faq details {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 11px;
}

.seo-landing .seo-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    padding: 12px;
    font-size: .81rem;
    line-height: 0.7;
    list-style: none;
}

.seo-landing .seo-faq summary::-webkit-details-marker {
    display: none;
}

.seo-landing .seo-faq summary::after {
    content: "+";
    flex: 0 0 18px;
    color: var(--landing-accent);
    font-size: 1.15rem;
    font-weight: 500;
    text-align: center;
}

.seo-landing .seo-faq details[open] {
    border-color: var(--gold);
    background: var(--surface-soft);
}

.seo-landing .seo-faq details[open] summary::after {
    content: "−";
}

.seo-landing .seo-faq details p {
    margin: 0;
    padding: 0 12px 14px;
    font-size: .8rem;
    line-height: 1.85;
}

.seo-landing a:focus-visible,
.seo-landing summary:focus-visible {
    outline: 2px solid var(--landing-accent);
    outline-offset: -3px;
    border-radius: 5px;
}

.seo-landing .landing-latest > summary:focus-visible {
    outline-color: #edce80;
}

@media (hover: hover) {
    .seo-landing .landing-shortcuts a:hover,
    .seo-landing .seo-chip-list a:hover {
        border-color: var(--gold);
        box-shadow: 0 3px 10px rgba(128, 96, 17, .12);
    }

    .seo-landing .landing-results-table a:hover {
        text-decoration-color: currentColor;
    }

    .seo-landing .seo-faq summary:hover {
        background: var(--surface-soft);
    }
}

@media (max-width: 360px) {
    .seo-landing .landing-hero {
        padding: 19px 16px;
    }

    .seo-landing .landing-section,
    .seo-landing .landing-latest-body {
        padding: 16px 12px;
    }

    .seo-landing .landing-intro {
        padding-right: 14px;
        padding-left: 14px;
    }

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

    .seo-landing .landing-results-table th,
    .seo-landing .landing-results-table td {
        padding-right: 5px;
        padding-left: 5px;
    }

    .seo-landing .landing-recent-table th[scope="row"] a {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 1px;
        padding: 5px 0;
        font-size: .71rem;
    }
}
