/* Photographic character page: approved composition, real controls, no screenshot click-map. */
.copa-photographic-locker{padding:28px 22px 36px;background:#f5f0df;color:#0a302b}
.copa-player-board{max-width:560px;margin:auto;background:#f7f2e2;border:1px solid #d4c7a0;border-radius:20px;overflow:hidden;box-shadow:0 15px 42px #032e2918;padding:0 22px 15px}
.copa-selected-stage{position:relative;height:338px;margin:0 -22px;overflow:hidden;background:radial-gradient(ellipse at 76% 20%,#fffdf6 0,#f7f2e2 60%,#eee6ce 100%)}
.copa-selection-heading{position:relative;z-index:3;padding:23px 25px 0;max-width:64%;pointer-events:none}
.copa-selection-heading h1{font-family:Georgia,'Times New Roman',serif;font-size:32px;line-height:1.09;letter-spacing:-.6px;color:#0a302b;margin:0 0 8px}
.copa-selection-heading p{font-size:15px;line-height:1.4;margin:0;color:#27423a}
.copa-selected-copy{position:absolute;z-index:3;left:25px;bottom:34px}
.copa-player-signature{font-family:'Snell Roundhand','Segoe Script','Apple Chancery',cursive;font-size:70px;line-height:1;color:#09382f;display:block;transform:rotate(-6deg)}
.copa-selected-copy p{font-size:16px;line-height:1.28;margin:15px 0 0 24px}
.copa-selected-photo{position:absolute;right:20px;bottom:0;width:65%;z-index:2}
.copa-selected-stage.has-cutout .copa-selected-photo{width:60%;right:58px;max-width:285px}
.copa-selected-photo .copa-photo-portrait{height:auto;aspect-ratio:auto;background:none}
.copa-selected-photo .copa-photo-portrait img{width:100%;height:auto;object-fit:contain;object-position:bottom;transform:none}
.copa-player-motto{position:absolute;right:12px;bottom:87px;z-index:3;font-family:'Snell Roundhand','Segoe Script',cursive;font-size:22px;line-height:1.1;color:#31554b;transform:rotate(-7deg)}
.copa-selected-stage.has-photo .copa-selected-photo{width:40%;right:58px;bottom:0;max-height:280px;border-radius:48% 48% 0 0;overflow:hidden}
.copa-selected-stage.has-photo .copa-photo-portrait img{width:100%;height:100%;max-height:280px;object-fit:cover;object-position:center top}
.copa-selected-stage.has-photo .pp-portrait{width:100%;height:265px;border-radius:48% 48% 0 0;background:transparent}
.copa-selected-stage.has-photo .pp-portrait>img{height:100%;object-fit:cover}
.copa-portrait-roster{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;position:relative;z-index:4;margin:-1px -2px 18px}
.copa-portrait-roster>button{background:none;color:#0d322c;padding:0;min-width:0;text-align:center;border:0;border-radius:10px}
.copa-roster-frame{display:block;border:3px solid #dedac9;border-radius:10px;overflow:hidden;box-shadow:0 2px 4px #07362c12;background:#d6d9ce}
.copa-portrait-roster>button.selected .copa-roster-frame{border-color:#e4bd44;box-shadow:0 0 0 3px #f2d96d75,0 3px 8px #06392d25}
.copa-portrait-roster strong{font-size:15px;font-weight:750;display:block;margin-top:10px}
.copa-photo-portrait{display:block;overflow:hidden;background:#d4d7cc;aspect-ratio:108/163}
.copa-photo-portrait>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top}
.copa-photo-portrait{position:relative}
.copa-photo-crest{position:absolute;z-index:3;left:var(--crest-x);top:var(--crest-y);width:var(--crest-w);aspect-ratio:1.22/1;transform:translate(-50%,-50%);pointer-events:none;border-radius:48%;background-image:url('brand/copa-club-mark.png'),radial-gradient(ellipse at 50% 53%,#0b3b31 0 61%,#0b3b31f2 66%,#0b3b3180 70%,transparent 74%);background-size:86% auto,100% 100%;background-position:center,center;background-repeat:no-repeat;filter:drop-shadow(0 1px 1px #021b1660)}
.copa-photo-portrait.is-hero .copa-photo-crest{filter:drop-shadow(0 1px 1.5px #021b166b)}
.md-player-portrait>.copa-photo-portrait .copa-photo-crest{transform:translate(-50%,-50%) scale(.92)}
.club-profile-button>.copa-photo-portrait .copa-photo-crest{transform:translate(-50%,-50%) scale(.86)}
.copa-portrait-roster .copa-photo-portrait{width:100%;height:auto;aspect-ratio:108/163;transform:none;filter:none}
.copa-profile-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 15px}
.copa-profile-tabs>button{display:flex;align-items:center;justify-content:center;gap:9px;background:#e6dfc8;color:#12372e;border:1px solid transparent;border-radius:99px;min-height:46px;font-size:14px;font-weight:600;padding:9px 7px}
.copa-profile-tabs>button[aria-selected=true]{background:#0b3c33;color:#fff6dd;box-shadow:0 3px 8px #032b2522}
.copa-number-icon{display:grid;place-items:center;width:25px;height:25px;border:1.5px solid;border-radius:4px;font-size:17px}
.copa-player-board [hidden]{display:none!important}
.copa-choose-player{margin:0;min-height:48px;border-radius:26px;font-size:20px;box-shadow:inset 0 1px #fff1b0}
.copa-player-board button:focus-visible,.copa-player-board input:focus-visible,.copa-personalize>summary:focus-visible{outline:3px solid #a67514;outline-offset:4px}
.copa-personalize{border-top:1px solid #d8ccaa;margin-top:16px;padding-top:4px}
.copa-personalize>summary{cursor:pointer;font-size:14px;font-weight:700;min-height:44px;display:list-item;align-content:center;list-style-position:inside;padding:10px 0}
.copa-personalize fieldset{padding:0;border:0;margin:20px 0 12px}
.copa-personalize legend{font-size:14px;font-weight:700;margin-bottom:9px}
.copa-kit-panel,.copa-number-panel{padding:0 0 14px}
.copa-kit-panel p,.copa-number-panel p{font-size:12px;line-height:1.5;color:#5a675b;margin:9px 0 0}
.copa-number-panel input{display:block;width:100%;height:48px;background:#fffdf5;border:1px solid #bdad7b;border-radius:10px;padding:10px 15px;color:#0d382f;font-size:18px;margin-top:8px}
.copa-player-pass-meta{font-size:12px;text-align:center;color:#627164;margin:14px 0 0;line-height:1.6}
.copa-player-pass-meta span{padding:0 5px;color:#957333}
.md-player-portrait>.copa-photo-portrait{width:100%;height:100%;transform:none;aspect-ratio:auto}
.md-player-portrait>.copa-photo-portrait img{object-position:center 28%;object-fit:cover;width:100%;height:100%}
.md-player-portrait:has(>.copa-photo-portrait)>.md-shirt-number{display:none}
.club-profile-button>.copa-photo-portrait{width:28px;height:32px;flex:0 0 28px;border-radius:6px;transform:none}
.club-profile-button>.copa-photo-portrait>img{width:100%;height:100%;margin:0;border:0;transform:none;object-fit:cover;object-position:center 28%}
@media(max-width:600px){.copa-photographic-locker{padding:18px 12px 28px}.copa-player-board{padding:0 15px 14px;border-radius:16px}.copa-selected-stage{height:310px;margin:0 -15px}.copa-selection-heading{padding:20px 18px 0;max-width:65%}.copa-selection-heading h1{font-size:27px;margin-bottom:8px}.copa-selection-heading p{font-size:13px;max-width:190px}.copa-selected-photo{right:12px;width:70%}.copa-selected-stage.has-cutout .copa-selected-photo{width:58%;right:48px;max-width:240px}.copa-selected-copy{left:18px;bottom:34px}.copa-player-signature{font-size:53px}.copa-selected-copy p{font-size:14px;margin:15px 0 0 10px}.copa-player-motto{font-size:18px;right:8px;bottom:83px}.copa-selected-stage.has-photo .copa-selected-photo{width:40%;right:48px;max-height:237px}.copa-selected-stage.has-photo .pp-portrait{height:230px}.copa-portrait-roster{gap:7px;margin:0 0 16px}.copa-roster-frame{border-width:2px;border-radius:9px}.copa-portrait-roster strong{font-size:14px;margin-top:8px}.copa-profile-tabs{gap:7px;margin-bottom:12px}.copa-profile-tabs>button{font-size:13px;min-height:45px;gap:7px}.copa-choose-player{font-size:18px}.copa-personalize>summary{font-size:13px}.md-player-link .md-player-portrait>.copa-photo-portrait{width:100%;height:100%}.club-profile-button>.copa-photo-portrait{width:25px;height:29px;flex-basis:25px}}
@media(max-width:360px){.copa-selection-heading h1{font-size:24px}.copa-selection-heading p{font-size:12px;max-width:180px}.copa-selected-stage{height:300px}.copa-profile-tabs>button{gap:5px;font-size:12px}.copa-profile-tabs>button svg{width:19px}.copa-player-motto{display:none}}
/* Preserve the approved board's original lettering across browser font fallbacks. */
.copa-selected-stage.has-cutout .copa-player-signature{display:block;width:147px;height:86px;font-size:0;transform:none;background:url('approved-mia-signature.webp') center/contain no-repeat}
.copa-player-motto{display:block;width:42px;height:81px;right:10px;bottom:104px;font-size:0;transform:none;background:url('approved-player-motto.webp') center/contain no-repeat}
.copa-profile-tabs [data-player-tab="player"]>svg{display:none}
.copa-profile-tabs [data-player-tab="player"]:before{content:'';width:22px;height:25px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'%3E%3Ccircle cx='12' cy='7' r='5' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M3 26v-4a9 9 0 0118 0v4' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat}
@media(max-width:600px){.copa-selected-stage.has-cutout .copa-player-signature{width:130px;height:76px}.copa-player-motto{width:34px;height:66px;right:9px;bottom:94px}}

/* Large portraits have dedicated source photography; roster crops stay at roster size. */
.copa-selected-stage.has-studio{background:#f7f2e2}
.copa-selected-stage.has-studio .copa-selected-photo{width:43%;max-width:240px;right:54px;bottom:-22px}
.copa-selected-stage.has-studio .copa-photo-portrait{background:#f7f2e2;mask-image:linear-gradient(to right,transparent,#000 7%,#000 94%,transparent)}
.copa-selected-stage.has-studio .copa-player-signature{font-family:Georgia,'Times New Roman',serif;font-style:italic;font-size:58px;letter-spacing:-2px;transform:none}
.copa-selected-stage.has-studio .copa-selected-copy{bottom:40px}
.md-player-portrait>.copa-photo-portrait.is-hero{background:#f7f2e2}
.md-player-portrait>.copa-photo-portrait.is-studio img{object-position:center 12%}
.md-player-portrait>.copa-photo-portrait.is-cutout img{object-position:center top}
.copa-personalize .club-equip-options button,.copa-personalize .md-crest-options button{background:#fffaf0;border-color:#d3c69f;color:#123c32}
.copa-personalize .club-equip-options button.selected,.copa-personalize .md-crest-options button.selected{background:#f1e3b4;border-color:#ae822b}
.copa-profile-tabs>button:hover:not([aria-selected=true]){background:#ddd3b6}
.copa-portrait-roster>button:hover .copa-roster-frame{border-color:#ba9239}
.copa-player-board button:disabled{cursor:not-allowed}
@media(max-width:600px){
 .copa-selected-stage.has-studio{height:338px}
 .copa-selected-stage.has-studio .copa-selection-heading{max-width:100%}
 .copa-selected-stage.has-studio .copa-selection-heading p{max-width:210px}
 .copa-selected-stage.has-studio .copa-selected-photo{width:52%;right:43px;bottom:-20px}
 .copa-selected-stage.has-studio .copa-player-signature{font-size:47px}
 .copa-selected-stage.has-studio .copa-selected-copy{bottom:43px}
 .copa-player-board .approved-kit-row{grid-template-columns:repeat(2,minmax(0,1fr))}
 .copa-personalize .club-equip-options{gap:7px}
}
