/* Stats charts (includes/stats-charts.php, stats.js): the demo's notched cards in the site's colours. */
.lol-stc { display: grid; gap: 18px; text-align: left; }
.lol-stc-sec { margin-top: -10px; }
.lol-stc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 18px; align-items: start; }
.lol-stc-card { min-width: 0; padding: 18px 20px 20px; background: #20132a; box-shadow: 0 10px 27px 0 rgba(6,5,7,.35); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.lol-stc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.lol-stc-head h3 { margin: 0 !important; font-family: Rajdhani, sans-serif !important; font-size: 18px !important; font-weight: 700; letter-spacing: .1em; line-height: 1.2 !important; text-transform: uppercase; color: #fff; }
.lol-stc-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.lol-stc-tabs button { margin: 0; padding: 3px 10px; border: 1px solid #3a2750; background: transparent; font: 700 12px/1.7 Rajdhani, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #9b87d6; cursor: pointer; clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px)); transition: color .2s, background .2s; }
.lol-stc-tabs button:hover { color: #fff; }
.lol-stc-tabs button[aria-pressed="true"] { color: #fff; background: #6b54b6; border-color: #6b54b6; }
.lol-stc-tabs button:focus-visible, .lol-stc-btn:focus-visible { outline: 2px solid #b07ef0; outline-offset: 2px; }
.lol-stc-cv { position: relative; height: 280px; }
.lol-stc-cv.is-tall { height: 360px; }
.lol-stc-cv.is-short { height: 220px; }
.lol-stc-cv.is-ring { height: 150px; }
.lol-stc-foot { margin: 10px 0 0 !important; font-size: 13px; line-height: 1.5; color: #9b87d6; }
.lol-stc-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 6px; font-size: 13px; color: #9b87d6; }
.lol-stc-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; }
.lol-stc-legend .is-win { background: #3ecf8e; }
.lol-stc-legend .is-loss { background: #fd3147; }
.lol-stc-legend .is-avg { height: 2px; vertical-align: 3px; background: #9b87d6; }
.lol-stc-legend .is-me { background: #b07ef0; }
.lol-stc-legend .is-other { background: #3a2750; }
.lol-stc-sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lol-stc-side { text-align: center; }
.lol-stc-side b { display: block; margin-top: 6px; font: 700 22px Rajdhani, sans-serif; color: #fff; }
.lol-stc-side span { font: 700 12px Rajdhani, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #9b87d6; }
.lol-stc-intro { margin: 0 !important; color: #9b87d6; }
.lol-stc-page .lol-stc-head h3 { font-size: 20px !important; }
.lol-stc-head h3 { display: flex; align-items: center; gap: 10px; }
.lol-stc-role { display: inline-grid; place-items: center; width: 26px; height: 26px; color: #b07ef0; }
.lol-stc-role svg { width: 26px; height: 26px; }
.lol-stc-count { font: 700 13px Rajdhani, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #9b87d6; }

/* "All tournaments": the note on what the charts cover. */
.lol-stc-note { display: flex; gap: 10px; align-items: flex-start; margin: 0 !important; padding: 12px 16px; font-size: 14px; line-height: 1.55; color: #c3bace; background: #1b0f23; border-left: 3px solid #6b54b6; }
.lol-stc-note .ion-ios-information-outline { flex: 0 0 auto; font-size: 20px; line-height: 1.1; color: #b07ef0; }

/* Tournament Stats: division switch, totals tiles. */
.lol-stc-divs { display: flex; flex-wrap: wrap; gap: 6px; }
.lol-stc-divs button { margin: 0; padding: 8px 18px 7px; border: 1px solid #3a2750; background: #20132a; font: 700 14px Rajdhani, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #9b87d6; cursor: pointer; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); transition: color .2s, background .2s; }
.lol-stc-divs button:hover { color: #fff; background: #2e1d3e; }
.lol-stc-divs button[aria-pressed="true"] { color: #fff; background: #6b54b6; border-color: #6b54b6; }
.lol-stc-divs button:focus-visible { outline: 2px solid #b07ef0; outline-offset: 2px; }
.lol-stc-scope { display: grid; gap: 18px; }
.lol-stc-scope[hidden] { display: none; }
.lol-stc-sub { margin: 4px 0 8px !important; font: 700 12px Rajdhani, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #9b87d6; }
.lol-stc-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-bottom: 10px; }
.lol-stc-tile { display: grid; grid-template-columns: 34px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 10px; align-items: center; padding: 10px 12px; background: #2a1a37; clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px)); }
.lol-stc-tile img, .lol-stc-tile-dot, .lol-stc-mask { grid-row: 1 / 4; width: 34px; height: 34px; object-fit: contain; }
/* The user's PNG artwork in the site's purple, like the sprite icons. */
.lol-stc-mask { display: block; background: #b07ef0; -webkit-mask: var(--lol-stc-m) center / contain no-repeat; mask: var(--lol-stc-m) center / contain no-repeat; }

/* Players' totals: the player page's big figures (label above, large number). */
.lol-stc-big { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px 24px; margin: 6px 0 22px; padding: 0 6px; }
.lol-stc-big span { display: block; font-family: Rajdhani, sans-serif; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #6b54b6; }
.lol-stc-big b { display: block; margin-top: 2px; font-family: Rajdhani, sans-serif; font-size: 48px; font-weight: 700; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.lol-stc-big small { display: block; margin-top: 4px; font-size: 13px; color: #9b87d6; }
@media (max-width: 1024px) { .lol-stc-big { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .lol-stc-big { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; padding: 0; } .lol-stc-big b { font-size: 34px; } }
.lol-stc-tile-dot { display: block; width: 10px; height: 10px; margin: 0 auto; background: #6b54b6; transform: rotate(45deg); }
.lol-stc-tile b { font: 700 24px/1.1 Rajdhani, sans-serif; color: #fff; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.lol-stc-tile span { font: 700 12px Rajdhani, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #c3bace; }
.lol-stc-tile small { font-size: 12px; color: #9b87d6; }
.lol-stc-tiles.is-dragons { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

/* The game pop-up. */
.lol-stc-pop-bg { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 16px; background: rgba(10,4,14,.72); }
.lol-stc-pop-bg[hidden] { display: none; }
.lol-stc-pop { width: min(460px, 100%); padding: 20px 22px 22px; background: #22152c; border-top: 3px solid #6b54b6; box-shadow: 0 20px 50px rgba(0,0,0,.5); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); text-align: left; }
.lol-stc-pop-top { display: flex; align-items: center; gap: 14px; }
.lol-stc-pop-ico { width: 52px; height: 52px; border: 1px solid #6b54b6; }
.lol-stc-pop-ico[hidden] { display: none; }
.lol-stc-pop-res { font: 700 12px Rajdhani, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.lol-stc-pop h4 { margin: 2px 0 4px !important; font: 700 22px/1.2 Rajdhani, sans-serif !important; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.lol-stc-pop-sub, .lol-stc-pop dt { font: 700 12px Rajdhani, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #9b87d6; }
.lol-stc-pop dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0 18px; }
.lol-stc-pop dd { margin: 2px 0 0; font: 700 19px Rajdhani, sans-serif; color: #fff; font-variant-numeric: tabular-nums; }
.lol-stc-pop-row { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.lol-stc-btn { margin: 0; padding: 8px 16px 7px; border: 1px solid #6b54b6; background: #6b54b6; font: 700 13px Rajdhani, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #fff; cursor: pointer; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); transition: background .2s, border-color .2s; }
.lol-stc-btn:hover { background: #8a72d8; border-color: #8a72d8; }
.lol-stc-btn.is-ghost { background: transparent; border-color: #3a2750; color: #9b87d6; }
.lol-stc-btn.is-ghost:hover { color: #fff; background: #2e1d3e; }
.lol-stc-btn[hidden] { display: none; }
@media (max-width: 680px) {
	.lol-stc-card { padding: 14px 14px 16px; }
	.lol-stc-tiles, .lol-stc-tiles.is-dragons { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.lol-stc-tile { grid-template-columns: 24px minmax(0, 1fr); column-gap: 8px; padding: 8px 10px; }
	.lol-stc-tile img, .lol-stc-tile-dot, .lol-stc-mask { width: 24px; height: 24px; }
	.lol-stc-tile-dot { width: 8px; height: 8px; }
	.lol-stc-tile b { font-size: 20px; }
	.lol-stc-tile span { font-size: 11px; letter-spacing: .06em; }
	.lol-stc-tile small { font-size: 11px; }
	.lol-stc-pop dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .lol-stc-tabs button, .lol-stc-btn { transition: none; } }
