/* Presentation only: no data, calculations or navigation behaviour. */
#archive .archive-panel>h2{background:#651f2c;color:#fff;border:0;border-top:4px solid #192e24;border-radius:0;padding:18px 20px;margin:18px 0 0;font:700 21px/1.3 Arial,sans-serif;letter-spacing:.01em}
#archive .archive-panel>h2+.archive-note{padding:13px 20px;margin:0 0 18px;background:#fff;border:1px solid #dedede;border-top:0;border-radius:0;line-height:1.5}
#archive .table-scroll{border:1px solid #dedede;border-radius:0;overflow:auto;background:#fff;isolation:isolate}
#archive .data-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;font-variant-numeric:tabular-nums}
#archive .data-table th{background:#f2f2f2;color:#2b2b2b;font-weight:700;border-bottom:1px solid #d8d8d8;border-right:1px solid #e0e0e0;padding:14px 13px;text-align:center;vertical-align:middle;white-space:nowrap}
#archive .data-table td{padding:14px 13px;border-bottom:1px solid #e5e5e5;border-right:1px solid #eeeeee;text-align:center;vertical-align:middle;background:#fff;line-height:1.45}
#archive .data-table tr:nth-child(even)>td{background:#fafafa}
#archive .data-table tr:hover>td{background:#f0f0f0}
#archive .data-table tr>:first-child{text-align:left}
#archive .data-table tr>:last-child{border-right:0}
#archive .data-table tbody tr:last-child>td{border-bottom:0}
#archive .data-table .text-button{font-size:inherit;line-height:inherit;text-align:inherit}
#panel-fielding .data-table tr>:last-child{font-weight:700;color:#96505a}

