/* Clubhuis: spacious cards, shared buttons, one destination per page. */
#falco-match-speelscherm .fc-player-panel{background:linear-gradient(#09291ba8,#09291bd9),url(clubhouse-v60.webp) center/cover}
#falco-match-speelscherm .fc-club-card{width:min(560px,100%);height:auto;max-height:100%;min-height:0;overflow:auto;border:5px solid #e9c76e;border-radius:28px;background:linear-gradient(#fff8dc,#ecd292);color:#234e32;box-shadow:0 7px #8e692a,0 18px 40px #061c2599;padding:16px;scale:1!important;font-family:'Falco Play',sans-serif;scrollbar-width:thin}
#falco-match-speelscherm .fc-club-header{display:flex;align-items:center;gap:8px;position:sticky;top:-16px;background:#fff3cc;z-index:3;padding:8px 0;border-bottom:2px solid #d7b964;margin-bottom:12px}
#falco-match-speelscherm .fc-club-header h2{margin:0;flex:1;font:clamp(20px,5vw,30px) 'Falco Bubble',sans-serif;color:#234e32}
#falco-match-speelscherm .fc-club-header .fc-player-close{position:static;flex-shrink:0;width:44px;height:44px;min-height:44px;border:2px solid #c59b43;border-radius:50%;background:#fff7dc;color:#254f32;font-size:25px;padding:0}
#falco-match-speelscherm .fc-club-back{min-height:44px;border:2px solid #bd9a43;border-radius:12px;background:#fff5d3;color:#275837;font:15px 'Falco Play';padding:6px 9px}
#falco-match-speelscherm .fc-player-tabs{display:none!important}
#falco-match-speelscherm .fc-player-head{display:flex;flex-direction:column;gap:4px;text-align:center;margin:0 0 12px;padding:12px;border-radius:24px;background:radial-gradient(ellipse at top,#377b46,#163c29);border:3px solid #dfb657;color:#fff0b5}
#falco-match-speelscherm .fc-club-portrait{height:clamp(150px,25dvh,240px);width:100%;position:relative}
#falco-match-speelscherm .fc-player-head .fc-player-portrait{height:100%;width:100%;max-height:none;object-fit:contain;margin:0}
#falco-match-speelscherm .fc-club-crown{position:absolute;top:-3px;left:50%;transform:translateX(-50%);width:25%;max-width:100px;max-height:65px;object-fit:contain}
#falco-match-speelscherm .fc-player-name{font:28px 'Falco Bubble';color:#fff2c5;margin:0}
#falco-match-speelscherm .fc-club-leader{font:22px 'Falco Bubble';color:#ffdc69;margin:2px 0}
#falco-match-speelscherm .fc-club-button{display:block;width:100%;min-height:48px;border:3px solid #e5c166;border-radius:18px;background:linear-gradient(#62ac48,#286b37);box-shadow:0 4px #173f26,inset 0 2px #b4de78;color:#fff4cc;text-shadow:0 2px #204829;font:20px 'Falco Bubble';padding:10px 12px;cursor:pointer;touch-action:manipulation;margin:8px 0 12px}
#falco-match-speelscherm .fc-club-button:disabled{opacity:.6;cursor:default;box-shadow:none}
#falco-match-speelscherm .fc-club-button:active:not(:disabled){transform:translateY(2px);box-shadow:0 2px #173f26}
#falco-match-speelscherm .fc-club-tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}
#falco-match-speelscherm .fc-club-tiles button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:105px;border:3px solid #c29846;border-radius:21px;background:linear-gradient(#fff7d0,#efd07a);box-shadow:0 4px #aa8034;color:#234f33;font:23px 'Falco Bubble';padding:10px;touch-action:manipulation;cursor:pointer}
#falco-match-speelscherm .fc-club-tiles span{font-size:34px}#falco-match-speelscherm .fc-club-tiles small{font:13px 'Falco Play';color:#4e663a}
#falco-match-speelscherm .fc-club-tiles button:active{transform:translateY(2px)}
#falco-match-speelscherm .fc-club-season-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#falco-match-speelscherm .fc-club-technical{margin-top:18px;padding-top:12px;border-top:2px solid #d3b15b;text-align:center}
#falco-match-speelscherm .fc-club-technical .test-build{display:block;color:#496744;font:13px 'Falco Play'}
#falco-match-speelscherm .fc-club-technical button{font:14px 'Falco Play';min-height:44px;border:2px solid #c5a04d;border-radius:12px;background:#fff4ce;color:#285333;padding:8px 12px;margin:5px}
#falco-match-speelscherm .fc-dressing-preview{text-align:center;background:linear-gradient(#336a42,#153a28);border:3px solid #c89b46;border-radius:22px;padding:12px}
#falco-match-speelscherm .fc-outfit-preview{height:clamp(170px,29dvh,280px);max-width:100%;object-fit:contain}
#falco-match-speelscherm .fc-player-skins{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#falco-match-speelscherm .fc-player-skins button{border:3px solid #c4a04b;border-radius:16px;background:#fff8dd;color:#285032;min-width:0;padding:8px;display:flex;flex-direction:column;align-items:center;gap:4px}
#falco-match-speelscherm .fc-player-skins button[aria-pressed=true]{background:#c7e7a8;border-color:#438547}
#falco-match-speelscherm .fc-player-skins img{height:95px;width:100%;object-fit:contain}
#falco-match-speelscherm .fc-passport-stamps{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#falco-match-speelscherm .fc-passport-stamp{cursor:pointer;min-width:0}#falco-match-speelscherm .fc-passport-stamp:focus-visible{outline:3px solid #276b42}
#falco-match-speelscherm .fc-club-reward-art{display:flex;justify-content:center;padding:20px}#falco-match-speelscherm .fc-club-reward-art .fc-stamp-badge{width:125px;height:125px}#falco-match-speelscherm .fc-club-reward-art img{width:100px;height:100px}
#falco-match-speelscherm .fc-club-instructions>div{display:flex;gap:14px;align-items:center;padding:12px;margin:10px 0;border:2px solid #d6b263;border-radius:18px;background:#fff8df}#falco-match-speelscherm .fc-club-instructions span{font-size:32px;flex-shrink:0}#falco-match-speelscherm .fc-club-instructions p{margin:0;font-size:16px}
#falco-match-speelscherm .fc-club-powers{display:grid;grid-template-columns:1fr 1fr;gap:10px}#falco-match-speelscherm .fc-club-powers>div{padding:10px;text-align:center;border:2px solid #d0a955;border-radius:18px;background:#fff8df}#falco-match-speelscherm .fc-club-powers img{width:80px;height:80px;object-fit:contain}#falco-match-speelscherm .fc-club-powers h3{font:21px 'Falco Bubble';margin:5px 0}#falco-match-speelscherm .fc-club-powers p{font-size:14px;margin:0}
#falco-match-speelscherm .fc-photo-preview{display:block;width:min(100%,390px);margin:auto;border-radius:20px;border:3px solid #d7b25d}#falco-match-speelscherm .fc-photo-note{font-size:13px;color:#526446}#falco-match-speelscherm .fc-logout-falco{display:block;margin:auto;width:100px}
#falco-match-speelscherm .fc-result-replay{width:100%;min-height:48px;border:3px solid #e6c165;border-radius:18px;background:linear-gradient(#58a344,#266737);box-shadow:0 4px #184525;color:#fff4d1;font:20px 'Falco Bubble';padding:10px;touch-action:manipulation}
#falco-match-speelscherm .fc-result-replay[hidden]{display:none!important}
#falco-match-speelscherm .fc-fullscreen-probe{position:fixed;top:0;left:0;width:0;height:100vh;visibility:hidden;pointer-events:none}
@media(display-mode:standalone){#falco-match-speelscherm:not([data-keyboard="true"]){height:max(100vh,var(--fc-screen-height,100vh))}}
@media(max-height:600px) and (orientation:landscape){#falco-match-speelscherm .fc-club-home{display:grid;grid-template-columns:1fr 1fr;gap:12px}#falco-match-speelscherm .fc-player-head{grid-column:1;grid-row:1/3}#falco-match-speelscherm .fc-club-portrait{height:150px}#falco-match-speelscherm .fc-club-photo{grid-column:1}#falco-match-speelscherm .fc-club-tiles{grid-column:2;grid-row:1/3;margin:0}#falco-match-speelscherm .fc-club-tiles button{min-height:85px;font-size:19px}#falco-match-speelscherm .fc-club-home>.fc-club-map{grid-column:2}#falco-match-speelscherm .fc-club-card{width:min(850px,100%)} }
@media(max-width:360px){#falco-match-speelscherm .fc-club-card{padding:10px}#falco-match-speelscherm .fc-club-tiles button{font-size:19px}#falco-match-speelscherm .fc-club-tiles small{font-size:11px}}
#falco-match-speelscherm .fc-player-page[hidden],#falco-match-speelscherm [hidden].fc-club-crown,#falco-match-speelscherm [hidden].fc-club-back,#falco-match-speelscherm [hidden].fc-club-leader,#falco-match-speelscherm [hidden].fc-photo-preview{display:none!important}

.test-register-close{float:right;min-height:44px;min-width:44px}.test-application{border:2px solid #d6b568;border-radius:18px;background:#fff7dd;padding:14px;margin:12px 0}.test-application h3{margin:0;color:#234f33}.test-application button{margin-right:8px}.test-card textarea{width:100%;box-sizing:border-box;min-height:70px;font:16px sans-serif}.test-register-open{margin-top:10px}.test-card:has(.test-register-status){max-height:calc(100dvh - 32px);overflow:auto}

/* Portrait gets its own continuous tall artwork, not a cropped landscape camera. */
#falco-match-speelscherm .fc-map-home[data-portrait="true"] .fc-world{height:auto!important;aspect-ratio:1/3}
#falco-match-speelscherm .fc-map-home[data-portrait="true"] .fc-world-art{object-fit:contain;width:100%;height:100%}
#falco-match-speelscherm .fc-map-home[data-portrait="true"] .fc-route-node{width:54px;height:54px;border-radius:17px}
#falco-match-speelscherm .fc-map-home[data-portrait="true"] .fc-route-node.hard{width:62px;height:62px}
#falco-match-speelscherm .fc-map-home[data-portrait="true"] .fc-route-node strong{font-size:25px}
#falco-match-speelscherm .fc-map-home[data-portrait="true"] .fc-node-type{max-width:92px;font-size:11px;line-height:1.15}
#falco-match-speelscherm .fc-map-scroll{padding-bottom:env(safe-area-inset-bottom,0px)}
/* Portrait scenery keeps its complete width; grass continues below without side cropping. */
@media(orientation:portrait){
#falco-match-speelscherm[data-view="level"]{background-color:#143c2b;background-image:linear-gradient(transparent 60%,#143c2b),var(--stadium);background-size:100% calc(100vw / var(--fc-scene-ratio,1.5));background-position:center top;background-repeat:no-repeat}
#falco-match-speelscherm .fc-app:before{background-color:#143c2b;background-image:linear-gradient(#09291b18 55%,#143c2b),var(--stadium);background-size:100% calc(100vw / var(--fc-scene-ratio,1.5));background-position:center top;background-repeat:no-repeat}
}
.test-modal .test-card{max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain}.test-modal .test-card input,.test-modal .test-card select{font-size:16px;box-sizing:border-box;width:100%;min-height:44px;margin:8px 0}.test-modal .test-card button{margin:8px 0;width:100%}
