/* 大同帆虎商贸有限公司 · 赛季体育贸易门户 */
:root {
    color-scheme: light;
    --paper: #f3efe6;
    --ink: #1c1915;
    --pine: #1b4636;
    --pine-deep: #10291f;
    --clay: #a33b2b;
    --line: #ddd4c6;
    --muted: #5e584e;
    --card: #fffcf6;
    --max: 1120px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scrollbar-gutter: stable;
}

body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    background: var(--paper);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--pine);
}

a:hover {
    color: var(--clay);
}

h1, h2, h3 {
    font-family: "Songti SC", "Noto Serif SC", Palatino, "Times New Roman", serif;
    font-weight: 700;
    line-height: 1.28;
}

.skip {
    position: absolute;
    left: 8px;
    top: -40px;
    background: var(--pine);
    color: #fff;
    padding: 8px 12px;
    z-index: 50;
}

.skip:focus {
    top: 8px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--clay);
    outline-offset: 2px;
}

.wrap {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}

.site-top {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #f7f4ee;
    border-bottom: 1px solid var(--line);
    box-shadow: inset 0 4px 0 var(--clay);
}

.top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    gap: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.brand-mark {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    background: var(--pine);
    color: #f6f3ec;
    font-family: "Songti SC", Palatino, serif;
    font-size: 1.3rem;
}

.brand strong {
    display: block;
    font-size: clamp(0.92rem, 2vw, 1.05rem);
    line-height: 1.25;
}

.brand em {
    display: block;
    margin-top: 2px;
    font-style: normal;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: var(--muted);
}

.site-nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
    flex-wrap: wrap;
}

.site-nav a {
    text-decoration: none;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 6px 0;
}

.site-nav a[aria-current="page"] {
    color: var(--pine);
    box-shadow: inset 0 -2px 0 var(--clay);
}

.nav-toggle {
    display: none;
    min-height: 40px;
    padding: 0 14px;
    background: transparent;
    border: 1px solid var(--pine);
    color: var(--pine);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

.mast {
    min-height: 540px;
    display: flex;
    align-items: center;
    padding: 56px 0;
    background-image:
        linear-gradient(90deg, rgba(243, 239, 230, 0.97) 0%, rgba(243, 239, 230, 0.9) 36%, rgba(243, 239, 230, 0.42) 70%, rgba(243, 239, 230, 0.15) 100%),
        url("../image/mast-yard.jpg");
    background-size: cover;
    background-position: center right;
}

@supports (background-image: image-set(url("x") type("image/webp"))) {
    .mast {
        background-image:
            linear-gradient(90deg, rgba(243, 239, 230, 0.97) 0%, rgba(243, 239, 230, 0.9) 36%, rgba(243, 239, 230, 0.42) 70%, rgba(243, 239, 230, 0.15) 100%),
            image-set(
                url("../image/mast-yard.webp") type("image/webp"),
                url("../image/mast-yard.jpg") type("image/jpeg")
            );
    }
}

.kicker {
    color: var(--clay);
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
    margin-bottom: 12px;
}

.mast h1 {
    max-width: 12em;
    font-size: clamp(2rem, 4.6vw, 3.15rem);
}

.lede {
    max-width: 38rem;
    margin-top: 16px;
    color: var(--ink);
    font-size: 1.05rem;
}

.mast-actions,
.stack-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    background: var(--pine);
    color: #f6f3ec !important;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid var(--pine-deep);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.btn:hover {
    background: var(--pine-deep);
    color: #fff !important;
}

.btn-line {
    background: transparent;
    color: var(--pine) !important;
}

.btn-line:hover {
    background: var(--pine);
    color: #f6f3ec !important;
}

.mast-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
    list-style: none;
    max-width: 40rem;
}

.mast-points li {
    background: rgba(255, 252, 246, 0.88);
    border: 1px solid var(--line);
    padding: 8px 12px;
    font-size: 0.9rem;
}

.band {
    padding: 72px 0;
}

.band + .band {
    padding-top: 0;
}

