#pesbul-2018-team-play {
  --ink: var(--pg-ink);
  --muted: var(--pg-muted);
  --paper: var(--pg-paper);
  --line: var(--pg-rule);
  --mint: var(--pg-mint);
  --mint-ink: #005763;
  --away: #ffc16f;
  color-scheme: light;
  box-sizing: border-box;
  isolation: isolate;
  color: var(--ink);

  font: 400 13px/1.45 "PES18 UI", "Segoe UI", sans-serif;
}
#pesbul-2018-team-play *, #pesbul-2018-team-play *::before, #pesbul-2018-team-play *::after { box-sizing: border-box; }
#pesbul-2018-team-play [hidden] { display: none !important; }
#pesbul-2018-team-play :is(h1,h2,h3,p,dl,ol,ul,dd) { margin: 0; padding: 0; }
#pesbul-2018-team-play :is(a, button, summary) { font: inherit; color: inherit; }
#pesbul-2018-team-play a { text-decoration: none; }
#pesbul-2018-team-play button { min-width: 0; margin: 0; }
#pesbul-2018-team-play :focus-visible { outline: 2px solid #057586; outline-offset: 3px; }
#pesbul-2018-team-play .tp-sub-nav { display: flex; flex-wrap: wrap; gap: 0 17px; padding: 1px 0 0; margin-bottom: 13px; border-bottom: 1px solid #52707d; color: #e2eff1; font-size: 11px; }
#pesbul-2018-team-play .tp-sub-nav a { padding: 9px 0; }
#pesbul-2018-team-play .tp-sub-nav a:first-child { color: var(--mint); box-shadow: inset 0 -2px var(--mint); }
#pesbul-2018-team-play .tp-sub-nav a:hover { color: var(--mint); }
#pesbul-2018-team-play .tp-hero {
  display: flex;
  align-items: center;
  min-height: clamp(258px, 21vw, 340px);
  padding: 32px clamp(20px, 3.5vw, 48px);
  background: linear-gradient(90deg, #07131e 0%, #0d2332d9 52%, #16324256 100%), url('../launch/stadium.webp') center 55% / cover;
  color: #fcf9ff;
  border: 1px solid #557582;
  box-shadow: inset 0 -2px var(--mint);
}
#pesbul-2018-team-play h1 { color: #fff; font-weight: 700; font-size: clamp(24px, 4.5vw, 48px); line-height: 1.12; letter-spacing: -.035em; }
#pesbul-2018-team-play .tp-hero h1 { margin: 6px 0; }
#pesbul-2018-team-play h1 span { color: var(--mint); white-space: nowrap; }
#pesbul-2018-team-play .tp-hero p:not(.tp-kicker) { color: #eee7f6; max-width: 320px; font-size: 12px; }
#pesbul-2018-team-play .tp-primary { display: inline-flex; gap: 12px; align-items: center; background: var(--mint); color: #15342c; font-weight: 700; margin-top: 13px; padding: 8px 12px; font-size: 12px; }
#pesbul-2018-team-play .tp-down { display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
#pesbul-2018-team-play .tp-primary:hover { background: #7cf5d4; }
#pesbul-2018-team-play .tp-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2px; margin: 9px 0 14px; }
#pesbul-2018-team-play .tp-metrics div { display: flex; gap: 7px; justify-content: space-between; align-items: center; background: #dae2e5; padding: 8px 12px; border-bottom: 2px solid #27849a; }
#pesbul-2018-team-play .tp-metrics dt { display: flex; align-items: center; gap: 6px; color: #344852; font-size: 11px; }
#pesbul-2018-team-play .tp-metrics svg { width: 14px; height: 14px; }
#pesbul-2018-team-play .tp-metrics dd { font-size: 21px; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; }
#pesbul-2018-team-play .tp-columns { display: grid; grid-template-columns: minmax(0, 2.72fr) minmax(240px, 1fr); align-items: start; gap: 12px; }
#pesbul-2018-team-play .tp-panel { min-width: 0; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 3px; box-shadow: 0 3px 0 #07162266; scroll-margin-top: 10px; }
#pesbul-2018-team-play .tp-panel-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; padding: 11px 13px; border-top: 2px solid #269da9; border-bottom: 1px solid var(--line); background: #d2dadd; }
#pesbul-2018-team-play h2 { font-size: 17px; font-weight: 700; letter-spacing: -.015em; }
#pesbul-2018-team-play h3 { font-size: 14px; font-weight: 700; }
#pesbul-2018-team-play .tp-panel-head p, #pesbul-2018-team-play .tp-leagues p { color: var(--muted); font-size: 11px; }
#pesbul-2018-team-play .tp-schedule { display: flex; align-items: center; justify-content: space-between; gap: 7px; flex-wrap: wrap; padding: 9px 12px 6px; }
#pesbul-2018-team-play :is(.tp-switch, .tp-hours, .tp-match-tabs) { display: flex; align-items: center; gap: 2px; }
#pesbul-2018-team-play :is(.tp-switch, .tp-hours, .tp-match-tabs) button { border: 1px solid var(--line); background: #d5dce0; padding: 7px 9px; font-size: 11px; color: #2a3d49; border-radius: 2px; }
#pesbul-2018-team-play :is(.tp-switch, .tp-hours, .tp-match-tabs) button[aria-pressed=true] { background: var(--mint); color: #11382e; font-weight: 700; border-color: #1a9299; }
#pesbul-2018-team-play .tp-session-line { display: flex; justify-content: space-between; align-items: center; gap: 5px 10px; flex-wrap: wrap; margin: 0 12px 5px; color: var(--muted); font-size: 11px; }
#pesbul-2018-team-play .tp-open { color: #13674f; font-weight: 700; }
#pesbul-2018-team-play :is(.tp-open, .tp-live) b { display: inline-block; height: 6px; width: 6px; border-radius: 50%; margin-right: 4px; background: currentColor; vertical-align: 1px; }
#pesbul-2018-team-play .tp-teams { display: flex; justify-content: space-between; text-align: center; align-items: center; gap: 3px; padding: 4px 12px 5px; }
#pesbul-2018-team-play .tp-teams button { display: flex; align-items: center; justify-content: space-between; gap: 7px; padding: 5px 8px; background: #d0eaed; color: #075761; border: 1px solid #91bec2; border-radius: 2px; font-size: 10px; font-weight: 700; }
#pesbul-2018-team-play .tp-teams button:last-child { background: #f3e5d1; color: #66400a; border-color: #d1bb9e; }
#pesbul-2018-team-play .tp-teams > strong { font-size: 11px; color: #364751; }
#pesbul-2018-team-play .tp-pitch {
  position: relative;
  container-type: inline-size;
  width: 100%;
  --avatar-size: clamp(43px, min(7.5cqw, calc(11svh - 27px)), 70px);
  height: clamp(350px, 50svh, 435px);
  color: #f5fff9;
  background: radial-gradient(ellipse at 50% 0%, #75b79b34, transparent 64%),
    linear-gradient(180deg, #10272000 40%, #04171264),
    repeating-linear-gradient(90deg, #174737 0 8.33%, #1b5140 8.33% 16.66%);
  border: 1px solid #5c9985;
}
#pesbul-2018-team-play .tp-field { position: absolute; inset: 7px; border: 1px solid #a3d7c085; pointer-events: none; }
#pesbul-2018-team-play .tp-field::after { content: ''; position: absolute; left: 50%; height: 100%; border-left: 1px solid #a3d7c085; }
#pesbul-2018-team-play .tp-centre { position: absolute; width: 16%; aspect-ratio: 1; border-radius: 50%; border: 1px solid #a3d7c085; left: 50%; top: 50%; transform: translate(-50%, -50%); }
#pesbul-2018-team-play .tp-centre::after { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); content: ''; background: #a3d7c0b0; border-radius: 50%; width: 3px; height: 3px; }
#pesbul-2018-team-play :is(.tp-box,.tp-goal) { position: absolute; top: 50%; width: 13%; height: 51%; transform: translateY(-50%); border: 1px solid #a3d7c085; }
#pesbul-2018-team-play .tp-box-left, #pesbul-2018-team-play .tp-goal-left { left: -1px; }
#pesbul-2018-team-play .tp-box-right, #pesbul-2018-team-play .tp-goal-right { right: -1px; }
#pesbul-2018-team-play .tp-goal { width: 5.4%; height: 25%; }
#pesbul-2018-team-play .tp-position {
  --team: var(--mint);
  --chip: #bdeff1;
  --avatar-bg: #145766;
  position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 1; width: min(11.6%, 162px); min-width: 44px; padding: 0;
  left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  border: 0; color: #fff !important; background: none;
}
#pesbul-2018-team-play .tp-position[data-side="2"] { --team: var(--away); --chip: #ffdda1; --avatar-bg: #554020; }
#pesbul-2018-team-play .tp-token {
  position: relative; overflow: hidden; display: grid; place-items: center;
  width: var(--avatar-size); aspect-ratio: 1; border-radius: 50%;
  border: 2px solid var(--team); background: var(--avatar-bg);
  color: #fff; font-size: clamp(19px, 2.6cqw, 36px); font-weight: 700;
  box-shadow: 0 5px 12px #0414128c;
  transition: background .18s, transform .18s, border-color .18s;
}
#pesbul-2018-team-play .tp-position[data-empty=true] .tp-token { border-style: dashed; border-color: color-mix(in srgb, var(--team) 52%, #184639); color: color-mix(in srgb, var(--team) 72%, #fff); font-size: clamp(24px, 3.4cqw, 43px); font-weight: 400; background: color-mix(in srgb, var(--avatar-bg) 48%, #102a23); box-shadow: none; }
#pesbul-2018-team-play .tp-position .tp-position-label { color: #172a28; background: var(--chip); padding: 1px 8px; border-radius: 4px; line-height: 1.2; font-size: clamp(10px, 1.2cqw, 12px); font-weight: 700; }
#pesbul-2018-team-play .tp-position[data-empty=true] .tp-position-label { color: #e4f0ea; background: #0c342e; }
#pesbul-2018-team-play .tp-name { max-width: 100%; padding: 1px 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-radius: 4px; font-size: clamp(11px, 1.34cqw, 14px); line-height: 1.18; font-weight: 700; background: #071f20dd; }
#pesbul-2018-team-play .tp-name:empty { visibility: hidden; min-height: calc(clamp(11px, 1.34cqw, 14px) * 1.18 + 2px); }
#pesbul-2018-team-play .tp-position[data-own=true] { z-index: 2; }
#pesbul-2018-team-play .tp-position[data-own=true] .tp-token { border-color: #d8ffee; box-shadow: 0 0 0 3px var(--team), 0 0 18px color-mix(in srgb, var(--team) 45%, transparent); }
#pesbul-2018-team-play .tp-position[data-own=true] .tp-name { color: var(--team); font-weight: 700; }
#pesbul-2018-team-play .tp-position[data-empty=true]:is(:hover,:focus-visible,.tp-drop) .tp-token { background: var(--team); border-style: solid; border-color: var(--team); color: #14342b; transform: scale(1.1); }
#pesbul-2018-team-play .tp-position.tp-arrive .tp-token { animation: tp-reserve .26s ease-out; }
@keyframes tp-reserve { 0% { transform: scale(.82); opacity: .6; } 65% { transform: scale(1.13); } 100% { transform: scale(1); opacity: 1; } }
#pesbul-2018-team-play .tp-position.tp-dragging { z-index: 4; pointer-events: none; cursor: grabbing; opacity: .85; }
#pesbul-2018-team-play .tp-roster-bar { display: flex; gap: 4px 10px; justify-content: space-between; align-items: center; padding: 8px 12px; margin: 7px 12px 0; background: #dfece7; border: 1px solid #b9d7cc; border-radius: 2px; }
#pesbul-2018-team-play .tp-who { min-width: 0; display: flex; align-items: center; gap: 7px; }
#pesbul-2018-team-play .tp-avatar { display: grid; place-items: center; flex: none; width: 29px; aspect-ratio: 1; border-radius: 50%; color: #074a38; background: #a9ead3; font-size: 11px; font-weight: 700; }
#pesbul-2018-team-play .tp-who b, #pesbul-2018-team-play .tp-who small { display: block; }
#pesbul-2018-team-play .tp-who b { font-size: 11px; }
#pesbul-2018-team-play .tp-who small { font-size: 11px; color: #425a51; }
#pesbul-2018-team-play .tp-secondary { border: 1px solid #a5b7bd; border-radius: 2px; background: #f1f6f8; color: #224552; padding: 5px 9px; font-size: 11px; flex: none; }
#pesbul-2018-team-play .tp-secondary:hover { background: #c9f1f2; }
#pesbul-2018-team-play .tp-mix-footer { padding: 6px 12px 9px; display: flex; align-items: start; justify-content: space-between; gap: 1px 10px; flex-wrap: wrap; color: var(--muted); font-size: 10px; }
#pesbul-2018-team-play .tp-mix-footer > span:last-child { color: #31505b; }
#pesbul-2018-team-play .tp-mix-footer small { font-size: inherit; color: var(--muted); }
#pesbul-2018-team-play .tp-side { display: grid; gap: 12px; align-items: start; min-width: 0; }
#pesbul-2018-team-play .tp-live { color: #a82347; background: #f8dce5; border: 1px solid #e1abba; border-radius: 2px; padding: 2px 5px; font-size: 9px; letter-spacing: .04em; font-weight: 700; white-space: nowrap; }
#pesbul-2018-team-play .tp-scoreboard { text-align: center; padding: 9px 8px 10px; background: radial-gradient(ellipse at 50% 0%, #245363, #0d212e 72%); color: #fff; }
#pesbul-2018-team-play .tp-match-meta { color: #c2dae1; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
#pesbul-2018-team-play .tp-score-line { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 5px; margin: 7px 0; }
#pesbul-2018-team-play .tp-score-line > strong { font-size: clamp(23px, 3.3vw, 33px); line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
#pesbul-2018-team-play .tp-score-line em { color: #a5cdd8; font-style: normal; }
#pesbul-2018-team-play .tp-club { display: grid; justify-items: center; gap: 4px; font-size: 10px; }
#pesbul-2018-team-play .tp-crest { display: grid; place-items: center; width: 28px; height: 31px; clip-path: polygon(0 0,100% 0,100% 70%,50% 100%,0 70%); font-size: 15px; font-weight: 700; font-style: normal; }
#pesbul-2018-team-play .tp-mint { color: #153c31; background: var(--mint); }
#pesbul-2018-team-play .tp-away { color: #412c12; background: var(--away); }
#pesbul-2018-team-play .tp-minute { background: #163d35; color: #b0f1db; font-size: 10px; padding: 2px 6px; border-radius: 2px; }
#pesbul-2018-team-play .tp-match-tabs { justify-content: stretch; padding: 7px 8px 0; }
#pesbul-2018-team-play .tp-match-tabs button { flex: 1; padding-inline: 3px; }
#pesbul-2018-team-play .tp-events, #pesbul-2018-team-play .tp-room-list { list-style: none; }
#pesbul-2018-team-play .tp-events { padding: 3px 9px 5px; }
#pesbul-2018-team-play .tp-events li { display: grid; grid-template-columns: 31px minmax(0, 1fr) auto; gap: 4px; align-items: center; padding: 5px 0; border-bottom: 1px solid #c1ccd2; font-size: 11px; }
#pesbul-2018-team-play .tp-events li:last-child { border-bottom: 0; }
#pesbul-2018-team-play .tp-events time { color: var(--mint-ink); font-weight: 700; }
#pesbul-2018-team-play .tp-events small, #pesbul-2018-team-play .tp-room-list small { display: block; font-size: 10px; color: var(--muted); }
#pesbul-2018-team-play .tp-events strong { background: #d2dee3; padding: 1px 4px; border-radius: 2px; }
#pesbul-2018-team-play .tp-live-count { color: var(--mint-ink); font-size: 10px; font-weight: 700; }
#pesbul-2018-team-play .tp-room-list { padding: 0 12px; }
#pesbul-2018-team-play .tp-room-list li { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; gap: 4px; border-bottom: 1px solid #c1ccd2; font-size: 11px; }
#pesbul-2018-team-play .tp-room-list li:last-child { border-bottom: 0; }
#pesbul-2018-team-play .tp-room-list strong { white-space: nowrap; }
#pesbul-2018-team-play .tp-rating-note { padding: 7px 9px 1px; color: var(--muted); font-size: 10px; }
#pesbul-2018-team-play .tp-rating-wrap { padding: 3px 9px 8px; }
#pesbul-2018-team-play .tp-rating-wrap table { width: 100%; border-collapse: collapse; font: inherit; font-size: 11px; }
#pesbul-2018-team-play .tp-rating-wrap caption { text-align: left; font-weight: 700; padding: 4px 0; }
#pesbul-2018-team-play .tp-rating-wrap :is(td,th) { padding: 3px 4px; color: var(--ink); border-bottom: 1px solid #c1ccd2; text-align: right; font-variant-numeric: tabular-nums; }
#pesbul-2018-team-play .tp-rating-wrap th:first-child, #pesbul-2018-team-play .tp-rating-wrap td:first-child { text-align: left; }
#pesbul-2018-team-play .tp-rating-wrap td:last-child { color: #075d49; font-weight: 700; }
#pesbul-2018-team-play .tp-results { margin-top: 13px; }
#pesbul-2018-team-play .tp-report + .tp-report { border-top: 1px solid var(--line); }
#pesbul-2018-team-play .tp-report summary { display: grid; grid-template-columns: 13% minmax(0,1fr) auto minmax(0,1fr) 22%; gap: 7px; align-items: center; padding: 9px 12px; text-align: center; list-style: none; font-size: 12px; }
#pesbul-2018-team-play .tp-report summary::-webkit-details-marker { display: none; }
#pesbul-2018-team-play .tp-report summary:hover { background: #c9dde1; }
#pesbul-2018-team-play .tp-result-date { text-align: left; color: var(--muted); font-size: 10px; }
#pesbul-2018-team-play .tp-report summary b { color: #fff; background: #142e3e; padding: 2px 7px; white-space: nowrap; font-variant-numeric: tabular-nums; }
#pesbul-2018-team-play .tp-report-action { color: var(--mint-ink); text-align: right; font-size: 11px; font-weight: 700; }
#pesbul-2018-team-play .tp-report[open] .tp-report-action > span { display: inline-block; transform: translateY(1px) rotate(225deg); }
#pesbul-2018-team-play .tp-report-content { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--line); }
#pesbul-2018-team-play .tp-leagues { display: flex; align-items: center; gap: 9px; margin-top: 12px; padding: 10px 12px; }
#pesbul-2018-team-play .tp-trophy { flex: none; display: grid; place-items: center; background: #dfd4ee; color: #533777; width: 32px; height: 32px; border-radius: 3px; }
#pesbul-2018-team-play .tp-leagues > span { margin-left: auto; flex: none; color: #5f456f; background: #eae1f4; padding: 3px 6px; font-size: 10px; }
@media (max-width: 490px) {
  #pesbul-2018-team-play .tp-sub-nav { gap: 0 11px; }
  #pesbul-2018-team-play .tp-sub-nav a { padding-block: 11px; }
  #pesbul-2018-team-play .tp-hero { background-size: cover; background-position: center,66% center; }
  #pesbul-2018-team-play .tp-hero p:not(.tp-kicker) { max-width: 200px; }
  #pesbul-2018-team-play .tp-metrics div { flex-direction: column; align-items: start; justify-content: flex-start; gap: 3px; padding: 7px; }
  #pesbul-2018-team-play .tp-metrics dt { font-size: 10px; }
  #pesbul-2018-team-play .tp-side { grid-template-columns: 1fr; }
  #pesbul-2018-team-play .tp-report summary { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); }
  #pesbul-2018-team-play .tp-result-date, #pesbul-2018-team-play .tp-report-action { grid-column: 1/-1; text-align: center; }
  #pesbul-2018-team-play .tp-report-content { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  #pesbul-2018-team-play .tp-pitch { --avatar-size: clamp(45px, 16.25cqw, 68px); height: clamp(358px, 66vw, 430px); }
  #pesbul-2018-team-play .tp-position { left: var(--mx); top: var(--my); width: 23%; }
  #pesbul-2018-team-play .tp-pitch[data-mobile-team="1"] .tp-position[data-side="2"],
  #pesbul-2018-team-play .tp-pitch[data-mobile-team="2"] .tp-position[data-side="1"] { display: none; }
  #pesbul-2018-team-play .tp-field { border-top: 0; }
  #pesbul-2018-team-play .tp-field::after { left: 0; right: 0; top: 0; border-left: 0; border-top: 1px solid #a3d7c085; }
  #pesbul-2018-team-play .tp-centre { top: 0; clip-path: inset(50% 0 0); }
  #pesbul-2018-team-play :is(.tp-box-left,.tp-goal-left) { display: none; }
  #pesbul-2018-team-play .tp-box-right, #pesbul-2018-team-play .tp-goal-right { top: auto; bottom: -1px; left: 50%; transform: translateX(-50%); width: 59%; height: 27%; }
  #pesbul-2018-team-play .tp-goal-right { width: 29%; height: 12%; }
  #pesbul-2018-team-play .tp-teams button[aria-pressed=true] { border-color: #117459; box-shadow: inset 0 -2px #117459; }
  #pesbul-2018-team-play .tp-teams button:last-child[aria-pressed=true] { border-color: #6c4f9c; box-shadow: inset 0 -2px #6c4f9c; }

}
@media (pointer: coarse) {
  #pesbul-2018-team-play .tp-primary { align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  #pesbul-2018-team-play * { animation: none !important; transition: none !important; }
}

