/* active-web-sporttery.com.cn · local edition */
:root {
    color-scheme: light;
    --paper: #fdf7f5;
    --ink: #25313b;
    --blue: #3566a0;
    --mint: #d2e4e0;
    --line: #d8d1cd;
    --muted: #596773;
    font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-size: 17px;
    line-height: 1.8;
}
a { color: var(--blue); text-underline-offset: 0.2em; }
a:hover { color: #173d6a; }
.awsp-masthead {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.1rem max(4vw, calc((100vw - 1280px) / 2));
    border-bottom: 1px solid var(--line);
    background: #fffdfb;
}
.awsp-wordmark {
    color: var(--ink);
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    font-weight: 750;
    line-height: 1.4;
    text-decoration: none;
}
.awsp-masthead-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}
.awsp-topnav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.2rem;
    padding: 0.7rem max(4vw, calc((100vw - 1280px) / 2));
    border-bottom: 3px solid var(--blue);
    background: var(--mint);
}
.awsp-topnav a {
    display: inline-block;
    padding: 0.15rem 0;
    color: #243b4e;
    font-size: 0.89rem;
    font-weight: 650;
    text-decoration: none;
}
.awsp-main {
    width: min(1280px, 92vw);
    margin: 0 auto;
    padding: 2rem 0 5rem;
}
h1, h2, h3 { line-height: 1.35; }
h1 { margin: 0 0 1.1rem; font-size: clamp(2rem, 4.6vw, 3.6rem); }
h2 { margin: 0; font-size: clamp(1.3rem, 2.1vw, 1.9rem); }
h3 { margin: 0; font-size: 1.12rem; }
p { max-width: 76ch; }
figure { margin: 0; }
.awsp-image,
.awsp-opening-image,
.awsp-event-image,
.awsp-data-image,
.awsp-about-image,
.awsp-about-lead-image,
.awsp-headline-cover,
.awsp-report-image,
.awsp-ledger-image,
.awsp-ledger-cover-image,
.awsp-cn-plate-image,
.awsp-cn-small-image,
.awsp-pocket-cover,
.awsp-pocket-image {
    display: block;
    width: auto;
    height: auto;
    max-width: min(100%, 340px);
    max-height: 300px;
    object-fit: contain;
}
.awsp-section-head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    margin-bottom: 1rem;
}
.awsp-section-index {
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

/* Homepage: a lead essay followed by offset regional notice columns. */
.awsp-opening {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(180px, 0.65fr);
    gap: clamp(1.5rem, 5vw, 5rem);
    align-items: center;
    padding: 1rem 0 3rem;
    border-bottom: 1px solid var(--line);
}
.awsp-opening-copy h2 { margin-bottom: 0.7rem; }
.awsp-opening-copy p { margin: 0; font-size: 1.12rem; }
.awsp-opening-art { justify-self: end; }
.awsp-event-strip {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 0.2rem 2rem;
    align-items: center;
    padding: 2.4rem 0;
    border-bottom: 1px solid var(--line);
}
.awsp-event-strip .awsp-section-head { grid-column: 1 / -1; }
.awsp-event-art { grid-row: span 2; }
.awsp-event-strip p { margin: 0; }
.awsp-community-board {
    margin: 2.8rem 0;
    padding: 1.8rem;
    background: #fffdfb;
    border-left: 8px solid var(--blue);
}
.awsp-community-list {
    display: grid;
    grid-template-columns: 1.05fr 1.2fr 0.85fr;
    gap: 1.2rem;
}
.awsp-community-note {
    padding: 1.1rem;
    border-top: 1px solid var(--line);
}
.awsp-community-note:nth-child(2) { background: #edf4f2; }
.awsp-community-note p { margin-bottom: 0; }
.awsp-insight-column {
    max-width: 890px;
    margin: 3rem auto;
    padding: 0 1.5rem 1rem;
    border-left: 2px solid var(--blue);
}
.awsp-insight-column p { margin-bottom: 0; }
.awsp-faq-register {
    margin: 3rem 0;
    padding: 2rem clamp(1rem, 4vw, 3rem);
    background: #f2eeea;
}
.awsp-faq-list { border-top: 1px solid #bbb4ad; }
.awsp-faq-row { border-bottom: 1px solid #bbb4ad; }
.awsp-faq-row summary {
    padding: 0.95rem 0;
    cursor: pointer;
    font-weight: 700;
}
.awsp-answer { padding: 0 0 1rem; }
.awsp-answer p { margin: 0; }
.awsp-service-ribbon {
    margin: 2.7rem 0;
    padding: 1.4rem 1.7rem;
    border: 1px solid var(--blue);
    background: #fffdfb;
}
.awsp-service-ribbon p { margin-bottom: 0; }
.awsp-data-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin: 3rem 0;
    padding: 1.8rem 0;
    border-top: 3px double var(--blue);
    border-bottom: 3px double var(--blue);
}
.awsp-data-panel p { margin-bottom: 0; }
.awsp-news-ledger { margin: 4rem 0; }
.awsp-news-ledger > .awsp-section-head {
    justify-content: space-between;
    padding-bottom: 0.7rem;
    border-bottom: 3px solid var(--ink);
}
.awsp-brief-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; }
.awsp-brief {
    display: grid;
    grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr);
    gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--line);
}
.awsp-brief time,
.awsp-report time { color: var(--muted); font-variant-numeric: tabular-nums; }
.awsp-brief h3 { margin: 0.2rem 0 0.5rem; }
.awsp-brief p { margin: 0; }
.awsp-brief-figure { align-self: start; }
.awsp-brief-image { max-width: min(100%, 220px); max-height: 170px; }
.awsp-more { display: inline-block; margin-top: 0.65rem; font-weight: 700; }
.awsp-time-track {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1.5rem;
    margin: 3rem 0;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
}
.awsp-time-track p { margin-top: 0; }
.awsp-history-fold {
    margin: 3rem 0;
    padding: 1.6rem 0 1.6rem 2rem;
    border-left: 5px solid var(--mint);
}
.awsp-history-fold p { margin-bottom: 0; }
.awsp-identity-note {
    max-width: 860px;
    margin: 3rem auto 0;
    padding: 1.7rem 0;
    border-top: 1px dashed var(--blue);
}
.awsp-identity-note p { margin-bottom: 0; }

