/* Reading comfort and a warm club atmosphere, shared by every role. */
:root{--paper:#f3f1eb;--muted:#4e6077;--line:#dbe2e7}
body{font-size:16px;line-height:1.65;background-color:var(--paper);background-image:radial-gradient(ellipse at 95% 20%,#ffdcc18c 0,transparent 48%),radial-gradient(ellipse at 2% 52%,#c7dbee99 0,transparent 52%),linear-gradient(150deg,#f8f4ea 0%,#edf3f5 65%,#f6eee5 100%);background-attachment:fixed}
.card,.metric{background:#ffffffed;border-color:#dce3e8;box-shadow:0 6px 22px #142e6c06}
.club-navigation{background:#fffcf6}.club-dropdown{background:#fffcf8}.club-dropdown button{background:transparent}
.club-home,.category-trigger,.club-dropdown button{font-size:16px}.club-dropdown p{font-size:14px;color:var(--muted)}
.club-signature{font-size:11px;color:#53627b;letter-spacing:1.2px}.club-house~.main .breadcrumb{font-size:14px}
.club-identity .clubmark b{font-size:15px}.club-identity .clubmark small{font-size:13px}.club-account .profile label{font-size:11px}.club-account .profile select{font-size:15px;max-width:290px}
.club-house~.main .page-head h1,h1{font-size:34px;line-height:1.25}.page-head p{font-size:16px}.hero h2{font-size:30px;max-width:560px}.hero p{font-size:16px;max-width:570px;color:#e0e8f6}.eyebrow{font-size:12px;letter-spacing:1.5px}
h2,.card-head h2{font-size:22px}h3,.exercise h3{font-size:19px}.metric strong{font-size:36px}.metric-top{font-size:15px}.metric small,.card-head p,.summary-list>small{font-size:14px}
.button,.page-head .button,.tabs button,.workspace-tabs button{font-size:15px}.button{min-height:44px}.button.small{font-size:14px}.badge{font-size:13px;white-space:normal}.event-body h3,.callout h3{font-size:16px}.event-body p,.event-meta,.callout p,.sync-note p,.sync-note b{font-size:14px}.event-meta{min-width:80px}.summary-row,.exercise p,.child-card p,.modal-body p,.plan-block b,.plan-block p{font-size:15px}.exercise .tagline{font-size:14px}.date-tile small{font-size:12px}.date-tile b{font-size:24px}
small,.field small,.demo-options small{font-size:13px}.field label{font-size:15px}.field input,.field select,.field textarea,.toolbar input,.toolbar select,.calendar-controls input{font-size:16px}.choice button{font-size:14px;min-height:40px}.error,.notice,.empty,#toast{font-size:15px}
th{font-size:13px}td{font-size:15px}.profile-details,.profile-details b{font-size:14px}.history-snapshot,.sync-detail{font-size:14px}.footer{font-size:13px;color:#53627b}.bar-wrap small,.bar-wrap b{font-size:13px}
.calendar-filter-section>b,.check-row,.calendar-toolbar .muted{font-size:15px}.calendar-month-head h2{font-size:24px}.calendar-foot,.source-info{font-size:14px}.weekday,.day-number{font-size:14px}.month-event{font-size:13px;padding:6px}.day-more{font-size:13px}.month-cell{min-height:145px}.calendar-layout{grid-template-columns:235px minmax(0,1fr)}
.login-box>p,.login-visual p{font-size:17px}.demo-options>p,.demo-options button,.login-visual footer{font-size:13px}.login-panel{background:transparent}
@media(max-width:1250px){.club-signature{display:none}.club-mast{gap:16px}.club-account .profile select{max-width:220px}.club-identity{gap:16px}.club-identity .clubmark{padding-left:16px}}
@media(max-width:1000px){.club-mast{flex-wrap:wrap}.club-account{margin-left:auto}.calendar-layout{grid-template-columns:195px minmax(0,1fr)}}
@media(max-width:760px){.club-account{margin-left:0}.club-identity .clubmark b{font-size:14px}.club-identity .clubmark small{font-size:12px}.club-account .profile label{font-size:11px}.club-account .profile select{font-size:14px;max-width:225px}.club-home,.category-trigger{font-size:15px;padding:14px 10px}.club-house~.main .page-head h1{font-size:30px}.hero h2{font-size:26px}.hero p{font-size:15px}.metric strong{font-size:32px}.calendar-layout{grid-template-columns:1fr}.month-grid{min-width:720px}.event-row{flex-wrap:wrap}.event-body{min-width:0}.event-meta{margin-left:auto}.page-head .button{white-space:normal}.modal-head h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){body{background-attachment:scroll}}
/* Personal player cards: actual club identity and recorded statistics only. */
.player-showcase{margin:0 0 32px;padding:32px;border:1px solid #d4deea;border-radius:22px;background:radial-gradient(ellipse at 50% 100%,#c3d8ec 0,transparent 70%),linear-gradient(130deg,#f9f5eb,#e9eff8);overflow:hidden}
.showcase-heading{text-align:center;margin-bottom:28px}.showcase-heading .eyebrow{color:#596b84}.showcase-heading h2{font-size:28px;margin:8px 0;color:#142e6c}.showcase-heading p{margin:0;color:#4e6077}.player-showcase-grid{display:flex;justify-content:center;gap:36px;flex-wrap:wrap}.player-card-stage{width:min(100%,360px);perspective:1000px}.player-collectible{position:relative;isolation:isolate;padding:24px 25px 20px;overflow:hidden;color:#fff;border:2px solid #eeb06b;border-radius:38px 38px 70px 70px;background:radial-gradient(ellipse at 50% 34%,#365c9b 0,transparent 52%),linear-gradient(145deg,#142e6c 0%,#0b1d47 72%,#243d6e 100%);box-shadow:0 22px 35px #142e6c30,inset 0 0 0 6px #edba7720;transform-origin:50% 65%;transition:transform .3s ease}
.player-collectible:before{content:'';position:absolute;inset:8px;border:1px solid #eeb06b55;border-radius:30px 30px 62px 62px;pointer-events:none;z-index:-1}.player-collectible:after{content:'';position:absolute;inset:-70%;background:linear-gradient(110deg,transparent 42%,#fff5 49%,transparent 56%);transform:translateX(-70%);pointer-events:none;opacity:0}
.collectible-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.jersey-number{font-size:32px;font-weight:900;line-height:1.15;color:#ffd2a1}.jersey-number small{display:block;font-size:13px;line-height:1.4;font-weight:650;color:#e3ebf8;margin-top:6px;max-width:180px}.player-club-crest{width:58px;height:64px;object-fit:contain;filter:drop-shadow(0 4px 10px #0004)}.crest-fallback{display:grid;place-items:center}.crest-fallback .icon{width:45px;height:45px}
.collectible-portrait{position:relative;display:grid;place-items:center;height:200px;margin:14px auto 4px;width:100%;isolation:isolate}.collectible-portrait>img{height:190px;width:190px;border-radius:50%;object-fit:cover;object-position:center 25%;border:3px solid #f5c997;box-shadow:0 0 0 8px #ffffff0a,0 8px 30px #0003}.portrait-halo{position:absolute;width:220px;height:220px;border:1px solid #dcb58230;border-radius:50%;z-index:-1}.portrait-placeholder{display:flex;align-items:center;flex-direction:column;gap:14px;color:#dae5f5;font-size:14px}.portrait-placeholder .icon{width:80px;height:80px;stroke-width:1}
.collectible-identity{text-align:center}.collectible-team{font-size:13px;letter-spacing:1.5px;text-transform:uppercase;color:#ffcea0}.collectible-identity h3{font-size:27px;line-height:1.2;margin:8px 0;overflow-wrap:anywhere;color:white}.collectible-identity p{font-size:14px;color:#dbe5f5;margin:0 0 6px}.collectible-identity strong{font-size:15px;color:#eff4ff;display:block;overflow-wrap:anywhere}
.collectible-stats{display:grid;grid-template-columns:1fr 1fr;margin:20px 0 14px;border-top:1px solid #eab77d60;border-bottom:1px solid #eab77d60;padding:10px 0;gap:8px}.collectible-stats>div{display:flex;flex-direction:column-reverse;align-items:center;padding:4px}.collectible-stats>div:nth-child(odd){border-right:1px solid #eab77d35}.collectible-stats dt{font-size:13px;color:#e0e9f7}.collectible-stats dd{margin:0;font-size:30px;line-height:1.25;font-weight:900;color:white;font-variant-numeric:tabular-nums}.collectible-season{text-align:center;font-size:11px;letter-spacing:1px;color:#ffd2a1}.collectible-season span{padding:0 5px}.collectible-caption{text-align:center;padding-top:22px}.collectible-caption p{font-size:13px;color:#4e6077;max-width:320px;margin:10px auto 0}
.reveal-player{animation:player-reveal .9s cubic-bezier(.2,.65,.3,1) both}.reveal-player:after{animation:player-shine 1.4s .6s ease-out both}
@keyframes player-reveal{from{opacity:0;transform:translateY(28px) rotateY(-20deg) scale(.94)}to{opacity:1;transform:translateY(0) rotateY(0) scale(1)}}
@keyframes player-shine{0%{opacity:0;transform:translateX(-70%)}25%{opacity:.65}100%{opacity:0;transform:translateX(70%)}}
@media(hover:hover){.player-collectible:hover{transform:translateY(-5px) rotateZ(-1deg)}}
@media(max-width:760px){.player-showcase{padding:22px 12px}.showcase-heading h2{font-size:24px}.player-collectible{padding:22px 20px 20px}.collectible-portrait{height:180px}.collectible-portrait>img{width:166px;height:166px}.portrait-halo{width:190px;height:190px}}
@media(prefers-reduced-motion:reduce){.player-collectible,.player-collectible:after{animation:none!important;transition:none!important;transform:none!important}.player-collectible:after{display:none}}

.runner-0{transform:translate(7px,34px);animation:pitch-run-0 16s linear infinite}@keyframes pitch-run-0{0%{transform:translate(7px,34px)}25%{transform:translate(7px,30px)}50%{transform:translate(8px,35px)}75%{transform:translate(8px,31px)}100%{transform:translate(7px,34px)}}
.runner-1{transform:translate(25px,45px);animation:pitch-run-1 16s linear infinite}@keyframes pitch-run-1{0%{transform:translate(25px,45px)}25%{transform:translate(30px,42px)}50%{transform:translate(37px,44px)}75%{transform:translate(29px,48px)}100%{transform:translate(25px,45px)}}
.runner-2{transform:translate(30px,20px);animation:pitch-run-2 16s linear infinite}@keyframes pitch-run-2{0%{transform:translate(30px,20px)}25%{transform:translate(30px,20px)}50%{transform:translate(42px,17px)}75%{transform:translate(40px,24px)}100%{transform:translate(30px,20px)}}
.runner-3{transform:translate(50px,18px);animation:pitch-run-3 16s linear infinite}@keyframes pitch-run-3{0%{transform:translate(50px,18px)}25%{transform:translate(52px,18px)}50%{transform:translate(60px,20px)}75%{transform:translate(65px,22px)}100%{transform:translate(50px,18px)}}
.runner-4{transform:translate(62px,39px);animation:pitch-run-4 16s linear infinite}@keyframes pitch-run-4{0%{transform:translate(62px,39px)}25%{transform:translate(62px,38px)}50%{transform:translate(66px,35px)}75%{transform:translate(72px,40px)}100%{transform:translate(62px,39px)}}
.runner-5{transform:translate(78px,25px);animation:pitch-run-5 16s linear infinite}@keyframes pitch-run-5{0%{transform:translate(78px,25px)}25%{transform:translate(77px,27px)}50%{transform:translate(81px,28px)}75%{transform:translate(87px,31px)}100%{transform:translate(78px,25px)}}
.runner-6{transform:translate(98px,34px);animation:pitch-run-6 16s linear infinite}@keyframes pitch-run-6{0%{transform:translate(98px,34px)}25%{transform:translate(99px,31px)}50%{transform:translate(99px,33px)}75%{transform:translate(101px,35px)}100%{transform:translate(98px,34px)}}
.runner-7{transform:translate(83px,43px);animation:pitch-run-7 16s linear infinite}@keyframes pitch-run-7{0%{transform:translate(83px,43px)}25%{transform:translate(81px,39px)}50%{transform:translate(79px,37px)}75%{transform:translate(82px,40px)}100%{transform:translate(83px,43px)}}
.runner-8{transform:translate(72px,18px);animation:pitch-run-8 16s linear infinite}@keyframes pitch-run-8{0%{transform:translate(72px,18px)}25%{transform:translate(68px,21px)}50%{transform:translate(66px,25px)}75%{transform:translate(74px,25px)}100%{transform:translate(72px,18px)}}
.runner-9{transform:translate(57px,31px);animation:pitch-run-9 16s linear infinite}@keyframes pitch-run-9{0%{transform:translate(57px,31px)}25%{transform:translate(51px,29px)}50%{transform:translate(56px,31px)}75%{transform:translate(62px,32px)}100%{transform:translate(57px,31px)}}
.runner-10{transform:translate(42px,46px);animation:pitch-run-10 16s linear infinite}@keyframes pitch-run-10{0%{transform:translate(42px,46px)}25%{transform:translate(43px,40px)}50%{transform:translate(48px,41px)}75%{transform:translate(51px,44px)}100%{transform:translate(42px,46px)}}
.runner-11{transform:translate(34px,30px);animation:pitch-run-11 16s linear infinite}@keyframes pitch-run-11{0%{transform:translate(34px,30px)}25%{transform:translate(38px,29px)}50%{transform:translate(43px,26px)}75%{transform:translate(44px,31px)}100%{transform:translate(34px,30px)}}
/* A small passing sequence in the home banner, independent of live match data. */
.home-pitch{width:300px;max-width:38%;flex-shrink:0;margin:12px 14px 0 24px;text-align:center}.home-pitch>svg{display:block;width:100%;height:auto;overflow:visible;transform:rotate(-8deg);filter:drop-shadow(0 9px 15px #071d4933)}
.pitch-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:36px;margin-top:15px;padding:5px 12px;border:1px solid #ffffff40;border-radius:20px;background:#ffffff08;color:#e6edf9;font-size:12px}.pitch-toggle:hover,.pitch-toggle:focus-visible{background:#ffffff20}.pitch-ball{transform:translate(25px,45px);animation:pitch-pass 16s linear infinite}
@keyframes pitch-pass{0%{transform:translate(25px,45px);opacity:1}12%{transform:translate(27.4px,43.56px);opacity:1}22%{transform:translate(30px,20px)}25%{transform:translate(30px,20px)}42%{transform:translate(57.44px,19.36px)}50%{transform:translate(60px,20px)}66%{transform:translate(69.84px,38.2px)}70%{transform:translate(70.8px,39px)}80%{transform:translate(85.2px,29.8px)}90%{transform:translate(106px,34px);opacity:1}93%{transform:translate(106px,34px);opacity:0}94%{transform:translate(25px,45px);opacity:0}100%{transform:translate(25px,45px);opacity:1}}
.home-pitch.is-paused .pitch-runner,.home-pitch.is-paused .pitch-ball{animation-play-state:paused}
@media(max-width:1000px){.home-pitch{width:240px;margin-right:0;max-width:34%}}
@media(max-width:760px){.hero:has(.home-pitch){flex-direction:column;align-items:stretch}.home-pitch{width:230px;max-width:100%;margin:24px auto 0}.home-pitch>svg{transform:rotate(-5deg)}}
@media(prefers-reduced-motion:reduce){.pitch-runner,.pitch-ball{animation:none!important}.pitch-toggle{display:none}}
/* Event organisation, readable on desktop and mobile. */
dialog:has(.club-event-workspace){width:min(980px,calc(100% - 24px))}.club-event-workspace .workspace-tabs{gap:20px;margin:12px 0 24px}.club-event-workspace label{display:flex;flex-direction:column;gap:6px;font-weight:700;font-size:15px}.club-event-workspace input,.club-event-workspace select,.club-event-workspace textarea{width:100%;padding:12px;border:1px solid #cbd5df;border-radius:8px;background:white;color:#142e6c;font-size:16px}.club-event-workspace form{display:grid;gap:14px;margin:14px 0}.club-event-workspace form .button{justify-self:start}.event-guest{border:1px solid #dbe2e7;border-radius:10px;padding:14px 18px;margin:10px 0;background:#fcfdfd}.event-guest summary{display:flex;justify-content:space-between;gap:12px;cursor:pointer;align-items:center;flex-wrap:wrap}.event-guest summary:before{content:'+';color:#ff6b1a;font-weight:900}.event-guest[open] summary:before{content:'−'}.event-guest summary b{margin-right:auto}.event-counters{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.event-counters>span{border-radius:10px;background:#edf2fa;padding:12px 16px;color:#142e6c}.event-counters b{font-size:22px;margin-right:6px}.club-event-workspace .notice{font-size:14px}
/* Club crest displayed freely, without a white tile. */
.club-identity .clubcrest{background:transparent;width:72px;height:78px;min-width:72px;border-radius:0;overflow:visible;box-shadow:none;border:0}.club-identity .clubcrest img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 7px #071a3933)}
@media(max-width:760px){.club-identity .clubcrest{width:60px;height:66px;min-width:60px}.club-identity .clubmark{max-width:64%;padding-left:12px}.club-identity{gap:12px}}
.poster-callout{padding:22px;margin-bottom:24px;border:1px solid #d1dbe8;border-radius:14px;background:linear-gradient(120deg,#edf2fa,#fff2e6)}.poster-callout h3{margin:10px 0}.poster-studio form{display:grid;grid-template-columns:1fr 1fr;gap:14px}.poster-studio label{display:flex;flex-direction:column;gap:7px;font-size:15px;font-weight:700}.poster-studio label:first-child,.poster-studio label:has(textarea),.poster-studio .stack,.poster-studio form>p{grid-column:1/-1}.poster-studio input,.poster-studio textarea{padding:11px;border:1px solid #cbd5df;border-radius:8px;font-size:16px;width:100%}.poster-studio canvas{display:block;width:min(100%,540px);height:auto;margin:20px auto;border-radius:8px;box-shadow:0 8px 30px #142e6c28}dialog:has(.poster-studio){width:min(980px,calc(100% - 24px))}@media(max-width:760px){.poster-studio form{grid-template-columns:1fr}}

/* Touch targets and safe-area spacing for the mobile web layout. */
[aria-disabled="true"].button{opacity:.5;cursor:not-allowed}
@media(pointer:coarse){.button,.icon-button,.category-trigger,.club-home,.club-dropdown button,.club-dropdown a{min-height:44px;touch-action:manipulation}}
@media(max-width:760px){dialog{max-height:calc(100dvh - 24px);overflow:auto}.modal-body{padding:18px}.poster-studio .stack{flex-wrap:wrap}.poster-studio .stack>*{max-width:100%;white-space:normal}.club-event-workspace .workspace-tabs{overflow-x:auto;flex-wrap:nowrap}.club-event-workspace .workspace-tabs button{flex-shrink:0}.club-house~.main .content{padding-bottom:max(24px,env(safe-area-inset-bottom))}}
/* Composition editor: real names and touch-friendly selection, no numeric IDs. */
.lineup-picker{min-width:0}.lineup-choice{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:center;border-top:1px solid #dbe2e7;padding:14px 0}.lineup-choice .lineup-check{display:flex;align-items:center;gap:12px;font-weight:750}.lineup-check input[type=checkbox]{width:24px;height:24px;flex-shrink:0}.lineup-post{display:grid;gap:6px;font-size:14px}.lineup-post input{width:100%;min-width:0}.lineup-post input:disabled{opacity:.55}@media(max-width:600px){.lineup-choice{grid-template-columns:1fr;gap:8px}.lineup-post input{min-height:44px;font-size:16px}}
/* Interactive tactics board, shared by editors and saved compositions. */
dialog:has(.tactics-editor){width:min(1120px,calc(100% - 24px))}.tactics-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(200px,1fr);gap:24px}.tactics-pitch{position:relative;aspect-ratio:68/105;max-width:540px;width:100%;border:8px solid #244d3c;border-radius:14px;background:repeating-linear-gradient(180deg,#367451 0%,#367451 10%,#306a49 10%,#306a49 20%);color:#e7f4e5;isolation:isolate}.tactics-lines{position:absolute;inset:3%;width:94%;height:94%;pointer-events:none}.tactics-token{position:absolute;translate:-50% -50%;display:flex;flex-direction:column;align-items:center;width:88px;padding:0;border:0;background:none;color:white;z-index:2;font:inherit;cursor:grab;touch-action:none}.tactics-shirt{width:42px;height:42px;border-radius:14px 14px 18px 18px;background:#142e6c;border:2px solid white;display:grid;place-items:center;color:white;font-weight:850;box-shadow:0 4px 10px #0005;overflow:hidden}.tactics-shirt img{width:100%;height:100%;object-fit:cover}.tactics-name{font-size:12px;line-height:1.15;margin-top:4px;text-align:center;background:#10291de0;border-radius:5px;padding:3px 5px;max-width:100%;overflow-wrap:anywhere}.tactics-player{display:block;width:100%;margin:8px 0;text-align:left;touch-action:none;cursor:grab}.tactics-player.chosen{border:2px solid #ff6b1a;background:#fff1e5}.dragging{z-index:100!important;opacity:.8;pointer-events:auto}.tactics-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap;background:#f0f4fa;padding:16px;border-radius:12px;margin-top:16px}.tactics-controls label{display:grid;gap:4px}.tactics-preview{max-width:360px;margin:18px auto}.tactics-preview .tactics-token{cursor:default;pointer-events:none}.tactics-pitch:focus-visible,.tactics-token:focus-visible{outline:3px solid #ffb06a;outline-offset:3px}
@media(max-width:650px){.tactics-layout{grid-template-columns:1fr}.tactics-token{width:65px}.tactics-shirt{width:34px;height:34px}.tactics-name{font-size:11px}.tactics-controls{align-items:stretch;flex-direction:column}.tactics-controls input{font-size:16px}.tactics-layout aside{display:grid;grid-template-columns:1fr 1fr;gap:8px}.tactics-layout aside h4{grid-column:1/-1}.tactics-layout aside>div{grid-column:1/-1}.tactics-player{min-height:44px}}
.tactics-editor .tactics-pitch{width:min(100%,calc(70dvh * 68 / 105));margin-inline:auto}.tactics-layout aside{max-height:70dvh;overflow-y:auto;padding:0 8px 0 0}.tactics-layout{grid-template-columns:minmax(0,1fr) minmax(210px,.8fr)}@media(max-width:650px){.tactics-layout{grid-template-columns:1fr}.tactics-editor .tactics-pitch{width:100%}.tactics-layout aside{max-height:none;overflow:visible}}

/* Coordinate classes keep the strict style-src policy intact. */
.tactics-x-0{left:0%}.tactics-y-0{top:0%}.tactics-x-1{left:1%}.tactics-y-1{top:1%}.tactics-x-2{left:2%}.tactics-y-2{top:2%}.tactics-x-3{left:3%}.tactics-y-3{top:3%}.tactics-x-4{left:4%}.tactics-y-4{top:4%}.tactics-x-5{left:5%}.tactics-y-5{top:5%}.tactics-x-6{left:6%}.tactics-y-6{top:6%}.tactics-x-7{left:7%}.tactics-y-7{top:7%}.tactics-x-8{left:8%}.tactics-y-8{top:8%}.tactics-x-9{left:9%}.tactics-y-9{top:9%}.tactics-x-10{left:10%}.tactics-y-10{top:10%}.tactics-x-11{left:11%}.tactics-y-11{top:11%}.tactics-x-12{left:12%}.tactics-y-12{top:12%}.tactics-x-13{left:13%}.tactics-y-13{top:13%}.tactics-x-14{left:14%}.tactics-y-14{top:14%}.tactics-x-15{left:15%}.tactics-y-15{top:15%}.tactics-x-16{left:16%}.tactics-y-16{top:16%}.tactics-x-17{left:17%}.tactics-y-17{top:17%}.tactics-x-18{left:18%}.tactics-y-18{top:18%}.tactics-x-19{left:19%}.tactics-y-19{top:19%}.tactics-x-20{left:20%}.tactics-y-20{top:20%}.tactics-x-21{left:21%}.tactics-y-21{top:21%}.tactics-x-22{left:22%}.tactics-y-22{top:22%}.tactics-x-23{left:23%}.tactics-y-23{top:23%}.tactics-x-24{left:24%}.tactics-y-24{top:24%}.tactics-x-25{left:25%}.tactics-y-25{top:25%}.tactics-x-26{left:26%}.tactics-y-26{top:26%}.tactics-x-27{left:27%}.tactics-y-27{top:27%}.tactics-x-28{left:28%}.tactics-y-28{top:28%}.tactics-x-29{left:29%}.tactics-y-29{top:29%}.tactics-x-30{left:30%}.tactics-y-30{top:30%}.tactics-x-31{left:31%}.tactics-y-31{top:31%}.tactics-x-32{left:32%}.tactics-y-32{top:32%}.tactics-x-33{left:33%}.tactics-y-33{top:33%}.tactics-x-34{left:34%}.tactics-y-34{top:34%}.tactics-x-35{left:35%}.tactics-y-35{top:35%}.tactics-x-36{left:36%}.tactics-y-36{top:36%}.tactics-x-37{left:37%}.tactics-y-37{top:37%}.tactics-x-38{left:38%}.tactics-y-38{top:38%}.tactics-x-39{left:39%}.tactics-y-39{top:39%}.tactics-x-40{left:40%}.tactics-y-40{top:40%}.tactics-x-41{left:41%}.tactics-y-41{top:41%}.tactics-x-42{left:42%}.tactics-y-42{top:42%}.tactics-x-43{left:43%}.tactics-y-43{top:43%}.tactics-x-44{left:44%}.tactics-y-44{top:44%}.tactics-x-45{left:45%}.tactics-y-45{top:45%}.tactics-x-46{left:46%}.tactics-y-46{top:46%}.tactics-x-47{left:47%}.tactics-y-47{top:47%}.tactics-x-48{left:48%}.tactics-y-48{top:48%}.tactics-x-49{left:49%}.tactics-y-49{top:49%}.tactics-x-50{left:50%}.tactics-y-50{top:50%}.tactics-x-51{left:51%}.tactics-y-51{top:51%}.tactics-x-52{left:52%}.tactics-y-52{top:52%}.tactics-x-53{left:53%}.tactics-y-53{top:53%}.tactics-x-54{left:54%}.tactics-y-54{top:54%}.tactics-x-55{left:55%}.tactics-y-55{top:55%}.tactics-x-56{left:56%}.tactics-y-56{top:56%}.tactics-x-57{left:57%}.tactics-y-57{top:57%}.tactics-x-58{left:58%}.tactics-y-58{top:58%}.tactics-x-59{left:59%}.tactics-y-59{top:59%}.tactics-x-60{left:60%}.tactics-y-60{top:60%}.tactics-x-61{left:61%}.tactics-y-61{top:61%}.tactics-x-62{left:62%}.tactics-y-62{top:62%}.tactics-x-63{left:63%}.tactics-y-63{top:63%}.tactics-x-64{left:64%}.tactics-y-64{top:64%}.tactics-x-65{left:65%}.tactics-y-65{top:65%}.tactics-x-66{left:66%}.tactics-y-66{top:66%}.tactics-x-67{left:67%}.tactics-y-67{top:67%}.tactics-x-68{left:68%}.tactics-y-68{top:68%}.tactics-x-69{left:69%}.tactics-y-69{top:69%}.tactics-x-70{left:70%}.tactics-y-70{top:70%}.tactics-x-71{left:71%}.tactics-y-71{top:71%}.tactics-x-72{left:72%}.tactics-y-72{top:72%}.tactics-x-73{left:73%}.tactics-y-73{top:73%}.tactics-x-74{left:74%}.tactics-y-74{top:74%}.tactics-x-75{left:75%}.tactics-y-75{top:75%}.tactics-x-76{left:76%}.tactics-y-76{top:76%}.tactics-x-77{left:77%}.tactics-y-77{top:77%}.tactics-x-78{left:78%}.tactics-y-78{top:78%}.tactics-x-79{left:79%}.tactics-y-79{top:79%}.tactics-x-80{left:80%}.tactics-y-80{top:80%}.tactics-x-81{left:81%}.tactics-y-81{top:81%}.tactics-x-82{left:82%}.tactics-y-82{top:82%}.tactics-x-83{left:83%}.tactics-y-83{top:83%}.tactics-x-84{left:84%}.tactics-y-84{top:84%}.tactics-x-85{left:85%}.tactics-y-85{top:85%}.tactics-x-86{left:86%}.tactics-y-86{top:86%}.tactics-x-87{left:87%}.tactics-y-87{top:87%}.tactics-x-88{left:88%}.tactics-y-88{top:88%}.tactics-x-89{left:89%}.tactics-y-89{top:89%}.tactics-x-90{left:90%}.tactics-y-90{top:90%}.tactics-x-91{left:91%}.tactics-y-91{top:91%}.tactics-x-92{left:92%}.tactics-y-92{top:92%}.tactics-x-93{left:93%}.tactics-y-93{top:93%}.tactics-x-94{left:94%}.tactics-y-94{top:94%}.tactics-x-95{left:95%}.tactics-y-95{top:95%}.tactics-x-96{left:96%}.tactics-y-96{top:96%}.tactics-x-97{left:97%}.tactics-y-97{top:97%}.tactics-x-98{left:98%}.tactics-y-98{top:98%}.tactics-x-99{left:99%}.tactics-y-99{top:99%}.tactics-x-100{left:100%}.tactics-y-100{top:100%}/* Saved lineup: portraits on the field and on the substitutes bench. */
.tactics-shirt{border-radius:50%}.tactics-number{position:absolute;top:27px;left:calc(50% + 8px);background:#ff6b1a;color:#142e6c;border:2px solid white;border-radius:50%;min-width:22px;height:22px;font-size:12px;font-weight:900;text-align:center;line-height:18px}.tactics-initials{font-size:14px}.tactics-final{background:#edf3ee;border:1px solid #d8e5da;border-radius:16px;padding:20px;margin:18px 0}.tactics-final-heading{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}.tactics-final-heading b{font-size:24px;color:#142e6c}.tactics-final .tactics-preview{max-width:480px}.tactics-final .tactics-shirt{width:54px;height:54px}.tactics-final .tactics-number{top:38px;left:calc(50% + 12px)}.tactics-final-bench{display:flex;flex-wrap:wrap;gap:18px;padding:12px 0}.tactics-bench-portrait{position:relative;display:flex;flex-direction:column;align-items:center;width:96px}.tactics-final .muted{font-size:13px;margin:14px 0 0}.tactics-final .tactics-name{font-size:13px}@media(max-width:600px){.tactics-final{padding:10px}.tactics-final .tactics-shirt{width:38px;height:38px}.tactics-final .tactics-number{top:25px;left:calc(50% + 6px);height:20px;min-width:20px;line-height:16px;font-size:11px}.tactics-final .tactics-name{font-size:11px}.tactics-bench-portrait{width:72px}}
.tactics-bench-portrait .tactics-name{color:#fff}
.tactics-final .tactics-preview{max-width:420px}
.tactics-slot{position:absolute;translate:-50% -50%;width:70px;text-align:center;border:1px dashed #ffffffa0;border-radius:12px;padding:5px 2px;font-size:10px;color:white;background:#173e2b80;pointer-events:none}.tactics-token,.tactics-token *,.tactics-player{user-select:none;-webkit-user-select:none;-webkit-user-drag:none}

/* Official application logo supplied by Nelson. Keep original artwork intact. */
.brand img,.club-identity .brand img{width:88px;height:88px;object-fit:contain;flex-shrink:0;border-radius:20px}
.login-visual .brand img{width:112px;height:112px;border-radius:26px}
.brand{gap:16px}
@media(max-width:760px){.club-identity .brand img{width:68px;height:68px;border-radius:16px}.login-visual .brand img{width:88px;height:88px}.club-identity{gap:16px}.club-identity .brand{gap:10px}}

.tactics-format-5,.tactics-format-6{aspect-ratio:40/55}.tactics-format-7,.tactics-format-8,.tactics-format-9{aspect-ratio:55/75}.tactics-format-10,.tactics-format-11{aspect-ratio:68/105}

/* Club crest hue fading into white, with a readable account area. */
.club-mast{background:linear-gradient(105deg,var(--club-crest-color,#142e6c) 0%,var(--club-crest-color,#142e6c) 38%,#fff 88%)}
.club-account{background:#fffffff2;border:1px solid #ffffffaa;border-radius:16px;padding:12px 14px}
.club-account .profile label{color:#43546c}.club-account select{color:#142e6c}.club-account .icon-button{color:#142e6c;background:#edf1f7;border-color:#d7deea}.club-account .avatar{color:#142e6c;background:#e6ecf5}
@media(max-width:1000px){.club-mast{background:linear-gradient(165deg,var(--club-crest-color,#142e6c) 0%,var(--club-crest-color,#142e6c) 48%,#fff 95%)}}