#pesbul-2018-team-play .tp-mix-controls { display: flex; gap: 6px 9px; align-items: center; flex-wrap: wrap; }
#pesbul-2018-team-play .tp-player { display: flex; width: 100%; min-height: inherit; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 2px; border: 0; background: none; color: inherit; cursor: default; }
#pesbul-2018-team-play .tp-position[data-empty=true] .tp-player { cursor: pointer; }
#pesbul-2018-team-play .tp-position[data-movable=true] .tp-player { cursor: grab; touch-action: none; }
#pesbul-2018-team-play .tp-position.tp-dragging .tp-player { cursor: grabbing; }
#pesbul-2018-team-play .tp-position[data-selected=true] .tp-token,
#pesbul-2018-team-play .tp-position.tp-drop .tp-token { box-shadow: 0 0 0 2px #16352d, 0 0 0 4px #fff4bc; }
#pesbul-2018-team-play .tp-token-parent { display: block; position: relative; }
#pesbul-2018-team-play .tp-platform-ribbon { position: absolute; right: -2px; bottom: 4%; z-index: 1; box-shadow: 0 1px 3px #0414128c; }
#pesbul-2018-team-play :is(.tp-platform-ribbon,.tp-platform-chip) { display: inline-block; border: 1px solid #b9f6e8; border-radius: 4px; padding: 1px 5px; color: #123a34; background: #9af6df; font-size: 11px; line-height: 1.2; font-weight: 700; letter-spacing: 0; }
#pesbul-2018-team-play :is(.tp-platform-ribbon,.tp-platform-chip).tp-ps { border-color: #aac2ff; color: #fff; background: #284caf; }
#pesbul-2018-team-play .tp-match-meta .tp-platform-chip { margin-left: 4px; }
#pesbul-2018-team-play .tp-token-actions {
  position: absolute; left: 50%; top: 0; width: var(--avatar-size); aspect-ratio: 1;
  transform: translateX(-50%); z-index: 2; pointer-events: none;
}
#pesbul-2018-team-play .tp-cap-mark, #pesbul-2018-team-play .tp-position .tp-bubble {
  display: grid; place-items: center; position: absolute; top: 18%; width: clamp(21px, 2.75cqw, 26px); aspect-ratio: 1;
  margin: 0; padding: 0; border: 2px solid #fff7d8; border-radius: 50%; line-height: 1;
  font-size: clamp(12px, 1.6cqw, 17px); font-weight: 700; box-shadow: 0 2px 5px #081914b8;
}
#pesbul-2018-team-play .tp-cap-mark, #pesbul-2018-team-play .tp-position .tp-bubble[data-action=captain] { left: 18%; --bubble-x: -50%; color: #422806; background: #ffd369; }
#pesbul-2018-team-play .tp-cap-mark { translate: -50% -50%; }
#pesbul-2018-team-play .tp-position .tp-bubble[data-action=remove] { right: 18%; --bubble-x: 50%; color: #fff; background: #c62449; border-color: #ffd7df; font-size: clamp(17px, 2.1cqw, 24px); }
#pesbul-2018-team-play .tp-position .tp-bubble { opacity: 0; pointer-events: none; translate: var(--bubble-x) -50%; transform: scale(.85); cursor: pointer; transition: opacity .15s ease, transform .15s ease; }
#pesbul-2018-team-play .tp-position:is(:hover,:focus-within,[data-selected=true]) { z-index: 3; }
#pesbul-2018-team-play .tp-position:is(:hover,:focus-within,[data-selected=true]) .tp-bubble,
#pesbul-2018-team-play .tp-position .tp-bubble:focus-visible { opacity: 1; pointer-events: auto; transform: scale(1); }
#pesbul-2018-team-play .tp-position.tp-dragging { z-index: 5; }
#pesbul-2018-team-play .tp-position.tp-dragging .tp-bubble { visibility: hidden; }
#pesbul-2018-team-play .tp-player-tools { display: flex; align-items: center; justify-content: space-between; gap: 5px 10px; flex-wrap: wrap; margin: 7px 12px 0; padding: 8px; border: 1px solid #b0a5c2; border-radius: 3px; background: #e2dcec; color: var(--ink); }
#pesbul-2018-team-play .tp-player-tools small { display: block; color: var(--muted); font-size: 11px; }
#pesbul-2018-team-play .tp-player-actions { display: flex; gap: 4px; flex-wrap: wrap; }
#pesbul-2018-team-play :is(.tp-cap-action,.tp-remove-action) { padding: 5px 9px; border-radius: 3px; font-size: 11px; }
#pesbul-2018-team-play .tp-cap-action { background: #ffdfa1; color: #422d09; border: 1px solid #bc9657; }
#pesbul-2018-team-play .tp-remove-action, #pesbul-2018-team-play .tp-confirm [data-danger=true] { background: #a72041; color: #fff; border: 1px solid #881539; }
#pesbul-2018-team-play .tp-confirm { width: min(390px, calc(100% - 32px)); padding: 16px; color: var(--ink); background: var(--paper); border: 1px solid #a898bd; border-top: 3px solid #776095; border-radius: 4px; box-shadow: 0 14px 35px #20153075; }
#pesbul-2018-team-play .tp-confirm::backdrop { background: #201633aa; }
#pesbul-2018-team-play .tp-confirm p { margin: 8px 0 12px; color: var(--muted); }
#pesbul-2018-team-play .tp-confirm form > div { display: flex; gap: 7px; justify-content: end; }
#pesbul-2018-team-play .tp-confirm .tp-primary { margin: 0; border: 1px solid #138965; border-radius: 3px; }
@media (pointer: coarse) {
  #pesbul-2018-team-play .tp-position .tp-bubble { display: none; }
  #pesbul-2018-team-play .tp-position[data-selected=true] .tp-bubble { display: grid; pointer-events: auto; }
}

/* The scoreboard and touch-friendly lineup share the Matchday light palette. */
#pesbul-2018-team-play .tp-icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

#pesbul-2018-team-play .tp-hero h1 { font-size: clamp(30px, 4.35vw, 54px); }
#pesbul-2018-team-play .tp-hero p:not(.tp-kicker) { font-size: clamp(12px, 1.1vw, 15px); }
#pesbul-2018-team-play .tp-metrics { gap: clamp(5px, 1vw, 12px); margin-block: 12px 18px; }
#pesbul-2018-team-play .tp-metrics div { min-width: 0; padding: clamp(6px, .9vw, 10px); background: linear-gradient(155deg, #f4f8f9, #d4dce0); border-bottom: 2px solid #7197aa; }
#pesbul-2018-team-play .tp-metrics div:first-child { border-color: var(--pg-mint); }
#pesbul-2018-team-play .tp-metrics div:last-child { border-color: var(--pg-rose); }
#pesbul-2018-team-play .tp-metrics dt { gap: 9px; font-size: clamp(10px, 1.02vw, 14px); font-weight: 700; }
#pesbul-2018-team-play .tp-metrics svg { flex: none; width: clamp(20px, 2.2vw, 31px); height: auto; color: var(--mint-ink); }
#pesbul-2018-team-play .tp-metrics dd { font-size: clamp(22px, 2.6vw, 34px); color: var(--ink); }
#pesbul-2018-team-play .tp-panel { border-radius: 11px; }
#pesbul-2018-team-play .tp-panel-head { padding: clamp(8px, .8vw, 11px); }
#pesbul-2018-team-play h2 { font-size: clamp(19px, 2.1vw, 28px); }
#pesbul-2018-team-play .tp-mix .tp-panel-head { background: linear-gradient(100deg, #d6eff0, #d7e0e3 76%); border-top-color: #21a3af; }
#pesbul-2018-team-play .tp-schedule { padding-block: 7px 4px; }
#pesbul-2018-team-play :is(.tp-switch,.tp-hours,.tp-match-tabs) button { min-height: 41px; font-size: clamp(11px, 1.2vw, 14px); cursor: pointer; }
#pesbul-2018-team-play .tp-switch button { display: inline-flex; align-items: center; gap: 5px; }
#pesbul-2018-team-play .tp-switch svg { width: 23px; height: 23px; }
#pesbul-2018-team-play .tp-switch [data-platform=pc] { color: #125f52; border-color: #8ebcae; background: #e2f2eb; }
#pesbul-2018-team-play .tp-switch [data-platform=ps] { color: #213f98; border-color: #a8b9e5; background: #e7edff; }
#pesbul-2018-team-play .tp-switch [data-platform=pc][aria-pressed=true] { color: #103239; background: var(--mint); border-color: #2698a0; }
#pesbul-2018-team-play .tp-switch [data-platform=ps][aria-pressed=true] { color: #fff; background: #304fbe; border-color: #244297; }
#pesbul-2018-team-play[data-active-platform=ps] .tp-hours button[aria-pressed=true] { background: #304fbe; color: #fff; border-color: #244297; }
#pesbul-2018-team-play .tp-teams { padding-block: 4px 6px; }
#pesbul-2018-team-play .tp-teams button { font-size: clamp(10px, 1.2vw, 14px); min-height: 35px; cursor: pointer; }
#pesbul-2018-team-play .tp-teams > strong { font-size: clamp(10px, 1.18vw, 14px); }

