:root{--bg:#171717;--panel:#252525;--line:#393939;--muted:#a4a4a9;--text:#f5f5f8;--accent:#5475ff;--ink:#fff}
body{font-size:14px;background:#171717}
aside{height:66px;width:100%;position:sticky;top:0;z-index:20;inset:0 0 auto;background:#202020;padding:0 28px;flex-direction:row;align-items:center;gap:28px;border:0;border-bottom:1px solid #363636}
.brand{font-size:25px;letter-spacing:-1px;white-space:nowrap}.brand-dot{color:#71bfff}.edition{display:none}nav{display:flex;gap:8px;margin:0;align-items:center;flex:1;overflow:auto}nav button{padding:10px 12px;color:#b8b8bd;white-space:nowrap;font-size:14px;border-radius:7px}nav button.active{color:#fff;background:#313131;border-bottom:2px solid #5475ff}nav button b{margin-left:3px}.aside-bottom{margin:0 0 0 auto;font-size:12px;white-space:nowrap}.avatar{width:30px;height:30px;background:#3b4a8e}
main{margin:0 auto;max-width:1530px;padding:24px 32px 42px}header{margin-bottom:18px;gap:20px}header .eyebrow{display:none}h1{font-size:27px;letter-spacing:-.7px;margin:0}.version{background:#282828;border-radius:7px;color:#d3d6e9}.notice{padding:9px 14px;margin-bottom:15px;background:#202940;border:1px solid #364769;border-radius:8px;color:#cbd9f8;gap:10px;font-size:12px}.notice>span{color:#83b6ff}.notice button{color:#a9c9ff}
.fc-connection{background:#222328;border-color:#3a3e49;padding:14px 18px;margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.fc-connection>div:first-child{flex:1;min-width:240px}.fc-connection p{margin:4px 0;font-size:12px;color:#b4bfd6}.fc-connection .actions{gap:7px;flex-wrap:wrap}.fc-connection .secondary{padding:8px 12px;font-size:12px}.primary{background:linear-gradient(135deg,#2496fc,#3d5cf0);color:#fff;border:0;box-shadow:0 3px 12px #0c48c42b}.secondary{background:#343434;border:1px solid #484848;color:#e9e9ef;border-radius:7px}.primary:hover,.secondary:hover{filter:brightness(1.15)}button:disabled{cursor:not-allowed}input:not([type=checkbox]):not([type=range]),select{background:#232323;border-color:#464646;border-radius:8px}label{color:#dadade}input[type=checkbox],input[type=range]{accent-color:#6685ff}
#page-challenges>.toolbar{margin:18px 0 14px}#page-challenges h2{font-size:20px}.live-note{font-size:12px;margin:5px 0}#page-challenges>.toolbar .live-note:last-child{display:none}.catalogue-controls{display:flex;gap:14px;padding:16px 20px;background:#262626;border-radius:10px;margin:18px 0 0}.catalogue-controls label{margin:0;flex:1;max-width:430px}.catalogue-controls label:not(:first-child){max-width:180px}.catalogue-controls input,.catalogue-controls select{margin-top:5px}.catalogue-tabs{display:flex;gap:6px;border-bottom:1px solid #373737;margin:12px 0 20px;overflow:auto}.catalogue-tabs button{background:none;border:0;border-bottom:2px solid transparent;color:#a4a4aa;padding:12px 16px;white-space:nowrap}.catalogue-tabs button.active{color:#fff;border-bottom-color:#577eff}.catalogue-summary{font-size:12px;color:#a8a8af;margin-left:auto;white-space:nowrap;align-self:center;padding:0 14px}
.challenge-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.challenge-tile{padding:22px;border-radius:18px;background:#252525;border:1px solid #414141;min-width:0;display:flex;flex-direction:column;box-shadow:inset 0 1px 0 #ffffff04}.sbc-card-top{display:flex;align-items:center;gap:12px}.sbc-icon{width:42px;height:48px;object-fit:contain;flex-shrink:0}.sbc-symbol{display:grid;place-items:center;color:#69c4e4;font-size:37px;background:linear-gradient(140deg,#334f61,#25303f);clip-path:polygon(50% 0,94% 17%,89% 76%,50% 100%,11% 76%,6% 17%)}.sbc-name{color:#f6f6fb;background:none;border:0;text-align:left;font-size:18px;font-weight:700;line-height:1.22;flex:1;padding:0;margin:0!important}.sbc-name:disabled{opacity:1;cursor:default}.favorite-button{border:0;background:#373737;border-radius:9px;font-size:22px;color:#b8b9c1;width:35px;height:35px;padding:0;margin:0!important}.is-favorite{color:#f4d575}.sbc-card-meta{display:flex;justify-content:space-between;color:#acadb6;font-size:11px;gap:10px;margin:17px 0 9px}.sbc-progress{height:6px;background:#424242;border-radius:8px;overflow:hidden}.sbc-progress i{display:block;height:100%;background:#708bfd}.sbc-reward{display:flex;align-items:center;gap:17px;margin:22px 0;min-height:126px}.sbc-reward>img{width:85px;height:124px;object-fit:contain}.sbc-reward strong{display:block;font-size:16px;margin:5px 0}.sbc-reward .eyebrow{color:#d7c997;font-size:10px;letter-spacing:1px}.sbc-reward p{font-size:12px;color:#aeb0b8;line-height:1.4;margin:5px 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.reward-placeholder{display:grid;place-items:center;color:#ccb873;font-size:38px;width:80px;height:110px;flex-shrink:0;border-radius:8px;background:linear-gradient(140deg,#564b31,#302d27);border:1px solid #7b6948}.sbc-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding:10px 0 8px}.done-badge{font-size:11px;color:#aebdfb}.sbc-cost{font-size:13px;color:#ecd386}.sbc-open{display:flex;justify-content:space-between;width:100%;padding:10px 14px;margin-top:6px!important}.sbc-children{display:grid;gap:8px;margin-top:12px}.sbc-children button{display:flex;justify-content:space-between;gap:10px;text-align:left;font-size:12px;padding:10px}.sbc-children small{font-size:11px;color:#aeb8d9}.sbc-manual{font-size:11px;color:#a4a4b1;margin-top:13px}.sbc-manual label{margin-top:10px;font-size:12px}.challenge-completed{opacity:.45;filter:grayscale(1)}
.toolbar{margin:20px 0}.view-controls{align-items:center;flex-wrap:wrap}.view-controls label{margin:0;min-width:160px}.view-controls .primary{padding:11px 14px}.club-tools{align-items:end}.club-gallery .player-tile{background:#252525;border-color:#3d3d3d;border-radius:12px}.club-gallery .tile-info{border-color:#363636}.club-gallery .tile-price{color:#e6d596;font-size:18px!important}.tradeable{background:#2a4b34;color:#96e6b2}.untradeable{background:#51442c;color:#eace8d}#club-gallery .squad-status{background:#2d477e!important;color:#d5e5ff!important}.workspace{grid-template-columns:310px minmax(0,1fr);gap:22px}.settings{background:#252525;border-radius:14px;padding:20px}.step{color:#b6c6ff;border-color:#52629c}.settings h2{font-size:15px}.settings label{font-size:12px}.settings .hint{font-size:11px}.result-top{background:#282828;border-color:#414141;flex-wrap:wrap;align-items:center}.result-top h3{font-size:18px}.result-costs{background:#303033}.metric b{font-size:22px}.metric:first-child b{color:#adc2ff}.results-heading h2{font-size:23px}.result{border-radius:16px;border-color:#48484a}.result .cards{background:radial-gradient(ellipse at center,#2d654b55,#142f2355),repeating-linear-gradient(0deg,#1d432c 0,#1d432c 46px,#234d35 46px,#234d35 92px);position:relative;gap:10px;padding:24px;grid-template-columns:repeat(4,minmax(100px,1fr));border-top:1px solid #517555;border-bottom:1px solid #517555}.result .cards .player-tile{background:#1425199e;border:1px solid #56715a99;box-shadow:0 8px 16px #06140955}.result .cards .fc-card{height:185px;max-width:165px}.result .cards .tile-info{padding:6px}.result .cards .tile-info>small,.result .cards .tile-links{display:none}.result .cards .tile-price{font-size:15px}.result .cards .trade-badge{font-size:10px}.result .cards .squad-badge{font-size:10px}.result-bottom{padding:12px 20px;background:#252525}.principle{border-color:#5d7bee;font-size:12px}.result-costs .metric span{font-size:11px}footer{margin-top:32px}.documentation{background:#252525;border-radius:14px}
@media(min-width:1450px){.challenge-list{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1050px){aside{padding:0 16px;gap:15px}.aside-bottom{display:none}main{padding:20px}.challenge-list{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace{grid-template-columns:280px minmax(0,1fr)}.result .cards{grid-template-columns:repeat(3,minmax(95px,1fr))}}@media(max-width:700px){aside{height:auto;min-height:60px;flex-wrap:wrap;gap:0;padding:10px 14px}.brand{font-size:23px}nav{width:100%;flex-basis:100%;margin-top:8px}nav button{padding:8px;font-size:12px}main{padding:18px 12px}.challenge-list{grid-template-columns:1fr}.catalogue-controls{padding:12px;flex-wrap:wrap;gap:10px}.catalogue-controls label:first-child{flex-basis:100%;max-width:none}.catalogue-controls label:not(:first-child){max-width:none}.catalogue-tabs button{padding:10px}.catalogue-summary{display:none}.workspace{grid-template-columns:1fr}.fc-connection{padding:12px}.sbc-reward{min-height:100px}.result .cards{grid-template-columns:repeat(3,minmax(80px,1fr));padding:12px;gap:6px}.result .cards .fc-card{height:140px}.result .cards .trade-badge{font-size:9px;padding:2px}.result .cards .tile-price{font-size:13px}.club-tools{flex-wrap:wrap}.version{display:none}}

.club-sorting{display:flex;gap:14px;margin:18px 0}.club-sorting label{width:220px;margin:0}.player-tile{position:relative}.lock-toggle{position:absolute;right:7px;top:7px;z-index:4;padding:4px;border:1px solid #6b6b75;border-radius:6px;background:#222c;font-size:15px;width:30px;height:30px}.lock-toggle.is-protected{background:#523e1e;border-color:#d9b566}@media(max-width:700px){.club-sorting label{width:50%}}

.quota-status{background:#30394c;color:#cad6ff;border:1px solid #485a7a;border-radius:9px;padding:9px 12px;font-size:11px;white-space:nowrap}.aside-bottom{display:none}aside{gap:20px}nav{scrollbar-width:none}nav::-webkit-scrollbar{display:none}.extension-download{display:inline-block;text-decoration:none;padding:11px 16px;border-radius:8px;margin:8px 6px 0 0}#connect-help{flex-basis:100%;padding:15px 0 0;border-top:1px solid #414751}#connect-help h3{margin:0 0 8px}#connect-help li{margin:9px 0;color:#c8cedb}.challenge-list>.empty-saved:only-child{grid-column:1/-1;text-align:center;padding:45px;background:linear-gradient(120deg,#25282e,#252525)}.result .cards.pitch-formation{grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:repeat(4,auto);gap:15px 4px;padding:28px 10px;background-image:radial-gradient(circle at 50% 50%,transparent 0 62px,#ffffff25 63px 64px,transparent 65px),linear-gradient(0deg,transparent 49.9%,#ffffff25 50%,transparent 50.2%),repeating-linear-gradient(0deg,#19462d 0,#19462d 60px,#1c4d32 60px,#1c4d32 120px)}.pitch-cell{min-width:0;align-self:center}.pitch-cell .player-tile{height:100%}.pitch-formation .tile-info>.squad-badge,.pitch-formation .tile-info>.trade-badge{display:none}.result .cards.pitch-formation .fc-card{height:150px}.result .cards.pitch-formation .tile-info{padding:4px;text-align:center}.result .cards.pitch-formation .tile-price{font-size:13px}.result .cards .pitch-cell .player-tile{margin:0}.result .cards:not(.pitch-formation){grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:700px){.quota-status{font-size:10px;padding:6px;margin-left:auto}.result .cards.pitch-formation{gap:12px 0;padding:20px 2px}.result .cards.pitch-formation .fc-card{height:100px}.result .cards.pitch-formation .tile-price{font-size:10px}.result .cards:not(.pitch-formation){grid-template-columns:repeat(3,minmax(0,1fr))}}

dialog{background:#252525;color:#f4f4f9;border:1px solid #494b55;border-radius:18px;padding:32px;width:min(440px,calc(100vw - 30px));max-height:85vh;overflow:auto}dialog::backdrop{background:#000a;backdrop-filter:blur(3px)}dialog h2{font-size:22px;overflow-wrap:anywhere}dialog label{display:block;margin:17px 0}dialog input{width:100%}.dialog-close{position:absolute;top:10px;right:12px;background:transparent;border:0;color:#aaa;font-size:25px}.plan-card{padding:16px;background:#303138;border:1px solid #494b55;border-radius:12px;margin:14px 0}.plan-card h3{margin:0 0 8px}.plan-card strong{color:#9cbbff}.plan-card p{font-size:13px;line-height:1.6;color:#c0c2cf}#account-open{padding:8px 12px;white-space:nowrap;font-size:12px}@media(max-width:900px){nav button{font-size:12px;padding:9px 8px}nav [data-page=about]{display:none}aside{gap:10px}.quota-status{font-size:10px}}

.price-trends{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:7px 0 3px}.trend{display:flex;align-items:center;justify-content:space-between;gap:3px;background:#ffffff06;border-radius:4px;padding:4px;font-size:10px}.trend small{color:#aeb0bd;font-size:9px}.trend b{font-weight:600}.trend.up{color:#fa9d89}.trend.down{color:#81d7a4}.trend.flat{color:#ccc}.trend.unknown{color:#797d8a}.table-wrap .price-trends{min-width:155px}#club-gallery .price-trends small{display:inline!important}

.requirement-list{display:grid;gap:5px;margin:14px 0}.requirement-row{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#303139;border:1px solid #42434d;border-radius:7px;padding:8px 10px;font-size:11px}.requirement-row b{white-space:nowrap;color:#a9c4ff}.settings .fields:has(input[readonly]){display:none}.settings label:has(input[name=challenge]){display:none}.settings label:has(input[name=size]){display:none}.settings .panel-heading:first-child{margin-bottom:0}

.locked-slot{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:155px;border:1px dashed #91a49a;border-radius:12px;background:#1b2925b8;color:#a4b6ae;gap:10px;text-align:center}.locked-slot>span{font-size:25px}.locked-slot small{font-size:10px;padding:0 7px}@media(max-width:700px){.locked-slot{min-height:110px}.locked-slot small{font-size:8px}}

.sbc-artwork{height:155px;display:grid;place-items:center;margin:18px 0 0;border-radius:12px;background:radial-gradient(ellipse at center,#35435366,transparent 72%);overflow:hidden}.sbc-artwork img{width:100%;height:155px;object-fit:contain}.sbc-artwork+.sbc-card-meta{margin-top:14px}.sbc-artwork~.sbc-reward{min-height:78px;margin:14px 0}.sbc-artwork~.sbc-reward>img{display:none}

.skip-link{position:fixed;left:16px;top:-80px;z-index:9999;background:#fff;color:#102032;padding:12px 18px;border-radius:8px}.skip-link:focus{top:12px}:focus-visible{outline:3px solid #86c9ff!important;outline-offset:4px}button,a,input,select,summary{touch-action:manipulation}button,select{min-height:40px}.lock-toggle{min-height:36px;min-width:36px}.history-status{font-size:12px;line-height:1.6;color:#c6d5e5;background:#223246;border-left:3px solid #86c9ff;padding:10px 14px;border-radius:6px}.history-status:empty{display:none}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(forced-colors:active){button,.player-tile,.challenge-tile{border:1px solid ButtonText}.trend{border:1px solid CanvasText}}

.market-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:20px}.market-pagination{display:flex;justify-content:center;gap:15px;margin:24px 0}@media(max-width:700px){.market-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}

.price-history-dialog{width:min(680px,92vw);max-height:85vh;overflow:auto;background:#202730;color:#e8eff8;border:1px solid #54657a;border-radius:18px;padding:24px}.price-history-dialog::backdrop{background:#000b}.history-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.history-heading h2{font-size:20px}.history-periods{display:flex;gap:10px;margin:16px 0}.history-periods [aria-pressed=true]{background:#217aca;color:#fff}.price-history-dialog svg{width:100%;height:auto}.history-card-button{width:100%;border:1px solid #445971;border-radius:6px;background:#253547;color:#cfe8ff;font-size:11px;padding:5px;margin-top:8px;min-height:32px}

.view-controls [aria-pressed=true]{background:#226eb6;border-color:#65acff;color:white}.challenge-completed{opacity:.8}.challenge-completed .done-badge{color:#e0e0e0}.market-filters input,.market-filters select{width:100%}.price-history-dialog table{width:100%}.history-heading button{flex-shrink:0}

.server-status{position:sticky;top:10px;z-index:20;border:1px solid #dd9944;background:#49341e;color:#ffedcf;padding:14px 18px;margin-bottom:18px;border-radius:10px;line-height:1.5}.server-status[hidden]{display:none}

.trend-since{display:flex;justify-content:space-between;gap:6px;font-size:10px;margin:7px 0}.trend-since span{color:#bdcbdc}.trend-since.up b{color:#ff9c9c}.trend-since.down b{color:#89e5ad}.trend.unknown b{font-size:8px;font-weight:400;color:#b7c4d4}

.price-history-dialog{width:min(960px,94vw);background:#191f28;padding:28px}.chart-summary{display:flex;justify-content:space-between;gap:20px;margin-top:24px}.chart-summary span{display:block;color:#a9b9cc;font-size:12px}.chart-summary strong{display:block;font-size:28px;margin-top:5px}.chart-summary small{font-size:12px;font-weight:400}.price-up{color:#ff9e9e}.price-down{color:#91e4b0}.chart-stats{display:flex;gap:24px;color:#a9b9cc;font-size:12px;margin-top:22px}.chart-stats b{color:#e8eff8;margin-left:6px}.price-chart{display:block;width:100%;margin-top:12px}.price-chart text{fill:#adbdcf;font:11px Arial,sans-serif}.chart-grid{stroke:#34404e;stroke-width:1;stroke-dasharray:3 5}.chart-point{fill:#62b8ff;stroke:#191f28;stroke-width:2;cursor:crosshair}.chart-point:hover,.chart-point:focus{fill:#fff;stroke:#62b8ff;stroke-width:4;outline:none}.chart-tooltip{min-height:22px;color:#c5def6;text-align:center;font-size:13px}.history-table-wrap{max-height:240px;overflow:auto}.market-suggestions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 20px}.market-suggestions[hidden]{display:none}.trend-since{align-items:center}.trend-since b{white-space:nowrap;flex-shrink:0}.trend-since span{font-size:9px}.price-trends .trend{gap:4px}.price-trends .trend small{white-space:nowrap}@media(max-width:600px){.chart-summary strong{font-size:22px}.chart-stats{gap:12px;flex-wrap:wrap}.price-history-dialog{padding:16px}.history-periods{gap:5px}}

.market-suggestions button{display:flex;flex-direction:column;gap:5px;text-align:left}.market-suggestions button small{color:#eccc87;font-size:11px}.tile-price{white-space:nowrap}

.history-periods{flex-wrap:wrap}.history-coverage{color:#b8c9de;font-size:12px;line-height:1.6;margin:8px 0 18px}

.card-history-availability{font-size:10px;color:#aebdd0;margin:8px 0}.price-trends:empty{display:none}

/* Visible history on club and market player cards. */
.card-price-history{margin:12px 0;padding-top:10px;border-top:1px solid #ffffff24}
.card-history-heading{display:block;font-size:11px;font-weight:700;color:#dce9f8;letter-spacing:.02em;margin-bottom:8px}
.card-price-history .price-trends{gap:7px;margin:0;grid-template-columns:repeat(2,minmax(0,1fr))}
.card-price-history .trend{display:grid;grid-template-columns:1fr;gap:5px;padding:9px 7px;border:1px solid #ffffff1c;border-radius:8px;background:#ffffff08;min-height:58px;align-content:start}
.card-price-history .trend small{font-size:11px;color:#c7d7e9;font-weight:600}
.card-price-history .trend b{font-size:13px;white-space:nowrap;font-weight:750}
.card-price-history .trend.up{background:#ef696911;border-color:#ef69693d;color:#ffb1a7}
.card-price-history .trend.down{background:#4ddb9511;border-color:#4ddb953d;color:#8df0b9}
.card-price-history .trend.flat{color:#dae4ef}
.card-price-history .trend-reference{font-size:10px;color:#c0cede;line-height:1.4;overflow-wrap:anywhere}
.card-price-history .trend-since{font-size:11px;margin:9px 0 0}
.card-price-history .trend-since span{font-size:10px}
.card-price-history .card-history-availability{line-height:1.5;margin:0;font-size:11px}
.table-wrap .card-price-history{min-width:180px}

/* Price chart: dark plot, orange series and clear period navigation. */
.price-history-dialog{background:#171a24;border:1px solid #343642;border-radius:16px;box-shadow:0 28px 100px #0009}
.price-history-dialog::backdrop{background:#080a10ba;backdrop-filter:blur(4px)}
.price-history-dialog .history-heading{border-bottom:1px solid #ffffff12;padding-bottom:16px}
.price-history-dialog .history-periods{display:flex;flex-wrap:wrap;gap:5px;background:#10131b;border-radius:22px;padding:5px;width:fit-content;margin-top:20px}
.price-history-dialog .history-periods button{border:0;border-radius:20px;background:transparent;color:#bac0ce;min-height:34px;padding:7px 15px;font-size:12px}
.price-history-dialog .history-periods button[aria-pressed=true]{background:#ff520e;color:#fff;font-weight:700}
.price-history-dialog .chart-summary strong{font-size:32px;letter-spacing:-.03em}
.price-history-dialog .chart-summary small{display:block;margin-top:6px;color:#9ba6b8;font-size:11px;letter-spacing:0}
.price-history-dialog .price-chart{background:#11141c;border:1px solid #30333f;border-radius:8px;margin-top:20px}
.price-history-dialog .chart-grid{stroke:#2c303c;stroke-dasharray:none;opacity:.8}
.price-history-dialog .chart-point{fill:#ff520e;stroke:#ff520e;stroke-width:1;r:3}
.price-history-dialog .chart-point:hover,.price-history-dialog .chart-point:focus{fill:#ff8959;stroke:#ff520e;stroke-width:3;r:5}
.price-history-dialog .chart-cursor{stroke:#ff520e;stroke-width:1;pointer-events:none}
.price-history-dialog .chart-tooltip{color:#e2e5ee;background:#11141c;border-radius:6px;padding:10px;min-height:40px}
.price-history-dialog .chart-stats{border-top:1px solid #ffffff12;padding-top:16px}

.price-history-dialog{width:min(1120px,96vw)}.price-history-dialog .price-chart text{font-size:13px;fill:#d0d8e7}.price-history-dialog .chart-rounded-line{stroke-width:3}.price-history-dialog .chart-tooltip{font-size:15px;font-weight:600}.price-history-dialog .history-coverage{font-size:13px;line-height:1.6}

/* FC-style SBC catalogue based on the supplied reference. */
#page-challenges .challenge-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:18px;border-radius:18px;background:radial-gradient(ellipse at 90% 80%,#08796d66,transparent 65%),linear-gradient(120deg,#213b6366,#15575d44)}
#page-challenges .challenge-tile{display:grid;grid-template-columns:minmax(0,1fr) 140px;grid-template-rows:auto auto 13px minmax(112px,auto) auto auto auto auto;column-gap:18px;padding:16px 16px 0;border-radius:19px;background:linear-gradient(115deg,#2d4a57,#303c4e);border:1px solid #799ca642;overflow:hidden;box-shadow:none;align-content:start}
#page-challenges .sbc-card-top{grid-column:1/-1;grid-row:1;gap:9px;margin-bottom:12px;align-items:center}
#page-challenges .sbc-icon{width:28px;height:34px}
#page-challenges .sbc-name{font-size:19px;line-height:1.3;color:#fff}
#page-challenges .favorite-button{align-self:start;min-height:24px;width:24px;height:24px;border-radius:50%;font-size:19px;background:#ffffff20;color:#ddd4b8}
#page-challenges .favorite-button.is-favorite{color:#ffe179;background:#a9934933}
#page-challenges .sbc-artwork{grid-column:2;grid-row:2/5;align-self:center;height:180px;margin:0;background:none;border-radius:0}
#page-challenges .sbc-artwork img{height:180px;width:140px;object-fit:contain;filter:drop-shadow(0 8px 10px #09142144)}
#page-challenges .sbc-card-meta{grid-column:1;grid-row:2;margin:0 0 5px;align-self:end;color:#ecf6fa;font-size:12px;font-weight:600}
#page-challenges .sbc-card-meta span:last-child{display:none}
#page-challenges .sbc-progress{grid-column:1;grid-row:3;height:13px;background:#828781;border-radius:20px}
#page-challenges .sbc-progress i{background:#84efd3;border-radius:20px}
#page-challenges .sbc-reward{grid-column:1;grid-row:4;margin:14px 0;min-height:100px;align-items:end}
#page-challenges .sbc-reward>img,#page-challenges .reward-placeholder{display:none}
#page-challenges .sbc-reward .eyebrow{color:#fff;font-size:14px;letter-spacing:0;text-transform:none;font-weight:700}
#page-challenges .sbc-reward strong{font-size:13px;font-weight:600;color:#fff;margin:7px 0 0;line-height:1.4}
#page-challenges .sbc-reward p{color:#deebf3;font-size:13px;line-height:1.45;margin:9px 0 0}
#page-challenges .sbc-card-bottom{grid-column:1/-1;grid-row:5;flex-wrap:wrap;justify-content:flex-start;gap:8px;margin:0 -16px;padding:11px 15px;background:#202d4066;border-top:1px solid #a9b9cb24;font-size:12px;color:#fff}
#page-challenges .sbc-card-bottom .done-badge{display:none}
#page-challenges .challenge-completed .done-badge{display:inline;color:#e0e7f0}
#page-challenges .sbc-repeat,#page-challenges .sbc-expiry{font-weight:600}
#page-challenges .sbc-cost{margin-left:auto;font-size:12px}
#page-challenges .sbc-open{grid-column:1/-1;grid-row:6;margin:10px 0!important;border:1px solid #a9d9d555;background:#183e49;color:#d6fff2}
#page-challenges .sbc-children{grid-column:1/-1;grid-row:7;margin:0 0 10px}
#page-challenges .sbc-manual{grid-column:1/-1;grid-row:8;margin:0 -16px;padding:8px 16px;background:#202d4033}
#page-challenges .challenge-completed{filter:grayscale(1);opacity:.5}
@media(min-width:1700px){#page-challenges .challenge-list{max-width:1280px;margin-inline:auto}}
@media(max-width:950px){#page-challenges .challenge-list{grid-template-columns:1fr}}
@media(max-width:480px){#page-challenges .challenge-list{padding:8px}#page-challenges .challenge-tile{grid-template-columns:minmax(0,1fr) 110px;column-gap:10px}#page-challenges .sbc-artwork img{width:110px;height:160px}#page-challenges .sbc-name{font-size:16px}}

.club-refine{border:1px solid #ffffff1b;border-radius:12px;padding:15px;margin:16px 0;background:#ffffff04}.club-quick-filters,.club-extra-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.club-refine label{font-size:12px;color:#cbd4e1;display:grid;gap:7px}.club-refine input,.club-refine select{width:100%;min-width:0;min-height:40px;margin:0}.club-more-filters{margin-top:14px}.club-more-filters summary{cursor:pointer;color:#c4e4ff;padding:8px 0;font-weight:600;font-size:13px}.club-extra-filters{padding-top:12px}.club-filter-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px;color:#b9c8da;font-size:12px}.club-filter-footer button{min-height:32px;padding:4px}.club-more-filters summary span{font-weight:400;color:#a8b8ce;margin-left:6px}@media(max-width:700px){.club-quick-filters,.club-extra-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.club-refine{padding:12px}}

.known-price-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:9px 0;border-top:1px solid #ffffff18;margin-top:9px}.known-price-range>div{display:grid;gap:4px}.known-price-range span{font-size:10px;color:#bdc9d8}.known-price-range b{font-size:12px;color:#e4edf8;white-space:nowrap}.known-price-range small,.card-dated-observations small{font-size:9px;font-weight:400;color:#afbdcd}.known-price-range.empty{display:block;color:#aebdce;font-size:10px;line-height:1.4}.card-dated-observations{margin-top:10px;padding-top:8px;border-top:1px solid #ffffff18}.card-dated-observations>span{font-size:10px;color:#bfcddd}.card-dated-observations>div{display:flex;justify-content:space-between;gap:4px;margin-top:6px;flex-wrap:wrap}.card-dated-observations time{font-size:9px;color:#aebed1}.card-dated-observations b{font-size:10px;color:#e8eef7;white-space:nowrap}

/* Align each information section across player cards, without narrow half-width badges. */
.club-gallery .player-tile{display:flex;flex-direction:column;min-width:0}
.club-gallery .player-tile>.fc-card{flex-shrink:0;width:100%}
.club-gallery .tile-info{display:flex;flex-direction:column;flex:1;min-width:0}
.club-gallery .tile-statuses{display:flex;align-content:flex-start;align-items:flex-start;flex-wrap:wrap;gap:4px;min-height:64px}
.club-gallery .tile-statuses>.squad-badge,.club-gallery .tile-statuses>.trade-badge{margin:0;max-width:100%;font-size:10px;line-height:1.4}
#club-gallery .tile-statuses>.squad-status{background:#234e91;color:#e7f1ff;border:1px solid #507dcc;border-radius:4px;padding:3px 5px;font-weight:700}
.club-gallery .tile-price{min-height:34px;margin:6px 0!important;line-height:1.4;overflow-wrap:anywhere}
.club-gallery .known-price-range{min-height:78px;grid-template-columns:1fr;align-content:start;gap:6px;margin:0}
.club-gallery .known-price-range>div{display:flex;justify-content:space-between;align-items:baseline;gap:4px;flex-wrap:wrap}
.club-gallery .known-price-range b{white-space:normal;overflow-wrap:anywhere}
.club-gallery .card-price-history{flex:1;margin-top:0;min-width:0}
.club-gallery .card-history-heading{min-height:26px;line-height:1.4;margin:0 0 6px}
.club-gallery .card-price-history .price-trends{grid-template-columns:1fr;gap:6px}
.club-gallery .card-price-history .trend{width:100%;min-width:0;box-sizing:border-box;grid-template-columns:1fr;min-height:78px;padding:8px;gap:5px}
.club-gallery .card-price-history .trend small{white-space:normal;overflow-wrap:anywhere;font-size:10px}
.club-gallery .card-price-history .trend b{white-space:normal;overflow-wrap:anywhere;font-size:13px;line-height:1.4}
.club-gallery .card-price-history .trend-reference{white-space:normal;overflow-wrap:anywhere;font-size:10px;line-height:1.4}
.club-gallery .card-price-history .trend-since{min-height:34px;align-items:start}
.club-gallery .card-price-history .trend-since span{line-height:1.5;min-width:0}
.club-gallery .history-card-button{margin-top:auto;width:100%;flex-shrink:0}
.club-gallery .card-dated-observations>div{line-height:1.5}
.known-price-range>div:first-child b{color:#8df0b9}.known-price-range>div:last-child b{color:#ffb1a7}.known-price-range>div:first-child b small,.known-price-range>div:last-child b small{color:inherit}

.card-market-details{margin-top:8px;border-top:1px solid #ffffff22;min-width:0}.card-market-details>summary{cursor:pointer;color:#c4e4ff;font-size:11px;font-weight:600;padding:11px 0;line-height:1.4;user-select:none}.card-market-details>summary:focus-visible{outline:2px solid #86c9ff;outline-offset:2px;border-radius:4px}.card-market-content{display:flex;flex-direction:column;gap:0;min-width:0}.club-gallery .card-market-content .known-price-range{border-top:0;padding-top:0}.club-gallery .card-market-content .history-card-button{margin-top:8px}.card-market-details[open]>summary{color:#fff}.club-gallery .tile-info>.card-market-details{flex:1}

.profile-panel{padding:24px;margin-bottom:20px}.profile-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}.profile-settings label{min-width:0;display:flex;flex-direction:column;gap:8px}.profile-settings label.check{flex-direction:row;align-items:center}.profile-settings select,.profile-settings input:not([type=checkbox]){width:100%;box-sizing:border-box}.profile-filter-summary{display:grid;grid-template-columns:minmax(120px,1fr) 2fr;gap:8px 16px}.profile-filter-summary dt{color:#aeb1c4}.profile-filter-summary dd{margin:0;overflow-wrap:anywhere}.solution-purchase{font-size:11px;line-height:1.4;margin:5px 0}.solution-purchase.buy{color:#ffc681}.solution-purchase.owned{color:#8df0b9}@media(max-width:650px){.profile-settings{grid-template-columns:1fr}}