@media(max-width:760px){#archive .data-table{min-width:700px}#archive .data-table th,#archive .data-table td{padding:12px 11px}#archive .data-table tr>:first-child{position:sticky;left:0;z-index:1;min-width:140px;max-width:185px;box-shadow:2px 0 3px #192e2412}#archive .data-table thead tr>:first-child{z-index:2}#archive .data-table td[colspan]{position:static;box-shadow:none}#archive .archive-panel>h2{padding:16px;font-size:19px}}

/* Restrained shared accent, neutral tables and straight edges. */
#archive .data-table td{color:#4d4d4d}
#archive .data-table .text-button,#archive .data-table a,#panel-fielding .data-table tr>:last-child{color:#96505a}
#archive .data-table .text-button:hover,#archive .data-table a:hover{color:#703b43}
#archive .data-table .text-button{text-decoration:none;font-weight:600}
#archive .data-table .text-button:hover{text-decoration:underline}
#archive .archive-tabs button.active{background:#292929;color:white}
#report-panel-team [data-team-record-details]{border-radius:0}
#report-panel-team [data-team-record-details]>h3{background:#651f2c;color:white}
#report-panel-team .team-record-table th{background:#f3f3f3;color:#444}
#report-panel-team .team-record-table td{color:#4d4d4d}
#report-panel-team .team-record-table .text-button{color:#96505a}

/* Shared lighter green for the member header strip and footer. */
body.archive-legacy .topline,body.archive-legacy .footer{background:#192e24;color:#fff}
body.archive-legacy .footer .copyright{color:#e7eee9}

/* Compact scorebook shortcuts replace the count tiles visually. */
#statsHome .dashboard-metrics{display:none}
#statsHome .statistics-center{grid-template-columns:1fr 1.1fr;align-items:center;gap:24px;padding:28px}
#statsHome .stats-center-actions{grid-column:auto;display:flex;flex-wrap:wrap;gap:8px;align-content:center}
#statsHome .stats-center-actions button{padding:10px 13px;min-height:40px;font-size:13px;border-radius:5px}
#statsHome .stats-center-actions .primary-action{background:#a41320}
@media(max-width:760px){#statsHome .statistics-center{grid-template-columns:1fr;padding:22px}#statsHome .stats-center-actions{grid-column:1}}

/* Existing overview data presented as small green tabs below Statistics. */
#statsHome .statistics-center .dashboard-metrics{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
#statsHome .dashboard-metrics .statbox{display:flex;flex-direction:row;align-items:center;gap:7px;padding:8px 12px;min-height:0;border:1px solid #192e24;border-radius:5px;background:#192e24;box-shadow:none}
#statsHome .dashboard-metrics .statbox strong{font:700 15px/1.2 Arial,sans-serif;color:#fff}
#statsHome .dashboard-metrics .statbox span{margin:0;font:500 12px/1.2 Arial,sans-serif;color:#e6eee8;letter-spacing:0;text-transform:none}

.player-details{display:flex;flex-wrap:wrap;gap:24px;margin:16px 0 22px}.player-details>div{min-width:130px}.player-details dt{font-size:12px;color:#747474;margin-bottom:5px}.player-details dd{margin:0;min-height:22px;font-size:16px;font-weight:600;color:#444}

/* Full-width member footer, with its content aligned to the page. */
body.archive-legacy footer.member-footer{width:100%;max-width:none;margin:36px 0 0;padding:0;border:0;border-radius:0;background:#192e24;box-shadow:none;color:#f4f7f3}
.member-footer-inner{width:min(1300px,calc(100% - 48px));margin:0 auto;padding:42px 0 32px;display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}
.member-footer-logo{display:block;font:700 25px/1.2 Arial,sans-serif;color:#fff;letter-spacing:.04em;text-decoration:none}.member-footer-brand>span{display:block;margin-top:8px;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#c7d7cd}.member-footer-brand p{font-size:14px;margin:15px 0 0;color:#d4e0d7}
.member-footer-nav{display:flex;flex-direction:column;align-items:flex-start;gap:13px;font-size:14px}.member-footer-nav>a,.member-footer .footer-member-links a{color:#edf3ed;text-decoration:none!important;font-size:14px!important}.member-footer-nav>a:hover,.member-footer .footer-member-links a:hover{text-decoration:underline!important;text-underline-offset:4px}.member-footer .footer-member-links{padding:0!important;text-align:left!important}
.member-footer-bottom{width:min(1300px,calc(100% - 48px));margin:0 auto;padding:20px 0;display:flex;justify-content:space-between;gap:20px;border-top:1px solid #ffffff25;font-size:12px;color:#cfddd3}
@media(max-width:640px){.member-footer-inner{grid-template-columns:1fr 1fr;gap:28px;padding-top:30px}.member-footer-brand{grid-column:1/-1}.member-footer-bottom{flex-direction:column;gap:8px;padding:18px 0}}

/* Compact footer with member shortcuts and social icons. */
.member-footer-inner{grid-template-columns:1.4fr 1fr 1fr 1fr;align-items:start;gap:24px;padding:24px 0 20px}.member-footer-brand p{display:none}.member-footer-logo{font-size:20px}.member-footer-nav,.member-footer-social{gap:9px}.member-footer h3{margin:0 0 9px;font:600 13px/1.4 Arial,sans-serif;color:#d8e4db;letter-spacing:.03em}.member-footer-scorebook{text-align:right;font-size:14px}.member-footer-scorebook a{color:#f4f7f3;text-decoration:none}.member-footer-bottom{padding:13px 0;font-size:11px}.footer-social-icons{display:flex;gap:9px}.footer-social-icons button,.footer-social-icons a{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid #ffffff40;background:transparent;color:#f4f7f3;border-radius:4px;padding:0}.footer-social-icons button:disabled{opacity:.65;cursor:default}@media(max-width:640px){.member-footer-inner{grid-template-columns:1fr 1fr;padding:23px 0 18px;gap:20px}.member-footer-brand{grid-column:auto}.member-footer-scorebook{text-align:left;align-self:center}.member-footer-bottom{padding:12px 0}}

/* Footer hierarchy: headings above subordinate links. */
.member-footer .member-footer-nav h3,.member-footer .member-footer-social h3{font-size:14px;font-weight:700;color:#fff;margin-bottom:4px}
.member-footer .footer-member-links a{font-size:12px!important;font-weight:400!important;color:#d2dfd6!important;line-height:1.5}
.member-footer .member-footer-nav{gap:7px}