#pesbul-2018-team-play .tp-stadium { --board-accent: #8bffe0; --board-glow: #20caa751; --board-bg: #133a3b; margin-inline: clamp(6px, 1.4vw, 20px); }
#pesbul-2018-team-play .tp-stadium[data-active-platform=ps] { --board-accent: #b9d2ff; --board-glow: #3a60dd73; --board-bg: #18346a; }
#pesbul-2018-team-play .tp-adboards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 3px; margin-inline: 0; padding: 4px; background: #0a1923; border: 1px solid #25454a; border-bottom: 4px solid #091623; border-radius: 7px 7px 0 0; perspective: 300px; }
#pesbul-2018-team-play .tp-adboards > * { display: grid; place-items: center; min-width: 0; min-height: clamp(26px, 2.8vw, 36px); color: #e9f9f7; border: 1px solid #536f75; border-bottom: 3px solid #061c24; transform: rotateX(-8deg); background: repeating-linear-gradient(0deg, #deeef20e 0 1px, transparent 1px 3px), linear-gradient(105deg, #12252e, #264c52); box-shadow: inset 0 2px #acdddd4d; }
#pesbul-2018-team-play .tp-board-brand { font: 400 clamp(10px, 2vw, 23px)/1 var(--pg-font-brand); display: flex; align-items: center; justify-content: center; gap: .22em; white-space: nowrap; }
#pesbul-2018-team-play .tp-board-brand b { color: var(--mint); font-weight: inherit; }
#pesbul-2018-team-play .tp-adboards .tp-board-platform { background: repeating-linear-gradient(0deg, #deeef214 0 1px, transparent 1px 3px), var(--board-bg); color: var(--board-accent); box-shadow: inset 0 0 22px var(--board-glow), inset 0 2px #e0fafa66; border-color: var(--board-glow); border-bottom-color: #061c24; font-size: clamp(9px, 1.65vw, 21px); }
#pesbul-2018-team-play .tp-board-platform span { display: flex; align-items: center; gap: .4em; }
#pesbul-2018-team-play .tp-board-platform svg { width: 1.45em; height: 1.45em; }
#pesbul-2018-team-play .tp-pitch { box-shadow: inset 0 14px 21px #051e2080; border-radius: 0 0 6px 6px; }
#pesbul-2018-team-play .tp-field { inset: 10px; }
#pesbul-2018-team-play .tp-avatar { width: 42px; position: relative; }
#pesbul-2018-team-play .tp-who b { font-size: 14px; }
#pesbul-2018-team-play .tp-score-line > strong { font-size: clamp(31px, 3.7vw, 49px); }
#pesbul-2018-team-play .tp-current .tp-scoreboard { padding: 14px; }
#pesbul-2018-team-play .tp-crest { width: clamp(33px, 3.4vw, 45px); height: clamp(36px, 3.7vw, 49px); font-size: clamp(18px, 2.2vw, 29px); }
#pesbul-2018-team-play :is(.tp-club,.tp-events li,.tp-room-list li,.tp-report summary) { font-size: clamp(12px, 1.2vw, 15px); }
#pesbul-2018-team-play :is(.tp-events small,.tp-room-list small) { font-size: 12px; }
#pesbul-2018-team-play .tp-trophy { width: 44px; height: 44px; }
#pesbul-2018-team-play .tp-trophy svg { width: 29px; height: 29px; }
#pesbul-2018-team-play .tp-rosters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: clamp(6px, 1.3vw, 14px); margin: 13px 12px 4px; }
#pesbul-2018-team-play .tp-roster-team { --roster-tint: #d2eef0; --roster-border: #a2cdd2; --roster-ink: #1b5262; border: 1px solid var(--roster-border); border-radius: 8px; overflow: hidden; background: #f5f9fa; }
#pesbul-2018-team-play .tp-roster-team[data-roster-side="2"] { --roster-tint: #f5e4c9; --roster-border: #d3b893; --roster-ink: #68481a; }
#pesbul-2018-team-play .tp-roster-team h3 { display: flex; justify-content: space-between; align-items: center; gap: 4px; padding: 7px 9px; background: var(--roster-tint); color: var(--roster-ink); font-size: clamp(11px, 1.2vw, 16px); }
#pesbul-2018-team-play .tp-roster-team h3 span { white-space: nowrap; font-variant-numeric: tabular-nums; }
#pesbul-2018-team-play .tp-roster-team ul { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 178px),1fr)); list-style: none; gap: 4px 8px; padding: 5px 7px; }
#pesbul-2018-team-play .tp-roster-team li { display: flex; align-items: center; gap: 5px; min-width: 0; padding: 4px 5px; border-radius: 4px; background: #e3ebee; font-size: clamp(10px, 1vw, 13px); }
#pesbul-2018-team-play .tp-roster-team li b { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 490px) {
  #pesbul-2018-team-play .tp-metrics dt { flex-direction: column; align-items: start; gap: 2px; }
  #pesbul-2018-team-play .tp-adboards { grid-template-columns: minmax(0,1fr) minmax(0,1.15fr) minmax(0,1fr); }
  #pesbul-2018-team-play .tp-teams button { gap: 3px; padding-inline: 5px; }
  #pesbul-2018-team-play .tp-roster-team h3 { padding-inline: 5px; }
  #pesbul-2018-team-play .tp-roster-team ul { padding-inline: 4px; }
  #pesbul-2018-team-play .tp-roster-team li { gap: 3px; padding-inline: 3px; }
}

/* Square panels keep the Matchday layout consistent. */
#pesbul-2018-team-play :is(.tp-hero,.tp-panel,.tp-panel-head,.tp-metrics div,.tp-stadium,.tp-adboards,.tp-pitch,.tp-roster-bar,.tp-player-tools,.tp-roster-team,.tp-roster-team li,.tp-scoreboard,.tp-report,.tp-confirm) { border-radius: 0; }
#pesbul-2018-team-play .tp-report-content > .tp-rosters { grid-column: 1 / -1; margin: 0; }
#pesbul-2018-team-play .tp-current .tp-rosters { gap: 5px; margin: 8px; }
#pesbul-2018-team-play .tp-current .tp-roster-team ul { grid-template-columns: minmax(0, 1fr); }
#pesbul-2018-team-play .tp-current .tp-roster-team h3 { font-size: 12px; }
@media (max-width: 1060px) {
  #pesbul-2018-team-play .tp-columns { grid-template-columns: minmax(0, 1fr); }
  #pesbul-2018-team-play .tp-side { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
}
@media (min-width: 821px) and (max-height: 850px) {
  #pesbul-2018-team-play { padding-top: 10px; }
  #pesbul-2018-team-play .tp-sub-nav { margin-bottom: 7px; }
  
  
  #pesbul-2018-team-play .tp-metrics { margin-block: 7px 9px; }
  #pesbul-2018-team-play .tp-panel-head { padding-block: 6px; }
  #pesbul-2018-team-play :is(.tp-switch,.tp-hours) button { min-height: 34px; padding-block: 4px; }
  #pesbul-2018-team-play .tp-teams button { min-height: 30px; padding-block: 3px; }
}
@media (max-width: 540px) {
  #pesbul-2018-team-play .tp-side { grid-template-columns: minmax(0, 1fr); }
}

#pesbul-2018-team-play .tp-sub-nav { margin-bottom: 8px; }
#pesbul-2018-team-play .tp-sub-nav a { padding-block: 6px; }
#pesbul-2018-team-play .tp-metrics { margin-block: 6px 9px; }
#pesbul-2018-team-play .tp-metrics div { padding-block: 5px; }
#pesbul-2018-team-play .tp-mix .tp-panel-head > div:first-child { display: flex; gap: 6px 11px; align-items: baseline; flex-wrap: wrap; }
#pesbul-2018-team-play .tp-mix h2 { font-size: clamp(19px, 2vw, 23px); }
#pesbul-2018-team-play .tp-schedule .tp-session-line { margin: 0; flex-wrap: wrap; text-align: center; justify-content: center; }
#pesbul-2018-team-play .tp-switch button, #pesbul-2018-team-play .tp-hours button { min-height: 35px; padding-block: 4px; }
#pesbul-2018-team-play .tp-teams button { min-height: 30px; padding-block: 3px; }
#pesbul-2018-team-play .tp-adboards > * { min-height: 24px; }
@media (min-width: 821px) and (max-height: 850px) {
  #pesbul-2018-team-play .tp-mix .tp-panel-head { padding-block: 5px; }
  #pesbul-2018-team-play .tp-schedule { padding-block: 4px 2px; }
}
@media (max-width: 540px) {
  #pesbul-2018-team-play .tp-schedule .tp-session-line { flex-basis: 100%; order: 1; justify-content: space-between; }
  #pesbul-2018-team-play :is(.tp-switch,.tp-hours) button { min-height: 44px; }
  
}


#pesbul-2018-team-play .tp-discord-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; background: #dbe8eb; padding: 7px 12px; font-size: 12px; }
#pesbul-2018-team-play .tp-discord-controls a { color: var(--mint-ink); }
#pesbul-2018-team-play :is(.tp-token,.tp-who .tp-avatar) img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; pointer-events: none; }
#pesbul-2018-team-play [data-discord-link] { text-decoration: none; white-space: nowrap; }
#pesbul-2018-team-play .tp-session-line[data-closed=true] .tp-open { color: var(--muted); }
#pesbul-2018-team-play .tp-share-fallback { width: calc(100% - 24px); margin: 0 12px 8px; font: inherit; color: var(--ink); }
#pesbul-2018-team-play .tp-feed-note { padding: 12px; color: var(--muted); font-size: 13px; }
#pesbul-2018-team-play .tp-match-picker { display: block; max-width: calc(100% - 24px); margin: 8px 12px; color: var(--ink); background: #f5f9fa; border: 1px solid var(--line); padding: 6px; font: inherit; }
@media (min-width: 821px) and (max-height: 850px) {
  
  
  #pesbul-2018-team-play .tp-board-platform { font-size: 14px; }
  #pesbul-2018-team-play .tp-board-brand { font-size: 17px; }
  #pesbul-2018-team-play .tp-adboards { padding: 3px; border-bottom-width: 3px; }
}

#pesbul-2018-team-play :is(.tp-hero h1, .tp-panel-head h2, .tp-leagues h2) {
  font-family: var(--pb-font-display);
  font-weight: 700;
  letter-spacing: .01em;
}
#pesbul-2018-team-play .tp-hero h1 { text-transform: uppercase; }
#pesbul-2018-team-play .tp-board-brand b { color: var(--pg-rose); }
#pesbul-2018-team-play .tp-panel-head h2 { color: var(--ink); }
#pesbul-2018-team-play .tp-sub-nav a { color: #e6eff3; }
#pesbul-2018-team-play .tp-sub-nav a:is(:hover, :focus-visible) { color: var(--mint); }
@media (max-width: 540px) {
  #pesbul-2018-team-play .tp-sub-nav { gap: 0 12px; }
  #pesbul-2018-team-play .tp-sub-nav a { min-height: 36px; }
}

/* Team Play profiles and archive, shared layout with PES 2018 skin below. */
#pesbul-2018-team-play [data-demo-portrait]::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--tp-demo-portraits) var(--tp-portrait-x) var(--tp-portrait-y) / 400% 400% no-repeat; pointer-events: none; }
#pesbul-2018-team-play .tp-demo-banner { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; padding: 13px 16px; margin-bottom: 12px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-left: 3px solid var(--violet); font-size: 13px; }
#pesbul-2018-team-play .tp-demo-banner > div:first-child { flex: 1 1 280px; }
#pesbul-2018-team-play .tp-demo-banner strong { display: block; font-size: 15px; }
#pesbul-2018-team-play .tp-demo-banner span { color: var(--muted); }
#pesbul-2018-team-play .tp-demo-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
#pesbul-2018-team-play .tp-demo-tools label { display: flex; align-items: center; gap: 8px; }
#pesbul-2018-team-play .tp-demo-tools :is(select,button) { padding: 8px 10px; min-height: 38px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); font: inherit; }
#pesbul-2018-team-play .tp-demo-banner > a { text-decoration: underline; font-weight: 700; }

#pesbul-2018-team-play .tp-source-note { padding: 9px 12px; margin-bottom: 8px; background: var(--paper); color: var(--ink); border-inline-start: 3px solid var(--violet); }
#pesbul-2018-team-play .tp-career { margin-top: 14px; }
#pesbul-2018-team-play .tp-career-table { max-height: 420px; overflow: auto; }
#pesbul-2018-team-play .tp-career-table table { width: 100%; border-collapse: collapse; text-align: left; color: var(--ink); }
#pesbul-2018-team-play .tp-career-table :is(td,th) { padding: 9px 12px; border-bottom: 1px solid var(--line); }
#pesbul-2018-team-play .tp-match-picker { display: block; max-width: calc(100% - 24px); margin: 8px 12px; color: var(--ink); background: #f8f6fc; border: 1px solid var(--line); padding: 6px; font: inherit; }
#pesbul-2018-team-play .tp-club-crest { width: 26px; height: 26px; object-fit: contain; }
#pesbul-2018-team-play .tp-lineup-platform { margin-left: auto; padding: 1px 5px; background: #a8f1e2; color: #073d36; font-size: 10px; font-weight: 700; }
#pesbul-2018-team-play .tp-lineup-platform[data-platform="playstation"] { background: #d5ddff; color: #243d83; }
#pesbul-2018-team-play .tp-match-ratings { display: grid; gap: 6px; margin-top: 10px; list-style: none; }
#pesbul-2018-team-play .tp-match-ratings li { display: flex; gap: 12px; justify-content: space-between; }
#pesbul-2018-team-play .tp-report-link { grid-column: 1 / -1; text-decoration: underline; font-weight: 700; }
#pesbul-2018-team-play.tp-account { display: grid; gap: 14px; }
#pesbul-2018-team-play.tp-account .tp-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#pesbul-2018-team-play.tp-account .tp-rosters { margin: 12px; }
#pesbul-2018-team-play.tp-account .tp-roster-team li > span:first-child { flex: 1; min-width: 0; overflow-wrap: anywhere; }
#pesbul-2018-team-play.tp-account .tp-events { padding: 12px; }
#pesbul-2018-team-play.tp-account :is(.tp-room-list a,.tp-roster-team a) { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 650px) {
  #pesbul-2018-team-play.tp-account .tp-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Match reports: team identities and people lead, with compact observed metrics. */
