/* FOOTBALL MYSTERY V7.5 — user approved ivory/orange editorial direction. */
:root,[data-fm-theme="stadium"],[data-fm-theme="midnight"],[data-fm-theme="gold"]{
 --fm71-accent:#D94C13;--fm71-accent-strong:#BE4210;--fm71-rgb:217,76,19;
 --fm71-bg:#FAF6EF;--fm71-panel:#FFFFFF;--fm71-elevated:#F3E8DB;
 --fm71-border:rgba(76,48,25,.16);--fm71-ink:#21130B;
 --fm71-muted:#73665A;--fm71-text:#1F1713;
}
html{background:#FAF6EF!important;color-scheme:light!important;}
body{background:radial-gradient(circle at 97% 1%,#EDE0D1 0,transparent 30%),linear-gradient(160deg,#FFFCF8,#F6EFE5 90%)!important;color:#241C17!important;}
body::before{opacity:0!important;display:none!important;}
.shell{max-width:1380px!important;}
.premium-global-bar{background:rgba(255,251,245,.96)!important;border:1px solid #E8D8C9!important;box-shadow:0 10px 28px #52321712!important;}
.premium-global-brand{color:#1E1915!important;}
.premium-global-brand>svg,.premium-global-brand em{color:#D94C13!important;}
.premium-global-actions button{background:#FFF7ED!important;color:#26201A!important;border:1px solid #EBD9C9!important;}
.navbar.premium-navbar{background:rgba(255,251,244,.97)!important;border-color:#E7D8C9!important;box-shadow:0 -8px 28px #3624131d!important;}
.premium-navbar button{color:#6D6258!important;}
.premium-navbar button.active{color:#D64C19!important;text-shadow:none!important;}
.premium-navbar button.active::before{background:#D64C19!important;box-shadow:none!important;}
.premium-navbar button svg{color:inherit!important;}
#home .premium-home{background:radial-gradient(ellipse at 50% 3%,#FFF7E8,transparent 60%),linear-gradient(165deg,#FFFDF9,#F0E6D8)!important;border:1px solid #E9D6C0!important;box-shadow:0 20px 48px #54351b18!important;}
#home .premium-home::before{opacity:.06!important;filter:grayscale(1)!important;}
#home .premium-home::after{background:none!important;}
.premium-heading,.premium-heading *, .premium-username,.premium-topline,.premium-credit{color:#211913!important;}
.premium-sub-label,.premium-tile-sub{color:#756458!important;}
.premium-label,.premium-global-brand em{color:#D94C13!important;}
.premium-username,.premium-top-action,.premium-coinbox{background:#FFF9F1!important;border:1px solid #E8D5BE!important;color:#2A2119!important;}
.premium-avatar{background:linear-gradient(145deg,#F8C69F,#F6E4CE)!important;border-color:#E8945B!important;}
.premium-online{background:#E47527!important;}
.premium-two-tiles .premium-tile{background:linear-gradient(165deg,#FFFDF7,#F0E0CD)!important;border:1px solid #E9D6C1!important;box-shadow:0 10px 25px #5A371C11!important;}
.premium-tile-title,.premium-tile-title *{color:#2A1C14!important;}
.premium-tile-icon svg,.premium-ranking-icon svg{color:#D94C13!important;}
.fm71-home-stats,.premium-progress-strip,.premium-extras{background:#FFFBF6!important;border:1px solid #E8D7C5!important;}
.fm71-home-stats-top strong,.fm71-home-stats-bottom,.fm71-home-stats-bottom button{color:#3E3027!important;}
.fm71-progress-track{background:#E6D5C3!important;}
.fm71-progress-fill{background:linear-gradient(90deg,#F09A47,#C95118)!important;}
.view:not(#home) h1,.view:not(#home) h2{color:#241913!important;}
.view:not(#home) .v61-page-hero,.view:not(#home) .v61-config-hero,
.view:not(#home) .v57-panel,.view:not(#home) .profile-panel,
.view:not(#home) .v54-stack>*,.view:not(#home) .stat-levels,
.profile-metrics>div,.profile-hero,.v54-wallet,.v54-product{
 background:linear-gradient(160deg,#FFFDF9,#F6EEE4)!important;
 border:1px solid #E7D7C8!important;
 color:#29211D!important;
}
.view:not(#home) .pill,.view:not(#home) .v61-tag{
 background:#FFF4E8!important;border-color:#EFCAB0!important;color:#C34B16!important;}
.view:not(#home) .primary,.view:not(#home) .v61-play,.view:not(#home) button.primary{
 background:linear-gradient(120deg,#EB7A33,#CF4D16)!important;color:#FFFCF8!important;border-color:#C95119!important;box-shadow:0 8px 18px #DB64221e!important;}
.v61-setup-panel,.v61-stage-section,.v59-level-board,.stat-card,.v54-stack,.v54-wallet{
 background:#FFFBF6!important;border-color:#E7D5C2!important;color:#332821!important;}
.v61-setup-panel h2,.v61-stage-section h2,.v61-selector-group h3,.v61-select,
.v61-fine,.v61-config-hero p,.v61-select select,.v61-select input{color:#332821!important;}
.v61-stage,.league-select,.v61-difficulty,.leveltile{
 background:linear-gradient(160deg,#FFFDF8,#F0E5D8)!important;border-color:#DEBFA5!important;color:#2B211B!important;}
.v61-stage.active,.v61-stage.is-selected,.v61-difficulty.active,.leveltile.won{background:#F8D7B8!important;border-color:#DF793A!important;color:#29190F!important;}
.v61-stage strong,.v61-stage small,.v61-difficulty strong{color:inherit!important;}
#shop .fm71-shop-hero{background:linear-gradient(135deg,#FFF9EE,#F1DFCB)!important;border-color:#E4C7AC!important;}
#shop .fm71-shop-hero h2,#shop .fm71-shop-hero p,#shop .fm71-shop-heading{color:#332219!important;}
.fm71-pack,.fm71-single,.fm71-inventory,.fm71-shop-account{background:#FFFDF8!important;color:#2D2119!important;border-color:#E7D0BC!important;}
.fm71-pack h3,.fm71-single-info strong{color:#2D2119!important;}
.fm71-pack-content,.fm71-single-info small,.fm71-stock-chip{color:#725D50!important;}
.fm71-purchase,.fm71-single-buy,.fm71-shop-earn{background:#D9581C!important;color:#FFF9F0!important;}
.fm71-shop-hero::after{opacity:.08!important;}
#profile,#ranking,#shop,#modeSetup,#levels,#game,#results{color:#34271E;}
#game .search-section,#game .v59-search-card{background:#FFFCF8!important;border-color:#E6D1BC!important;color:#2C2118!important;}
#game .v59-arena,#game .v59-player-card{background-color:#15362F!important;color:#FFF9ED!important;}
#game .v59-arena h1,#game .v59-arena p,#game .v59-arena span{color:#FFF9ED;}
#game label,#game .v59-search-heading,#game .v59-search-heading *{color:#3B2D21!important;}
#game input,#game select{background:#FFFFFF!important;color:#261B15!important;border-color:#DFC8B2!important;}
#profile input,#profile select,#profile textarea,#modeSetup input,#modeSetup select{background:#FFFFFF!important;color:#2D2119!important;}
/* Screen-wide editorial mode selection: 1:1 composition inspired by the approved mock-up */
body.fm75-gallery-active{
 background:radial-gradient(circle at 97% 4%,#F2E4D4 0,transparent 34%),radial-gradient(circle at 4% 88%,#FFFDF9 0,transparent 65%),#FAF6EF!important;
}
body.fm75-gallery-active .shell{max-width:1480px!important;padding:0 clamp(14px,2.45vw,37px) 45px!important;}
body.fm75-gallery-active .premium-global-bar,body.fm75-gallery-active .navbar.premium-navbar{display:none!important;}
body.fm75-gallery-active #modeSelect.v61-view{max-width:none!important;width:100%;margin:0!important;padding:22px 0 65px!important;}
body.fm75-gallery-active #modeSelect .v61-breadcrumb{margin:0 0 29px!important;display:flex;align-items:center!important;flex-direction:row!important;justify-content:space-between!important;gap:20px;}
body.fm75-gallery-active #modeSelect .v61-breadcrumb .quiet{
 display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 23px!important;
 background:rgba(255,251,245,.68)!important;border:1px solid #D8CCBE!important;
 box-shadow:none!important;border-radius:999px!important;color:#131110!important;
 font-size:15px;font-family:system-ui,-apple-system,sans-serif;font-weight:550;
}
body.fm75-gallery-active #modeSelect .v61-tag{align-self:auto!important;background:transparent!important;border:1px solid #D75719!important;color:#CB4C19!important;padding:10px 23px!important;font-size:12px!important;letter-spacing:.1em!important;}
body.fm75-gallery-active #modeSelect .v61-page-hero{
 display:flex;position:relative;align-items:flex-start;justify-content:space-between;
 min-height:177px;overflow:visible!important;padding:0 6px 15px!important;margin:0 0 13px!important;
 background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;
}
body.fm75-gallery-active #modeSelect .v61-page-hero::before{content:'';position:absolute;top:-20px;right:-10px;bottom:auto;left:auto;width:min(310px,30vw);height:320px;border-radius:0;
 background-image:url('./assets/mode-gallery/hero-ball.png');background-position:top right;background-size:contain;background-repeat:no-repeat;opacity:.96;z-index:0;pointer-events:none;}
body.fm75-gallery-active #modeSelect .v61-page-hero::after{display:none!important;}
body.fm75-gallery-active #modeSelect .v75-hero-copy{z-index:1;position:relative;max-width:980px;}
body.fm75-gallery-active #modeSelect .v61-kicker{
 display:block;color:#D94D14!important;font:800 12px/1.5 system-ui,sans-serif!important;letter-spacing:.36em!important;margin:3px 0 9px!important;
}
body.fm75-gallery-active #modeSelect .v61-page-hero h1{
 display:flex;flex-wrap:wrap;align-items:baseline;column-gap:.19em;
 font-family:Georgia,'Times New Roman',serif!important;font-weight:700!important;
 color:#0C0D0D!important;letter-spacing:-.06em!important;
 font-size:clamp(42px,5.45vw,84px)!important;line-height:1.08!important;
 max-width:1070px!important;margin:0 0 9px!important;
}
body.fm75-gallery-active #modeSelect .v61-page-hero h1 span{color:#0C0D0D!important;}
body.fm75-gallery-active #modeSelect .v61-page-hero h1 em{font-weight:500!important;font-style:italic!important;color:#D54B13!important;white-space:normal;}
body.fm75-gallery-active #modeSelect .v61-page-hero p{
 color:#666460!important;font:400 clamp(13px,1.5vw,19px)/1.5 system-ui,sans-serif!important;max-width:760px;margin:0!important;
}
body.fm75-gallery-active #modeSelect .v75-mode-count{
 z-index:1;flex-shrink:0;width:101px;height:101px;margin:12px min(12.5vw,170px) 0 14px;
 border:1.5px solid #333E44;border-radius:50%;background:#FFFDF6A6;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#101214;box-shadow:0 10px 24px #50331912;
}
body.fm75-gallery-active #modeSelect .v75-mode-count strong{font:500 35px/.95 Georgia,serif;}
body.fm75-gallery-active #modeSelect .v75-mode-count span{font:400 15px/1.2 system-ui,sans-serif;}
body.fm75-gallery-active #modeSelect .v61-mode-grid-all{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:12px!important;align-items:stretch;
}
body.fm75-gallery-active #modeSelect .v75-photo-card{
 position:relative;display:block!important;min-width:0;min-height:0!important;aspect-ratio:0.83;
 background:#1F2727!important;border:0!important;border-radius:22px!important;
 isolation:isolate;padding:0!important;overflow:hidden;box-shadow:0 9px 28px #422b1a1c!important;
 transform:translateZ(0);transition:transform .2s ease,box-shadow .2s ease!important;
}
body.fm75-gallery-active #modeSelect .v75-photo-card:hover,body.fm75-gallery-active #modeSelect .v75-photo-card:focus-visible{
 transform:translateY(-5px) scale(1.008)!important;box-shadow:0 16px 33px #3e281e35!important;
 outline:3px solid #DE6C30!important;outline-offset:3px;
}
body.fm75-gallery-active #modeSelect .v75-photo-card .v74-card-media{
 display:flex;position:absolute;inset:0;width:100%;height:100%;padding:0!important;min-height:0!important;
 border-radius:inherit;background-image:var(--v75-photo)!important;background-size:cover!important;background-position:center 29%!important;
 background-repeat:no-repeat!important;isolation:isolate;
}
body.fm75-gallery-active #modeSelect .v75-photo-card .v74-card-media::before{
 content:'';position:absolute;inset:0;background-image:none!important;
 background:linear-gradient(180deg,transparent 36%,rgba(0,0,0,.035) 44%,rgba(3,10,9,.65) 70%,#050E0D 100%)!important;
 opacity:1!important;z-index:0!important;pointer-events:none;
}
body.fm75-gallery-active #modeSelect .v75-photo-card .v74-card-media::after{display:none!important;}
body.fm75-gallery-active #modeSelect .v75-photo-card .v74-card-badge,
body.fm75-gallery-active #modeSelect .v75-photo-card .v74-card-index,
body.fm75-gallery-active #modeSelect .v75-photo-card .v74-card-icon,
body.fm75-gallery-active #modeSelect .v75-photo-card .v74-card-footer{display:none!important;}
body.fm75-gallery-active #modeSelect .v75-photo-card .v74-card-caption{
 z-index:2;display:flex;position:absolute;inset:auto 0 0 0;
 padding:48px 54px 23px 18px!important;flex-direction:column;gap:5px!important;
 background:transparent!important;margin:0!important;text-shadow:0 1px 5px #0007;
}
body.fm75-gallery-active #modeSelect .v75-photo-card .v74-card-caption strong{
 font:700 clamp(17px,1.95vw,28px)/1.04 Georgia,'Times New Roman',serif!important;
 color:#FFFDFB!important;letter-spacing:-.035em!important;text-wrap:balance;
}
body.fm75-gallery-active #modeSelect .v75-photo-card .v74-card-caption small{
 font:400 clamp(11px,1vw,14px)/1.34 system-ui,sans-serif!important;
 color:#FAFAF9!important;text-shadow:0 1px 4px #0009;max-width:100%;
}
body.fm75-gallery-active #modeSelect .v75-photo-card::after{
 position:absolute;z-index:3;content:'›';display:grid;place-items:center;bottom:19px;right:15px;
 width:39px;height:39px;background:#FFF9F2;border:1px solid #F0E7DC;color:#D75116;
 font:600 28px/1 Georgia,serif;border-radius:50%;pointer-events:none;box-shadow:0 4px 9px #0003;
}
body.fm75-gallery-active #modeSelect .v75-photo-card[data-mode='playerstats']{grid-column:span 2;aspect-ratio:1.70;}
@media(max-width:1100px){
 body.fm75-gallery-active #modeSelect .v61-mode-grid-all{gap:10px!important;}
 body.fm75-gallery-active #modeSelect .v75-photo-card{aspect-ratio:.69;}
 body.fm75-gallery-active #modeSelect .v75-photo-card .v74-card-caption{padding:42px 44px 17px 12px!important;}
 body.fm75-gallery-active #modeSelect .v75-photo-card::after{bottom:14px;right:10px;width:31px;height:31px;font-size:24px;}
 body.fm75-gallery-active #modeSelect .v75-mode-count{margin-right:clamp(70px,8vw,110px);}
}
@media(max-width:750px){
 body.fm75-gallery-active #modeSelect .v61-mode-grid-all{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important;}
 body.fm75-gallery-active #modeSelect .v75-photo-card{aspect-ratio:.76;}
 body.fm75-gallery-active #modeSelect .v75-photo-card .v74-card-caption strong{font-size:clamp(16px,3.9vw,23px)!important;}
 body.fm75-gallery-active #modeSelect .v61-page-hero{min-height:205px!important;}
 body.fm75-gallery-active #modeSelect .v75-mode-count{width:74px;height:74px;margin:25px 3vw 0 0;}
 body.fm75-gallery-active #modeSelect .v75-mode-count strong{font-size:27px;}
 body.fm75-gallery-active #modeSelect .v75-mode-count span{font-size:12px;}
 body.fm75-gallery-active #modeSelect .v61-page-hero::before{width:180px;height:210px;right:-10px;}
}
@media(max-width:420px){
 body.fm75-gallery-active #modeSelect .v61-breadcrumb{margin-bottom:19px!important;}
 body.fm75-gallery-active #modeSelect .v61-tag{font-size:9px!important;padding:9px 12px!important;}
 body.fm75-gallery-active #modeSelect .v61-breadcrumb .quiet{padding:9px 14px!important;font-size:12px!important;min-height:40px;}
 body.fm75-gallery-active #modeSelect .v61-page-hero{min-height:215px!important;}
 body.fm75-gallery-active #modeSelect .v61-page-hero h1{font-size:clamp(39px,11vw,49px)!important;display:block!important;}
 body.fm75-gallery-active #modeSelect .v61-page-hero h1 span{display:block;}
 body.fm75-gallery-active #modeSelect .v61-page-hero h1 em{display:block;line-height:.94;}
 body.fm75-gallery-active #modeSelect .v61-page-hero p{font-size:12px!important;max-width:290px;}
 body.fm75-gallery-active #modeSelect .v61-kicker{font-size:9px!important;}
 body.fm75-gallery-active #modeSelect .v75-mode-count{width:52px;height:52px;margin:18px 0 0 -10px;}
 body.fm75-gallery-active #modeSelect .v75-mode-count strong{font-size:20px;}
 body.fm75-gallery-active #modeSelect .v75-mode-count span{font-size:10px;}
 body.fm75-gallery-active #modeSelect .v61-mode-grid-all{gap:8px!important;}
 body.fm75-gallery-active #modeSelect .v75-photo-card{aspect-ratio:.72;border-radius:14px!important;}
 body.fm75-gallery-active #modeSelect .v75-photo-card .v74-card-caption{padding:25px 31px 11px 10px!important;}
 body.fm75-gallery-active #modeSelect .v75-photo-card .v74-card-caption strong{font-size:16px!important;}
 body.fm75-gallery-active #modeSelect .v75-photo-card .v74-card-caption small{font-size:10px!important;}
 body.fm75-gallery-active #modeSelect .v75-photo-card::after{bottom:10px;right:7px;width:23px;height:23px;font-size:19px;}
}
@media(prefers-reduced-motion:reduce){body.fm75-gallery-active #modeSelect .v75-photo-card{transition:none!important;}}
