
/* Clubhuis uses the existing gold/green palette with explicit readable text. */
.fc-club-tiles button{color:#163f2b;background:linear-gradient(#fff3bf,#e5c478);border:3px solid #ffe8a1}
.fc-club-tiles button small{color:#36543c}.fc-club-tiles button:active{transform:scale(.98)}
.fc-faq{background:#fff0be;color:#163b29;border:2px solid #ceab58;border-radius:18px;margin:10px 0;padding:12px 16px}
.fc-faq summary{font-size:19px;font-weight:900;cursor:pointer}.fc-faq p{color:#214833;line-height:1.5;font-size:17px}
#falco-match-speelscherm .fc-player-page .fc-club-button,#falco-match-speelscherm .fc-player-tab[aria-selected=true]{color:#fff3ca!important}.fc-player-page button:disabled{color:#e7e0bd!important;background:#496251!important}
.fc-rank-leader{display:flex;gap:12px;align-items:center;background:linear-gradient(120deg,#ffe58e,#f6cb55);color:#173f2b;border:3px solid #fff0b3;border-radius:20px;padding:10px;margin:0 0 16px}.fc-rank-leader img{width:64px;height:64px;object-fit:contain}.fc-rank-leader strong{font-size:22px}
#falco-match-speelscherm .fc-rank-host .test-rank-status{color:#254733;font-size:16px}.test-rank-row{position:relative;isolation:isolate;overflow:hidden;min-height:98px;color:#173f2b!important;background:linear-gradient(110deg,#fff4cc,#e6c373)!important;border:2px solid #ffdf81!important}.test-rank-row.mine{border:4px solid #ffcd3c!important}
.test-rank-row>*:not(.test-rank-ghost){position:relative;z-index:1}.test-rank-ghost{position:absolute!important;right:-8px;bottom:-15px;height:140px;width:130px;object-fit:contain;opacity:.16;z-index:0;pointer-events:none}.test-level-top3 li{position:relative;isolation:isolate;overflow:hidden}.test-level-top3 .test-rank-ghost{height:110px;width:90px;opacity:.14}.test-level-top3 li>*:not(.test-rank-ghost){position:relative;z-index:1}
.test-rank-person strong,.test-rank-score,.test-podium-name,.test-podium-score{color:#123a26!important}.test-rank-person small{color:#3d593d!important}
.fc-player-skins .fc-skin-locked img{filter:grayscale(1);opacity:.48}#falco-match-speelscherm .fc-player-skins .fc-skin-locked .fc-skin-check{color:#31533c}#falco-match-speelscherm .fc-outfit-status{color:#254733!important}
.fc-goal-net{position:absolute;z-index:6;width:14.2857%;height:8%;pointer-events:none;object-fit:fill;transform:translateY(-5%)}.fc-goal-scored{animation:fc-goal-net-bounce .48s ease-out}@keyframes fc-goal-net-bounce{40%{transform:translateY(8%) scale(1.12)}to{transform:translateY(-5%)}}
.fc-jump-current{position:absolute;bottom:92px;left:50%;transform:translateX(-50%);z-index:15;border:3px solid #fff0a4;border-radius:24px;background:linear-gradient(#ffe78c,#e9b43e);color:#173d2a;padding:10px 18px;font:inherit;font-weight:900;box-shadow:0 5px 0 #98752c;white-space:nowrap}
.fc-hint span{font-size:14px}.fc-hint-pulse{animation:fc-hint-reminder 1s ease-in-out 2}@keyframes fc-hint-reminder{50%{filter:brightness(1.25);transform:scale(1.06)}}
#falco-match-speelscherm[data-level-scene^="academy/"] .fc-board{overflow:visible}
#falco-match-speelscherm[data-level-scene^="academy/"] .fc-sheet-header{background-size:cover;background-position:center}
.fc-club-instructions p,.fc-club-powers h3,.fc-club-powers p{color:#173f2a!important}.fc-club-powers>div{background:linear-gradient(#fff4ce,#edcf86)!important}
@media(max-width:480px){.test-rank-row{padding:10px 8px;gap:8px}.test-rank-score{font-size:18px}.test-rank-person strong{font-size:17px}.fc-rank-leader strong{font-size:19px}.fc-club-tiles button{min-height:105px}}
@media(prefers-reduced-motion:reduce){.fc-hint-pulse,.fc-goal-scored{animation:none}}

#falco-match-speelscherm .fc-sheet-header[data-nox=true]{display:flex;flex-direction:column;background:#163e2a;padding:0 12px 12px;gap:8px}#falco-match-speelscherm .fc-sheet-header[data-nox=true]::before{content:'';width:calc(100% + 24px);height:130px;background-image:var(--fc-nox-scene);background-size:contain;background-repeat:no-repeat;background-position:center;background-color:#0d271e;border-radius:24px 24px 0 0}#falco-match-speelscherm .fc-sheet-header[data-nox=true] .fc-sheet-falco{display:none}#falco-match-speelscherm .fc-sheet-header[data-nox=true] .fc-map-title{color:#ffedb3;text-align:center;font-size:24px}#falco-match-speelscherm .fc-sheet-header[data-nox=true] .fc-sheet-type{color:#1c3f2a;background:#fff0ba;padding:5px 12px;border-radius:12px;font-size:15px}

#falco-match-speelscherm .fc-club-logo{display:block;width:min(250px,70%);height:90px;object-fit:contain;margin:0 auto 8px}#falco-match-speelscherm .fc-club-home .fc-club-tiles{margin-top:8px}#falco-match-speelscherm .fc-club-home .fc-club-tiles button:first-child{background:linear-gradient(#ffe894,#e9bd49);border-color:#fff0a1;box-shadow:0 4px #a57425}#falco-match-speelscherm .fc-rank-host .test-rank-list{padding-left:0}#falco-match-speelscherm .fc-club-supers p{font-size:15px;line-height:1.4}#falco-match-speelscherm .fc-club-supers>div{border-top:5px solid #ce9b35}

#falco-match-speelscherm .fc-home[data-season="8"] .fc-world{height:auto!important;aspect-ratio:1/3}
.test-sync-notice{position:fixed;top:env(safe-area-inset-top,0px);left:50%;transform:translateX(-50%);z-index:90;max-width:85vw;background:#fff0bc;color:#244831;padding:6px 12px;border-radius:0 0 12px 12px;font-size:13px;pointer-events:none}

/* 3.1.4: Clubhuis is a full-screen destination, with fixed navigation and native scrolling. */
#falco-match-speelscherm .fc-player-panel{position:absolute!important;inset:0!important;padding:0!important;display:block;overflow:hidden;background:linear-gradient(#102d20bb,#102d20ee),url(clubhouse-v60.webp) center/cover}
#falco-match-speelscherm .fc-player-card.fc-club-card{box-sizing:border-box;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;min-height:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding:0 20px calc(20px + env(safe-area-inset-bottom,0px))!important;overflow-y:auto!important;overflow-x:hidden!important;transform:none!important;scale:1!important;overscroll-behavior:contain;color:#fff0bd}
#falco-match-speelscherm .fc-club-header{position:sticky!important;top:0;z-index:12;min-height:68px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:16px;margin:0 -20px 18px;padding:calc(10px + env(safe-area-inset-top,0px)) 70px 10px;background:#163e2aee;border-bottom:2px solid #b69b51}
#falco-match-speelscherm #fc-player-title{font:30px 'Falco Bubble';color:#fff0bb;margin:0;text-align:center}
#falco-match-speelscherm .fc-club-back{position:absolute;left:max(16px,env(safe-area-inset-left,0px));top:calc(12px + env(safe-area-inset-top,0px));width:44px;height:44px;min-height:44px;display:grid;place-items:center;border:2px solid #e1c378;border-radius:50%;background:#28613e;color:#fff1be;font:30px system-ui;padding:0;box-shadow:0 3px #0e291b;cursor:pointer}
#falco-match-speelscherm .fc-player-close{top:calc(12px + env(safe-area-inset-top,0px))!important;right:max(16px,env(safe-area-inset-right,0px))!important}
#falco-match-speelscherm .fc-player-page{box-sizing:border-box;width:min(100%,1050px);margin:0 auto;padding:20px;border-radius:24px;background:linear-gradient(#fff5d7,#ebd397);color:#214a31}
#falco-match-speelscherm .fc-player-page p{color:#315137}
#falco-match-speelscherm .fc-club-home{position:relative;isolation:isolate;display:flex!important;flex-direction:column;align-items:stretch;justify-content:center;width:min(100%,800px);min-height:min(690px,calc(var(--fc-screen-height,100dvh) - 108px));background:transparent;padding:8px 0}
#falco-match-speelscherm .fc-club-ghost{position:absolute;inset:8% 0 4%;width:100%;height:88%;object-fit:contain;opacity:.37;pointer-events:none;z-index:-1}
#falco-match-speelscherm .fc-club-home .fc-club-logo{width:clamp(210px,38vw,360px);max-width:80%;height:auto;max-height:125px;margin:0 auto 18px}
#falco-match-speelscherm .fc-club-home .fc-club-tiles{width:100%;margin:0;gap:16px;grid-template-columns:1fr 1fr}
#falco-match-speelscherm .fc-club-home .fc-club-tiles button{min-height:clamp(110px,18dvh,165px);background:linear-gradient(#fff5cbdf,#ebce85e6);border-color:#e3bf63;box-shadow:0 5px #927038;color:#254a30;font-size:27px;text-shadow:0 1px #fff6d2}
#falco-match-speelscherm .fc-club-home .fc-club-tiles button:first-child{background:linear-gradient(#ffedafe6,#efc455e6)}
#falco-match-speelscherm .fc-club-home .fc-club-tiles small{color:#3b5b36;font-size:15px}
#falco-match-speelscherm .fc-club-home .fc-club-map{width:min(100%,430px);align-self:center;margin-top:24px}
#falco-match-speelscherm .fc-club-home .fr-food-card{width:min(100%,430px);align-self:center;box-sizing:border-box;margin-top:8px}
#falco-match-speelscherm .fc-test-appearance{background:#e4edd3;color:#234e32;border:2px solid #aac274;border-radius:14px;padding:14px;margin:12px 0}#falco-match-speelscherm .fc-test-appearance strong,#falco-match-speelscherm .fc-test-appearance label{display:block;margin:6px 0}#falco-match-speelscherm .fc-test-loat{width:22px;height:22px;vertical-align:middle}
#falco-match-speelscherm .test-rank-row .test-rank-ghost{right:10px;top:50%;bottom:auto;transform:translateY(-50%);width:110px;height:80px;object-fit:contain;opacity:.19}
#falco-match-speelscherm .test-level-top3 .test-rank-ghost{right:8px;bottom:5px;transform:none;height:70px;width:70px;object-fit:contain}
#falco-match-speelscherm .fc-player-page .fc-rank-host{max-width:900px;margin:auto}#falco-match-speelscherm .fc-rank-list{width:100%}
@media(min-width:850px){#falco-match-speelscherm .fc-player-page .fc-passport-stamps{grid-template-columns:repeat(4,minmax(0,1fr))}#falco-match-speelscherm .fc-player-records{display:grid;grid-template-columns:1fr 1fr;gap:8px 20px}}
@media(max-width:480px){#falco-match-speelscherm .fc-player-card.fc-club-card{padding-left:14px!important;padding-right:14px!important}#falco-match-speelscherm .fc-club-header{margin-left:-14px;margin-right:-14px}#falco-match-speelscherm .fc-player-page{padding:14px;border-radius:18px}#falco-match-speelscherm .fc-club-home{padding:0;background:transparent}#falco-match-speelscherm .fc-club-home .fc-club-tiles{gap:12px}#falco-match-speelscherm .fc-club-home .fc-club-tiles button{font-size:23px;min-height:110px}#falco-match-speelscherm .fc-club-home .fc-club-tiles small{font-size:12px}#falco-match-speelscherm .test-rank-row .test-rank-ghost{right:6px;width:80px;height:70px}}
@media(max-height:600px) and (orientation:landscape){#falco-match-speelscherm .fc-club-home{min-height:0;width:min(100%,900px);display:grid!important;grid-template-columns:1fr 2fr;gap:18px}#falco-match-speelscherm .fc-club-home .fc-club-logo{grid-column:1;grid-row:1;height:auto;width:100%}#falco-match-speelscherm .fc-club-home .fc-club-tiles{grid-column:2;grid-row:1/4}#falco-match-speelscherm .fc-club-home .fc-club-tiles button{min-height:105px}#falco-match-speelscherm .fc-club-home .fc-club-map,#falco-match-speelscherm .fc-club-home .fr-food-card{grid-column:1;margin:0;width:100%;font-size:16px}#falco-match-speelscherm .fc-club-ghost{left:0;width:100%;height:100%;top:0}}
#falco-match-speelscherm .fc-club-header .fc-player-close{position:absolute!important;background:linear-gradient(#f06858,#bc292a)!important;color:#fff9e2!important;border:3px solid #ffe7aa!important}
#falco-match-speelscherm .fc-player-head .fc-player-name{color:#fff2c5!important}#falco-match-speelscherm .fc-player-head .fc-club-leader{color:#ffdc69!important}

#falco-match-speelscherm .fc-player-skins button[aria-pressed=true]{color:#173e29!important}

/* 3.1.4 repair: the identity stays behind the scrolling Clubhuis content. */
#falco-match-speelscherm .fc-player-panel>.fc-club-ghost{position:absolute;inset:12% 0 4%;width:100%;height:84%;max-width:none;object-fit:contain;opacity:.30;z-index:0;transform:none;pointer-events:none}
#falco-match-speelscherm .fc-player-card.fc-club-card{position:relative;z-index:1}
#falco-match-speelscherm .fc-club-header-logo{display:block;width:clamp(150px,40vw,260px);height:90px;max-width:100%;object-fit:contain}
#falco-match-speelscherm .fc-club-header-logo[hidden],#falco-match-speelscherm .fc-club-ghost[hidden]{display:none!important}
#falco-match-speelscherm .fc-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#falco-match-speelscherm .fc-club-home{isolation:auto;min-height:min(590px,calc(var(--fc-screen-height,100dvh) - 148px))}
@media(max-height:600px) and (orientation:landscape){#falco-match-speelscherm .fc-club-home{display:flex!important;min-height:0;gap:0;width:min(100%,800px)}#falco-match-speelscherm .fc-club-header-logo{height:64px}#falco-match-speelscherm .fc-club-home .fc-club-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}#falco-match-speelscherm .fc-club-home .fc-club-map{margin-top:20px}}

/* Keep the approved stare-down art whole, using its original 16:9 frame. */
#falco-match-speelscherm .fc-map-sheet-card:has(.fc-sheet-header[data-nox=true]){border-color:#ebc25c;background:linear-gradient(#fff6d4,#ecd19a);box-shadow:inset 0 0 0 2px #fff4be,0 6px #785725,0 16px 38px #07272680}
#falco-match-speelscherm .fc-map-sheet-card .fc-sheet-header[data-nox=true]{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:8px;min-height:0;margin:0 -18px 14px;padding:0 14px 14px;background:#143726;border-radius:24px 24px 0 0;overflow:hidden}
#falco-match-speelscherm .fc-map-sheet-card .fc-sheet-header[data-nox=true]::before{grid-column:1;grid-row:1;display:block;justify-self:center;box-sizing:border-box;width:calc(100% + 28px);height:auto;aspect-ratio:16/9;background:var(--fc-nox-scene) center/contain no-repeat #102d22;border-bottom:2px solid #e8bd58;border-radius:0}
#falco-match-speelscherm .fc-map-sheet-card .fc-sheet-header[data-nox=true] .fc-sheet-type{grid-column:1;grid-row:2;justify-self:center;align-self:center;max-width:100%;box-sizing:border-box;text-align:center;font:16px/1.2 'Falco Bubble';background:#fff0ba;color:#173d2a;padding:6px 12px;border-color:#d9b65c;white-space:normal}
#falco-match-speelscherm .fc-map-sheet-card .fc-sheet-header[data-nox=true] .fc-map-title{grid-column:1;grid-row:3;align-self:center;justify-self:stretch;text-align:center;max-width:100%;padding:0;margin:0;font-size:clamp(22px,5vw,27px);line-height:1.12;color:#ffedb3;text-shadow:0 2px #08271a}

/* 3.1.4: an app shell with a non-scrolling header and one scrolling page. */
#falco-match-speelscherm .fc-player-panel{display:grid!important;grid-template-rows:auto minmax(0,1fr);overscroll-behavior:none}
#falco-match-speelscherm .fc-player-panel[hidden],#falco-match-speelscherm .fc-player-page[hidden]{display:none!important}
#falco-match-speelscherm .fc-player-panel>.fc-club-header{grid-row:1;position:relative!important;top:auto;min-width:0;width:100%;margin:0;padding:calc(10px + env(safe-area-inset-top,0px)) 70px 10px;flex-shrink:0}
#falco-match-speelscherm .fc-player-card.fc-club-card{grid-row:2;width:100%!important;height:100%!important;min-height:0;padding:20px 20px calc(20px + env(safe-area-inset-bottom,0px))!important;overscroll-behavior:none;touch-action:pan-y}
#falco-match-speelscherm .fc-player-card .fc-player-page{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0;color:#fff1cd}
#falco-match-speelscherm .fc-player-page>p,#falco-match-speelscherm .fc-player-page>h3,#falco-match-speelscherm .fc-player-page>.fc-adventure-where,#falco-match-speelscherm .fc-player-page>.fc-passport-summary{color:#fff1cd!important;text-shadow:0 1px #102c20}
#falco-match-speelscherm .fc-player-page>.fc-outfit-status{color:#ffe38b!important}
#falco-match-speelscherm .fc-player-page .fc-rank-host .test-rank-status{color:#fff1cd}
#falco-match-speelscherm .fc-player-page .fc-club-technical{border-color:#ac9755}#falco-match-speelscherm .fc-player-page .fc-club-technical .test-build{color:#e7d7a5}
#falco-match-speelscherm .fc-player-page .fc-audio-options{background:#183c2dee;border:2px solid #bea25c;color:#fff1cd;border-radius:18px;padding:16px}
#falco-match-speelscherm .fc-player-page .fc-audio-options legend,#falco-match-speelscherm .fc-player-page .fc-audio-options label{color:#fff1cd}
#falco-match-speelscherm .fc-club-home .fc-club-tiles{margin-top:0}
@media(max-width:480px){#falco-match-speelscherm .fc-player-card.fc-club-card{padding-left:16px!important;padding-right:16px!important}#falco-match-speelscherm .fc-player-panel>.fc-club-header{margin:0}}