#pesbul-2018-team-play .tp-lineup-avatar { position: relative; display: inline-grid; place-items: center; width: 32px; height: 32px; flex: 0 0 auto; overflow: hidden; border-radius: 50%; background: #215e50; color: #d5fff1; border: 2px solid #64dab8; font-size: 12px; font-weight: 800; }
#pesbul-2018-team-play [data-roster-side="2"] .tp-lineup-avatar { background: #594376; color: #f1e8ff; border-color: #c7adff; }
#pesbul-2018-team-play .tp-lineup-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
#pesbul-2018-team-play.tp-report-page { display: grid; gap: 16px; }
#pesbul-2018-team-play.tp-report-page .tp-sub-nav { margin: 0; }
#pesbul-2018-team-play.tp-report-page .tp-report-banner { color: #fff; background: linear-gradient(105deg,#181628f5,#302047ed 55%,#142c32f0),url('../launch/stadium.webp') center 45%/cover; border-color: #726385; box-shadow: inset 0 -3px #27dfb4,0 6px 22px #09051e33; }
#pesbul-2018-team-play .tp-report-banner-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px 0; }
#pesbul-2018-team-play .tp-report-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: .15em; color: #a6d9d1; }
#pesbul-2018-team-play.tp-report-page h1 { margin-top: 5px; font-size: clamp(24px,3vw,36px); letter-spacing: -.025em; }
#pesbul-2018-team-play .tp-report-tags { display: flex; align-items: center; justify-content: end; flex-wrap: wrap; gap: 7px; }
#pesbul-2018-team-play :is(.tp-report-platform,.tp-result-tag) { display: inline-flex; gap: 6px; align-items: center; padding: 5px 9px; border: 1px solid #9c91b477; font-weight: 700; font-size: 11px; white-space: nowrap; }
#pesbul-2018-team-play .tp-report-platform { color: #b2fbe4; background: #164c42; border-color: #63c0aa; }
#pesbul-2018-team-play .tp-report-platform[data-platform="playstation"] { color: #e3eaff; background: #203e78; border-color: #859dde; }
#pesbul-2018-team-play .tp-result-tag { color: #ffe3a1; background: #4b3d25; }
#pesbul-2018-team-play .tp-result-tag[data-agreed="true"] { color: #aef5d9; background: #1c453b; border-color: #3b826e; }
#pesbul-2018-team-play .tp-result-tag::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
#pesbul-2018-team-play .tp-report-scoreboard { display: grid; grid-template-columns: minmax(0,1fr) minmax(180px,.55fr) minmax(0,1fr); gap: 18px; align-items: center; padding: 28px 32px 30px; }
#pesbul-2018-team-play .tp-report-club { display: flex; align-items: center; gap: 18px; min-width: 0; }
#pesbul-2018-team-play .tp-report-club[data-side="away"] { grid-column: 3; grid-row: 1; flex-direction: row-reverse; text-align: right; }
#pesbul-2018-team-play .tp-report-side { color: #8be9c8; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; }
#pesbul-2018-team-play .tp-report-club[data-side="away"] .tp-report-side { color: #d6bfff; }
#pesbul-2018-team-play .tp-report-club h2 { color: #fff; font-size: clamp(16px,1.7vw,24px); line-height: 1.25; margin-top: 5px; }
#pesbul-2018-team-play .tp-team-emblem { display: inline-grid; place-items: center; width: 90px; height: 96px; flex: 0 0 auto; filter: drop-shadow(0 5px 8px #0004); }
#pesbul-2018-team-play .tp-team-emblem img { width: 100%; height: 100%; object-fit: contain; }
#pesbul-2018-team-play .tp-team-emblem > span { display: grid; place-items: center; width: 70%; height: 75%; background: #ffffff12; border: 1px solid #ffffff55; font-size: 27px; font-weight: 800; }
#pesbul-2018-team-play .tp-team-emblem-small { width: 34px; height: 38px; filter: none; }
#pesbul-2018-team-play .tp-report-score { grid-column: 2; grid-row: 1; text-align: center; }
#pesbul-2018-team-play .tp-report-score > span { color: #c9bfd9; font-size: 9px; font-weight: 700; letter-spacing: .16em; }
#pesbul-2018-team-play .tp-report-score strong { display: block; color: #fff; font-size: clamp(48px,6vw,76px); line-height: 1.15; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
#pesbul-2018-team-play .tp-report-score time { display: block; color: #d5cbdf; font-size: 11px; margin-top: 6px; }
#pesbul-2018-team-play .tp-report-status-note { padding: 0 26px 14px; color: #f5dba9; }
#pesbul-2018-team-play.tp-report-page .tp-panel-head { padding: 14px 18px; }
#pesbul-2018-team-play.tp-report-page .tp-panel-head h2 { font-size: 21px; }
#pesbul-2018-team-play.tp-report-page .tp-panel-head p { margin-top: 3px; font-size: 12px; }
#pesbul-2018-team-play .tp-recorded-count { padding: 4px 8px; border: 1px solid var(--line); font-size: 11px; color: var(--muted); }
#pesbul-2018-team-play.tp-report-page .tp-rosters { margin: 16px 18px 4px; }
#pesbul-2018-team-play .tp-report-team-head { display: flex; align-items: center; gap: 9px; padding: 10px 13px; background: var(--roster-tint); color: var(--roster-ink); border-bottom: 1px solid var(--roster-border); }
#pesbul-2018-team-play .tp-report-team-head > div { flex: 1; min-width: 0; }
#pesbul-2018-team-play .tp-report-team-head small { font-size: 9px; letter-spacing: .12em; font-weight: 800; }
#pesbul-2018-team-play .tp-report-team-head h3 { padding: 0; font-size: clamp(13px,1.3vw,17px); line-height: 1.25; background: none; color: inherit; }
#pesbul-2018-team-play .tp-team-count { display: grid; place-items: center; min-width: 28px; height: 28px; padding-inline: 5px; background: #ffffff70; border: 1px solid var(--roster-border); font-weight: 800; font-size: 14px; }
#pesbul-2018-team-play.tp-report-page .tp-roster-team ul { display: grid; grid-template-columns: minmax(0,1fr); padding: 5px 10px; gap: 0; }
#pesbul-2018-team-play.tp-report-page .tp-report-player { display: flex; align-items: center; gap: 11px; padding: 14px 2px; background: transparent; border-bottom: 1px solid var(--line); }
#pesbul-2018-team-play.tp-report-page .tp-report-player:last-child { border-bottom: 0; }
#pesbul-2018-team-play.tp-report-page .tp-lineup-avatar { width: 48px; height: 48px; font-size: 16px; box-shadow: 0 3px 7px #18102420; }
#pesbul-2018-team-play .tp-report-player-name { flex: 1; min-width: 0; }
#pesbul-2018-team-play .tp-report-player-name > :is(a,b) { font-size: clamp(13px,1.2vw,16px); font-weight: 800; overflow-wrap: anywhere; text-decoration: none !important; }
#pesbul-2018-team-play .tp-report-player-name > a:hover { text-decoration: underline !important; }
#pesbul-2018-team-play .tp-report-player-name > span { display: flex; align-items: center; gap: 5px; margin-top: 5px; }
#pesbul-2018-team-play .tp-report-player-name .tp-lineup-platform { margin: 0; font-size: 9px; }
#pesbul-2018-team-play .tp-report-player-name small { color: var(--muted); font-size: 10px; }
#pesbul-2018-team-play .tp-player-facts { display: flex; gap: 12px; text-align: center; }
#pesbul-2018-team-play .tp-player-facts div { min-width: 31px; }
#pesbul-2018-team-play .tp-player-facts dt { color: var(--muted); font-size: 9px; }
#pesbul-2018-team-play .tp-player-facts dd { margin-top: 3px; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
#pesbul-2018-team-play.tp-report-page [data-roster-side="2"] .tp-report-player { flex-direction: row-reverse; }
#pesbul-2018-team-play.tp-report-page [data-roster-side="2"] .tp-report-player-name { text-align: right; }
#pesbul-2018-team-play.tp-report-page [data-roster-side="2"] .tp-report-player-name > span { justify-content: end; }
#pesbul-2018-team-play.tp-report-page .tp-feed-note { padding: 12px 18px 16px; font-size: 12px; }
#pesbul-2018-team-play .tp-report-goal-list { list-style: none; padding: 4px 18px; }
#pesbul-2018-team-play .tp-report-goal-list li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
#pesbul-2018-team-play .tp-report-goal-list li:last-child { border-bottom: 0; }
#pesbul-2018-team-play .tp-goal-number { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; background: #d5f2e7; color: #165344; font-weight: 800; font-variant-numeric: tabular-nums; }
#pesbul-2018-team-play .tp-report-goal-list [data-side="away"] .tp-goal-number { background: #eae0fa; color: #513878; }
#pesbul-2018-team-play .tp-goal-person { flex: 1; min-width: 0; }
#pesbul-2018-team-play .tp-goal-person strong { display: block; font-size: 16px; }
#pesbul-2018-team-play .tp-goal-person small { display: block; margin-top: 2px; color: var(--muted); }
#pesbul-2018-team-play .tp-goal-team { display: flex; gap: 9px; align-items: center; max-width: 45%; font-weight: 700; }
@media (max-width: 760px) {
  #pesbul-2018-team-play .tp-report-banner-top { padding: 16px 16px 0; align-items: start; }
  #pesbul-2018-team-play .tp-report-tags { max-width: 145px; }
  #pesbul-2018-team-play .tp-report-scoreboard { grid-template-columns: minmax(0,1fr) minmax(100px,.6fr) minmax(0,1fr); gap: 9px; padding: 22px 14px; }
  #pesbul-2018-team-play .tp-report-club,#pesbul-2018-team-play .tp-report-club[data-side="away"] { flex-direction: column; gap: 7px; text-align: center; }
  #pesbul-2018-team-play .tp-team-emblem { width: 58px; height: 62px; }
  #pesbul-2018-team-play .tp-team-emblem-small { width: 28px; height: 32px; }
  #pesbul-2018-team-play .tp-report-score time { font-size: 10px; }
  #pesbul-2018-team-play .tp-report-club h2 { font-size: 13px; }
  #pesbul-2018-team-play.tp-report-page .tp-rosters { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 410px) {
  #pesbul-2018-team-play .tp-report-banner-top { flex-wrap: wrap; }
  #pesbul-2018-team-play .tp-report-tags { justify-content: start; max-width: none; }
  #pesbul-2018-team-play .tp-report-score strong { font-size: 40px; }
  #pesbul-2018-team-play .tp-player-facts { gap: 7px; }
  #pesbul-2018-team-play .tp-goal-team { max-width: 48%; font-size: 11px; gap: 6px; }
}