.band-late {
    content-visibility: auto;
    contain-intrinsic-size: auto 560px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    border-left: 4px solid var(--clay);
    padding-left: 14px;
    margin-bottom: 26px;
}

.section-head h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-head p {
    color: var(--muted);
    max-width: 26rem;
    text-align: right;
    font-size: 0.92rem;
}

.lane-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.lane-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--line);
    color: inherit;
    text-decoration: none;
    min-height: 100%;
}

.lane-card:hover {
    border-color: var(--pine);
    color: inherit;
}

.shot {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #e6dfd2;
    border-bottom: 1px solid var(--line);
}

.shot picture,
.shot img {
    display: block;
    width: 100%;
    height: 100%;
}

.shot img {
    object-fit: cover;
}

.lane-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 16px 18px;
    flex: 1;
}

.lane-no {
    font-family: Palatino, "Songti SC", serif;
    color: var(--clay);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.lane-body h3 {
    font-size: 1.28rem;
}

.lane-body p {
    color: var(--muted);
    font-size: 0.94rem;
}

.more {
    margin-top: auto;
    font-weight: 700;
    color: var(--pine);
}

.season-grid,
.step-grid,
.note-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.step-grid,
.note-grid {
    grid-template-columns: repeat(3, 1fr);
}

.plain-card,
.note-card {
    background: var(--card);
    border: 1px solid var(--line);
    padding: 18px 16px 20px;
}

.plain-card h3,
.note-card h3 {
    font-size: 1.12rem;
    margin-bottom: 8px;
}

.plain-card p,
.note-card p {
    color: var(--muted);
    font-size: 0.94rem;
}

.note-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.note-card:hover {
    border-color: var(--clay);
    color: inherit;
}

.note-card time {
    display: block;
    color: var(--clay);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.visit-panel {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 24px;
    background: var(--pine);
    color: #f6f3ec;
    padding: 32px 28px;
}

.visit-panel h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.visit-panel a {
    color: #f3d2cb;
}

.visit-panel .btn {
    background: #f6f3ec;
    color: var(--pine) !important;
    border-color: #f6f3ec;
}

.visit-panel .btn:hover {
    background: #fff;
    color: var(--pine-deep) !important;
}

.visit-panel .btn-line {
    background: transparent;
    color: #f6f3ec !important;
    border-color: #f6f3ec;
}

.visit-panel .btn-line:hover {
    background: #f6f3ec;
    color: var(--pine) !important;
}

.visit-panel p + p {
    margin-top: 8px;
}

.page-hero {
    padding: 54px 0 42px;
    color: #f6f3ec;
    background-image:
        linear-gradient(180deg, rgba(16, 41, 31, 0.62), rgba(16, 41, 31, 0.78)),
        url("../image/mast-hall.jpg");
    background-size: cover;
    background-position: center;
}

@supports (background-image: image-set(url("x") type("image/webp"))) {
    .page-hero {
        background-image:
            linear-gradient(180deg, rgba(16, 41, 31, 0.62), rgba(16, 41, 31, 0.78)),
            image-set(
                url("../image/mast-hall.webp") type("image/webp"),
                url("../image/mast-hall.jpg") type("image/jpeg")
            );
    }
}

.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    max-width: 16em;
}

.page-hero p {
    max-width: 40rem;
    margin-top: 10px;
    color: #f3efe6;
}

.sheet {
    padding: 36px 0 72px;
}

.crumb {
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 18px;
}

.crumb a {
    text-decoration: none;
    font-weight: 700;
}

.sheet-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: start;
}

.sheet-figure {
    margin: 0;
    background: var(--card);
    border: 1px solid var(--line);
}

.sheet-figure img {
    display: block;
    width: 100%;
    height: auto;
}

.sheet-figure figcaption {
    padding: 8px 12px 10px;
    color: var(--muted);
    font-size: 0.8rem;
}

.copy h2,
.sheet-copy h2 {
    font-size: 1.35rem;
    margin: 28px 0 10px;
}

.copy h2:first-child {
    margin-top: 0;
}

