.pvc-calendar {
  --pvc-navy: #062c54;
  --pvc-blue: #0878bd;
  --pvc-red: #ef3423;
  --pvc-sky: #eef7fc;
  --pvc-ink: #102b43;
  --pvc-muted: #637789;
  --pvc-line: #dbe7ef;
  color: var(--pvc-ink);
  font-family: inherit;
  width: 100%;
}

.pvc-calendar *, .pvc-calendar *::before, .pvc-calendar *::after { box-sizing: border-box; }
.pvc-calendar__header { margin-bottom: 1.5rem; }
.pvc-calendar__eyebrow { color: var(--pvc-red); font-size: .75rem; font-weight: 800; letter-spacing: .14em; margin: 0 0 .3rem; text-transform: uppercase; }
.pvc-calendar__title { color: var(--pvc-navy); font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.05; margin: 0; }
.pvc-calendar__subtitle { color: var(--pvc-muted); font-size: 1rem; margin: .55rem 0 0; }
.pvc-calendar__views { border-bottom: 1px solid var(--pvc-line); display: flex; gap: 1.25rem; margin: 0 0 1.15rem; }
.pvc-calendar__view { background: transparent; border: 0; border-bottom: 3px solid transparent; color: var(--pvc-muted); cursor: pointer; font-size: 1rem; font-weight: 850; margin-bottom: -1px; padding: .65rem .1rem; }
.pvc-calendar__view.is-active { border-bottom-color: var(--pvc-red); color: var(--pvc-navy); }
.pvc-calendar__view:focus-visible { outline: 3px solid rgba(8,120,189,.25); outline-offset: 3px; }

