/* 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}
/* Bottom game ticker: one sentence, unobstructed bright cyan, right-edge fade-in. */
.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;isolation:isolate}
.ticker-frame:after{content:'';position:absolute;inset:4px 9px;border-radius:7px;border:1px solid #132e51;background:rgba(20,54,94,.40);pointer-events:none;z-index:0}
.ticker-frame:before{content:'';position:absolute;right:5px;top:4px;bottom:4px;width:min(150px,26%);background:linear-gradient(to left,#1d3e68 0%,rgba(29,62,104,.90) 16%,rgba(29,62,104,0) 100%);pointer-events:none;z-index:3}
.ticker-track{white-space:nowrap;position:absolute;left:100%;top:4px;color:#60c0ff;font-size:11px;font-weight:400;line-height:15px;z-index:2;text-shadow:none;animation:gameTicker 21s linear infinite;will-change:left,transform}
@keyframes gameTicker{from{left:100%;transform:translateX(0)}to{left:0%;transform:translateX(-100%)}}
@media(prefers-reduced-motion:reduce){.ticker-track{animation:none;left:12px;transform:none}}
#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}}

/* V4: authentic restrained game-heading shadow; no white glow or sidebar shadow. */
.game-heading h1,.game-heading h2{text-shadow:1px 2px 1px rgba(22,24,29,.57)}
.game-heading{ text-shadow:none }
/* Genuine crawlable fallback content, also usable if scripts are disabled. App replaces on ready. */
.seo-fallback{height:100%;overflow:auto;padding:15px 22px;background:linear-gradient(155deg,#1b252b,#263b3b);color:#f5f5f5;font-size:14px;line-height:1.5}
.seo-fallback h1{font-size:25px;color:#fff;margin:0 0 12px}.seo-fallback h2{color:#ffff00;font-size:17px;margin:18px 0 5px}
.seo-fallback p{max-width:1100px}.seo-fallback ul{columns:3;column-gap:25px;list-style:disc;padding-left:23px}.seo-fallback li{break-inside:avoid;margin:2px 0}
.seo-fallback a{color:#9bddff;text-decoration:underline}.seo-fallback a:hover{color:#ffff00}
@media(max-width:600px){.seo-fallback{padding:9px}.seo-fallback ul{columns:1}}

/* Version 6: native-game frame, readable table columns, and authentic letterforms. */
@font-face{font-family:CMVAG;src:url('/assets/fonts/tt0756m_.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
html,body{font-family:CMVAG,'Trebuchet MS',Arial,sans-serif}
#shell{width:min(1600px,100%);max-width:1600px;height:870px}
#main,#app,.scene,.game-table,.squad-player,.sidebutton,.tabs,.controls,.game-menu,button,input,select{font-family:CMVAG,'Trebuchet MS',Arial,sans-serif}
.game-table{width:100%;table-layout:fixed}
.game-table .minor{width:4%}
.game-table .player-name-header{width:25%}
.game-table th{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.game-table th.sortable{cursor:pointer;user-select:none}
.game-table th.sortable:hover{color:#ffff00;background-color:#497bae}
.game-table th.th-left{text-align:left;padding-left:8px}
.game-table td.text-left{text-align:left;padding-left:9px;color:#fff}
.game-table td.text-left a{color:#fff}
.game-table td.text-left a:hover{color:var(--yellow)}
.game-table td.value-cell,.game-table td.stat-cell{text-align:center}
.game-table td.player-name-cell{text-align:left}
.game-table td.status-placeholder{color:transparent}
.game-table.view-general th:nth-child(4){width:26%}
.game-table.view-general th:nth-child(5){width:19%}
.game-table.view-general th:nth-child(6){width:11%}
.game-table.view-general th:nth-child(7){width:11%}
.game-table:not(.view-general) .minor{width:4%}
.game-table:not(.view-general) .player-name-header{width:26%}
.game-table:not(.view-general) th:not(.minor):not(.player-name-header){width:auto}
.game-table:not(.view-general) th:last-child{width:10%}
.game-pager{display:flex;align-items:center;gap:7px;white-space:nowrap}
.game-pager b{min-width:134px;text-align:center;font-size:13px;color:#fff}
.game-pager button{min-width:29px;height:22px}
.squad-player .status-empty{height:19px;width:20px;display:block}
#shell,.scene{font-synthesis:none}
@media(min-width:851px) and (max-width:1100px){#shell{height:817px}.game-table{font-size:12px}.game-table th{font-size:11px}.game-table td{height:21px}}
@media(max-width:850px){#shell{height:100dvh}.game-table .player-name-header{width:40%}.game-table.view-general th:nth-child(4){width:28%}.game-table.view-general th:nth-child(5){width:21%}.game-table.view-general th:nth-child(6){width:9%}.game-table.view-general th:nth-child(7){width:16%}.game-table th.minor,.game-table td.tiny{display:none}.game-pager{gap:2px}.game-pager b{min-width:auto;font-size:10px}.game-pager button{min-width:19px}}

/* V7 quality improvements: donation, crisp UI, continuous ticker, scrollbar, game-style text. */
/* The supplied font must be installed by the owner at /public/assets/fonts/tt0756m_.ttf; it is not redistributed. */
@font-face{font-family:CMVAG;src:url('/assets/fonts/tt0756m_.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
html,body,button,input,select{font-family:CMVAG,'Trebuchet MS',Arial,sans-serif;text-rendering:optimizeLegibility}
.side-always-yellow{color:#ffed00}
.side-always-yellow:hover,.side-always-yellow:focus-visible{color:#ffed00;background:linear-gradient(#7b9bc2,#4d6c9c)}
/* Single uninterrupted gradient avoids tiling the 763px menu image at desktop heights. */
#sidebar{background-color:#29466c;background-image:linear-gradient(180deg,#2b4162 0%,#35527d 52%,#2b4162 100%);background-repeat:no-repeat;background-size:100% 100%}
.game-heading h1,.game-heading h2{text-shadow:1px 2px 2px rgba(27,27,27,.24)}
.ticker-track{animation:gameTicker 21s linear infinite !important}
@media(prefers-reduced-motion:reduce){.ticker-track{animation:gameTicker 21s linear infinite !important;left:100%}}
.squad-list,.results-scroll{scrollbar-width:auto;scrollbar-color:#5081ba #1e3553;padding-right:8px}
.squad-list::-webkit-scrollbar,.results-scroll::-webkit-scrollbar{width:15px;height:12px}
.squad-list::-webkit-scrollbar-track,.results-scroll::-webkit-scrollbar-track{background:#1d3555;border:1px solid #305c8a}
.squad-list::-webkit-scrollbar-thumb,.results-scroll::-webkit-scrollbar-thumb{background:linear-gradient(90deg,#2b4b7d,#6394d1 55%,#315589);border:2px solid #1f416e;border-radius:4px;min-height:32px}
.squad-player{padding-right:7px}
.goalkeeper-line b{color:#fb8000!important}
.attr-line .unset-attr{color:#adaca7!important}
.preferred-foot-line span{color:#fff000}.preferred-foot-line b{color:#ff8900!important}
.donate-button{position:absolute;z-index:4;left:8px;top:50%;transform:translateY(-50%);font-family:inherit;font-size:11px;line-height:1.1;font-weight:700;text-decoration:none!important;color:var(--team-bg);background:var(--team-fg);border:1px solid currentColor;border-radius:3px;box-shadow:0 1px 2px #0009;padding:4px 7px;cursor:pointer}
.donate-button:hover{filter:brightness(1.15);box-shadow:0 0 0 1px #ffffff88,0 1px 3px #0007}
.donate-button.donate-unconfigured{opacity:.6;cursor:default;filter:grayscale(.5)}
.league-table{table-layout:fixed!important}
.league-table th:first-child{width:62px!important}
.league-table th:nth-child(2){width:52%!important;text-align:left;padding-left:12px}
.league-table td:nth-child(2){text-align:left;padding-left:12px;overflow:hidden;text-overflow:ellipsis}
.league-table th:nth-child(n+3){width:auto!important}
.editorial-panel{width:100%;height:100%;overflow-y:auto}
.editorial-content{max-width:1100px;padding:3px 10px 25px;color:white;font-size:14px;line-height:1.5}
.editorial-content h2{font-size:18px;color:#fffb00;margin:15px 0 6px}
.editorial-content p{margin:8px 0}.editorial-content a:not(.contact-card){color:#60c0ff;text-decoration:underline}
.sister-site{display:inline-flex;flex-direction:column;max-width:360px;gap:7px;padding:8px 0}.sister-site img{max-width:100%;height:auto;border:1px solid #6a8caf;border-radius:5px}
.contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:15px 0 25px}
.contact-card{display:flex;gap:15px;align-items:center;padding:13px;border:1px solid #405f8e;background:#091b54;color:#fff;text-decoration:none;min-height:94px}
.contact-icon{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;font-size:24px;font-weight:bold;background:#070a12;border-radius:8px}
.contact-icon.youtube{background:#eb0000}.contact-icon.reddit{background:#ff5300}.contact-icon.email{background:#07834c}
.contact-card strong,.contact-card small{display:block}.contact-card strong{color:#ffec00;font-size:18px}.contact-card small{font-size:12px;color:#fff}
@media(max-width:650px){.donate-button{font-size:8px;padding:2px 3px;left:4px}.contact-grid{grid-template-columns:1fr}.contact-card{min-height:75px}.editorial-content{padding:0 1px 10px;font-size:12px}}

/* V8 – accurate People / Clubs / Nations Quick Search, all fields editable. */
.quick-page .quick-form-panel{flex:0 0 auto;min-height:67px;margin:7px 4px 1px;}
.quick-page .quick-form{display:grid;align-items:center;gap:8px;padding:2px 4px;}
.quick-page .quick-fields-people{grid-template-columns:1.05fr 1fr 1fr 1fr auto;}
.quick-page .quick-fields-clubs{grid-template-columns:1.2fr 1fr 1fr auto;}
.quick-page .quick-fields-nations{grid-template-columns:1.5fr 1fr auto;}
.quick-page .quick-form label{display:flex;align-items:center;min-width:0;gap:8px;font-size:12px;color:#fff;}
.quick-page .quick-form label span{min-width:48px;text-align:right;white-space:nowrap;}
.quick-page .quick-form input{min-width:0;width:100%;height:25px;border:1px solid #7f8b92;background:linear-gradient(#c3c4c3,#9b9d9f);color:#142638;border-radius:1px;font-size:13px;padding:2px 6px;}
.quick-page .quick-form input:focus{outline:2px solid #4c9feb;outline-offset:0;}
.quick-page .quick-results-panel{margin:4px 4px 2px;}
.quick-page .quick-results-table{table-layout:fixed;}
.quick-page .quick-results-table th{width:auto!important;text-align:center;}
.quick-page .quick-results-people th:nth-child(1){width:34%!important;}
.quick-page .quick-results-people th:nth-child(2){width:16%!important;}
.quick-page .quick-results-people th:nth-child(3){width:28%!important;}
.quick-page .quick-results-people th:nth-child(4){width:22%!important;}
.quick-page .quick-results-clubs th:first-child{width:48%!important;}
.quick-page .quick-results-clubs th:nth-child(2){width:25%!important;}
.quick-page .quick-results-clubs th:nth-child(3){width:27%!important;}
.quick-page .quick-results-nations th:first-child{width:43%!important;}
.quick-page .quick-results-nations th:nth-child(2){width:35%!important;}
.quick-page .quick-results-nations th:nth-child(3){width:22%!important;}
.quick-page .quick-results-table td{text-align:left;padding-left:10px;}
.quick-page .quick-pager{display:flex;align-items:center;gap:8px;font-size:11px;}
.quick-page .quick-pager button{background:linear-gradient(#688bb3,#284e87);color:#ffff00;border:1px solid #365a92;border-radius:3px;padding:3px 9px;}
@media(max-width:900px){.quick-page .quick-form{grid-template-columns:1fr 1fr;}.quick-page .quick-form label:first-child{grid-column:auto;}.quick-page .quick-form button{grid-column:1/-1;justify-self:end}.quick-page .quick-form label span{min-width:45px}.quick-page .quick-form-panel{min-height:115px}}
@media(max-width:560px){.quick-page .quick-form{grid-template-columns:1fr}.quick-page .quick-form button{grid-column:auto}.quick-page .quick-form label{font-size:10px}.quick-page .quick-results-table{font-size:11px}.quick-page .quick-results-table td{padding-left:3px}.quick-page .quick-results-people th:nth-child(1){width:38%!important}.quick-page .quick-results-people th:nth-child(2){width:22%!important}.quick-page .quick-results-people th:nth-child(3){width:40%!important}.quick-page .quick-results-people th:nth-child(4),.quick-page .quick-results-people td:nth-child(4){display:none}}