/* The about page uses a numbered editorial rail rather than homepage cards. */
.awsp-about-feature { display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 2rem 4rem; }
.awsp-about-title { grid-column: 1 / -1; padding-bottom: 1rem; border-bottom: 4px solid var(--blue); }
.awsp-about-title p { margin: 0; color: var(--blue); font-weight: 700; }
.awsp-about-lead { grid-column: 1; grid-row: 2; position: sticky; top: 1rem; align-self: start; }
.awsp-about-entries { grid-column: 2; grid-row: 2; }
.awsp-about-entry { padding: 0 0 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.awsp-about-entry header { display: flex; align-items: baseline; gap: 1rem; }
.awsp-about-entry header span { color: var(--blue); font-variant-numeric: tabular-nums; }
.awsp-about-entry p { margin-bottom: 0; }
.awsp-about-figure { margin: 1rem 0; }

/* The news page is a vertical dispatch sheet with a separate topic index. */
.awsp-headline-mast {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin: 1rem 0 2rem;
    padding: 1rem 0 2rem;
    border-bottom: 5px solid var(--blue);
}
.awsp-mast-kicker { margin: 0 0 0.4rem; color: var(--blue); font-weight: 700; }
.awsp-headline-mast h1 { margin: 0; }
.awsp-news-guide {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.3rem;
    margin: 2rem 0 4rem;
}
.awsp-news-guide-row { padding: 1rem; background: #fffdfb; border-top: 2px solid var(--mint); }
.awsp-news-guide-row p { margin-bottom: 0; }
.awsp-report-list { max-width: 1000px; margin: 0 auto; }
.awsp-report-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--ink);
}
.awsp-report-heading p { margin: 0; color: var(--muted); }
.awsp-report {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 0.25rem 1.6rem;
    padding: 1.5rem 0 2rem;
    border-bottom: 1px solid var(--line);
}
.awsp-report time { grid-column: 1; }
.awsp-report h2,
.awsp-report p,
.awsp-report-figure { grid-column: 2; }
.awsp-report h2 { margin-bottom: 0.5rem; }
.awsp-report p { margin: 0; }
.awsp-report-figure { margin: 0.5rem 0 0.8rem; }

/* Historical data page: an offset ledger, not a live score widget. */
.awsp-ledger { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 2rem 3rem; }
.awsp-ledger-header { grid-column: 1; align-self: start; }
.awsp-ledger-header > p:first-child { color: var(--blue); font-weight: 700; }
.awsp-ledger-deck { padding-top: 1rem; border-top: 1px solid var(--line); }
.awsp-ledger-cover { grid-column: 2; grid-row: 1; }
.awsp-ledger-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 3rem; }
.awsp-ledger-entry { padding: 1.2rem 0; border-top: 1px solid var(--blue); }
.awsp-ledger-entry p { margin-bottom: 0; }
.awsp-ledger-art { margin: 1rem 0; }