.pvc-calendar__controls { align-items: center; display: flex; flex-wrap: wrap; gap: .85rem 1.25rem; justify-content: space-between; margin-bottom: 1rem; }
.pvc-calendar__toggle, .pvc-calendar__filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.pvc-calendar__week-nav { display: inline-flex; gap: .4rem; }
.pvc-calendar__week-nav[hidden] { display: none; }
.pvc-calendar button { font: inherit; }
.pvc-calendar__button, .pvc-calendar__filter {
  background: #fff; border: 1px solid var(--pvc-line); border-radius: 999px; color: var(--pvc-navy); cursor: pointer;
  font-size: .86rem; font-weight: 750; min-height: 42px; padding: .58rem .9rem; transition: background .18s, border-color .18s, color .18s, transform .18s;
}
.pvc-calendar__button:hover, .pvc-calendar__filter:hover { border-color: var(--pvc-blue); transform: translateY(-1px); }
.pvc-calendar__button:focus-visible, .pvc-calendar__filter:focus-visible, .pvc-calendar__empty-action:focus-visible { outline: 3px solid rgba(8,120,189,.25); outline-offset: 2px; }
.pvc-calendar__button.is-active { background: var(--pvc-navy); border-color: var(--pvc-navy); color: #fff; }
.pvc-calendar__week-step { background: #e8f3fa; border: 1px solid #bdd8e8; border-radius: 999px; color: var(--pvc-navy); cursor: pointer; font-size: .8rem; font-weight: 850; min-height: 42px; padding: .58rem .8rem; }
.pvc-calendar__week-step:hover { border-color: var(--pvc-blue); }
.pvc-calendar__week-step:disabled { cursor: default; opacity: .4; }
.pvc-calendar__filter.is-active { background: var(--pvc-blue); border-color: var(--pvc-blue); color: #fff; }

.pvc-calendar__summary { align-items: center; background: var(--pvc-sky); border-radius: 12px; display: flex; flex-wrap: wrap; gap: .45rem 1rem; margin-bottom: 1.15rem; padding: .75rem 1rem; }
.pvc-calendar__summary:empty { display: none; }
.pvc-calendar__summary strong { color: var(--pvc-navy); text-transform: capitalize; }
.pvc-calendar__summary span { color: var(--pvc-muted); font-size: .88rem; }
.pvc-calendar__summary em { color: #8a5a00; font-size: .78rem; margin-left: auto; }
.pvc-calendar__status { background: #fff8e8; border: 1px solid #f2d78f; border-radius: 10px; color: #6a4a00; padding: .9rem 1rem; }
.pvc-calendar__status[hidden] { display: none; }
.pvc-calendar__status button { background: transparent; border: 0; color: var(--pvc-blue); cursor: pointer; font-weight: 800; text-decoration: underline; }

.pvc-calendar__day + .pvc-calendar__day { margin-top: 1.6rem; }
.pvc-calendar__day-title { color: var(--pvc-navy); font-size: 1.12rem; margin: 0 0 .65rem; text-transform: capitalize; }
.pvc-calendar__day-games { display: grid; gap: .85rem; }
.pvc-game { background: #fff; border: 1px solid var(--pvc-line); border-radius: 16px; box-shadow: 0 8px 28px rgba(6,44,84,.07); overflow: hidden; }
.pvc-game__topline { align-items: center; background: linear-gradient(90deg, var(--pvc-navy), #0b477c); color: #fff; display: flex; gap: .75rem; justify-content: space-between; min-height: 42px; padding: .55rem .85rem; }
.pvc-game__competition { font-size: .76rem; font-weight: 800; letter-spacing: .035em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pvc-game__clubs { display: flex; flex-shrink: 0; gap: .3rem; }
.pvc-game__club { border: 1px solid rgba(255,255,255,.42); border-radius: 999px; font-size: .61rem; font-weight: 800; padding: .19rem .4rem; white-space: nowrap; }
.pvc-game__club--sdp { background: rgba(239,52,35,.9); }
.pvc-game__club--bsv { background: rgba(8,120,189,.95); }

.pvc-game__match { align-items: center; display: grid; gap: .7rem; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); padding: 1.15rem 1rem; }
.pvc-game__team { align-items: center; display: flex; gap: .65rem; min-width: 0; }
.pvc-game__team--away { flex-direction: row-reverse; text-align: right; }
.pvc-game__team strong { font-size: clamp(.82rem, 2vw, 1rem); line-height: 1.25; overflow-wrap: anywhere; }
.pvc-game__logo, .pvc-game__logo-fallback { flex: 0 0 46px; height: 46px; object-fit: contain; width: 46px; }
.pvc-game__logo-fallback { background: radial-gradient(circle, #fff 34%, var(--pvc-line) 36% 40%, transparent 42%), linear-gradient(135deg, transparent 42%, var(--pvc-line) 43% 47%, transparent 48%); border: 1px solid var(--pvc-line); border-radius: 50%; }
.pvc-game__center { align-items: center; display: flex; flex-direction: column; min-width: 68px; }
.pvc-game__center time { color: var(--pvc-red); font-size: .95rem; font-weight: 900; }
.pvc-game__versus { color: #90a1af; font-size: .7rem; font-weight: 900; margin-top: .25rem; }
.pvc-game__score { align-items: center; display: flex; flex-direction: column; }
.pvc-game__score strong { color: var(--pvc-navy); font-size: 1.2rem; }
.pvc-game__score small { color: var(--pvc-muted); font-size: .64rem; }
.pvc-game__footer { align-items: center; background: #f7fafc; border-top: 1px solid var(--pvc-line); color: var(--pvc-muted); display: flex; font-size: .74rem; gap: .75rem; justify-content: space-between; padding: .65rem .85rem; }
.pvc-game__place { overflow-wrap: anywhere; }
.pvc-game__stream { color: var(--pvc-blue); flex-shrink: 0; font-weight: 800; }

.pvc-calendar__empty { background: var(--pvc-sky); border: 1px dashed #a9cada; border-radius: 16px; padding: 2rem 1rem; text-align: center; }
.pvc-calendar__empty-icon { display: block; font-size: 2rem; }
.pvc-calendar__empty h3 { color: var(--pvc-navy); margin: .55rem 0 .2rem; }
.pvc-calendar__empty p { color: var(--pvc-muted); margin: 0 auto .9rem; max-width: 36rem; }
.pvc-calendar__empty-action { background: var(--pvc-red); border: 0; border-radius: 999px; color: #fff; cursor: pointer; font-weight: 800; min-height: 42px; padding: .6rem 1rem; }
.pvc-calendar__skeleton { animation: pvc-pulse 1.2s infinite alternate; background: linear-gradient(90deg,#edf2f6,#f8fafb,#edf2f6); border-radius: 16px; height: 150px; margin-bottom: .8rem; }

.pvc-standings[hidden], .pvc-calendar__games[hidden], .pvc-calendar__toggle[hidden] { display: none !important; }
.pvc-standings__selector { display: grid; gap: .55rem; grid-template-columns: repeat(7,minmax(0,1fr)); margin: 0 0 1rem; padding: .1rem .05rem; }
.pvc-standings__choice { background: #fff; border: 1px solid var(--pvc-line); border-radius: 12px; color: var(--pvc-navy); cursor: pointer; min-width: 0; padding: .6rem .7rem; text-align: left; }
.pvc-standings__choice strong, .pvc-standings__choice span { display: block; }
.pvc-standings__choice strong { font-size: .82rem; }
.pvc-standings__choice span { color: var(--pvc-muted); font-size: .68rem; margin-top: .1rem; }
.pvc-standings__choice.is-active { background: var(--pvc-navy); border-color: var(--pvc-navy); color: #fff; }
.pvc-standings__choice.is-active span { color: #d9eaf5; }
.pvc-standings__choice:focus-visible { outline: 3px solid rgba(8,120,189,.25); outline-offset: 2px; }
.pvc-standing { background: #fff; border: 1px solid var(--pvc-line); border-radius: 16px; box-shadow: 0 10px 30px rgba(6,44,84,.08); overflow: hidden; }
.pvc-standing__header { align-items: flex-end; background: linear-gradient(110deg,var(--pvc-navy),#0b477c); color: #fff; display: flex; gap: 1rem; justify-content: space-between; padding: 1rem 1.15rem; }
.pvc-standing__header h3 { color: #fff; font-size: clamp(1rem,2.5vw,1.35rem); line-height: 1.2; margin: .15rem 0 0; }
.pvc-standing__federation { color: #9fd7f4; font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.pvc-standing__meta { color: #dcecf7; flex-shrink: 0; font-size: .76rem; }
.pvc-standing__scroll { max-width: 100%; overflow-x: auto; }
.pvc-standing__table { border-collapse: collapse; font-size: .82rem; margin: 0; min-width: 620px; width: 100%; }
.pvc-standing__table th, .pvc-standing__table td { border-bottom: 1px solid #e7eef3; padding: .62rem .7rem; text-align: center; vertical-align: middle; }
.pvc-standing__table thead th { background: #f4f8fb; color: var(--pvc-muted); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; }
.pvc-standing__table th:nth-child(2) { text-align: left; width: 100%; }
.pvc-standing__table tbody tr:last-child > * { border-bottom: 0; }
.pvc-standing__table tbody tr.is-ours > * { background: #eaf6fd; }
.pvc-standing__table tbody tr.is-ours th { box-shadow: inset 4px 0 0 var(--pvc-red); }
.pvc-standing__position { color: var(--pvc-muted); font-weight: 850; }
.pvc-standing__points { color: var(--pvc-navy); font-size: .95rem; font-weight: 950; }
.pvc-standing__team { align-items: center; display: grid; gap: .1rem .55rem; grid-template-columns: 30px minmax(150px,1fr); }
.pvc-standing__team img { grid-row: 1 / span 2; height: 28px; object-fit: contain; width: 28px; }
.pvc-standing__logo-placeholder { align-self: center; background: radial-gradient(circle,#fff 30%,#c9d8e3 32% 38%,transparent 40%),linear-gradient(135deg,transparent 42%,#c9d8e3 43% 48%,transparent 49%); border: 1px solid #c9d8e3; border-radius: 50%; grid-row: 1 / span 2; height: 26px; width: 26px; }
.pvc-standing__team > span { overflow-wrap: anywhere; }
.pvc-standing__team em { color: var(--pvc-red); font-size: .61rem; font-style: normal; font-weight: 850; }
.pvc-standing__updated { background: #f7fafc; border-top: 1px solid var(--pvc-line); color: var(--pvc-muted); font-size: .67rem; padding: .55rem .8rem; text-align: right; }
@keyframes pvc-pulse { to { opacity: .56; } }

@media (max-width: 640px) {
  .pvc-standings__selector { display: flex; overflow-x: auto; padding-bottom: .3rem; scrollbar-width: none; }
  .pvc-standings__selector::-webkit-scrollbar { display: none; }
  .pvc-standings__choice { flex: 0 0 auto; min-width: 112px; }
  .pvc-calendar__controls { align-items: stretch; flex-direction: column; }
  .pvc-calendar__toggle { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pvc-calendar__week-nav { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pvc-calendar__button { padding-left: .55rem; padding-right: .55rem; }
  .pvc-calendar__filters { display: grid; grid-template-columns: 1fr; }
  .pvc-calendar__filter { text-align: center; width: 100%; }
  .pvc-calendar__summary { align-items: flex-start; flex-direction: column; }
  .pvc-calendar__summary em { margin-left: 0; }
  .pvc-game__topline { align-items: flex-start; flex-direction: column; }
  .pvc-game__competition { white-space: normal; }
  .pvc-game__match { gap: .45rem; padding: 1rem .65rem; }
  .pvc-game__team { flex-direction: column; gap: .38rem; text-align: center; }
  .pvc-game__team--away { flex-direction: column; text-align: center; }
  .pvc-game__logo, .pvc-game__logo-fallback { flex-basis: 40px; height: 40px; width: 40px; }
  .pvc-game__center { min-width: 54px; }
  .pvc-game__footer { align-items: flex-start; flex-direction: column; }
  .pvc-standing__header { align-items: flex-start; flex-direction: column; }
  .pvc-standing__table { min-width: 0; table-layout: fixed; }
  .pvc-standing__table th, .pvc-standing__table td { padding: .55rem .35rem; }
  .pvc-standing__table th:nth-child(1), .pvc-standing__table td:nth-child(1) { width: 32px; }
  .pvc-standing__table th:nth-child(2) { width: auto; }
  .pvc-standing__table th:nth-child(3), .pvc-standing__table td:nth-child(3),
  .pvc-standing__table th:nth-child(4), .pvc-standing__table td:nth-child(4),
  .pvc-standing__table th:nth-child(5), .pvc-standing__table td:nth-child(5),
  .pvc-standing__table th:nth-child(6), .pvc-standing__table td:nth-child(6) { width: 32px; }
  .pvc-standing__optional { display: none; }
  .pvc-standing__team { gap: .1rem .35rem; grid-template-columns: 24px minmax(0,1fr); }
  .pvc-standing__team img { height: 22px; width: 22px; }
  .pvc-standing__logo-placeholder { height: 22px; width: 22px; }
  .pvc-standing__team > span { font-size: .72rem; line-height: 1.15; }
}

@media (prefers-reduced-motion: reduce) {
  .pvc-calendar *, .pvc-calendar *::before, .pvc-calendar *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

