﻿.xxs-history{color:#182230;background:#f4f6f8;font-family:"DM Sans","Segoe UI",sans-serif;line-height:1.5;max-width:1180px;margin:2rem auto;padding:0 1rem 4rem;box-sizing:border-box}.xxs-history *,.xxs-history *::before,.xxs-history *::after{box-sizing:inherit}.xxs-history h1,.xxs-history h2,.xxs-history h3,.xxs-history p{margin-top:0}.xxs-history h1,.xxs-history h2,.xxs-history h3{letter-spacing:0;line-height:1.1}.xxs-history button,.xxs-history input,.xxs-history select{font:inherit}.xxs-history button,.xxs-history select{cursor:pointer}.xxs-history button{border:0}.xxs-history__eyebrow{color:#c8a15a;font-size:.72rem;font-weight:800;letter-spacing:.12em;margin-bottom:.7rem}.xxs-history__hero{background:#081c33;border-radius:18px;color:#fff;display:flex;justify-content:space-between;gap:2rem;min-height:210px;overflow:hidden;padding:2.25rem;position:relative}.xxs-history__hero::after{background:linear-gradient(135deg, transparent 25%, rgba(46, 125, 209, 0.35));content:"";inset:0;pointer-events:none;position:absolute}.xxs-history__hero>*{position:relative;z-index:1}.xxs-history__hero h1{font-size:clamp(2rem,5vw,4rem);max-width:560px}.xxs-history__hero p:not(.xxs-history__eyebrow){color:#c6d3e1;max-width:450px}.xxs-history__hero-stats{align-self:flex-end;display:grid;gap:.8rem;min-width:230px}.xxs-history__hero-stats span{border-left:2px solid #c8a15a;color:#c6d3e1;padding-left:.8rem}.xxs-history__hero-stats strong{color:#fff;display:block;font-size:1.05rem}.xxs-history__filters{align-items:end;background:#fff;border:1px solid #e4e7ec;border-radius:14px;box-shadow:0 18px 45px rgba(8,28,51,.1);display:grid;gap:.65rem .8rem;grid-template-columns:repeat(4, minmax(0, 1fr));margin:-1.25rem 1.25rem 2rem;padding:1.25rem;position:relative;z-index:2}.xxs-history__filters label{color:#667085;font-size:.75rem;font-weight:700}.xxs-history__filter{background:#f4f6f8;border:1px solid #e4e7ec;border-radius:8px;color:#182230;min-height:44px;padding:.6rem .75rem;width:100%}.xxs-history__filter:focus-visible,.xxs-history button:focus-visible,.xxs-history details summary:focus-visible{outline:3px solid #c8a15a;outline-offset:2px}.xxs-history__filter-button{align-self:stretch;background:#123b67;border-radius:8px;color:#fff;font-weight:700;min-height:44px;padding:.65rem 1rem;transition:background .2s ease,transform .2s ease}.xxs-history__filter-button:hover{background:#2e7dd1;transform:translateY(-1px)}.xxs-history__section-heading{align-items:end;display:flex;justify-content:space-between;margin:2rem 0 1rem}.xxs-history__section-heading h2{margin-bottom:0}.xxs-history__summary{display:grid;gap:.8rem;grid-template-columns:repeat(4, 1fr)}.xxs-history__stat{background:#fff;border-left:4px solid #c8a15a;border-radius:8px;box-shadow:0 5px 18px rgba(8,28,51,.06);padding:1rem}.xxs-history__stat strong{color:#123b67;display:block;font-size:1.6rem}.xxs-history__stat span{color:#667085;font-size:.8rem}.xxs-history__hero-stats{font-variant-numeric:tabular-nums}#xxsports-historical-standings-app.xxs-history .xxs-history__hero h1{color:#f5d680 !important;-webkit-text-fill-color:#f5d680 !important;opacity:1 !important;text-shadow:none !important}.xxs-history__filters select:disabled,.xxs-history__filters input:disabled{cursor:not-allowed;opacity:.55}.xxs-history__filter-field{min-width:0}.xxs-history__filter-field label{display:block;margin-bottom:.35rem}.xxs-history__partial-notice{background:#fff8e7;border:1px solid #e5c875;border-radius:8px;color:#694f12;margin:-1rem 1.25rem 1.5rem;padding:.75rem 1rem}.xxs-history__table-wrap{background:#fff;border:1px solid #e4e7ec;border-radius:14px;box-shadow:0 18px 45px rgba(8,28,51,.1);overflow-x:auto}.xxs-history__table{border-collapse:collapse;min-width:980px;table-layout:fixed;width:100%}.xxs-history__table th{background:#081c33;color:#fff;font-size:clamp(11px,.8vw,13px);hyphens:none;overflow-wrap:normal;padding:10px 12px;position:sticky;top:0;box-sizing:border-box;text-align:center;white-space:nowrap;word-break:normal;z-index:1}.xxs-history__table td{border-bottom:1px solid #e4e7ec;font-size:clamp(12px,.9vw,14px);hyphens:none;overflow-wrap:normal;padding:10px 12px;box-sizing:border-box;white-space:nowrap;word-break:normal}.xxs-history__table th.xxs-history__cell--team,.xxs-history__table td.xxs-history__cell--team{width:28%;text-align:left;vertical-align:middle}.xxs-history__table th.xxs-history__cell--position,.xxs-history__table td.xxs-history__cell--position,.xxs-history__table th.xxs-history__cell--played,.xxs-history__table td.xxs-history__cell--played,.xxs-history__table th.xxs-history__cell--points,.xxs-history__table td.xxs-history__cell--points,.xxs-history__table th.xxs-history__cell--goals-for,.xxs-history__table td.xxs-history__cell--goals-for,.xxs-history__table th.xxs-history__cell--goals-against,.xxs-history__table td.xxs-history__cell--goals-against,.xxs-history__table th.xxs-history__cell--goal-difference,.xxs-history__table td.xxs-history__cell--goal-difference,.xxs-history__table th.xxs-history__cell--wins,.xxs-history__table td.xxs-history__cell--wins,.xxs-history__table th.xxs-history__cell--draws,.xxs-history__table td.xxs-history__cell--draws,.xxs-history__table th.xxs-history__cell--losses,.xxs-history__table td.xxs-history__cell--losses,.xxs-history__table th.xxs-history__cell--loses,.xxs-history__table td.xxs-history__cell--loses,.xxs-history__table th.xxs-history__cell--yellow,.xxs-history__table td.xxs-history__cell--yellow,.xxs-history__table th.xxs-history__cell--red,.xxs-history__table td.xxs-history__cell--red,.xxs-history__table th.xxs-history__cell--penalties,.xxs-history__table td.xxs-history__cell--penalties{width:6%;font-variant-numeric:tabular-nums;text-align:center;vertical-align:middle}.xxs-history__table th:not(.xxs-history__cell--team),.xxs-history__table td:not(.xxs-history__cell--team){width:6%}.xxs-history__table th.xxs-history__cell--team,.xxs-history__table td.xxs-history__cell--team{font-size:clamp(12px,.95vw,14px)}.xxs-history__table tbody tr:hover{background:#edf4fb}.xxs-history__table .xxs-history__rank-1 td:first-child,.xxs-history__table .xxs-history__rank-2 td:first-child,.xxs-history__table .xxs-history__rank-3 td:first-child{color:#c8a15a;font-weight:800}.xxs-history__standings-cards{display:none}.xxs-history__matchday{background:#fff;border:1px solid #e4e7ec;border-radius:10px;margin-bottom:.7rem;overflow:hidden}.xxs-history__matchday summary{color:#123b67;cursor:pointer;font-weight:800;list-style:none;padding:1rem 1.15rem}.xxs-history__matchday summary::-webkit-details-marker{display:none}.xxs-history__matchday summary::after{content:"+";float:right;color:#c8a15a;font-size:1.3rem}.xxs-history__matchday[open] summary::after{content:"−"}.xxs-history__matches{border-top:1px solid #e4e7ec;display:grid;gap:.6rem;padding:.8rem}.xxs-history__match-card{align-items:center;background:#f4f6f8;border:1px solid rgba(0,0,0,0);border-radius:8px;display:grid;gap:1rem;grid-template-columns:1fr auto 1fr;padding:.85rem 1rem;text-align:center;width:100%}.xxs-history__match-card:hover{border-color:#2e7dd1;background:#eef6ff}.xxs-history__team{overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap}.xxs-history__team--away{text-align:left}#xxsports-historical-standings-app.xxs-history .xxs-history__match-card .xxs-history__team,#xxsports-historical-standings-app.xxs-history .xxs-history__match-card .xxs-history__team--away,#xxsports-historical-standings-app.xxs-history .xxs-history__match-card:hover .xxs-history__team,#xxsports-historical-standings-app.xxs-history .xxs-history__match-card:focus .xxs-history__team,#xxsports-historical-standings-app.xxs-history .xxs-history__match-card:focus-visible .xxs-history__team{color:#111827 !important;-webkit-text-fill-color:#111827 !important;opacity:1 !important;text-shadow:none !important}.xxs-history__score{color:#123b67;font-size:1.15rem;white-space:nowrap}.xxs-history__modal[aria-hidden=true]{display:none}.xxs-history__modal{align-items:center;background:rgba(8,28,51,.72);display:flex;inset:0;justify-content:center;padding:1rem;position:fixed;z-index:20}.xxs-history__modal-content{background:#fff;border-radius:16px;box-shadow:0 24px 80px rgba(0,0,0,.3);max-height:85vh;max-width:620px;overflow:auto;padding:2rem;position:relative;width:100%}.xxs-history__modal-close{background:#f4f6f8;border-radius:50%;color:#123b67;font-size:1.5rem;height:36px;position:absolute;right:1rem;top:1rem;width:36px}.xxs-history__modal-score{border-bottom:1px solid #e4e7ec;color:#123b67;font-size:1.3rem;font-weight:800;padding:1.5rem 0}.xxs-history__timeline{border-left:2px solid #e4e7ec;list-style:none;margin:1.5rem 0 0 .5rem;padding-left:1.5rem}.xxs-history__event{align-items:baseline;display:flex;gap:.55rem;margin-bottom:.8rem;position:relative}.xxs-history__event::before{background:#2e7dd1;border:3px solid #fff;border-radius:50%;content:"";height:12px;left:-1.95rem;position:absolute;top:.3rem;width:12px}.xxs-history__event--penalty::before{background:#c8a15a}.xxs-history__event--own_goal::before{background:#d97706}.xxs-history__event--red_card::before{background:#c0392b}.xxs-history-modal-open{overflow:hidden}.modal{display:none;position:fixed;z-index:1000;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgba(0,0,0,.7)}.modal.is-active{display:block}.modal .modal-content{background-color:#fff;margin:15% auto;padding:20px;border:1px solid #888;width:80%;max-width:600px;border-radius:10px;box-shadow:0 4px 8px rgba(0,0,0,.2);position:relative}.modal .close{color:#aaa;float:right;font-size:28px;font-weight:bold}.modal .close:hover,.modal .close:focus{color:#000;text-decoration:none;cursor:pointer}.modal .modal-header{display:flex;justify-content:space-between;align-items:center}.modal .modal-body{padding:10px 0}.modal .modal-footer{display:flex;justify-content:flex-end;padding-top:10px}.xxs-history__statistics{background:#123b67;border-radius:10px;color:#fff;grid-column:1/-1;padding:1rem 1.2rem}.xxs-history__statistics h2{font-size:1rem}.xxs-history__statistics p{border-bottom:1px solid rgba(255,255,255,.15);margin:0;padding:.3rem 0}.xxs-history__state{background:#fff;border:1px dashed #e4e7ec;border-radius:10px;color:#667085;padding:2rem;text-align:center}.xxs-history__state--error{border-color:#d97706;color:#8a4b08;display:grid;gap:1rem}.xxs-history__skeleton{animation:xxs-history-pulse 1.3s ease-in-out infinite;background:linear-gradient(90deg, #e7ebf0, #f8fafc, #e7ebf0);background-size:200% 100%;border-radius:8px;height:70px}.xxs-history__skeleton--wide{margin:.5rem 0}.xxs-history__skeleton-row{animation:xxs-history-pulse 1.3s ease-in-out infinite;background:#eef1f4;height:45px}@keyframes xxs-history-pulse{0%,100%{opacity:.55;background-position:0 0}50%{opacity:1;background-position:100% 0}}@media(max-width: 700px){.xxs-history{margin-top:1rem;padding:0 .65rem 3rem}.xxs-history__hero{display:block;min-height:0;padding:1.4rem}.xxs-history__hero h1{font-size:2rem}.xxs-history__hero-stats{margin-top:1.5rem}.xxs-history__filters{grid-template-columns:1fr;margin:-1rem .5rem 1.5rem}.xxs-history__summary{grid-template-columns:repeat(2, 1fr)}.xxs-history__table-wrap{display:block;margin-inline:-0.15rem}.xxs-history__standings-cards{display:none}.xxs-history__standing-card{background:#fff;border-left:4px solid #e4e7ec;border-radius:9px;box-shadow:0 5px 18px rgba(8,28,51,.06);display:grid;grid-template-columns:2.5rem 1fr;padding:1rem}.xxs-history__standing-card.xxs-history__rank-1{border-left-color:#c8a15a}.xxs-history__standing-position{color:#123b67;grid-row:span 2}.xxs-history__standing-card h3{margin:0}.xxs-history__standing-meta{color:#667085;display:flex;flex-wrap:wrap;font-size:.78rem;gap:.7rem}.xxs-history__match-card{gap:.45rem;padding:.75rem .5rem}.xxs-history__modal{align-items:end;padding:0}.xxs-history__modal-content{border-radius:16px 16px 0 0;max-height:88vh;padding:1.5rem}.xxs-history__table th,.xxs-history__table td{padding:8px 9px}}@media(min-width: 701px)and (max-width: 960px){.xxs-history__filters{grid-template-columns:repeat(2, minmax(0, 1fr))}.xxs-history__table th,.xxs-history__table td{padding:9px 10px}}@media(max-width: 360px){.xxs-history__filters{grid-template-columns:1fr}.xxs-history__filters label,.xxs-history__filters select,.xxs-history__filters input,.xxs-history__filters button{grid-column:1}.xxs-history__summary{gap:.5rem}.xxs-history__stat{padding:.7rem}}@media(prefers-reduced-motion: reduce){.xxs-history *,.xxs-history *::before,.xxs-history *::after{animation-duration:.01ms !important;transition-duration:.01ms !important}}@media(prefers-color-scheme: dark){.xxs-history[data-theme=dark]{background:#081c33;color:#f1f5f9}.xxs-history[data-theme=dark] .xxs-history__filters,.xxs-history[data-theme=dark] .xxs-history__stat,.xxs-history[data-theme=dark] .xxs-history__table-wrap,.xxs-history[data-theme=dark] .xxs-history__matchday,.xxs-history[data-theme=dark] .xxs-history__standing-card,.xxs-history[data-theme=dark] .xxs-history__modal-content{background:#182230;border-color:#334155}.xxs-history[data-theme=dark] .xxs-history__filter,.xxs-history[data-theme=dark] .xxs-history__match-card{background:#243244;color:#f1f5f9}}@media print{.xxs-history{background:#fff;margin:0;max-width:none}.xxs-history__hero,.xxs-history__filters,.xxs-history__summary,.xxs-history__modal,.xxs-history__modal-close{display:none !important}.xxs-history__table-wrap{box-shadow:none}.xxs-history__matchday{break-inside:avoid}.xxs-history__matchday:not([open]) .xxs-history__matches{display:block}}