/* One public player profile: archived matches and native career in one view. */
#pesbul-2018-team-play:is(.tp-player-page,.tp-report-page) .tp-panel { border-radius: 0; }
#pesbul-2018-team-play:is(.tp-player-page,.tp-report-page) .tp-feed-note { font-size: 14px; line-height: 1.55; }
#pesbul-2018-team-play:is(.tp-player-page,.tp-report-page) .tp-panel-head p { font-size: 13px; }
#pesbul-2018-team-play:is(.tp-player-page,.tp-report-page) .tp-report-eyebrow { font-size: 12px; }
#pesbul-2018-team-play .tp-player-banner { display: flex; align-items: center; gap: 24px; padding: 30px; color: #fff; background: linear-gradient(100deg,#171526f7,#39234de8 62%,#123d36e0),url('../launch/stadium.webp') center 46%/cover; border-color: #726385; border-bottom: 3px solid #27dfb4; }
#pesbul-2018-team-play .tp-player-banner > div { min-width: 0; flex: 1; }
#pesbul-2018-team-play .tp-player-banner h1 { font-size: clamp(30px,4.2vw,48px); margin-block: 5px 9px; overflow-wrap: anywhere; }
#pesbul-2018-team-play .tp-player-banner p { color: #c9bfd9; font-size: 14px; }
#pesbul-2018-team-play .tp-player-banner .tp-profile-avatar { width: 96px; height: 96px; font-size: 31px; background: #205445; border-color: #6ae9c5; box-shadow: 0 0 0 6px #b0ffe70b,0 6px 20px #0005; }
#pesbul-2018-team-play .tp-player-banner[data-platform="playstation"] .tp-profile-avatar { background: #44325e; color: #ede3ff; border-color: #c7adff; }
#pesbul-2018-team-play .tp-report-platform[data-platform="unknown"] { color: #e4dced; background: #332e42; border-color: #8d859d; }
#pesbul-2018-team-play .tp-profile-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
#pesbul-2018-team-play .tp-profile-metrics > div { min-width: 0; padding: 19px 20px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-top: 3px solid #b6a0d3; }
#pesbul-2018-team-play .tp-profile-metrics > div:nth-child(2) { border-top-color: #2ac399; }
#pesbul-2018-team-play .tp-profile-metrics dt { color: var(--muted); font-size: 14px; }
#pesbul-2018-team-play .tp-profile-metrics dd { font-size: 34px; font-weight: 800; line-height: 1.2; margin-top: 8px; font-variant-numeric: tabular-nums; }
#pesbul-2018-team-play .tp-profile-metrics small { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); line-height: 1.5; font-weight: 400; }
#pesbul-2018-team-play .tp-profile-layout { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(290px,1fr); align-items: start; gap: 16px; }
#pesbul-2018-team-play :is(.tp-profile-main,.tp-profile-side) { display: grid; gap: 16px; min-width: 0; }
#pesbul-2018-team-play.tp-player-page .tp-panel-head { padding: 16px 20px; }
#pesbul-2018-team-play.tp-player-page .tp-panel-head h2 { font-size: 22px; }
#pesbul-2018-team-play.tp-player-page .tp-panel-head > span { font-size: 12px; color: var(--muted); }
#pesbul-2018-team-play .tp-profile-match-list { list-style: none; padding: 6px 18px; }
#pesbul-2018-team-play .tp-profile-match-list li { border-bottom: 1px solid var(--line); }
#pesbul-2018-team-play .tp-profile-match-list li:last-child { border-bottom: 0; }
#pesbul-2018-team-play .tp-profile-match-list a { display: grid; gap: 15px; padding: 18px 4px; outline-offset: 2px; transition: background-color .18s; }
#pesbul-2018-team-play .tp-profile-match-list a:is(:hover,:focus-visible) { background: color-mix(in srgb, var(--mint) 7%, transparent); }
#pesbul-2018-team-play .tp-profile-match-meta { display: flex; gap: 8px; align-items: center; justify-content: space-between; font-size: 12px; color: var(--muted); }
#pesbul-2018-team-play .tp-profile-match-score { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 12px; }
#pesbul-2018-team-play .tp-profile-club { display: flex; align-items: center; gap: 9px; min-width: 0; font-size: 14px; }
#pesbul-2018-team-play .tp-profile-club b { overflow-wrap: anywhere; }
#pesbul-2018-team-play .tp-profile-club img { width: 32px; height: 36px; flex-shrink: 0; object-fit: contain; }
#pesbul-2018-team-play .tp-profile-club[data-side="away"] { grid-column: 3; grid-row: 1; text-align: right; flex-direction: row-reverse; }
#pesbul-2018-team-play .tp-profile-match-score > strong { grid-column: 2; grid-row: 1; padding: 5px 11px; background: #28203c; color: #fff; font-size: 24px; font-variant-numeric: tabular-nums; white-space: nowrap; }
#pesbul-2018-team-play .tp-native-rating { display: grid; grid-template-columns: 1.15fr .8fr 1fr; align-items: center; margin: 20px; padding: 20px; border: 1px solid var(--line); background: color-mix(in srgb, var(--violet) 9%, var(--paper)); gap: 12px; }
#pesbul-2018-team-play .tp-native-rating > div { display: grid; gap: 7px; min-width: 0; }
#pesbul-2018-team-play .tp-native-rating > div + div { border-left: 1px solid var(--line); padding-left: 18px; }
#pesbul-2018-team-play .tp-native-rating span { font-size: 12px; color: var(--muted); }
#pesbul-2018-team-play .tp-native-rating strong { font-size: 43px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
#pesbul-2018-team-play .tp-native-rating b { font-size: 27px; font-variant-numeric: tabular-nums; }
#pesbul-2018-team-play .tp-native-rating .tp-career-updated { font-size: 14px; }
#pesbul-2018-team-play .tp-career-position-area { padding: 0 20px 16px; }
#pesbul-2018-team-play .tp-career-position-area h3 { margin-bottom: 10px; font-size: 14px; }
#pesbul-2018-team-play .tp-career-positions { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); list-style: none; gap: 8px; }
#pesbul-2018-team-play .tp-career-positions li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 10px; padding: 12px; border: 1px solid var(--line); border-left: 3px solid #9a80c1; }
#pesbul-2018-team-play .tp-career-positions li > span { font-size: 14px; font-weight: 800; }
#pesbul-2018-team-play .tp-career-positions small { color: var(--muted); font-size: 12px; }
#pesbul-2018-team-play .tp-career-positions b { grid-column: 2; grid-row: 1/3; font-size: 24px; }
#pesbul-2018-team-play .tp-career-groups { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding: 0 20px; gap: 6px; }
#pesbul-2018-team-play .tp-career-groups > div { padding: 10px 8px; text-align: center; border: 1px solid var(--line); }
#pesbul-2018-team-play .tp-career-groups dt { font-size: 12px; color: var(--muted); }
#pesbul-2018-team-play .tp-career-groups dd { font-size: 20px; font-weight: 800; margin-top: 3px; }
#pesbul-2018-team-play .tp-individual-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; padding: 18px 20px 3px; }
#pesbul-2018-team-play .tp-individual-grid > div { min-width: 0; border: 1px solid var(--line); padding: 13px; }
#pesbul-2018-team-play .tp-individual-grid dt { color: var(--muted); font-size: 13px; }
#pesbul-2018-team-play .tp-individual-grid dd { margin-top: 7px; font-size: 26px; line-height: 1; font-weight: 700; }
#pesbul-2018-team-play.tp-player-page .tp-feed-note { padding: 18px 20px; }
#pesbul-2018-team-play .tp-bal-pending { display: flex; align-items: center; gap: 13px; padding: 20px; }
#pesbul-2018-team-play .tp-bal-pending > span { display: grid; place-items: center; width: 48px; height: 56px; flex-shrink: 0; font-size: 14px; font-weight: 800; color: var(--muted); border: 1px dashed var(--line); }
#pesbul-2018-team-play .tp-bal-pending h3 { font-size: 14px; }
#pesbul-2018-team-play .tp-bal-pending p { margin-top: 5px; color: var(--muted); font-size: 13px; }
#pesbul-2018-team-play .tp-profile-platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: #e8e2f1; font-size: 14px; }
#pesbul-2018-team-play .tp-profile-platforms a { padding: 7px 12px; border: 1px solid var(--mint); }
#pesbul-2018-team-play .tp-career-pid { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
#pesbul-2018-team-play.tp-player-page .tp-panel.tp-feed-note h1 { color: var(--ink); }
@media (max-width: 850px) {
  #pesbul-2018-team-play .tp-profile-layout { grid-template-columns: minmax(0,1fr); }
  #pesbul-2018-team-play .tp-profile-side { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
}
@media (max-width: 600px) {
  #pesbul-2018-team-play .tp-player-banner { gap: 16px; padding: 22px 18px; flex-wrap: wrap; }
  #pesbul-2018-team-play .tp-player-banner .tp-profile-avatar { width: 72px; height: 72px; font-size: 24px; }
  #pesbul-2018-team-play .tp-player-banner .tp-report-platform { margin-left: 88px; }
  #pesbul-2018-team-play .tp-player-banner p { font-size: 12px; }
  #pesbul-2018-team-play .tp-profile-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  #pesbul-2018-team-play .tp-profile-metrics > div { padding: 14px; }
  #pesbul-2018-team-play .tp-profile-metrics dd { font-size: 30px; }
  #pesbul-2018-team-play .tp-profile-side { grid-template-columns: minmax(0,1fr); }
  #pesbul-2018-team-play .tp-native-rating { margin: 14px; padding: 14px; gap: 8px; }
  #pesbul-2018-team-play .tp-native-rating > div + div { padding-left: 10px; }
  #pesbul-2018-team-play .tp-native-rating strong { font-size: 34px; }
  #pesbul-2018-team-play .tp-career-position-area { padding-inline: 14px; }
  #pesbul-2018-team-play .tp-career-positions { grid-template-columns: minmax(0,1fr); }
  #pesbul-2018-team-play .tp-career-groups { padding-inline: 14px; grid-template-columns: repeat(2,minmax(0,1fr)); }
  #pesbul-2018-team-play .tp-profile-match-score { gap: 8px; }
  #pesbul-2018-team-play .tp-profile-club { flex-direction: column; text-align: center; font-size: 13px; }
  #pesbul-2018-team-play .tp-profile-club[data-side="away"] { flex-direction: column; text-align: center; }
  #pesbul-2018-team-play .tp-profile-match-meta { font-size: 11px; }
  #pesbul-2018-team-play .tp-profile-match-score > strong { font-size: 21px; padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  #pesbul-2018-team-play .tp-profile-match-list a { transition: none; }
}

#pesbul-2018-team-play.tp-report-page .tp-roster-team li > .tp-lineup-avatar { flex: 0 0 48px; min-width: 48px; max-width: 48px; }
#pesbul-2018-team-play .tp-player-facts dt { font-size: 11px; }
@media (max-width: 600px) {
  #pesbul-2018-team-play .tp-player-banner { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 12px 16px; }
  #pesbul-2018-team-play .tp-player-banner .tp-profile-avatar { grid-column: 1; grid-row: 1/3; }
  #pesbul-2018-team-play .tp-player-banner > div { grid-column: 2; }
  #pesbul-2018-team-play .tp-player-banner .tp-report-platform { grid-column: 2; margin-left: 0; justify-self: start; }
  #pesbul-2018-team-play .tp-player-banner h1 { font-size: 29px; }
}
#pesbul-2018-team-play .tp-player-banner .tp-linked-site-profile { display: inline-flex; align-items: center; gap: 7px; color: #a9f6df; border-bottom: 1px solid #68dabb; padding-bottom: 2px; font-weight: 700; }
#pesbul-2018-team-play .tp-linked-site-profile::before { content: '✓'; display: inline-grid; place-items: center; width: 17px; height: 17px; border: 1px solid currentColor; border-radius: 50%; font-size: 10px; }
#pesbul-2018-team-play .tp-player-banner h1 + p .tp-staff-pid { display: inline-block; margin-right: 15px; color: #c9bfd9; font-size: 12px; }
#pesbul-2018-team-play .tp-linked-site-profile::before { content: ''; display: inline-block; width: 10px; height: 6px; border: 0; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; border-radius: 0; transform: rotate(-45deg); margin: 0 2px 3px; }

/* Source-backed footballer reports: light/dark inherit the existing Team Play palette. */
#pesbul-2018-team-play .tp-selected-footballer{display:block;font-weight:500;font-size:.82em;color:inherit;opacity:.85}
#pesbul-2018-team-play .tp-individual-player{margin:12px 16px;border:1px solid var(--line);padding:12px;color:inherit;background:transparent}
#pesbul-2018-team-play .tp-individual-player summary{cursor:pointer;display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;min-height:36px}
#pesbul-2018-team-play .tp-individual-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:1px;background:var(--line);margin:16px 0;border:1px solid var(--line)}
#pesbul-2018-team-play .tp-individual-grid>div{padding:10px;background:var(--paper)}
#pesbul-2018-team-play .tp-individual-grid dt{font-size:12px;color:inherit;opacity:.8}
#pesbul-2018-team-play .tp-individual-grid dd{font-size:20px;font-weight:700;margin:3px 0;color:inherit}
#pesbul-2018-team-play .tp-activity{max-width:300px;margin:18px 0}
#pesbul-2018-team-play .tp-heatmap{display:grid;grid-template-columns:repeat(10,1fr);aspect-ratio:10/14;background:#173e2b;border:2px solid #b2cdbb;margin:8px 0;contain:paint;position:relative}
#pesbul-2018-team-play .tp-heatmap:after{content:'';position:absolute;inset:50% 0 auto;border-top:1px solid #b2cdbb88;pointer-events:none}
#pesbul-2018-team-play .tp-heatmap span{border:1px solid #ffffff09}
#pesbul-2018-team-play .tp-bal-confirm{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:12px 0}
#pesbul-2018-team-play .tp-bal-confirm label{display:grid;gap:6px;max-width:100%}
#pesbul-2018-team-play .tp-bal-confirm select{max-width:100%;color:#272239;background:#faf9fc;border:1px solid #a69fb6;min-height:42px;padding:8px}
#pesbul-2018-team-play .tp-bal-confirm button{min-height:42px;padding:8px 16px;background:#18deb0;color:#142932;border:0;font-weight:700;cursor:pointer}
#pesbul-2018-team-play .tp-bal-confirm small{flex-basis:100%}
#pesbul-2018-team-play .tp-individual-scroll{overflow:auto;max-height:420px}
#pesbul-2018-team-play .tp-individual-scroll th,#pesbul-2018-team-play .tp-individual-scroll td{padding:8px;white-space:nowrap;border-bottom:1px solid #aaa5b7;color:inherit}

#pesbul-2018-team-play .tp-performance-context{display:grid;gap:7px;padding:16px 20px;color:var(--ink)}
#pesbul-2018-team-play .tp-performance-context time,#pesbul-2018-team-play .tp-performance-context>span{font-size:12px;color:var(--muted)}
#pesbul-2018-team-play .tp-performance-context>a{font-weight:700;text-decoration:underline;text-underline-offset:3px}
#pesbul-2018-team-play .tp-performance-picker{display:grid;gap:5px;margin:8px 0}
#pesbul-2018-team-play .tp-performance-picker>div{display:flex;gap:6px}
#pesbul-2018-team-play .tp-performance-picker select{min-width:0;max-width:100%;flex:1;padding:8px;color:var(--ink);background:var(--paper);border:1px solid var(--line);font:inherit}
#pesbul-2018-team-play .tp-performance-picker button{border:1px solid var(--line);padding:8px 12px;background:var(--mint);color:#142a25;font-weight:700;cursor:pointer}
#pesbul-2018-team-play .tp-measurement-state{padding:9px 20px;border-block:1px solid var(--line);font-size:12px;font-weight:600;color:var(--muted)}
#pesbul-2018-team-play .tp-measurement-state[data-received=true]{color:var(--ink);border-left:3px solid var(--mint)}
#pesbul-2018-team-play .tp-profile-stat-details>summary{padding:14px 20px;cursor:pointer}
#pesbul-2018-team-play .tp-profile-activity{margin:0;padding:18px 20px;color:var(--ink)}
#pesbul-2018-team-play .tp-profile-activity figcaption{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}
#pesbul-2018-team-play .tp-profile-activity figcaption>span{font-size:11px;color:var(--muted)}
#pesbul-2018-team-play .tp-profile-activity>p{font-size:12px;color:var(--muted);margin-top:9px}
#pesbul-2018-team-play .tp-profile-heatmap{width:100%;max-width:260px;margin:0 auto}
#pesbul-2018-team-play .tp-heatmap-missing{display:grid;place-items:center;position:relative;min-height:190px;background:var(--paper);border:1px dashed var(--line);color:var(--muted);text-align:center}
#pesbul-2018-team-play .tp-heatmap-missing>span{position:absolute;inset:15px;border:1px solid var(--line);pointer-events:none}
#pesbul-2018-team-play .tp-heatmap-missing>span:before{content:'';position:absolute;inset:0 50% 0 auto;border-left:1px solid var(--line)}
#pesbul-2018-team-play .tp-heatmap-missing>p{position:relative;background:var(--paper);padding:10px 14px;font-weight:600}