/* Chinese edition: a set of typographic columns with a compact image strip. */
.awsp-cn-edition { display: grid; grid-template-columns: 1fr 0.7fr; gap: 2rem 4rem; }
.awsp-cn-header { grid-column: 1 / -1; max-width: 800px; }
.awsp-cn-label { color: var(--blue); font-weight: 750; }
.awsp-cn-header h1 { margin-bottom: 0.6rem; }
.awsp-cn-lead { font-size: 1.15rem; }
.awsp-cn-plate { grid-column: 2; grid-row: 2; align-self: start; }
.awsp-cn-columns { grid-column: 1; grid-row: 2 / span 2; }
.awsp-cn-entry { padding: 1.2rem 0; border-top: 1px solid var(--line); }
.awsp-cn-entry p { margin-bottom: 0; }
.awsp-cn-mark { display: block; margin-top: 0.5rem; color: var(--muted); font-size: 0.78rem; }
.awsp-cn-visuals { grid-column: 2; display: flex; flex-direction: column; gap: 1.2rem; }
.awsp-cn-small-image { max-width: min(100%, 240px); }

/* App route: a narrow pocket column alongside a broad reading stream. */
.awsp-pocket-edition { display: grid; grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr); gap: 2rem 4rem; }
.awsp-pocket-side {
    position: sticky;
    top: 1rem;
    align-self: start;
    padding: 1.3rem;
    background: var(--mint);
}
.awsp-pocket-caption { margin: 0; color: #274b64; font-weight: 700; }
.awsp-pocket-side h1 { margin: 0.7rem 0; font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.awsp-pocket-stream { display: grid; grid-template-columns: 1fr; }
.awsp-pocket-card { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.awsp-pocket-card header span { color: var(--blue); font-size: 0.8rem; }
.awsp-pocket-card p { margin-bottom: 0; }
.awsp-pocket-gallery {
    grid-column: 2;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--blue);
}
.awsp-pocket-image { max-width: min(28%, 190px); max-height: 150px; }

.awsp-site-foot {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.8rem max(4vw, calc((100vw - 1280px) / 2));
    background: #25313b;
    color: #f9f7f4;
    font-size: 0.88rem;
}
.awsp-site-foot p { margin: 0.2rem 0; }
.awsp-copyright { font-weight: 700; }
.awsp-foot-links { display: flex; gap: 1.2rem; align-items: flex-start; }
.awsp-foot-links a { color: #fff; }

@media (max-width: 760px) {
    body { font-size: 16px; }
    .awsp-masthead { align-items: flex-start; flex-direction: column; gap: 0.2rem; padding: 1rem 4vw; }
    .awsp-topnav { gap: 0.25rem 0.9rem; padding: 0.65rem 4vw; }
    .awsp-topnav a { font-size: 0.82rem; }
    .awsp-main { width: 92vw; padding-top: 1.3rem; }
    .awsp-opening { grid-template-columns: 1fr; gap: 1rem; }
    .awsp-opening-art { justify-self: start; }
    .awsp-event-strip { grid-template-columns: 1fr; }
    .awsp-event-art { grid-row: auto; }
    .awsp-community-list { grid-template-columns: 1fr; }
    .awsp-brief-stack { grid-template-columns: 1fr; }
    .awsp-brief { grid-template-columns: minmax(0, 0.45fr) minmax(0, 1.55fr); }
    .awsp-time-track { grid-template-columns: 1fr; gap: 0; }
    .awsp-about-feature { grid-template-columns: 1fr; }
    .awsp-about-title, .awsp-about-lead, .awsp-about-entries { grid-column: 1; grid-row: auto; }
    .awsp-about-lead, .awsp-pocket-side { position: static; }
    .awsp-news-guide { grid-template-columns: 1fr; }
    .awsp-headline-mast { align-items: flex-start; flex-direction: column; }
    .awsp-report { grid-template-columns: 1fr; }
    .awsp-report time, .awsp-report h2, .awsp-report p, .awsp-report-figure { grid-column: 1; }
    .awsp-ledger { grid-template-columns: 1fr; }
    .awsp-ledger-header, .awsp-ledger-cover, .awsp-ledger-grid { grid-column: 1; grid-row: auto; }
    .awsp-ledger-grid { grid-template-columns: 1fr; }
    .awsp-cn-edition { grid-template-columns: 1fr; }
    .awsp-cn-header, .awsp-cn-plate, .awsp-cn-columns, .awsp-cn-visuals { grid-column: 1; grid-row: auto; }
    .awsp-cn-visuals { flex-direction: row; }
    .awsp-pocket-edition { grid-template-columns: 1fr; }
    .awsp-pocket-gallery { grid-column: 1; }
    .awsp-site-foot { flex-direction: column; padding: 1.4rem 4vw; }
}
