/* Shared player cards and the Figma 35:3 development workspace. */
:root{--mythic:#ff4d5e}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card{--rarity:#a8b7a4;container-type:inline-size;display:block;position:relative;width:100%;height:210px;min-height:0;padding:0;border:1px solid var(--rarity);border-radius:13px 13px 28px 28px;background:linear-gradient(135deg,color-mix(in srgb,var(--rarity) 55%,#101721),#16232e 48%,color-mix(in srgb,var(--rarity) 28%,#0b111b));color:#f5f6ec;box-shadow:inset 0 0 0 3px #ffffff12;text-align:center;overflow:hidden;clip-path:polygon(0 4%,18% 4%,24% 0,76% 0,82% 4%,100% 4%,100% 88%,85% 96%,50% 100%,15% 96%,0 88%);font-family:'Arial Narrow','Microsoft YaHei',sans-serif;opacity:1;isolation:isolate}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card::before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(130deg,transparent 0 17px,#ffffff06 18px 19px);pointer-events:none;z-index:-1}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card.diamond{--rarity:var(--mythic);border-color:var(--mythic);background:linear-gradient(130deg,#a92738,#3c1220 48%,#cf3249)}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card .card-rating{position:absolute;top:10%;left:9%;display:grid;gap:0;z-index:2;color:#fff6e5;line-height:1}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card .card-rating b{font-size:clamp(17px,21cqw,34px);line-height:1;font-weight:900;color:inherit}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card .card-rating small{font-size:clamp(7px,7cqw,12px);color:inherit;margin:3px 0 0}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card .card-quality{position:absolute;right:8%;top:10%;font-size:clamp(6px,6cqw,10px);color:var(--rarity);padding:0;background:none}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card>canvas{position:absolute;top:13%;left:24%;right:auto;width:65%!important;height:42%!important;max-width:none;background:none;image-rendering:pixelated;object-fit:contain;aspect-ratio:1}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card .fc26-name{position:absolute;left:5%;right:5%;top:56%;bottom:auto;margin:0;min-height:12%;font-size:clamp(8px,8.2cqw,15px)!important;line-height:1.1;letter-spacing:0;overflow-wrap:anywhere;color:#fff9e8;display:flex;align-items:center;justify-content:center}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card .fc26-origin{position:absolute;top:70%;left:7%;right:7%;font-size:clamp(5px,4.4cqw,8px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#d9e0e4}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card .fc26-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));position:absolute;top:77%;left:7%;right:7%;padding-top:3%;border-top:1px solid #ffffff35;gap:1px}
:is(#club-app,#club-reveal,#development-picker) .fc26-stats>span{display:grid;gap:2px;line-height:1}
:is(#club-app,#club-reveal,#development-picker) .fc26-stats small{font-size:clamp(5px,4.6cqw,8px)!important;color:#d8e2e6}
:is(#club-app,#club-reveal,#development-picker) .fc26-stats b{font-size:clamp(8px,8cqw,14px)!important;color:#fff6dd;font-weight:800}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card .card-tags{display:block;position:absolute;bottom:5%;left:6%;right:6%;font-size:clamp(5px,4.7cqw,8px)!important;color:#dce5e8;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card.fc26-small{width:110px!important;height:164px!important;flex:none}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card.fc26-mini{width:var(--fc-mini-width,80px)!important;height:var(--fc-mini-height,119px)!important;flex:none}
#club-app .card-grid{grid-auto-rows:210px}
#club-app .theme-management .card-grid{grid-auto-rows:210px}
#club-app .theme-player-detail>.fc26-card{width:154px;height:222px;margin:8px auto 14px}
#club-app .theme-match-action{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:min(440px,calc(100% - 24px));align-items:stretch}
#club-app .theme-match-action>.home-practice-button,#club-app .theme-match-action>.club-primary{display:flex!important;position:static;align-items:center;justify-content:center;width:100%;height:48px;min-height:48px;padding:10px 12px;margin:0;font-size:15px;box-shadow:none;border:1px solid var(--ui-accent);font-weight:700}
#club-app .theme-match-action>.home-practice-button{background:#15251b;color:var(--ui-accent)}
#club-app .theme-match-action>span{grid-column:1/-1;font-size:10px}
#club-app .theme-match-action>.club-quiet{display:none}
#club-app .theme-starting{top:84px;left:46%;right:14px;display:grid;grid-template-columns:repeat(3,80px);gap:8px;justify-content:end}
#club-app .theme-starting .fc26-card.fc26-card{padding:0}
#club-app .theme-bench>div{display:flex;gap:12px}
#club-app .theme-bench .fc26-card.fc26-card{flex:none}
#club-app[data-page="training"] .club-scroll{padding:22px 24px 18px!important;overflow:hidden!important;display:flex;flex-direction:column;gap:16px}
#club-app[data-page="training"] #club-content>*{max-width:none;width:100%;margin:0}
#club-app[data-page="training"] .theme-heading{height:56px;min-height:56px}
#club-app .development-summary{--rarity:#a8b7a4;display:grid;grid-template-columns:minmax(240px,2.3fr) repeat(2,minmax(70px,.75fr)) repeat(6,minmax(45px,1fr));align-items:center;gap:12px;min-height:76px;padding:5px 16px;border:1px solid #304354;background:linear-gradient(90deg,color-mix(in srgb,var(--rarity) 24%,transparent),transparent 85%),#14212e}
#club-app .development-summary>div{min-width:0;display:grid;gap:3px}
#club-app .development-summary small{font-size:11px;color:#93a6b6}
#club-app .development-summary strong{font-size:22px;line-height:1.4}
#club-app .development-summary .development-identity{display:flex;align-items:center;gap:10px}
#club-app .development-identity canvas{width:54px;height:64px;object-fit:contain;image-rendering:pixelated;flex:none}
#club-app .development-identity h2{font-size:21px;line-height:1.2;margin:0;overflow-wrap:anywhere}
#club-app .development-identity h2 small{font-size:11px;background:#ffffff0a;padding:3px 6px;display:inline-block}
#club-app .development-identity p{font-size:10px;line-height:1.4;color:#93a6b6;margin:5px 0 0}
#club-app .development-switch{font-size:12px;display:flex;gap:8px;align-items:center}
#club-app #development-player-select{max-width:180px;min-width:90px;height:36px;font-size:12px}
#club-app .development-columns{display:grid;grid-template-columns:432fr 508fr 420fr;gap:16px;flex:1;min-height:0}
#club-app .development-panel{background:#14212e;border:1px solid #304354;padding:20px;display:flex;flex-direction:column;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;touch-action:pan-y}
#club-app .development-panel h2{font-size:19px;line-height:1.4;margin:0 0 8px;color:#ecf3f5;border-left:3px solid var(--ui-accent);padding-left:10px}
#club-app .development-panel h2 i{font-style:normal;color:#ecf3f5}
#club-app .development-equipment h2{border-color:#72c4e9}
#club-app .development-badges h2{border-color:#b19bea}
#club-app .development-panel>p{font-size:11px;color:#93a6b6;margin:0 0 16px}
#club-app .development-panel h3{font-size:13px;margin:12px 0}
#club-app .development-materials{display:flex;align-items:center;justify-content:space-around;gap:10px;margin-bottom:16px}
#club-app .material-plus{font-size:24px;color:#93a6b6}
#club-app .material-empty{width:110px;height:164px;background:#1c2c3c;border:1px dashed #60788c;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:8px}
#club-app .material-empty b{font-size:28px;color:var(--ui-accent)}
#club-app .material-empty small{font-size:10px;color:#93a6b6}
#club-app .development-progress{display:grid;grid-template-columns:1fr 1fr;background:#20362b;padding:10px 14px;gap:12px}
#club-app .development-progress>div{display:grid;gap:4px}
#club-app .development-progress small{font-size:10px;color:#93a6b6}
#club-app .development-progress b{font-size:20px;color:var(--ui-accent)}
#club-app .development-progress>div+div{border-left:1px solid #405445;padding-left:14px}
#club-app .development-progress>div+div b{color:#edc366}
#club-app .development-attributes{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;padding-bottom:14px;border-bottom:1px solid #304354}
#club-app .development-attributes>div{display:flex;justify-content:space-between;font-size:11px;gap:8px;color:#93a6b6}
#club-app .development-attributes b{color:var(--ui-accent);white-space:nowrap}
#club-app .development-cost{display:flex;justify-content:space-between;gap:8px;font-size:11px;margin:14px 0 8px;color:#93a6b6}
#club-app .development-cost strong{color:#edc366}
#club-app .development-note{font-size:10px!important;color:#93a6b6;margin:8px 0 14px!important}
#club-app .development-bottom{margin-top:auto!important;width:100%;font-size:13px;min-height:44px;box-shadow:none!important;border-radius:0}
#club-app .development-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#club-app .development-slot{min-width:0;min-height:100px;padding:8px 10px;background:#1c2c3c;border:1px solid #304354;display:grid;grid-template-columns:43.2px minmax(0,1fr);gap:8px;text-align:left;border-radius:0}
#club-app .development-slot>small{grid-column:1/-1;color:#93a6b6;font-size:10px}
.development-gear-icon{display:inline-block;flex:none;width:43.2px;height:43.2px;max-width:none;image-rendering:pixelated;vertical-align:middle}
#club-app .development-slot span{align-self:center;display:grid;gap:6px;min-width:0}
#club-app .development-slot b{font-size:10px;overflow-wrap:anywhere}
#club-app .development-slot span small{font-size:9px;color:#93a6b6}
#club-app .development-slot.empty{border-style:dashed}
#club-app .development-equipment-detail{background:#1b2d39;padding:14px;margin-top:16px;min-height:90px;font-size:11px;color:#93a6b6}
#club-app .development-equipment-detail p{color:#ecf3f5;font-size:12px;margin:10px 0}
#club-app .development-bag{display:flex;justify-content:space-between;margin:18px 0;font-size:12px}
#club-app #development-badge-body{display:flex;flex-direction:column;flex:1;min-height:0}
#club-app .development-badge-slot{display:flex;align-items:center;background:#1c2c3c;border:1px solid #304354;padding:12px;gap:12px;min-height:80px}
#club-app .development-badge-slot>b{font-size:32px}
#club-app .development-badge-slot>span{font-size:12px;flex:1}
#club-app .development-badge-slot>button{font-size:10px;padding:4px 8px;min-height:28px}
#club-app .development-badge-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:10px 0}
#club-app .development-badge-heading h3{margin:0}
#club-app #badge-category{font-size:11px;min-height:30px;max-width:135px}
#club-app .development-badge-list{display:grid!important;grid-template-columns:1fr!important;gap:8px}
#club-app .development-badge{position:relative;display:flex;align-items:center;gap:10px;min-height:64px;border:1px solid #304354;background:#1c2c3c;padding:8px;cursor:pointer}
#club-app .development-badge:has(input:checked){border-color:var(--ui-accent);background:#25382f}
#club-app .development-badge.locked{opacity:.55;cursor:default}
#club-app .development-badge input{width:13px;height:13px;accent-color:var(--ui-accent);flex:none}
#club-app .development-badge-symbol{font-size:24px;flex:none}
#club-app .development-badge>span:not(.development-badge-symbol){display:grid;gap:6px;min-width:0;flex:1}
#club-app .development-badge b{font-size:12px}
#club-app .development-badge small{font-size:9px;color:#93a6b6;line-height:1.4}
#club-app .development-badge em{font-style:normal;font-size:9px;color:#93a6b6}
#club-app #development-badge-body>.update-pagination{margin:12px 0 0;min-height:28px}
#club-app #development-badge-body>.update-pagination button{font-size:10px;padding:4px 8px;min-height:28px}
#development-picker{max-width:min(850px,94vw);width:850px;max-height:90dvh;background:#14212e;color:#ecf3f5;border:1px solid #304354;padding:20px;overflow:auto}
#development-picker::backdrop{background:#050b13bb}
.development-picker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}
.development-picker-grid>.fc26-card{justify-self:center}
.development-picker-grid>button:not(.fc26-card){display:grid;justify-items:center;gap:10px;background:#1c2c3c;color:#eff5f5;border:1px solid #304354;padding:12px}
.development-picker-grid small{font-size:11px}
.development-picker-pagination{display:flex;justify-content:space-between;margin:14px 0}
#club-app .draw-history .diamond{color:var(--mythic)}
@media(max-width:1100px){#club-app .development-panel{padding:12px}#club-app .development-columns{gap:10px}#club-app .development-summary{grid-template-columns:minmax(190px,2fr) repeat(8,minmax(35px,1fr));gap:8px}#club-app .development-summary strong{font-size:17px}#club-app .development-summary small{font-size:9px}#club-app .development-slots{gap:8px}#club-app .development-slot{grid-template-columns:1fr;justify-items:center;text-align:center;padding:6px;gap:4px}#club-app .development-slot>small{grid-column:auto}#club-app .development-slot span{gap:3px}#club-app .development-slot b{font-size:9px}}
@media(orientation:landscape) and (max-height:600px){#club-app .theme-match-action{gap:6px;bottom:8px}#club-app .theme-match-action>.home-practice-button,#club-app .theme-match-action>.club-primary{height:34px;min-height:34px;font-size:12px;padding:5px}#club-app .theme-match-action>span{display:none}#club-app .theme-starting{top:52px;gap:3px;grid-template-columns:repeat(3,58px)}#club-app .theme-starting .fc26-mini{width:58px!important;height:86px!important}#club-app[data-page="training"] .club-scroll{padding:7px 12px!important;gap:7px}#club-app[data-page="training"] .theme-heading{height:32px;min-height:32px}#club-app[data-page="training"] .theme-heading p{display:none}#club-app .development-summary{min-height:52px;padding:3px 8px}#club-app .development-identity canvas{width:34px;height:42px}#club-app .development-identity h2{font-size:14px}#club-app .development-identity p{font-size:8px}#club-app .development-summary strong{font-size:14px}#club-app .development-summary{grid-template-columns:minmax(150px,2fr) repeat(8,minmax(28px,1fr));gap:5px}#club-app .development-summary small{font-size:8px}#club-app .development-columns{gap:7px}#club-app .development-panel{padding:9px}#club-app .development-panel h2{font-size:14px}#club-app .development-panel>p{font-size:9px;margin-bottom:9px}#club-app .development-bottom{min-height:34px;font-size:11px}#club-app #development-player-select{height:28px;min-height:28px}#club-app .development-materials .fc26-small{width:80px!important;height:119px!important}#club-app .material-empty{width:80px;height:119px}#club-app .development-badge{min-height:58px}#club-app .development-badge small{font-size:8px}}
@media(orientation:portrait) and (max-width:700px){#club-app[data-page="training"] .club-scroll{overflow-y:auto!important;display:block;padding:12px!important}#club-app[data-page="training"] .theme-heading{height:auto;min-height:60px;flex-wrap:wrap;margin-bottom:12px}#club-app .development-switch{font-size:10px}#club-app .development-summary{grid-template-columns:repeat(4,minmax(0,1fr));padding:10px;margin-bottom:12px!important}#club-app .development-summary .development-identity{grid-column:1/-1}#club-app .development-summary>div:nth-child(2),#club-app .development-summary>div:nth-child(3){grid-column:span 2}#club-app .development-columns{display:flex;flex-direction:column;gap:12px}#club-app .development-panel{flex:none;overflow:visible;min-height:470px}#club-app .development-summary small{font-size:10px}#club-app .development-summary strong{font-size:18px}#club-app .development-slots{grid-template-columns:repeat(3,minmax(0,1fr))}#club-app .theme-starting{left:auto;right:8px;top:95px;grid-template-columns:repeat(3,56px);gap:3px}#club-app .theme-starting .fc26-mini{width:56px!important;height:83px!important}#club-app .theme-match-action{width:calc(100% - 24px)}#club-app .theme-match-action>.home-practice-button,#club-app .theme-match-action>.club-primary{font-size:12px;height:40px;min-height:40px}.development-picker-grid{gap:6px}}

/* Reset inherited legacy card geometry in every host. */
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card .card-quality{writing-mode:horizontal-tb;left:auto;letter-spacing:0;white-space:nowrap}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card .fc26-name{white-space:normal;padding:0;border:0}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card .fc26-stats b{white-space:normal;overflow:visible}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card.fc26-mini .fc26-stats b{font-size:5px!important}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card.fc26-mini .fc26-stats small{font-size:4px!important}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card.fc26-mini .fc26-stats{gap:0;padding-top:2%;top:76%}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card.fc26-mini .card-tags{font-size:3.8px!important;bottom:5%}
#club-app .development-columns>.development-panel{border:1px solid #304354;margin:0;box-shadow:none}
#club-app .development-identity canvas{background:transparent}
#club-app .development-upgrade .development-materials{margin-bottom:10px}
#club-app .development-upgrade .development-materials>.fc26-small{height:144px!important;width:100px!important}
#club-app .development-upgrade .material-empty{height:144px;width:100px}
#club-app .development-upgrade h3{margin:8px 0}
#club-app .development-upgrade .development-attributes{gap:8px 16px;padding-bottom:10px}
#club-app .development-upgrade .development-cost{margin:10px 0 6px}
@media(orientation:landscape) and (max-height:600px){#club-app .development-upgrade .development-materials>.fc26-small{height:119px!important;width:80px!important}#club-app .development-upgrade .material-empty{height:119px;width:80px}}

@media(orientation:landscape) and (max-height:600px){#club-app .theme-starting{--fc-mini-width:58px;--fc-mini-height:86px;top:24px}}
@media(orientation:portrait) and (max-width:700px){#club-app .theme-starting{--fc-mini-width:56px;--fc-mini-height:83px}}

/* Rectangular cards retain their footprint; only opposing corners are rounded. */
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card{border:3px solid var(--rarity);border-radius:18px 2px 18px 2px;clip-path:none;overflow:visible;padding:0!important;box-sizing:border-box}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card::before{border-radius:inherit}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card .card-rating .card-position{font-size:clamp(9px,11cqw,19px)!important;font-weight:800;line-height:1.1;color:#fff6e5!important}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card .fc26-name{left:2%;right:2%;top:53%;min-height:18%;font-size:clamp(8px,12cqw,22px)!important;line-height:1.05;font-weight:800}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card .fc26-origin{top:74%}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card .fc26-stats{top:81%}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card .card-rating b{font-size:clamp(17px,21cqw,34px)!important;line-height:1;min-height:0}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card .fc26-stats :is(b,small){min-height:0;line-height:1;margin:0;padding:0}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card.fc26-mini .fc26-name{top:48%;min-height:27%}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card.fc26-mini .fc26-origin{top:76%;font-size:clamp(4px,4.4cqw,6px)}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card.fc26-mini .fc26-stats{top:84%;padding-top:1%;gap:0}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card.fc26-mini .fc26-stats>span{gap:1px}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card .card-quality.enhance-rank{right:5%;top:6%;padding:2px 4px;border:2px solid var(--rank-color);border-radius:2px;color:var(--rank-color);background:#111b2ee6;font-size:clamp(9px,9cqw,16px);font-weight:900;line-height:1.1;min-width:22px;box-sizing:border-box}
:is(#club-app,#club-reveal,#development-picker) .enhance-rank.rank-2{border-style:dashed!important}
:is(#club-app,#club-reveal,#development-picker) .enhance-rank.rank-3{border-radius:6px 0!important}
:is(#club-app,#club-reveal,#development-picker) .enhance-rank.rank-4{border-radius:6px!important}
:is(#club-app,#club-reveal,#development-picker) .enhance-rank.rank-5{border-width:3px!important;border-style:double!important}
:is(#club-app,#club-reveal,#development-picker) .enhance-rank.rank-6{border-radius:7px 0!important;box-shadow:0 0 0 1px #e2bc6266}
:is(#club-app,#club-reveal,#development-picker) .enhance-rank.rank-7{border-style:double!important;border-width:3px!important;box-shadow:0 0 0 1px #ffe18b88}
:is(#club-app,#club-reveal,#development-picker) .enhance-rank.rank-8{border-radius:8px!important;box-shadow:0 0 0 1px #7cdbd588}
:is(#club-app,#club-reveal,#development-picker) .enhance-rank.rank-9{border-radius:7px 0!important;border-style:double!important;border-width:3px!important;box-shadow:0 0 0 1px #bc9ef588}
:is(#club-app,#club-reveal,#development-picker) .enhance-rank.rank-10{border-radius:7px!important;border-style:double!important;border-width:3px!important;box-shadow:0 0 0 1px #ff6576,0 0 8px #ff657655}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card .card-status-below{position:absolute;top:calc(100% + 5px);left:-3px;right:-3px;display:flex;align-items:center;justify-content:center;gap:5px;height:15px;white-space:nowrap;pointer-events:none;line-height:1}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card .starter-tag{display:inline-flex;align-items:center;justify-content:center;background:#173d2c;border:1px solid #74cd95;color:#c5f5d6;font-size:9px!important;padding:2px 5px;border-radius:2px;line-height:1}
:is(#club-app,#club-reveal,#development-picker) .fc26-card.fc26-card .card-lock{display:inline-flex;align-items:center;justify-content:center;color:#f3da99;width:15px;height:15px}
#club-app .card-grid,#club-app .theme-management .card-grid{grid-auto-rows:210px;row-gap:28px}
#club-app .card-grid .fc26-card.fc26-card{height:var(--fc-grid-height,210px)}
#club-app #assignment-grid>div>button[data-club="assign"]{margin-top:24px}
#club-app .theme-starting{row-gap:23px}
#club-app .theme-player-detail>.fc26-card{margin-bottom:32px}
#club-app .development-upgrade .development-materials{margin-bottom:28px}
.development-picker-grid{row-gap:30px}
.reveal-grid{row-gap:28px}

/* Place the six cards on the horizontal pitch, independent of legacy card grids. */
#club-app .theme-squad-workspace .club-squad-pitch{container-type:size;min-height:220px!important;height:clamp(220px,42vh,440px);max-width:none;aspect-ratio:auto!important;margin:0;flex-shrink:0}
#club-app .club-squad-pitch>.fc26-card.fc26-card.club-squad-slot{position:absolute;display:block;min-width:0!important;min-height:0!important;width:clamp(54px,13cqw,110px)!important;height:clamp(78px,38cqh,148px)!important;transform:translate(-50%,-50%);gap:0!important}
#club-app .club-squad-pitch>.club-squad-slot.slot-0{left:11%;top:50%}
#club-app .club-squad-pitch>.club-squad-slot.slot-1{left:36%;top:25%}
#club-app .club-squad-pitch>.club-squad-slot.slot-2{left:36%;top:73%}
#club-app .club-squad-pitch>.club-squad-slot.slot-3{left:61%;top:25%}
#club-app .club-squad-pitch>.club-squad-slot.slot-4{left:61%;top:73%}
#club-app .club-squad-pitch>.club-squad-slot.slot-5{left:86%;top:50%}
#club-app .theme-bench>div{flex-wrap:nowrap;padding:0 2px 22px;overflow-x:auto;overflow-y:hidden;align-items:center}
#club-app .theme-bench .fc26-card{max-width:none;white-space:normal}
#club-app .theme-bench{height:auto!important;min-height:0!important;flex-shrink:0}
#club-app .theme-bench h3{margin-bottom:10px}
#club-app .theme-squad-workspace>.club-panel:first-child{overflow-y:auto!important;overscroll-behavior:contain;touch-action:pan-y}

#club-app .resource-missing{color:#ff6676!important}
#club-app .merge-submit{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:5px 12px;padding:8px!important}
#club-app .merge-submit:disabled{opacity:1;background:#28343b;color:#94a3ac;border-color:#52606a;cursor:not-allowed}
#club-app .merge-button-cost{font-weight:800;white-space:nowrap}
#club-app .merge-button-material{font-size:10px}
#club-app .merge-rules-button{font-size:10px;min-height:24px;padding:2px 6px;color:#c4d8e6}
#club-app .merge-outcome{font-size:11px;padding:8px;line-height:1.5;background:#20362b;margin:0 0 10px}
#club-app .merge-outcome.success{color:#9df5b3}
#club-app .merge-outcome.failure{color:#ff98a3;background:#3b252b}
.merge-rate-table{display:grid;grid-template-columns:1fr 1fr;gap:8px 24px;margin:16px 0}
.merge-rate-table b{text-align:right;color:#edc366}
#club-app .development-badge-list{grid-template-columns:repeat(3,minmax(0,1fr))!important}
#club-app .development-badge{display:flex;flex-direction:column;gap:5px;min-height:118px;padding:8px 4px;text-align:center}
#club-app .development-badge input{position:absolute;left:4px;top:4px;margin:0}
#club-app .development-badge>span:not(.development-badge-symbol){flex:1;gap:4px;display:flex;flex-direction:column}
#club-app .development-badge b{font-size:10px;line-height:1.25;overflow-wrap:anywhere}
#club-app .development-badge small{font-size:8px;line-height:1.4;overflow-wrap:anywhere}
#club-app .development-badge em{font-size:8px}
@media(orientation:landscape) and (max-height:600px){#club-app .theme-starting{top:18px;row-gap:21px}#club-app .theme-bench .fc26-card.fc26-mini{--fc-mini-width:58px;--fc-mini-height:86px}#club-app .theme-bench>div{height:auto!important;min-height:108px}#club-app .development-badge{min-height:104px}#club-app .theme-squad-workspace .club-squad-pitch{height:220px}}
@media(orientation:landscape) and (max-height:600px){#club-app .theme-player-detail>.fc26-card{height:clamp(100px,calc(100dvh - 215px),222px);width:min(154px,calc((100dvh - 215px)*.7));margin:2px auto 26px}}