/* Participant career dashboard: isolated from lobby, report and pitch layouts. */
#pesbul-2018-team-play.tp-career-profile { --tp-profile-accent:#19dfb0; display:grid; gap:14px; }
#pesbul-2018-team-play.tp-career-profile .tp-panel { border-radius:0; box-shadow:none; }
#pesbul-2018-team-play.tp-career-profile .tp-demo-banner,
#pesbul-2018-team-play.tp-career-profile .tp-sub-nav { margin:0; }
#pesbul-2018-team-play.tp-career-profile :is(p,small,span,dd,dt) { overflow-wrap:anywhere; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(350px,.68fr); gap:30px; padding:28px 32px 22px; border:1px solid #777088; border-bottom:3px solid var(--tp-profile-accent); background:linear-gradient(110deg,#171124f5,#28213bed 58%,#10372eea),url('../launch/stadium.webp') center 48%/cover; color:#fbfaff; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-identity { display:flex; flex-direction:column; justify-content:center; min-width:0; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-player { display:flex; gap:23px; align-items:center; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-avatar { position:relative; flex:0 0 112px; width:112px; height:112px; border:2px solid #77efd2; border-radius:50%; color:#fff; background:#34304a; font-size:34px; box-shadow:0 0 0 6px #66ddbe0e; overflow:hidden; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-avatar img { width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-eyebrow { color:#98e9d5; letter-spacing:.17em; font-size:10px; font-weight:800; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-player h1 { font-size:clamp(30px,3.7vw,52px); margin:7px 0 13px; color:#fff; letter-spacing:-.04em; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-tags { display:flex; flex-wrap:wrap; align-items:center; gap:7px; font-size:11px; color:#d5cfdf; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-tags>span { padding:3px 8px; border:1px solid #81768c88; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-tags .tp-dna-platform { color:#b5fce7; border-color:#79e8c67a; background:#18d5a218; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-tags a { color:#b5fce7; padding:3px 0 3px 5px; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-staff { display:block; color:#c4b9d4; font-size:10px; margin-top:7px; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-headline { display:grid; grid-template-columns:1.2fr repeat(3,1fr); gap:16px; margin-top:32px; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-headline>div { padding-left:16px; border-left:1px solid #b3a6c635; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-headline>div:first-child { padding:0; border:0; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-headline dt { font-size:10px; text-transform:uppercase; letter-spacing:.09em; color:#c1b8d2; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-headline dd { font-size:34px; line-height:1.25; font-weight:800; font-variant-numeric:tabular-nums; margin:4px 0; color:#fff; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-headline>div:first-child dd { color:#74efd0; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-headline dd span { font-size:12px; color:#c3b9d0; font-weight:400; padding-left:5px; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-headline small { font-size:10px; color:#c1b8d2; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-coverage { display:flex; gap:7px; align-items:center; margin-top:20px; font-size:10px; color:#c1b8d2; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-coverage>span { width:5px; height:5px; border-radius:50%; background:#62dfbb; flex-shrink:0; }
#pesbul-2018-team-play.tp-career-profile .tp-form-chart { margin:0; padding-left:25px; border-left:1px solid #b3a6c635; align-self:center; min-width:0; }
#pesbul-2018-team-play.tp-career-profile .tp-form-chart figcaption { display:flex; align-items:center; gap:12px; justify-content:space-between; padding-bottom:4px; }
#pesbul-2018-team-play.tp-career-profile .tp-form-chart figcaption strong { font-size:10px; letter-spacing:.15em; color:#e4dbf3; }
#pesbul-2018-team-play.tp-career-profile .tp-form-chart figcaption>span { font-size:10px; color:#bfb6cd; }
#pesbul-2018-team-play.tp-career-profile .tp-form-chart-body { display:grid; grid-template-columns:minmax(170px,1.5fr) minmax(95px,1fr); align-items:center; gap:6px; }
#pesbul-2018-team-play.tp-career-profile .tp-form-chart svg { width:100%; max-height:236px; overflow:visible; }
#pesbul-2018-team-play.tp-career-profile .tp-radar-ring { fill:#ac97c50b; stroke:#c3b0d63d; stroke-width:1; }
#pesbul-2018-team-play.tp-career-profile .tp-radar-spoke { stroke:#ccb8e328; stroke-width:1; }
#pesbul-2018-team-play.tp-career-profile .tp-radar-shape { fill:#27dfb238; stroke:#4ef1c5; stroke-width:2; stroke-linejoin:round; }
#pesbul-2018-team-play.tp-career-profile .tp-radar-node { fill:#9dffe5; stroke:#163a31; stroke-width:1.5; }
#pesbul-2018-team-play.tp-career-profile .tp-radar-label { fill:#e3dbed; font:600 12px var(--pb-font-display); letter-spacing:.04em; }
#pesbul-2018-team-play.tp-career-profile .tp-radar-empty { fill:#d4c9e1; font:500 9px var(--pb-font-display); letter-spacing:.09em; }
#pesbul-2018-team-play.tp-career-profile .tp-form-legend { display:grid; gap:0; }
#pesbul-2018-team-play.tp-career-profile .tp-form-legend>div { display:flex; justify-content:space-between; align-items:center; gap:8px; padding:6px 0; border-bottom:1px solid #b3a6c61c; }
#pesbul-2018-team-play.tp-career-profile .tp-form-legend dt { font-size:10px; color:#d7cce4; }
#pesbul-2018-team-play.tp-career-profile .tp-form-legend dd { font-size:14px; font-weight:700; color:#a1f4db; font-variant-numeric:tabular-nums; }
#pesbul-2018-team-play.tp-career-profile .tp-form-chart>a { display:block; text-align:right; color:#c7bcda; font-size:10px; text-decoration:underline; text-underline-offset:3px; }
#pesbul-2018-team-play.tp-career-profile .tp-career-nav { display:flex; gap:22px; padding:0 18px; border:1px solid var(--line); background:var(--paper); }
#pesbul-2018-team-play.tp-career-profile .tp-career-nav a { padding:12px 0; font-size:12px; font-weight:700; border-bottom:2px solid transparent; }
#pesbul-2018-team-play.tp-career-profile .tp-career-nav a:first-child { border-bottom-color:var(--tp-profile-accent); }
#pesbul-2018-team-play.tp-career-profile .tp-career-nav a:hover { border-bottom-color:#b795e5; }
#pesbul-2018-team-play.tp-career-profile .tp-career-nav b { padding:1px 4px; background:#ab91ca33; font-size:10px; margin-left:4px; }
#pesbul-2018-team-play.tp-career-profile .tp-career-overview { display:grid; grid-template-columns:minmax(0,2.5fr) minmax(230px,1fr); gap:14px; align-items:start; }
#pesbul-2018-team-play.tp-career-profile .tp-career-section-head { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; padding:19px 20px 15px; border-bottom:1px solid var(--line); }
#pesbul-2018-team-play.tp-career-profile .tp-section-kicker { display:block; margin-bottom:5px; color:var(--muted); font-weight:700; font-size:9px; letter-spacing:.14em; }
#pesbul-2018-team-play.tp-career-profile .tp-career-section-head h2 { font-size:21px; color:var(--ink); letter-spacing:-.03em; }
#pesbul-2018-team-play.tp-career-profile .tp-career-section-head p { font-size:11px; color:var(--muted); margin-top:4px; }
#pesbul-2018-team-play.tp-career-profile .tp-career-section-head>span { color:var(--muted); font-size:10px; }
#pesbul-2018-team-play.tp-career-profile .tp-career-percentages { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); padding:20px 20px 19px; gap:20px; }
#pesbul-2018-team-play.tp-career-profile .tp-career-percentages dt { color:var(--muted); font-size:11px; }
#pesbul-2018-team-play.tp-career-profile .tp-career-percentages dd { color:var(--ink); font-size:26px; font-weight:800; letter-spacing:-.04em; padding:5px 0 9px; font-variant-numeric:tabular-nums; }
#pesbul-2018-team-play.tp-career-profile .tp-career-percentages small { display:block; color:var(--muted); font-size:9px; margin-top:7px; }
#pesbul-2018-team-play.tp-career-profile .tp-stat-track { height:3px; background:color-mix(in srgb,var(--muted) 20%,transparent); overflow:hidden; }
#pesbul-2018-team-play.tp-career-profile .tp-stat-track i { display:block; height:100%; background:#19b88e; }
#pesbul-2018-team-play.tp-career-profile [data-metric=shots] .tp-stat-track i { background:#9671ce; }
#pesbul-2018-team-play.tp-career-profile [data-metric=conversion] .tp-stat-track i { background:#cb8a4e; }
#pesbul-2018-team-play.tp-career-profile [data-metric=speed] .tp-stat-track i { background:#669ab6; }
#pesbul-2018-team-play.tp-career-profile .tp-average-caption { display:flex; gap:10px; justify-content:space-between; padding:12px 20px; border-block:1px solid var(--line); }
#pesbul-2018-team-play.tp-career-profile .tp-average-caption h3 { font-size:12px; }
#pesbul-2018-team-play.tp-career-profile .tp-average-caption>span { color:var(--muted); font-size:10px; }
#pesbul-2018-team-play.tp-career-profile .tp-career-averages { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); padding:5px 20px 15px; gap:0 20px; }
#pesbul-2018-team-play.tp-career-profile .tp-career-averages>div { padding:13px 0 10px; border-bottom:1px solid var(--line); }
#pesbul-2018-team-play.tp-career-profile .tp-career-averages dt { font-size:10px; color:var(--muted); }
#pesbul-2018-team-play.tp-career-profile .tp-career-averages dd { font-size:21px; font-weight:700; margin-top:3px; }
#pesbul-2018-team-play.tp-career-profile .tp-career-averages small { font-size:9px; color:var(--muted); }
#pesbul-2018-team-play.tp-career-profile .tp-career-map .tp-profile-activity { padding:13px 20px 16px; }
#pesbul-2018-team-play.tp-career-profile .tp-career-map .tp-profile-activity figcaption { font-size:10px; }
#pesbul-2018-team-play.tp-career-profile .tp-career-map .tp-profile-heatmap { max-width:148px; margin:7px auto; }
#pesbul-2018-team-play.tp-career-profile .tp-career-map .tp-profile-activity>p { font-size:9px; line-height:1.5; }
#pesbul-2018-team-play.tp-career-profile .tp-career-map .tp-heatmap-missing { min-height:180px; }
#pesbul-2018-team-play.tp-career-profile .tp-position-strip { display:flex; gap:20px; flex-wrap:wrap; align-items:center; padding:14px 20px; }
#pesbul-2018-team-play.tp-career-profile .tp-position-strip h2 { font-size:15px; }
#pesbul-2018-team-play.tp-career-profile .tp-position-tile { display:grid; grid-template-columns:auto auto; gap:1px 10px; padding:0 18px; border-left:2px solid #b69ad7; }
#pesbul-2018-team-play.tp-career-profile .tp-position-tile>span { font-size:11px; font-weight:700; }
#pesbul-2018-team-play.tp-career-profile .tp-position-tile strong { font-size:18px; line-height:1; }
#pesbul-2018-team-play.tp-career-profile .tp-position-tile small { grid-column:1/-1; font-size:9px; color:var(--muted); }
#pesbul-2018-team-play.tp-career-profile .tp-native-career-note { display:grid; gap:3px; font-size:10px; margin-left:auto; }
#pesbul-2018-team-play.tp-career-profile .tp-native-career-note span { font-size:9px; color:var(--muted); }
#pesbul-2018-team-play.tp-career-profile .tp-bal-career-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; padding:18px 20px 20px; }
#pesbul-2018-team-play.tp-career-profile .tp-bal-career-card { min-width:0; border:1px solid var(--line); border-top:3px solid #24cda1; background:color-mix(in srgb,var(--paper) 96%,#009b72); }
#pesbul-2018-team-play.tp-career-profile .tp-bal-career-card:nth-child(even) { border-top-color:#b49adb; }
#pesbul-2018-team-play.tp-career-profile .tp-bal-career-card header { display:flex; gap:10px; align-items:center; padding:14px; }
#pesbul-2018-team-play.tp-career-profile .tp-bal-position { display:grid; place-items:center; width:40px; height:46px; background:#20c89c22; border:1px solid #36b59466; color:var(--ink); font-size:11px; font-weight:800; }
#pesbul-2018-team-play.tp-career-profile .tp-bal-career-card:nth-child(even) .tp-bal-position { background:#ab8ed02a; border-color:#aa92c977; }
#pesbul-2018-team-play.tp-career-profile .tp-bal-career-card h3 { font-size:16px; }
#pesbul-2018-team-play.tp-career-profile .tp-bal-career-card p { font-size:10px; color:var(--muted); margin-top:3px; }
#pesbul-2018-team-play.tp-career-profile .tp-bal-career-card header>strong { margin-left:auto; font-size:27px; text-align:right; }
#pesbul-2018-team-play.tp-career-profile .tp-bal-career-card header>strong small { display:block; font-size:8px; letter-spacing:.07em; color:var(--muted); font-weight:500; }
#pesbul-2018-team-play.tp-career-profile .tp-bal-career-card dl { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; padding:14px; border-block:1px solid var(--line); }
#pesbul-2018-team-play.tp-career-profile .tp-bal-career-card dt { font-size:10px; color:var(--muted); }
#pesbul-2018-team-play.tp-career-profile .tp-bal-career-card dd { font-size:19px; font-weight:700; margin-top:3px; }
#pesbul-2018-team-play.tp-career-profile .tp-bal-career-card footer { display:flex; flex-wrap:wrap; gap:5px 12px; padding:10px 14px; font-size:9px; color:var(--muted); }
#pesbul-2018-team-play.tp-career-profile .tp-bal-empty { display:flex; gap:18px; padding:24px 20px; align-items:center; }
#pesbul-2018-team-play.tp-career-profile .tp-bal-empty>span { display:grid; place-items:center; flex:0 0 54px; height:65px; border:1px solid var(--line); font-weight:800; color:var(--muted); background:#b4a0cc22; }
#pesbul-2018-team-play.tp-career-profile .tp-bal-empty p { color:var(--muted); margin-top:5px; font-size:12px; }
#pesbul-2018-team-play.tp-career-profile .tp-bal-empty small { color:var(--muted); display:block; margin-top:5px; font-size:10px; }
#pesbul-2018-team-play.tp-career-profile .tp-career-match { border-bottom:1px solid var(--line); }
#pesbul-2018-team-play.tp-career-profile .tp-career-match:last-child { border:0; }
#pesbul-2018-team-play.tp-career-profile .tp-career-match>summary { display:grid; grid-template-columns:90px minmax(0,1fr) 70px 20px; gap:20px; align-items:center; padding:15px 20px; cursor:pointer; list-style:none; }
#pesbul-2018-team-play.tp-career-profile .tp-career-match>summary::-webkit-details-marker { display:none; }
#pesbul-2018-team-play.tp-career-profile .tp-career-match>summary:hover { background:#aa93c414; }
#pesbul-2018-team-play.tp-career-profile .tp-career-match-date { display:grid; gap:3px; }
#pesbul-2018-team-play.tp-career-profile .tp-career-match-date strong { font-size:12px; }
#pesbul-2018-team-play.tp-career-profile .tp-career-match-date>span { font-size:9px; color:var(--muted); }
#pesbul-2018-team-play.tp-career-profile .tp-career-match-teams { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); gap:14px; align-items:center; }
#pesbul-2018-team-play.tp-career-profile .tp-career-match-teams>span { display:flex; align-items:center; gap:8px; font-size:12px; }
#pesbul-2018-team-play.tp-career-profile .tp-career-match-teams img { width:28px; height:30px; object-fit:contain; flex-shrink:0; }
#pesbul-2018-team-play.tp-career-profile .tp-career-match-teams [data-side=away] { grid-column:3; grid-row:1; flex-direction:row-reverse; text-align:right; }
#pesbul-2018-team-play.tp-career-profile .tp-career-match-teams>strong { grid-column:2; grid-row:1; font-size:19px; min-width:65px; padding:4px 10px; background:#29203c; color:#fff; text-align:center; white-space:nowrap; }
#pesbul-2018-team-play.tp-career-profile .tp-career-match-rating { display:grid; text-align:center; gap:2px; }
#pesbul-2018-team-play.tp-career-profile .tp-career-match-rating strong { font-size:19px; }
#pesbul-2018-team-play.tp-career-profile .tp-career-match-rating>span { font-size:8px; letter-spacing:.08em; color:var(--muted); }
#pesbul-2018-team-play.tp-career-profile .tp-career-match-expand { font-size:20px; color:var(--muted); }
#pesbul-2018-team-play.tp-career-profile .tp-career-match[open] .tp-career-match-expand { transform:rotate(45deg); }
#pesbul-2018-team-play.tp-career-profile .tp-career-match-content { border-top:1px solid var(--line); padding:16px 20px 20px; background:#a88fc00a; }
#pesbul-2018-team-play.tp-career-profile .tp-career-match-context { display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:11px; }
#pesbul-2018-team-play.tp-career-profile .tp-career-match-context>span { color:var(--muted); }
#pesbul-2018-team-play.tp-career-profile .tp-career-match-context>a { font-weight:700; text-decoration:underline; text-underline-offset:3px; }
#pesbul-2018-team-play.tp-career-profile .tp-match-footballer { margin-top:12px; font-size:11px; color:var(--muted); }
#pesbul-2018-team-play.tp-career-profile .tp-career-match-stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(115px,1fr)); gap:12px; margin-top:16px; }
#pesbul-2018-team-play.tp-career-profile .tp-career-match-stats>div { padding:8px 10px; border:1px solid var(--line); }
#pesbul-2018-team-play.tp-career-profile .tp-career-match-stats dt { font-size:10px; color:var(--muted); }
#pesbul-2018-team-play.tp-career-profile .tp-career-match-stats dd { font-size:19px; font-weight:700; margin-top:3px; }
#pesbul-2018-team-play.tp-career-profile .tp-career-match-content .tp-profile-activity { max-width:250px; margin-top:14px; border:1px solid var(--line); }
#pesbul-2018-team-play.tp-career-profile .tp-career-match-content .tp-profile-heatmap { max-width:130px; }
#pesbul-2018-team-play.tp-career-profile .tp-career-data-note { padding:16px 20px; color:var(--muted); font-size:11px; }
#pesbul-2018-team-play.tp-career-profile .tp-performance-method>summary { cursor:pointer; padding:16px 20px; font-size:12px; font-weight:700; }
#pesbul-2018-team-play.tp-career-profile .tp-performance-method>summary>span { font-size:10px; font-weight:400; color:var(--muted); margin-left:10px; }
#pesbul-2018-team-play.tp-career-profile .tp-performance-method>div { padding:0 20px 20px; font-size:12px; line-height:1.7; }
#pesbul-2018-team-play.tp-career-profile .tp-performance-method p { margin:12px 0; }
#pesbul-2018-team-play.tp-career-profile .tp-performance-method dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:15px 0; }
#pesbul-2018-team-play.tp-career-profile .tp-performance-method dl>div { padding:12px; border:1px solid var(--line); }
#pesbul-2018-team-play.tp-career-profile .tp-performance-method dt { font-weight:700; margin-bottom:4px; }
#pesbul-2018-team-play.tp-career-profile .tp-performance-method dt>span { color:var(--muted); float:right; font-weight:400; }
#pesbul-2018-team-play.tp-career-profile :is(.tp-career-overview,.tp-bal-careers,.tp-performance-method) { scroll-margin-top:20px; }
@media(max-width:1100px) {
  #pesbul-2018-team-play.tp-career-profile .tp-dna-hero { gap:20px; padding:24px; grid-template-columns:minmax(0,1fr) 335px; }
  #pesbul-2018-team-play.tp-career-profile .tp-form-chart { padding-left:15px; }
  #pesbul-2018-team-play.tp-career-profile .tp-career-overview { grid-template-columns:minmax(0,1fr) 245px; }
  #pesbul-2018-team-play.tp-career-profile .tp-career-percentages { gap:12px; }
  #pesbul-2018-team-play.tp-career-profile .tp-career-percentages dd { font-size:23px; }
}
@media(max-width:850px) {
  #pesbul-2018-team-play.tp-career-profile .tp-dna-hero { grid-template-columns:1fr; gap:20px; }
  #pesbul-2018-team-play.tp-career-profile .tp-form-chart { border-left:0; border-top:1px solid #b3a6c635; padding:16px 0 0; }
  #pesbul-2018-team-play.tp-career-profile .tp-form-chart-body { grid-template-columns:1fr 1fr; max-width:500px; margin:auto; }
  #pesbul-2018-team-play.tp-career-profile .tp-career-overview { grid-template-columns:1fr; }
  #pesbul-2018-team-play.tp-career-profile .tp-career-map .tp-profile-activity { display:grid; grid-template-columns:170px 1fr; gap:10px 20px; align-items:center; }
  #pesbul-2018-team-play.tp-career-profile .tp-career-map .tp-profile-activity figcaption { grid-column:2; grid-row:1; align-self:end; }
  #pesbul-2018-team-play.tp-career-profile .tp-career-map .tp-profile-heatmap { grid-column:1; grid-row:1/3; width:130px; }
  #pesbul-2018-team-play.tp-career-profile .tp-career-map .tp-profile-activity>p { grid-column:2; grid-row:2; align-self:start; }
  #pesbul-2018-team-play.tp-career-profile .tp-bal-career-grid { grid-template-columns:1fr; }
}
@media(max-width:540px) {
  #pesbul-2018-team-play.tp-career-profile .tp-dna-hero { padding:20px 16px; }
  #pesbul-2018-team-play.tp-career-profile .tp-dna-player { gap:16px; }
  #pesbul-2018-team-play.tp-career-profile .tp-dna-avatar { width:80px; height:80px; flex-basis:80px; font-size:27px; }
  #pesbul-2018-team-play.tp-career-profile .tp-dna-player h1 { font-size:32px; }
  #pesbul-2018-team-play.tp-career-profile .tp-dna-eyebrow { font-size:8px; }
  #pesbul-2018-team-play.tp-career-profile .tp-dna-headline { gap:8px; margin-top:24px; }
  #pesbul-2018-team-play.tp-career-profile .tp-dna-headline>div { padding-left:9px; }
  #pesbul-2018-team-play.tp-career-profile .tp-dna-headline dd { font-size:27px; }
  #pesbul-2018-team-play.tp-career-profile .tp-dna-headline dd span { display:none; }
  #pesbul-2018-team-play.tp-career-profile .tp-dna-headline :is(dt,small) { font-size:8px; }
  #pesbul-2018-team-play.tp-career-profile .tp-career-nav { gap:14px; padding-inline:12px; }
  #pesbul-2018-team-play.tp-career-profile .tp-career-nav a { font-size:10px; }
  #pesbul-2018-team-play.tp-career-profile .tp-career-section-head { padding:16px; }
  #pesbul-2018-team-play.tp-career-profile .tp-career-section-head h2 { font-size:19px; }
  #pesbul-2018-team-play.tp-career-profile .tp-career-percentages { grid-template-columns:repeat(2,minmax(0,1fr)); padding:16px; gap:18px 20px; }
  #pesbul-2018-team-play.tp-career-profile .tp-average-caption { padding-inline:16px; }
  #pesbul-2018-team-play.tp-career-profile .tp-average-caption>span { display:none; }
  #pesbul-2018-team-play.tp-career-profile .tp-career-averages { grid-template-columns:repeat(2,minmax(0,1fr)); padding-inline:16px; }
  #pesbul-2018-team-play.tp-career-profile .tp-career-map .tp-profile-activity { grid-template-columns:125px 1fr; padding:16px; gap:10px; }
  #pesbul-2018-team-play.tp-career-profile .tp-native-career-note { margin-left:0; }
  #pesbul-2018-team-play.tp-career-profile .tp-bal-career-grid { padding:14px; }
  #pesbul-2018-team-play.tp-career-profile .tp-bal-career-card h3 { font-size:13px; }
  #pesbul-2018-team-play.tp-career-profile .tp-bal-career-card header { gap:8px; padding:12px; }
  #pesbul-2018-team-play.tp-career-profile .tp-bal-career-card header>strong { font-size:22px; }
  #pesbul-2018-team-play.tp-career-profile .tp-bal-career-card dl { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #pesbul-2018-team-play.tp-career-profile .tp-career-match>summary { grid-template-columns:1fr 40px 12px; gap:10px; padding:12px; }
  #pesbul-2018-team-play.tp-career-profile .tp-career-match-date { display:flex; align-items:center; grid-column:1/-1; gap:8px; }
  #pesbul-2018-team-play.tp-career-profile .tp-career-match-teams { gap:8px; }
  #pesbul-2018-team-play.tp-career-profile .tp-career-match-teams>span { flex-direction:column; gap:5px; text-align:center; font-size:10px; }
  #pesbul-2018-team-play.tp-career-profile .tp-career-match-teams [data-side=away] { flex-direction:column; text-align:center; }
  #pesbul-2018-team-play.tp-career-profile .tp-career-match-teams>strong { min-width:47px; font-size:16px; padding:4px; }
  #pesbul-2018-team-play.tp-career-profile .tp-career-match-rating strong { font-size:17px; }
  #pesbul-2018-team-play.tp-career-profile .tp-performance-method>summary>span { display:block; margin:5px 0 0; }
  #pesbul-2018-team-play.tp-career-profile .tp-performance-method dl { grid-template-columns:1fr; }
}
#pesbul-2018-team-play.tp-career-profile .tp-career-all-metrics { margin:0 20px 18px; border:1px solid var(--line); font-size:11px; }
#pesbul-2018-team-play.tp-career-profile .tp-career-all-metrics>summary { padding:10px 12px; cursor:pointer; font-weight:600; }
#pesbul-2018-team-play.tp-career-profile .tp-career-all-metrics>summary>span { color:var(--muted); font-size:9px; font-weight:400; margin-left:8px; }
#pesbul-2018-team-play.tp-career-profile .tp-career-table-scroll { overflow:auto; max-height:360px; }
#pesbul-2018-team-play.tp-career-profile .tp-career-table-scroll table { width:100%; border-collapse:collapse; text-align:left; }
#pesbul-2018-team-play.tp-career-profile .tp-career-table-scroll :is(th,td) { padding:8px 12px; border-top:1px solid var(--line); color:var(--ink); font-size:11px; }
#pesbul-2018-team-play.tp-career-profile .tp-career-table-scroll thead th { font-size:9px; color:var(--muted); background:var(--paper); position:sticky; top:0; }
#pesbul-2018-team-play.tp-career-profile .tp-career-table-scroll tbody th { font-weight:500; }
#pesbul-2018-team-play.tp-career-profile .tp-bal-career-card .tp-career-all-metrics { margin:0; border:0; border-top:1px solid var(--line); }
@media(max-width:540px) { #pesbul-2018-team-play.tp-career-profile .tp-career-all-metrics>summary>span { display:block; margin:4px 0 0; } }
#pesbul-2018-team-play.tp-career-profile .tp-native-career-note summary { cursor:pointer; font-size:10px; }
#pesbul-2018-team-play.tp-career-profile .tp-native-career-note summary>span { display:block; margin-top:3px; }
#pesbul-2018-team-play.tp-career-profile .tp-native-career-note dl { display:grid; gap:8px; margin-top:12px; border-top:1px solid var(--line); padding-top:10px; }
#pesbul-2018-team-play.tp-career-profile .tp-native-career-note dl>div { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; }
#pesbul-2018-team-play.tp-career-profile .tp-native-career-note dd { font-weight:700; }
#pesbul-2018-team-play.tp-career-profile .tp-native-career-note small { font-weight:400; color:var(--muted); }
#pesbul-2018-team-play.tp-career-profile .tp-career-nav { flex-wrap:wrap; row-gap:0; }
@media(max-width:360px) {
  body:has(#pesbul-2018-team-play.tp-career-profile) .pg-navigation { grid-template-columns:repeat(5,minmax(0,1fr)); }
  body:has(#pesbul-2018-team-play.tp-career-profile) .pg-navigation>a { min-width:0; font-size:8px; padding-inline:3px; }
}

/* PES 2018: silver menu panels, cyan selection and red edition accents. */
#pesbul-2018-team-play { --violet:#ffc16f; --pg-inset:#d4dade; --pg-inset-alt:#eaf0f2; --pg-hover:#d7f3f4; }
#pesbul-2018-team-play :is(.tp-panel,.tp-demo-banner,.tp-bal-career-card,.tp-match-picker,.tp-career-nav) { border-radius:0; box-shadow:none; }
#pesbul-2018-team-play :is(.tp-source-note,.tp-demo-banner) { border-left-color:var(--pg-rose); }
#pesbul-2018-team-play :is(h1,h2,h3,.tp-radar-label) { font-family:var(--pb-font-display); letter-spacing:.01em; }
#pesbul-2018-team-play .tp-panel-head { background:#27b1bc; border-top:0; color:#142d34; }
#pesbul-2018-team-play .tp-panel-head h2 { color:#142d34; font-weight:600; }
#pesbul-2018-team-play .tp-panel-head p { color:#193e46; }
#pesbul-2018-team-play .tp-career-table tbody a { color:#29343d; font-weight:600; text-decoration:underline; text-underline-offset:3px; }
#pesbul-2018-team-play :is(.tp-report-banner,.tp-account-banner) { background:linear-gradient(110deg,#07151ff5,#142735ed 60%,#143f4ee8),url('../launch/stadium.webp') center 45%/cover; }
#pesbul-2018-team-play.tp-report-page .tp-report-banner { border-color:#6b818d; box-shadow:inset 0 -3px var(--pg-mint); }
#pesbul-2018-team-play :is(.tp-report-eyebrow,.tp-report-side,.tp-report-club[data-side=away] .tp-report-side) { color:#68edf1; }
#pesbul-2018-team-play .tp-report-score time { color:#d1e0e6; }
#pesbul-2018-team-play :is(.tp-report-score>span,.tp-report-banner .tp-report-tags) { color:#c6d9e0; }
#pesbul-2018-team-play .tp-lineup-avatar { background:#123f49; border-color:#33d7df; color:#e7ffff; }
#pesbul-2018-team-play [data-roster-side="2"] .tp-lineup-avatar { background:#50432b; border-color:#edba62; color:#fff2d9; }
#pesbul-2018-team-play .tp-lineup-platform { background:#b7f1f3; color:#13424a; }
#pesbul-2018-team-play.tp-career-profile { --tp-profile-accent:var(--pg-rose); font-family:"PES18 UI","Segoe UI",sans-serif; font-size:15px; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-hero { background:linear-gradient(110deg,#06131ff7,#142b3aeb 60%,#153d4be8),url('../launch/stadium.webp') center 43%/cover; border-color:#68818e; border-bottom-color:var(--pg-mint); border-left:4px solid var(--pg-rose); }
#pesbul-2018-team-play.tp-career-profile .tp-dna-avatar { border-color:var(--pg-mint); background:#233b49; box-shadow:0 0 0 5px #00edf010; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-eyebrow { color:#83edf2; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-player h1 { font-family:var(--pb-font-display); font-weight:500; letter-spacing:.015em; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-tags { color:#d1e0e8; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-tags>span { border-color:#91abbc70; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-tags .tp-dna-platform { background:#133d49; color:#99f5fa; border-color:#409da9; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-headline>div { border-color:#91abbc55; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-headline dt,
#pesbul-2018-team-play.tp-career-profile .tp-dna-headline small,
#pesbul-2018-team-play.tp-career-profile .tp-dna-headline dd span,
#pesbul-2018-team-play.tp-career-profile .tp-dna-coverage { color:#c5d8e2; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-headline>div:first-child dd { color:#50edf0; }
#pesbul-2018-team-play.tp-career-profile .tp-dna-coverage>span { background:#00edf0; }
#pesbul-2018-team-play.tp-career-profile .tp-form-chart { border-color:#abc4d035; }
#pesbul-2018-team-play.tp-career-profile .tp-form-chart figcaption strong { color:#f0f8fc; }
#pesbul-2018-team-play.tp-career-profile .tp-form-chart figcaption>span,
#pesbul-2018-team-play.tp-career-profile .tp-form-chart>a { color:#c2d5df; }
#pesbul-2018-team-play.tp-career-profile .tp-radar-ring { fill:#b5d8e30c; stroke:#bbd9e63d; }
#pesbul-2018-team-play.tp-career-profile .tp-radar-spoke { stroke:#bbd9e628; }
#pesbul-2018-team-play.tp-career-profile .tp-radar-shape { fill:#00edf030; stroke:#3cebf0; }
#pesbul-2018-team-play.tp-career-profile .tp-radar-node { fill:#f3526b; stroke:#651a29; }
#pesbul-2018-team-play.tp-career-profile :is(.tp-radar-label,.tp-radar-empty) { fill:#e4f3f8; }
#pesbul-2018-team-play.tp-career-profile .tp-form-legend>div { border-color:#a7c5d525; }
#pesbul-2018-team-play.tp-career-profile .tp-form-legend dt { color:#c7dde7; }
#pesbul-2018-team-play.tp-career-profile .tp-form-legend dd { color:#7ef2f5; }
#pesbul-2018-team-play.tp-career-profile .tp-career-nav { gap:2px; padding:0; background:#bac3ca; }
#pesbul-2018-team-play.tp-career-profile .tp-career-nav a { padding:12px 20px; flex:1; text-align:center; background:#dce2e6; font-family:var(--pb-font-display); font-size:17px; font-weight:500; border:0; white-space:nowrap; }
#pesbul-2018-team-play.tp-career-profile .tp-career-nav a:first-child { background:var(--pg-mint); color:#112c32; }
#pesbul-2018-team-play.tp-career-profile .tp-career-nav a:is(:hover,:focus-visible) { background:var(--pg-mint); color:#112c32; }
#pesbul-2018-team-play.tp-career-profile .tp-career-nav b { background:#192b3c18; }
#pesbul-2018-team-play.tp-career-profile .tp-career-section-head { background:#2bb1bc; color:#142e36; }
#pesbul-2018-team-play.tp-career-profile .tp-career-section-head h2 { color:#142e36; font-weight:500; font-size:25px; letter-spacing:.01em; }
#pesbul-2018-team-play.tp-career-profile .tp-career-section-head :is(.tp-section-kicker,p,span) { color:#234852; }
#pesbul-2018-team-play.tp-career-profile .tp-career-percentages dd { color:#bb1430; }
#pesbul-2018-team-play.tp-career-profile .tp-stat-track i { background:#048e9d; }
#pesbul-2018-team-play.tp-career-profile [data-metric=shots] .tp-stat-track i { background:#d11937; }
#pesbul-2018-team-play.tp-career-profile [data-metric=conversion] .tp-stat-track i { background:#a07027; }
#pesbul-2018-team-play.tp-career-profile [data-metric=speed] .tp-stat-track i { background:#357daf; }
#pesbul-2018-team-play.tp-career-profile .tp-position-tile { border-left-color:#168c9e; }
#pesbul-2018-team-play.tp-career-profile .tp-bal-career-card { background:#e8ecef; border-top-color:#098d9a; }
#pesbul-2018-team-play.tp-career-profile .tp-bal-career-card:nth-child(even) { border-top-color:#c51c36; }
#pesbul-2018-team-play.tp-career-profile .tp-bal-position { background:#c5eff0; border-color:#5fb4bb; }
#pesbul-2018-team-play.tp-career-profile .tp-bal-career-card:nth-child(even) .tp-bal-position { background:#f4d5db; border-color:#cc8794; }
#pesbul-2018-team-play.tp-career-profile .tp-bal-career-card header>strong { color:#b01b33; }
#pesbul-2018-team-play.tp-career-profile .tp-career-match>summary:hover { background:#00edf020; }
#pesbul-2018-team-play.tp-career-profile .tp-career-match-teams>strong { background:#1b2b38; }
#pesbul-2018-team-play.tp-career-profile .tp-career-match-content { background:#d6dfe740; }
#pesbul-2018-team-play.tp-career-profile .tp-bal-empty>span { background:#cdd9df; }
#pesbul-2018-team-play.tp-career-profile :is(.tp-career-data-note,.tp-bal-empty p) { font-size:13px; }
@media(max-width:540px) {
 #pesbul-2018-team-play.tp-career-profile .tp-career-nav a { padding:12px 10px; font-size:15px; }
 #pesbul-2018-team-play.tp-career-profile .tp-career-section-head h2 { font-size:23px; }
}

#pesbul-2018-team-play.tp-report-page .tp-report-banner { background:linear-gradient(110deg,#07151ff5,#142735ed 60%,#143f4ee8),url('../launch/stadium.webp') center 45%/cover; }
#pesbul-2018-team-play .tp-report-goal-list .tp-goal-number { background:#c9edf0; color:#124e59; }
#pesbul-2018-team-play .tp-report-goal-list [data-side=away] .tp-goal-number { background:#f2dfbe; color:#67481b; }
#pesbul-2018-team-play .tp-goal-time { display:block; font-size:11px; font-weight:700; color:#b01b33; margin-bottom:2px; }

/* The aggregate map fills the same row as the career statistics, without stretching the pitch. */
#pesbul-2018-team-play .tp-heatmap-stage { display:contents; }
@media(min-width:851px) {
 #pesbul-2018-team-play.tp-career-profile .tp-career-overview { align-items:stretch; }
 #pesbul-2018-team-play.tp-career-profile .tp-career-map { display:grid; grid-template-rows:auto minmax(0,1fr); }
 #pesbul-2018-team-play.tp-career-profile .tp-career-map .tp-profile-activity { display:grid; grid-template-rows:auto minmax(0,1fr) auto; gap:10px; min-height:0; }
 #pesbul-2018-team-play.tp-career-profile .tp-career-map .tp-profile-activity figcaption { margin:0; }
 #pesbul-2018-team-play.tp-career-profile .tp-career-map .tp-profile-activity>p { margin:0; }
 #pesbul-2018-team-play.tp-career-profile .tp-career-map .tp-heatmap-stage { display:grid; place-items:center; min-width:0; min-height:0; container-type:size; }
 #pesbul-2018-team-play.tp-career-profile .tp-career-map .tp-profile-heatmap { width:min(100cqw,calc(100cqh * .7142857143)); max-width:none; margin:0; }
 #pesbul-2018-team-play.tp-career-profile .tp-career-map .tp-heatmap-missing { min-height:0; }
}

/* Neutral tactical board with a smooth, fixed-scale activity overlay. */
#pesbul-2018-team-play .tp-heatmap { display:block; position:relative; overflow:hidden; background:linear-gradient(145deg,#edf1f6,#dce3ed); border:1px solid #bac5d2; box-shadow:inset 0 0 24px #74869b16; }
#pesbul-2018-team-play .tp-heatmap::after { content:none; }
#pesbul-2018-team-play .tp-heatmap-art { display:block; position:absolute; inset:0; width:100%; height:100%; }
#pesbul-2018-team-play .tp-heatmap-pitch { color:#63788d; opacity:.65; pointer-events:none; }
#pesbul-2018-team-play .tp-heatmap-hitareas rect:hover { stroke:#43576c88; stroke-width:.45; }
#pesbul-2018-team-play .tp-heatmap-caption { min-width:0; }
#pesbul-2018-team-play .tp-heatmap-key { display:flex; align-items:center; justify-content:center; gap:8px; font-size:9px; color:var(--muted); }
#pesbul-2018-team-play .tp-heatmap-key i { display:block; width:90px; height:4px; background:linear-gradient(90deg,#3db1d34d,#48b1e1,#786dd7,#d35b96,#f45e57); }
#pesbul-2018-team-play .tp-heatmap-caption p { margin-top:8px; color:var(--muted); font-size:10px; text-align:center; line-height:1.5; }
#pesbul-2018-team-play .tp-individual-player .tp-profile-activity { max-width:310px; padding:14px 0; }
#pesbul-2018-team-play .tp-individual-player .tp-profile-heatmap { max-width:230px; }
@media(max-width:850px) {
 #pesbul-2018-team-play.tp-career-profile .tp-career-map .tp-heatmap-caption { grid-column:2; grid-row:2; align-self:start; }
 #pesbul-2018-team-play.tp-career-profile .tp-career-map .tp-heatmap-caption p { text-align:left; }
 #pesbul-2018-team-play.tp-career-profile .tp-career-map .tp-heatmap-key { justify-content:start; flex-wrap:wrap; gap:5px; }
 #pesbul-2018-team-play.tp-career-profile .tp-career-map .tp-heatmap-key i { width:58px; }
}


/* A match is one expandable card; ratings belong to the reported lineup. */
#pesbul-2018-team-play #tp-results > .tp-report { margin: 8px 10px; border: 1px solid var(--line); background: var(--paper); transition: border-color .18s ease, box-shadow .18s ease; }
#pesbul-2018-team-play #tp-results > .tp-report[open] { border: 2px solid #169ba8; margin-block: 12px; box-shadow: 0 5px 16px #1711271c; }
#pesbul-2018-team-play #tp-results > .tp-report[open] > summary { background: #d2e9ec; font-weight: 700; border-bottom: 1px solid var(--line); }
#pesbul-2018-team-play .tp-report summary { padding: 13px 14px; }
#pesbul-2018-team-play .tp-report-action { display: flex; align-items: center; justify-content: end; gap: 10px; }
#pesbul-2018-team-play .tp-report-action > .tp-report-chevron { display: inline-block; flex: 0 0 7px; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .18s ease; }
#pesbul-2018-team-play .tp-report[open] .tp-report-action > span:first-child { transform: none; }
#pesbul-2018-team-play .tp-report[open] .tp-report-action > .tp-report-chevron { transform: rotate(225deg); }
#pesbul-2018-team-play .tp-result-club { display: flex; justify-content: center; align-items: center; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
#pesbul-2018-team-play .tp-result-club img { width: 28px; height: 28px; object-fit: contain; flex: 0 0 28px; }
#pesbul-2018-team-play .tp-report-content { display: flex; flex-direction: column; gap: 14px; padding: 14px; border-top: 0; background: #f2f5f6; }
#pesbul-2018-team-play .tp-report-toolbar { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
#pesbul-2018-team-play .tp-report-toolbar .tp-report-link { color: var(--ink); }
#pesbul-2018-team-play .tp-report-content > .tp-rosters { margin: 0; }
#pesbul-2018-team-play .tp-report-content .tp-roster-team h3 { justify-content: start; gap: 9px; min-height: 44px; padding: 8px 12px; }
#pesbul-2018-team-play .tp-report-content .tp-roster-team ul { grid-template-columns: minmax(0,1fr); padding: 5px 9px; gap: 0; }
#pesbul-2018-team-play .tp-report-content .tp-roster-team li { padding: 9px 2px; background: transparent; gap: 9px; border-bottom: 1px solid var(--line); }
#pesbul-2018-team-play .tp-report-content .tp-roster-team li:last-child { border-bottom: 0; }
#pesbul-2018-team-play .tp-lineup-identity { flex: 1; min-width: 0; overflow-wrap: anywhere; }
#pesbul-2018-team-play .tp-lineup-identity > :is(a,b) { display: block; font-weight: 700; }
#pesbul-2018-team-play .tp-lineup-position { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }
#pesbul-2018-team-play .tp-lineup-rating { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 0 0 42px; min-height: 39px; padding: 3px 6px; background: #e2e9ec; color: var(--ink); }
#pesbul-2018-team-play .tp-lineup-rating small { font-size: 9px; color: var(--muted); }
#pesbul-2018-team-play .tp-lineup-rating strong { font-size: 17px; line-height: 1.2; font-variant-numeric: tabular-nums; }
#pesbul-2018-team-play .tp-result-goals { border-top: 1px solid var(--line); padding-top: 12px; }
#pesbul-2018-team-play .tp-result-goals > p { margin-top: 5px; color: var(--muted); font-size: 12px; }
#pesbul-2018-team-play .tp-result-goals .tp-events { padding: 0; }
#pesbul-2018-team-play .tp-roster-team[data-roster-side="unknown"] { grid-column: 1 / -1; --roster-tint: #e3e3e9; --roster-ink: #454351; --roster-border: #b9b7c3; }
@media(max-width:600px) {
 #pesbul-2018-team-play #tp-results > .tp-report { margin-inline: 6px; }
 #pesbul-2018-team-play .tp-report summary { gap: 8px; padding: 11px 8px; }
 #pesbul-2018-team-play .tp-report-action { justify-content: space-between; }
 #pesbul-2018-team-play .tp-report-content { padding: 10px; }
 #pesbul-2018-team-play .tp-report-content .tp-rosters { grid-template-columns: minmax(0,1fr); }
 #pesbul-2018-team-play .tp-result-club { flex-direction: column; gap: 4px; }
}

/* Goal events stay inside their reported team's column, including on mobile. */
#pesbul-2018-team-play .tp-roster-team > .tp-result-goals { margin: 0 10px; padding: 10px 0; }
#pesbul-2018-team-play .tp-result-goals h4 { margin: 0 0 6px; color: var(--ink); font-size: 12px; font-weight: 700; }
#pesbul-2018-team-play .tp-result-goals .tp-events li { display: grid; grid-template-columns: 32px minmax(0,1fr); align-items: start; gap: 8px; padding: 8px 0; }
#pesbul-2018-team-play .tp-result-goals .tp-events li > span { min-width: 0; overflow-wrap: anywhere; }