.copy p,
.copy li,
.sheet-copy p,
.sheet-copy li {
    color: #3c3832;
}

.copy ul,
.sheet-copy ul {
    margin: 8px 0 0 1.2rem;
}

.copy li + li,
.sheet-copy li + li {
    margin-top: 6px;
}

.table-wrap {
    overflow-x: auto;
    margin-top: 12px;
    border: 1px solid var(--line);
    background: var(--card);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.94rem;
}

th,
td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

th {
    background: #efe8dc;
    font-weight: 700;
    white-space: nowrap;
}

.info-table th {
    width: 28%;
}

.related {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 22px;
}

.related a {
    font-weight: 700;
    text-decoration: none;
}

.split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: start;
}

.facts p {
    margin-top: 10px;
}

.brief {
    background: var(--card);
    border: 1px solid var(--line);
    padding: 20px 18px 22px;
}

.brief h2 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.brief label {
    display: block;
    margin-top: 14px;
    font-size: 0.88rem;
    font-weight: 700;
}

.brief label.check {
    display: flex;
    font-weight: 400;
}

.lead-in {
    margin-top: 28px;
}

.req {
    color: var(--clay);
}

.brief input,
.brief select,
.brief textarea {
    width: 100%;
    margin-top: 6px;
    padding: 10px 12px;
    border: 1px solid #cfc6b8;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

.brief textarea {
    min-height: 130px;
    resize: vertical;
}

.check {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-top: 16px;
    font-size: 0.88rem;
    font-weight: 400;
}

.check input {
    width: auto;
    margin-top: 4px;
}

.brief .btn {
    margin-top: 18px;
}

.form-note {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.84rem;
}

.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.article + .article {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.article h2 {
    font-size: 1.4rem;
}

.article time {
    display: block;
    color: var(--clay);
    font-size: 0.84rem;
    font-weight: 700;
    margin: 6px 0 8px;
}

.site-foot {
    background: var(--pine-deep);
    color: #e6efe9;
    padding: 34px 0 22px;
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 22px;
}

.site-foot a {
    color: #f3d2cb;
    text-decoration: none;
}

.site-foot a:hover {
    text-decoration: underline;
}

.foot-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.foot-note {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: #c9d7cf;
    font-size: 0.8rem;
}

.narrow {
    max-width: 760px;
}

@media (max-width: 980px) {
    .lane-grid,
    .season-grid {
        grid-template-columns: 1fr 1fr;
    }
    .sheet-layout,
    .split,
    .visit-panel,
    .foot-grid {
        grid-template-columns: 1fr;
    }
    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .section-head p {
        text-align: left;
    }
}

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex;
    }
    .site-nav {
        display: none;
        width: 100%;
    }
    .site-nav.is-open {
        display: block;
    }
    .top-row {
        flex-wrap: wrap;
        padding: 10px 0;
    }
    .site-nav ul {
        flex-direction: column;
        gap: 4px;
        padding: 4px 0 14px;
    }
    .mast {
        min-height: 0;
        background-image:
            linear-gradient(180deg, rgba(243, 239, 230, 0.42), rgba(243, 239, 230, 0.94) 52%),
            url("../image/mast-yard.jpg");
        background-position: center top;
    }
}

@supports (background-image: image-set(url("x") type("image/webp"))) {
    @media (max-width: 860px) {
        .mast {
            background-image:
                linear-gradient(180deg, rgba(243, 239, 230, 0.42), rgba(243, 239, 230, 0.94) 52%),
                image-set(
                    url("../image/mast-yard.webp") type("image/webp"),
                    url("../image/mast-yard.jpg") type("image/jpeg")
                );
        }
    }
}

@media (max-width: 640px) {
    .wrap {
        width: min(var(--max), calc(100% - 28px));
    }
    .band {
        padding: 48px 0;
    }
    .lane-grid,
    .season-grid,
    .step-grid,
    .note-grid {
        grid-template-columns: 1fr;
    }
    .visit-panel {
        padding: 24px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .lane-card,
    .btn,
    .note-card {
        transition: none;
    }
}
