/* MyFootballTalent profile editor, responsive field map and local translations. */
.mft-profile-editor{min-width:0}.profile-language-bar{display:grid;grid-template-columns:minmax(200px,300px) 1fr;gap:24px;align-items:center;padding:20px 24px;border:1px solid #45641f;background:#12231b;border-radius:12px;margin-bottom:28px}.profile-language-bar label{font-weight:700}.profile-language-bar p{margin:0;font-size:14px;color:#bdcfc9;line-height:1.6}.profile-edit-top{display:grid;grid-template-columns:240px 1fr;gap:32px;margin-bottom:26px}.profile-photo-edit{min-width:0}.profile-photo-edit h3{margin-top:0}.profile-photo-edit img{display:block;width:100%;height:290px;object-fit:cover;border:1px solid #54702a;border-radius:12px;margin-bottom:16px}.profile-photo-edit input[type=file]{max-width:100%;font-size:12px}.profile-photo-edit p{font-size:13px}.profile-data-fields{align-content:start}.position-editor{display:grid;grid-template-columns:minmax(220px,1fr) minmax(260px,370px);gap:32px;padding:28px;border:1px solid #273d40;border-radius:14px;background:#09171e;margin:24px 0}.position-edit-controls h3{margin-top:0}.position-edit-controls>p{color:#b0c3c3;line-height:1.7;font-size:14px}.position-edit-controls label{display:block;margin:10px 0}.position-edit-controls .btn{margin:4px 0 12px}.pitch-mode{padding:14px 18px;border:1px solid #354b4c;border-radius:9px;margin-top:15px}.pitch-mode label{display:flex;gap:10px;align-items:center;margin:8px 0}.pitch-mode input{width:auto!important;margin:0!important;accent-color:#98e600}.pitch-mode legend{font-size:13px}.mft-pitch-wrap{width:100%;max-width:390px;margin:0 auto;min-width:0}.mft-attack{display:flex;align-items:center;justify-content:center;gap:12px;font-size:11px;text-transform:uppercase;letter-spacing:1.3px;margin:0 0 10px;color:#c5d9ce}.mft-pitch{position:relative;aspect-ratio:360/460;width:100%;border-radius:8px;background:repeating-linear-gradient(0deg,#153d2d 0%,#153d2d 10%,#184632 10%,#184632 20%);border:1px solid #5d7963;overflow:hidden}.mft-pitch svg{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#b3d0b6;stroke-opacity:.48;stroke-width:1.5;pointer-events:none}.mft-position{position:absolute;left:var(--px);top:var(--py);transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;width:39px;height:33px;border-radius:8px;background:#102c27;color:#d9eadf;border:1px solid #688d70;font-size:10px;font-weight:800;padding:0;line-height:1;box-shadow:0 3px 8px #0003;transition:background .12s,border-color .12s}.mft-position.is-primary{color:#102000;background:#a3ec0b;border:2px solid #d6ff7b;z-index:2}.mft-position.is-secondary{color:#071819;background:#7bd8cc;border:2px solid #c1fff2;z-index:1}.mft-position:focus-visible{outline:3px solid white;outline-offset:3px}.mft-position:hover{border-color:#fff}.mft-pitch-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:12px;font-size:11px}.mft-pitch-legend>span{display:flex;gap:6px;align-items:center}.mft-pitch-legend i{display:block;width:10px;height:10px;border-radius:50%}.primary-key{background:#a3ec0b}.secondary-key{background:#7bd8cc}.profile-bio-field{display:block;margin:18px 0}.mft-free-text{white-space:pre-line}.translation-toolbar,.mft-local-translation{border:1px solid #334947;border-radius:12px;padding:18px 22px;margin:15px 0;background:#102227}.mft-local-translation p{font-size:14px;line-height:1.6}.mft-local-translation .btn{white-space:normal}.mft-local-translation details{font-size:12px;margin:10px 0}.mft-local-translation [role=status]:empty{display:none}.translation-text-row{margin:24px 0}.translation-text-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px}.translation-text-columns textarea{width:100%;min-height:160px;resize:vertical;white-space:pre-wrap}.translation-original{padding:14px 18px;border:1px solid #314447;border-radius:7px;white-space:pre-wrap;overflow-wrap:anywhere;color:#c2d0cd;background:#0d2026;max-height:360px;overflow:auto}.translation-note{font-size:13px;color:#b8c9c4}.translation-stale{border-left:3px solid #d9a749;padding-left:12px;color:#f4d29b}.translate-status{font-size:14px;line-height:1.5}.player-item-list{display:grid;gap:12px;margin:22px 0}.player-item-list details{padding:16px;border:1px solid #2d4145;border-radius:10px}.player-item-list summary{cursor:pointer;font-weight:600;overflow-wrap:anywhere}.player-item-list form{margin-top:18px}.player-item-list .danger-button{border:1px solid #7d4345;color:#f5b4b4;background:transparent;border-radius:7px;padding:8px 14px}.player-quick-card{display:flex;align-items:center;gap:20px}.player-quick-card img{width:95px;height:120px;border-radius:9px;object-fit:cover}.mft-local-translation button[disabled]{opacity:.6;cursor:wait}.mft-local-translation [data-translation-status]{color:#cdeea0}.profile-translation-link{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.cv .mft-pitch-wrap{max-width:160px}.cv .mft-position{width:22px;height:19px;font-size:7px;border-radius:5px}.cv .mft-pitch-legend,.cv .mft-attack{font-size:7px}.cv .mft-pitch-legend{gap:5px}.cv .mft-pitch-legend i{width:6px;height:6px}.cv-toolbar{display:flex;gap:12px;flex-wrap:wrap}.cv-language-tools{max-width:800px;margin:auto}.cv-language-tools .mft-local-translation{color:#d6e4e2}.cv-language-tools button{padding:10px 16px;border-radius:5px;border:1px solid #587a40;background:#a3ec0b;color:#0c2119;cursor:pointer}
@media(max-width:1050px){.profile-edit-top{grid-template-columns:200px 1fr;gap:22px}.position-editor{padding:20px;gap:22px}.profile-language-bar{grid-template-columns:1fr}.mft-pitch-wrap{max-width:350px}}
@media(max-width:720px){.profile-edit-top,.position-editor,.translation-text-columns{grid-template-columns:1fr}.profile-photo-edit{max-width:240px}.profile-photo-edit img{height:275px}.profile-language-bar{padding:18px;gap:10px}.position-editor{padding:18px 12px}.position-edit-controls{min-width:0}.mft-profile-editor select{max-width:100%;min-width:0}.mft-profile-editor .form-grid.two{grid-template-columns:1fr}.translation-toolbar{padding:14px}.mft-local-translation{padding:14px}.mft-pitch-wrap{max-width:335px}.mft-position{width:33px;height:31px}.mft-local-translation details{overflow-wrap:anywhere}}
@media print{.cv-language-tools,.mft-local-translation,.cv-toolbar{display:none!important}.mft-pitch{-webkit-print-color-adjust:exact;print-color-adjust:exact}.cv .mft-pitch{break-inside:avoid}.cv{height:auto!important;min-height:297mm}.cvcols{break-inside:auto!important}.cv section,.cv .links{break-inside:avoid}.mft-free-text{overflow-wrap:anywhere}}
