/* CM 03/04 game-sized skin. Original supplied textures; game font may be added locally at assets/fonts/tt0756m_.ttf. */
@font-face{font-family:CMVAG;src:url('/assets/fonts/tt0756m_.ttf') format('truetype');font-display:swap;font-weight:400;font-style:normal}
:root{--yellow:#ffff00;--blue:#294c7d;--nav:#294a77;--panel:rgba(33,33,33,.63);font-family:CMVAG,'Trebuchet MS',Arial,sans-serif;font-synthesis:none;color:#fff;font-size:14px}
*{box-sizing:border-box}body{margin:0;background:#e3e8eb}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.38;cursor:default}a{text-decoration:none;color:inherit}a:hover{color:var(--yellow)}[hidden]{display:none!important}
#shell{display:flex;position:relative;width:min(1689px,100%);height:900px;max-width:1689px;margin:0;overflow:hidden;background:#273d5d;border:1px solid #183556;box-shadow:0 1px 5px #0008}
#sidebar{width:92px;flex:0 0 92px;background:#29466c url('/assets/skin/panels/menubar_top.png') repeat-y top left;background-size:92px auto;position:relative;display:flex;flex-direction:column;padding:3px 3px 6px;z-index:15;min-width:0;border-right:2px solid #132e52}
.game-clock{height:69px;text-align:center;color:#fafa00;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:12px;line-height:1.12;text-shadow:none}
.history-buttons{display:flex;gap:3px;height:44px;margin-bottom:3px}.history-buttons button{flex:1;min-width:0;color:#fffb00;font-size:20px;border-radius:6px;border:1px solid #28466a;background:linear-gradient(#6c8daf,#375985 45%,#345b8d);box-shadow:inset 1px 1px #a0bed1}
.side-nav{display:flex;flex-direction:column;gap:3px}.sidebutton{border-radius:6px;border:1px solid #1b3b63;background:linear-gradient(#6d88ae,#385986 40%,#385580);box-shadow:inset 1px 1px #98acc6,0 1px #132b50;width:100%;min-height:45px;display:flex;align-items:center;justify-content:center;text-align:center;color:white;font-weight:400;font-size:12px;line-height:1.2;padding:2px}.sidebutton:hover,.sidebutton:focus-visible{background:linear-gradient(#7b9bc2,#4d6c9c);color:#fffe00}.sidebar-foot{margin-top:auto;display:block;text-align:center;color:#fffc00;font-size:9px;letter-spacing:0}
#main{display:flex;flex-direction:column;min-width:0;flex:1;padding:3px 3px 3px 2px;background:linear-gradient(135deg,#1f2d39,#273940);position:relative}
#app{height:calc(100% - 29px);min-height:0;position:relative}.scene{height:100%;display:flex;flex-direction:column;gap:4px;position:relative;overflow:hidden}.scene:before{content:'';position:absolute;inset:72px 0 0;background:linear-gradient(155deg,rgba(0,0,0,.63),rgba(22,30,34,.65)),radial-gradient(ellipse at 50% 100%,#4a674f,#203844);z-index:0}.scene>*{z-index:1;position:relative}
.game-heading{--team-bg:#e10800;--team-fg:#fff;height:70px;flex:0 0 70px;border-radius:9px;background:var(--team-bg);color:var(--team-fg);border:1px solid #415273;box-shadow:inset 0 2px rgba(255,255,255,.42),inset 4px 0 rgba(255,255,255,.12),inset -3px 0 rgba(0,0,0,.22);display:flex;justify-content:center;align-items:center;text-shadow:1px 1px 0 rgba(40,40,40,.23);overflow:hidden}
.game-heading:before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 2px,rgba(255,255,255,.12) 2px 3px);opacity:.22;pointer-events:none}
.game-heading h1{font-size:30px;line-height:1.06;margin:0;font-weight:400;text-align:center}.game-heading h2{font-size:13px;line-height:1.1;margin:7px 0 0;text-align:center}.heading-centre{display:flex;flex-direction:column;align-items:center;justify-content:center;max-width:calc(100% - 165px)}.heading-centre a{text-decoration:none}.heading-centre a:hover{text-decoration:underline;color:inherit}.head-arrow{position:absolute;left:9px;top:23px;font-size:14px;z-index:2;line-height:1;color:inherit}.crest{position:absolute;right:10px;top:4px;height:60px;max-width:64px;object-fit:contain;z-index:2}
.tabs,.lower-tabs{height:21px;flex:0 0 21px;display:flex;border:1px solid #203c61;border-radius:6px;overflow:hidden;background:#38619a}.tabs .tab,.lower-tabs .lower-tab{flex:1;display:flex;align-items:center;justify-content:center;min-width:0;text-align:center;color:#fff;font-weight:bold;font-size:11px;border-right:1px solid #6682ab;background:#356199 url('/assets/skin/tabs/normal_middle.png') repeat-x left top;background-size:auto 100%;white-space:nowrap;padding:0 3px;cursor:default}.tabs .selected{color:#ffff00;background-image:url('/assets/skin/tabs/normal_selected_middle.png')}.tabs a.tab,.lower-tabs a{cursor:pointer}.tabs a.tab:hover,.lower-tabs a:hover{color:#ffff00}.lower-tabs{margin-top:auto}.lower-tabs .current-division{color:var(--yellow)}
.scene-body{min-height:0;flex:1;display:flex;flex-direction:column;gap:4px;overflow:hidden;padding:0 2px}
.controls,.squad-controls,.competition-control{display:flex;align-items:center;min-height:30px;gap:5px;flex:0 0 auto;padding:3px 1px}.controls .control-push{flex:1}.btn,.control,.controls select,.squad-controls button,.competition-control select{color:#fff;font-weight:bold;font-size:11px;background:linear-gradient(#648bb6,#315889 60%,#426da6);border:1px solid #284d7a;box-shadow:inset 0 1px #9cbbdd;border-radius:7px;padding:3px 10px;min-height:22px;max-height:27px}.btn:hover,.control:hover,.controls select:hover,.competition-control select:hover{filter:brightness(1.13)}.controls select,.competition-control select{width:auto;max-width:280px}.control-push{margin-left:auto}
.screen-panel{position:relative;background:rgba(30,31,29,.52);border:1px solid rgba(170,190,196,.35);box-shadow:inset 1px 1px rgba(255,255,255,.12);border-radius:6px;padding:6px 7px;display:flex;flex-direction:column;flex:1;min-height:0;margin:2px 0}.screen-panel h3,.panel h3{color:var(--yellow);font-size:15px;font-weight:bold;margin:0 0 4px;text-shadow:none}.screen-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.screen-title-row h3 small{font-size:10px;color:#cedee4}.results-scroll{overflow-y:auto;overflow-x:auto;min-height:0;flex:1;scrollbar-color:#4467a0 #233650;scrollbar-width:thin}.game-table{width:100%;border-collapse:collapse;table-layout:fixed;color:#fff;font-size:12px;font-weight:400}.game-table th{background:#335d92 url('/assets/skin/table/heading/normal_middle.png') repeat-x left top;background-size:auto 100%;border-right:1px solid #6e8bb8;height:18px;font-size:11px;padding:0 4px;white-space:nowrap}.game-table td{height:21px;padding:1px 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-table tr:nth-child(odd){background:rgba(15,15,15,.30)}.game-table tr:nth-child(even){background:rgba(170,170,170,.13)}.game-table tr:hover{background:rgba(88,112,152,.55)}.game-table th:nth-child(1){width:38px}.game-table th:nth-child(2){width:42px}.game-table th:nth-child(3){width:25%}.game-table th:nth-child(4){width:23%}.game-table th:nth-child(5){width:18%}.game-table th:nth-child(6){width:90px}.game-table th:nth-child(7){width:90px}.game-table .minor{text-align:center}.game-table .tiny{text-align:center;color:#e4e4e4}.position-cell{color:var(--yellow)}.value-cell{text-align:right}.no-results{text-align:center!important;padding:16px!important}.condition{background:linear-gradient(#ff8e36,#ce370f);border-radius:50%;height:19px;width:19px;display:inline-grid;place-items:center;color:#fffc00;border:1px solid #e6a34c;font-size:9px;font-style:normal;font-weight:700}.result-count{height:23px;flex:0 0 23px;text-align:center;padding-top:3px;font-size:12px;color:var(--yellow)}.game-pager{display:flex;align-items:center;gap:2px;white-space:nowrap}.game-pager button{border:1px solid #203c6b;background:linear-gradient(#5682bb,#19467f);color:#ffff00;border-radius:3px;font-size:13px;height:22px;width:24px}.game-pager b{color:#fff;padding:0 5px;font-size:11px;font-style:italic}
.panel{background:rgba(26,27,27,.58);border:1px solid rgba(161,166,168,.65);border-radius:5px;box-shadow:inset 1px 1px #8c8c8c44;padding:7px 9px;position:relative}.profile-stage{flex:1;min-height:0;display:flex;flex-direction:column;gap:4px;position:relative;overflow:hidden}.profile-stage .player-shot{opacity:0;position:absolute;z-index:0;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}.profile-stage .player-shot.loaded{opacity:.32}.profile-stage>*:not(img){z-index:1}.attributes-triple{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;min-height:0;height:420px;flex:0 0 420px}.attribute-panel{overflow:hidden}.attribute-panel .attr-line{height:21px;display:flex;align-items:center;justify-content:space-between;padding:0 3px;gap:5px;color:#fff;font-weight:400;font-size:14px}.attribute-panel .attr-line:nth-of-type(2n){background:rgba(255,255,255,.08)}.attribute-panel .attr-line b{color:var(--yellow);text-align:right}.selection-panel{height:81px;flex:0 0 81px}.selection-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.selection-grid>div:last-child{border-left:1px dashed #9c9c9c;padding-left:10px}.selection-grid>div>div{display:grid;grid-template-columns:140px 1fr;gap:4px;min-height:20px;font-weight:bold}.selection-grid b{color:#ffff00}.statistics{min-height:0;flex:1;overflow:hidden}.statistics>.panel{height:100%}.stat-table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:11px;font-weight:700}.stat-table thead{background:linear-gradient(#6a91c5,#234b80);border-radius:5px}.stat-table th{color:#fff;font-size:10px}.stat-table th:first-child{width:32%}.stat-table tr:nth-child(even){background:rgba(20,20,20,.3)}.stat-table td{height:19px;text-align:center}.stat-table td:first-child{text-align:left}.yellowstat{color:#fffc00}.redstat{color:#fa4040}
.squad-surface .squad-list{overflow:auto;flex:1}.squad-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.squad-player{min-height:22px;display:grid;grid-template-columns:38px 22px minmax(0,1fr) 65px;gap:4px;align-items:center;font-size:12px;font-weight:bold}.squad-player:nth-child(even){background:rgba(12,12,12,.2)}.squad-square{height:21px;border-radius:5px;background:linear-gradient(#92b3c8,#4780ad);border:1px solid #3e6797}.squad-pos{color:#ffff00;text-align:right;font-size:11px}.squad-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.filter-check{display:flex;gap:4px;align-items:center;margin-left:auto}.filter-check input{accent-color:#3e6298}.squad-controls .squad-choice span{color:var(--yellow)}.squad-footer{margin-top:auto;padding:5px;font-size:11px;border-radius:5px;background:#6665}.squad-footer strong{float:right;color:var(--yellow)}
.directory-controls{display:flex;justify-content:space-between;gap:8px;min-height:30px;align-items:center}.directory-controls input,.directory-controls select,.quick-form input{height:23px;background:#c6cbd0;color:#26374a;border:1px solid #899aaa;padding:2px 5px}.directory-columns{display:grid;grid-template-columns:1fr 1fr;gap:10px}.directory-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 4px;font-size:12px;font-weight:bold;min-height:22px}.directory-row:nth-child(odd){background:#2225}.directory-row b{color:#e4e9e6;font-size:10px}.directory-list{overflow:auto}.league-table th:nth-child(n){width:auto}.league-table th:nth-child(2){width:30%}.league-table th:first-child{width:55px}.league-table td:not(:nth-child(2)){text-align:center}.league-table td{height:21px}.competition-control select{width:auto}.quick-form{display:grid;grid-template-columns:1.2fr repeat(3,1fr) auto;align-items:center;gap:8px}.quick-form label{display:flex;align-items:center;gap:5px}.quick-form input{width:100%}.quick-page .panel{margin:8px 4px 0}.quick-page .screen-panel{margin-top:4px}
.ticker-frame{height:26px;flex:0 0 26px;position:relative;margin-top:2px;border-radius:5px;background:linear-gradient(#5984b1,#254b7b 58%,#1b3762);border:1px solid #294666;box-shadow:inset 0 1px #7eabcf;overflow:hidden}.ticker-frame:after{content:'';position:absolute;inset:4px 9px;border-radius:7px;border:1px solid #132e51;background:#14365e66;pointer-events:none}.ticker-track{display:inline-block;white-space:nowrap;position:absolute;left:100%;top:4px;color:#69bfff;font-size:11px;font-weight:bold;animation:gameTicker 24s linear infinite}@keyframes gameTicker{from{transform:translateX(0)}to{transform:translateX(calc(-100% - 1100px))}}
#nav-overlay{position:fixed;inset:0;pointer-events:none;z-index:35}.game-menu{position:fixed;min-width:185px;max-width:290px;max-height:min(82vh,660px);overflow:auto;display:flex;flex-direction:column;background:#446187;border:1px solid #23466f;box-shadow:1px 4px 10px #071322b8;border-radius:5px;padding:4px;pointer-events:auto}.game-menu a,.game-menu strong{padding:5px 7px;font-size:11px;font-weight:bold;color:white;display:block;border-radius:2px}.game-menu a:hover{background:#5b81a7;color:var(--yellow)}.game-menu .menu-heading{padding:4px 7px;color:var(--yellow);font-weight:bold;background:#244770}.game-menu .menu-group{border-bottom:1px solid #a4b6ca40}.game-menu .menu-group strong{background:#2e507b;color:#ffe500}.game-menu .menu-scroll{overflow:auto}
.filter-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:50;padding:12px}.filter-dialog{width:min(720px,96vw);max-height:min(680px,93vh);display:flex;flex-direction:column;border:3px solid #6b80a8;border-radius:10px;background:#344b6b;box-shadow:0 6px 22px #000;border-style:ridge;color:white;padding:10px}.filter-dialog>header{color:var(--yellow);font-size:15px;font-weight:bold;text-align:center;margin-bottom:8px}.filter-tabs{display:flex;gap:3px;margin:0 4px 8px}.filter-tabs button,.filter-dialog>footer button{font-weight:bold;color:#fff;background:linear-gradient(#6987aa,#355c93);border:1px solid #233e63;border-radius:5px;min-height:23px;padding:3px 14px}.filter-tabs button.active{color:var(--yellow)}.filter-tabs .filter-clear{margin-left:auto}.filter-body{border:1px solid #667c9e;border-radius:5px;min-height:0;flex:1;overflow:auto;background:#455b7b;padding:12px}.general-fields{display:flex;flex-direction:column;gap:9px;max-width:500px}.general-fields label{display:flex;align-items:center;min-height:24px;gap:5px;font-weight:700}.general-fields label>span{width:160px;flex:0 0 160px}.general-fields input,.general-fields select{background:#748ca7;color:#fff;border:1px solid #46648d;border-radius:3px;padding:4px;width:230px;height:25px}.general-fields input.small{width:85px}.general-fields em{font-style:normal}.general-fields input::placeholder{color:#d4deee}.filter-dialog>footer{display:flex;gap:4px;margin-top:8px}.filter-dialog>footer button{flex:1}.attribute-filter-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.filter-attribute{height:28px;display:grid;grid-template-columns:minmax(0,1fr) 25px 30px 25px;gap:3px;align-items:center;font-weight:bold}.filter-attribute .adjust,.filter-attribute .number-cycle{height:23px;border:1px solid #284b76;border-radius:6px;color:#fff;background:linear-gradient(#6186b5,#33598b);padding:0}.filter-attribute .number-cycle{color:#ffff00}
.loading{padding:30px;color:#ffff00}.filter-dialog input:focus,.filter-dialog select:focus{outline:2px solid #fafa00}.screen-panel p{font-size:13px;line-height:1.6}
@media(max-width:850px){#shell{width:100vw;max-width:100%;height:100dvh;min-height:500px}#sidebar{width:68px;flex-basis:68px;background-size:68px auto}.sidebutton{min-height:40px;font-size:9px}.game-clock{font-size:9px;height:62px}.history-buttons{height:36px}.history-buttons button{font-size:15px}.sidebar-foot{font-size:8px}.game-heading{height:62px;flex-basis:62px}.game-heading h1{font-size:22px}.game-heading h2{font-size:11px}.crest{height:44px}.heading-centre{max-width:calc(100% - 105px)}.scene:before{inset:65px 0 0}.attribute-panel .attr-line{font-size:11px}.attribute-panel{padding:5px}.attributes-triple{height:auto;min-height:300px;flex:1}.selection-grid>div>div{grid-template-columns:90px 1fr}.stat-table td{height:15px}.statistics{flex:0 0 132px}.selection-panel{height:78px;flex-basis:78px}.game-table{font-size:10px}.game-table td{padding:1px 2px}.game-table th:nth-child(3){width:24%}.game-table th:nth-child(4){width:21%}.game-table th:nth-child(5){width:17%}.game-table th:nth-child(6){width:48px}.game-table th:nth-child(7){width:60px}.game-table th:nth-child(1){width:25px}.game-table th:nth-child(2){width:30px}.controls select{max-width:140px}.game-pager b{font-size:9px}.game-pager button{width:19px}.game-heading h1{font-size:21px}}
@media(max-width:560px){#sidebar{width:58px;flex-basis:58px;padding-left:2px;padding-right:2px}.sidebutton{font-size:8px;padding:2px 1px;min-height:39px}.game-clock{font-size:8px;height:53px}.history-buttons{height:29px}.history-buttons button{font-size:12px}.game-heading h1{font-size:17px}.game-heading h2{font-size:9px}.tabs .tab{font-size:9px}.attribute-panel .attr-line{height:20px;font-size:10px}.attributes-triple{grid-template-columns:1fr 1fr;overflow:auto;flex:1}.attributes-triple .attribute-panel:last-child{grid-column:1 / -1}.selection-panel{height:auto;flex-basis:110px}.selection-grid{grid-template-columns:1fr;gap:2px}.selection-grid>div:last-child{border:0;padding:0}.statistics{display:none}.squad-columns{grid-template-columns:1fr}.squad-player{grid-template-columns:20px 18px minmax(0,1fr) 50px;font-size:10px}.squad-square{height:17px}.squad-player .condition{height:16px;width:16px;font-size:7px}.screen-title-row{flex-wrap:wrap}.game-pager{margin-left:auto}.game-table th:nth-child(1),.game-table th:nth-child(2),.game-table td:nth-child(1),.game-table td:nth-child(2),.game-table th:nth-child(5),.game-table td:nth-child(5){display:none}.game-table th:nth-child(3){width:42%}.game-table th:nth-child(4){width:30%}.game-table th:nth-child(6){width:12%}.game-table th:nth-child(7){width:16%}.quick-form{grid-template-columns:1fr 1fr}.quick-form label{font-size:10px}.quick-form label:first-child{grid-column:span 2}.directory-columns{grid-template-columns:1fr}.attribute-filter-columns{grid-template-columns:1fr}.general-fields label>span{width:100px;flex-basis:100px}.general-fields input,.general-fields select{width:150px}.general-fields input.small{width:65px}.filter-dialog{width:99vw}.squad-controls .squad-choice span{display:none}}
.game-menu.view-popup{min-width:115px;z-index:65;padding:3px}.view-popup button{width:100%;border:0;text-align:left;background:none;color:white;padding:6px 7px;font-family:inherit;font-weight:bold;font-size:11px}.view-popup button:hover{color:#ffff00;background:#6485af}.view-physical th,.view-mental th,.view-attacking th,.view-defensive th,.view-goalkeeping th{width:auto!important}.view-physical th:nth-child(3),.view-mental th:nth-child(3),.view-attacking th:nth-child(3),.view-defensive th:nth-child(3),.view-goalkeeping th:nth-child(3){width:31%!important}.stat-cell{text-align:right;color:var(--yellow)}

/* V3 desktop typography: use the authentic Regular face, never synthetic-bold shadows. */
.game-heading,.game-heading h1,.game-heading h2,.sidebutton,.game-clock,.tabs .tab,.lower-tabs .lower-tab,.screen-panel h3,.panel h3,.game-table,.attribute-panel .attr-line,.squad-player,.directory-row,.control,.btn,.game-pager,.game-menu,.filter-dialog {font-synthesis:none}
.game-heading{text-shadow:1px 1px 0 rgba(55,55,55,.24)}
.sidebutton,.game-clock,.tabs .tab,.lower-tabs .lower-tab,.game-table,.squad-player,.directory-row,.controls,.filter-dialog {text-shadow:none}
@media(min-width:851px){.scene-body{padding:0 5px}.game-table{font-size:14px}.game-table th{height:22px;font-size:13px}.game-table td{height:26px}.game-table th:nth-child(3){width:28%}.game-table th:nth-child(4){width:25%}.game-table th:nth-child(5){width:18%}.attribute-panel .attr-line{font-size:14px;height:22px}.attributes-triple{height:420px;flex:0 0 420px}.squad-player{min-height:25px;font-size:14px}.screen-panel h3,.panel h3{font-size:16px}.sidebutton{font-size:12px}.controls .btn,.controls select,.squad-controls button,.competition-control select{font-size:12px}.filter-dialog{font-size:13px}}
@media (min-width:851px) and (max-height:835px){#shell{height:max(710px,100dvh)}.attributes-triple{height:345px;flex-basis:345px}}
