/* PT Inline Hockey Schedule: inherits the theme's font and text color; lines and tints are drawn from the text color so it sits naturally on light or dark pages. */
.ptsched{
  --pt-green:#344936; --pt-gold:#e9bb2b; --pt-cream:#f7f4ea;
  --pt-line:color-mix(in srgb, currentColor 14%, transparent);
  --pt-muted:color-mix(in srgb, currentColor 62%, transparent);
  --pt-soft:color-mix(in srgb, currentColor 4%, transparent);
  --pt-today:color-mix(in srgb, var(--pt-gold) 18%, transparent);
  font-family:inherit; color:inherit; line-height:1.4; margin:0 0 1.5em;
}
.ptsched *,.ptsched *::before,.ptsched *::after{box-sizing:border-box}
/* Neutralize theme button styling inside the calendar */
.ptsched button{
  font:inherit; color:inherit; background:none; border:0; margin:0; padding:0; box-shadow:none; text-shadow:none;
  text-transform:none; letter-spacing:normal; min-height:0; min-width:0; width:auto; height:auto; border-radius:0;
  line-height:inherit; cursor:pointer; -webkit-appearance:none; appearance:none; transition:none;
}
.ptsched button:focus-visible{outline:2px solid var(--pt-gold); outline-offset:2px}

.ptsched .pts-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:12px}
.ptsched .pts-nav{display:flex;gap:6px;align-items:center}
.ptsched .pts-btn{border:1px solid var(--pt-line);border-radius:8px;padding:6px 12px;font-size:15px}
.ptsched .pts-btn:hover{border-color:var(--pt-green)}
.ptsched .pts-month{font-size:1.25em;font-weight:650;min-width:170px;text-align:center}
.ptsched .pts-views{display:flex;margin-left:auto}
.ptsched .pts-views .pts-btn{border-radius:0}
.ptsched .pts-views .pts-btn:first-child{border-radius:8px 0 0 8px}
.ptsched .pts-views .pts-btn:last-child{border-radius:0 8px 8px 0;margin-left:-1px}
.ptsched .pts-views .pts-btn.on{background:var(--pt-green);color:var(--pt-cream);border-color:var(--pt-green)}

.ptsched .pts-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.ptsched .pts-chip{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--pt-line);border-radius:999px;padding:5px 12px 5px 9px;font-size:14px}
.ptsched .pts-chip .dot{width:11px;height:11px;border-radius:50%;flex:none}
.ptsched .pts-chip.off{opacity:.5}
.ptsched .pts-chip.off .dot{background:transparent!important;border:2px solid var(--pt-muted)}
.ptsched .pts-chip.prac{margin-left:auto}

.ptsched .pts-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid var(--pt-line);border-left:1px solid var(--pt-line);border-radius:10px;overflow:hidden}
.ptsched .pts-dow,.ptsched .pts-day{border-right:1px solid var(--pt-line);border-bottom:1px solid var(--pt-line)}
.ptsched .pts-grid>:nth-child(7){border-top-right-radius:10px}
.ptsched .pts-dow{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--pt-muted);padding:8px}
.ptsched .pts-day{min-height:118px;padding:6px;display:flex;flex-direction:column;gap:4px;min-width:0}
.ptsched .pts-day.other{background:var(--pt-soft)}
.ptsched .pts-day.other .num{opacity:.45}
.ptsched .pts-day.today{background:var(--pt-today)}
.ptsched .num{font-size:13px;font-weight:600;color:var(--pt-muted)}
.ptsched .pts-day.today .num{color:inherit}
.ptsched .pts-day.today .num::after{content:" Today";font-weight:500;font-size:11px;color:var(--pt-muted)}

.ptsched .pts-ev{display:block;width:100%;text-align:left;font-size:12.5px;line-height:1.25;padding:3px 5px 3px 7px;border-left:4px solid var(--c);border-radius:4px;background:color-mix(in srgb,var(--c) 11%,transparent)}
.ptsched .pts-ev:hover{background:color-mix(in srgb,var(--c) 22%,transparent)}
.ptsched .pts-ev b{font-weight:650}
.ptsched .pts-ev .t{color:var(--pt-muted);font-variant-numeric:tabular-nums}
.ptsched .pts-ev .r{float:right;font-weight:650;font-size:11.5px;margin-left:4px}
.ptsched .pts-ev .v{display:block;color:var(--pt-muted);font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ptsched .pts-ev.prac{opacity:.75;font-style:italic}
.ptsched .pts-ev.cx{text-decoration:line-through;opacity:.55}

.ptsched .pts-agenda{display:none}
.ptsched .pts-aday{margin-bottom:14px}
.ptsched .pts-aday h4{margin:0 0 6px;font-size:14px;color:var(--pt-muted);font-weight:600;font-family:inherit;text-transform:none;letter-spacing:normal}
.ptsched .pts-aday.today h4{color:inherit}
.ptsched .pts-card{display:flex;gap:12px;width:100%;text-align:left;border:1px solid var(--pt-line);border-left:5px solid var(--c);border-radius:8px;padding:10px 12px;margin-bottom:6px}
.ptsched .pts-card:hover{background:var(--pt-soft)}
.ptsched .pts-card .when{min-width:72px;font-weight:650;font-variant-numeric:tabular-nums}
.ptsched .pts-card .what{flex:1;min-width:0}
.ptsched .pts-card .team,.ptsched .pts-card .venue{font-size:13px;color:var(--pt-muted)}
.ptsched .pts-card .r{font-weight:700;white-space:nowrap}
.ptsched .pts-empty{color:var(--pt-muted);padding:20px;text-align:center;border:1px solid var(--pt-line);border-radius:10px}
.ptsched.listview .pts-grid{display:none}
.ptsched.listview .pts-agenda{display:block}
.ptsched .pts-note{font-size:12.5px;color:var(--pt-muted);margin:12px 0 0}

/* Details popup (light card so it reads on any page) */
.ptsched dialog{border:0;border-radius:12px;padding:0;max-width:420px;width:calc(100% - 32px);background:#fff;color:#1d241e;box-shadow:0 12px 40px rgba(0,0,0,.3);font-family:inherit}
.ptsched dialog::backdrop{background:rgba(0,0,0,.45)}
.ptsched .pts-dhead{padding:14px 16px;border-top:6px solid var(--c);border-bottom:1px solid #e2e4dd}
.ptsched .pts-dhead .team{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--c)}
.ptsched .pts-dhead h3{margin:4px 0 0;font-size:20px;color:#1d241e;font-family:inherit;text-transform:none;letter-spacing:normal;line-height:1.25}
.ptsched .pts-dbody{padding:12px 16px 4px}
.ptsched .pts-row{display:flex;gap:10px;padding:6px 0;border-bottom:1px solid #e2e4dd;font-size:15px}
.ptsched .pts-row:last-child{border-bottom:0}
.ptsched .pts-row .k{width:82px;color:#5f6a61;font-size:13px;flex:none}
.ptsched .pts-row a{color:var(--pt-green);text-decoration:underline}
.ptsched .pts-dfoot{padding:10px 16px 14px;text-align:right}
.ptsched .pts-dfoot button{background:var(--pt-green);color:var(--pt-cream);border-radius:8px;padding:7px 16px}

@media (max-width:760px){
  .ptsched .pts-grid,.ptsched .pts-views{display:none}
  .ptsched .pts-agenda{display:block}
  .ptsched .pts-chip.prac{margin-left:0}
  .ptsched .pts-month{min-width:0}
}
