.position-pitch-wrap{padding:16px 18px 0}
.position-pitch{position:relative;width:100%;aspect-ratio:3/4;max-height:590px;border:2px solid #94c5b0;border-radius:7px;background:repeating-linear-gradient(0deg,#105338 0%,#105338 16.66%,#155f41 16.66%,#155f41 33.33%);isolation:isolate;container-type:inline-size}
.position-pitch-box{position:absolute;bottom:0;left:21%;width:58%;height:22%;border:1px solid #86b99e;border-bottom:0;pointer-events:none}
.position-pitch-goal{position:absolute;bottom:0;left:36%;width:28%;height:9%;border:1px solid #86b99e;border-bottom:0;pointer-events:none}
.position-pitch-centre{position:absolute;top:0;left:33%;width:34%;height:12%;border:1px solid #86b99e;border-top:0;border-radius:0 0 100% 100%;pointer-events:none}
.position-pitch-node{position:absolute;left:var(--pitch-x);top:var(--pitch-y);transform:translate(-50%,-50%);cursor:help;z-index:1;outline:none}
.position-pitch-node:hover,.position-pitch-node:focus{z-index:3}
.position-pitch-disc{width:clamp(30px,14cqw,48px);height:clamp(30px,14cqw,48px);border-radius:50%;border:3px solid var(--position-tone);background:#06271f;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 3px 8px #001e20;line-height:1.15;font-family:Arial,sans-serif}
.position-pitch-disc strong{font-size:12px;color:#fff}.position-pitch-disc>span{font-size:11px;color:#e0f2ec;margin-top:2px}
.position-pitch .is-natural .position-pitch-disc{background:#ffcf35;color:#162e23}.position-pitch .is-natural strong,.position-pitch .is-natural .position-pitch-disc>span{color:#162e23}
.position-pitch-node:focus-visible .position-pitch-disc{outline:2px solid #fff;outline-offset:3px}
.position-pitch-wrap .is-natural{--position-tone:#ffcf35}.position-pitch-wrap .is-excellent{--position-tone:#55ff63}.position-pitch-wrap .is-good{--position-tone:#7ebc71}.position-pitch-wrap .is-okay{--position-tone:#cc9b61}.position-pitch-wrap .is-unsuitable{--position-tone:#f96b66}.position-pitch-wrap .is-unavailable,.position-pitch-wrap .is-unknown{--position-tone:#929ba4}
.position-pitch-tooltip{display:none;position:absolute;top:calc(100% + 7px);left:50%;transform:translateX(-50%);width:166px;max-width:50vw;padding:9px 10px;border-radius:5px;background:#071c2e;color:#eff8ff;border:1px solid #86b99e;font:12px/1.45 Arial,sans-serif;box-shadow:0 3px 8px #001e20;pointer-events:none}
.position-pitch-tooltip-line{display:block;overflow-wrap:anywhere}.position-pitch-tooltip-line+.position-pitch-tooltip-line{margin-top:6px}.position-pitch-tooltip-title{font-weight:700;color:#ffdc76;padding-bottom:5px;border-bottom:1px solid #345064}
.position-pitch-node[style*="16%"] .position-pitch-tooltip{left:-12px;transform:none}.position-pitch-node[style*="84%"] .position-pitch-tooltip{left:auto;right:-12px;transform:none}
.position-pitch-node[data-position="GK"] .position-pitch-tooltip{top:auto;bottom:calc(100% + 7px)}
.position-pitch-node:hover .position-pitch-tooltip,.position-pitch-node:focus .position-pitch-tooltip{display:block}
.position-pitch-legend{display:flex;flex-wrap:wrap;gap:8px 12px;margin:14px 0 8px;font:11px/1.4 Arial,sans-serif;color:#bdd5df}
.position-pitch-legend>span{display:inline-flex;align-items:center;gap:5px}.position-pitch-legend i{width:9px;height:9px;background:var(--position-tone);border-radius:50%}
.position-pitch-note{font-size:.7rem;line-height:1.5;color:#a4bdce;margin:0 0 14px}
:where(html[data-theme="light"]) .position-pitch-legend,:where(html[data-theme="light"]) .position-pitch-note{color:#375166}
.position-rating-details{margin:0 18px 16px;border-top:1px solid var(--legacy-line,#345064)}
.position-rating-details>summary{padding:12px 0;cursor:pointer;font-size:.75rem;font-weight:700}
.position-rating-details .position-list{padding:0}.position-rating-details .position-row{padding:9px;gap:8px}
@media(max-width:450px){.position-pitch-wrap{padding:12px 12px 0}.position-pitch-disc strong{font-size:10px}.position-pitch-disc>span{font-size:9px;margin-top:1px}}
