:root{--eflc-red:#ef4444;--eflc-dark:#090a0d;--eflc-card:#101217;--eflc-line:#292d35;--eflc-muted:#858d9a;--eflc-green:#62d492;--eflc-gold:#e4bd69}
.eflcard-showcase{margin:0 0 18px;padding:18px;border:1px solid #262a31;border-radius:20px;background:linear-gradient(145deg,#0d0f13,#090a0d);color:#fff}.eflcard-showcase.is-player-hub{margin-top:16px;margin-bottom:20px}.eflcard-showcase-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}.eflcard-showcase-head small{display:block;color:#ff6762;font-size:9px;font-weight:950;letter-spacing:.11em}.eflcard-showcase-head h2{margin:3px 0 4px;color:#fff;font-size:23px}.eflcard-showcase-head p{margin:0;color:#8e96a3;font-size:11px}.eflcard-showcase-head>a{flex:0 0 auto;padding:9px 11px;border:1px solid #30343c;border-radius:10px;color:#d8dce2;font-size:9px;font-weight:900}.eflcard-showcase-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.eflcard-showcase-grid>:only-child{grid-column:span 2}.eflcard-card-link{display:block;color:inherit;text-decoration:none!important}.eflcard-card{position:relative;isolation:isolate;overflow:hidden;min-height:390px;padding:18px;border:1px solid #343943;border-radius:24px;background:radial-gradient(circle at 88% 18%,rgba(239,68,68,.24),transparent 27%),linear-gradient(145deg,#151820,#090a0d 70%);box-shadow:0 22px 70px rgba(0,0,0,.3);color:#fff}.eflcard-card:after{content:"";position:absolute;z-index:-2;left:-20%;right:-20%;bottom:-55%;height:76%;border-radius:50%;background:linear-gradient(90deg,rgba(239,68,68,.22),rgba(255,255,255,.02),rgba(239,68,68,.08));transform:rotate(-6deg)}.eflcard-card.is-2v2{background:radial-gradient(circle at 88% 18%,rgba(239,68,68,.25),transparent 27%),radial-gradient(circle at 20% 80%,rgba(121,72,255,.12),transparent 32%),linear-gradient(145deg,#151820,#090a0d 70%)}.eflcard-glow{position:absolute;z-index:-1;width:260px;height:260px;right:-100px;top:-100px;border:1px solid rgba(239,68,68,.2);border-radius:50%}.eflcard-bg-mark{position:absolute;z-index:-2;right:-12px;bottom:-37px;color:rgba(255,255,255,.018);font-size:170px;font-weight:1000;letter-spacing:-.09em}.eflcard-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.eflcard-brand{display:flex;align-items:center;gap:9px}.eflcard-brand img{width:46px;height:46px;object-fit:contain}.eflcard-brand small,.eflcard-brand b{display:block}.eflcard-brand small{color:#858d99;font-size:8px;font-weight:950;letter-spacing:.15em}.eflcard-brand b{font-size:11px}.eflcard-id{padding:6px 9px;border:1px solid #30353d;border-radius:999px;color:#8e96a2;font-size:9px;font-weight:900}.eflcard-main{display:grid;grid-template-columns:112px minmax(0,1fr) 122px;gap:18px;align-items:center;margin:28px 0 24px}.eflcard-logo{display:grid;place-items:center;width:112px;height:112px;border:1px solid #343a44;border-radius:25px;background:rgba(255,255,255,.035);overflow:hidden}.eflcard-logo img{width:100%;height:100%;object-fit:contain;padding:2px}.eflcard-logo>span{font-size:18px;font-weight:1000;color:#69717e}.eflcard-copy{min-width:0}.eflcard-copy>small{display:block;color:#ff6964;font-size:8px;font-weight:950;letter-spacing:.12em}.eflcard-copy h3{margin:4px 0 3px;color:#fff;font-size:clamp(23px,3vw,38px);line-height:1;letter-spacing:-.035em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.eflcard-copy p{margin:0;color:#9aa1ac;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.eflcard-form-row{margin-top:11px}.eflcard-form{display:flex;gap:5px}.eflcard-form i{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;font-size:9px;font-style:normal;font-weight:1000}.eflcard-form i.is-w{border:1px solid rgba(77,197,117,.38);background:rgba(77,197,117,.14);color:#8de2a8}.eflcard-form i.is-r{border:1px solid rgba(224,183,87,.34);background:rgba(224,183,87,.12);color:#e5c77e}.eflcard-form i.is-p{border:1px solid rgba(239,68,68,.37);background:rgba(239,68,68,.13);color:#ff8985}.eflcard-form-empty{color:#656d79;font-size:9px}.eflcard-rating{text-align:right}.eflcard-rating>span{display:block;color:#ff706b;font-size:8px;font-weight:950;letter-spacing:.12em}.eflcard-rating>strong{display:block;margin:-2px 0 -3px;font-size:58px;line-height:1;font-weight:1000;letter-spacing:-.07em}.eflcard-rating>div{display:flex;align-items:center;justify-content:flex-end;gap:6px}.eflcard-rating>div>b{font-size:13px}.eflcard-rank-change{font-size:8px;font-weight:950}.eflcard-rank-change.is-up{color:#79dda0}.eflcard-rank-change.is-down{color:#ff817d}.eflcard-rank-change.is-flat{color:#6f7783}.eflcard-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;padding-top:16px;border-top:1px solid rgba(255,255,255,.08)}.eflcard-stats>div{min-width:0;padding:10px;border:1px solid #292e36;border-radius:12px;background:rgba(255,255,255,.018)}.eflcard-stats small,.eflcard-stats strong{display:block}.eflcard-stats small{color:#737c88;font-size:7px;font-weight:950;letter-spacing:.1em}.eflcard-stats strong{margin-top:2px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.eflcard-stats em{color:#727b87;font-size:8px;font-style:normal}.eflcard-card footer{display:flex;justify-content:space-between;gap:10px;margin-top:13px;color:#737b87;font-size:8px}.eflcard-card footer b{color:#d2d6dc;letter-spacing:.05em}.eflcard-card.is-compact{min-height:315px;padding:15px;border-radius:18px}.eflcard-card.is-compact .eflcard-brand img{width:36px;height:36px}.eflcard-card.is-compact .eflcard-main{grid-template-columns:86px minmax(0,1fr) 90px;gap:12px;margin:20px 0}.eflcard-card.is-compact .eflcard-logo{width:86px;height:86px;border-radius:20px}.eflcard-card.is-compact .eflcard-copy h3{font-size:25px}.eflcard-card.is-compact .eflcard-rating>strong{font-size:44px}.eflcard-card.is-compact .eflcard-stats>div{padding:8px}.eflcard-wrapped-slot{min-width:0}.eflcard-page{min-height:70vh;padding:30px 15px 60px;background:#050506}.eflcard-page-inner{width:min(1180px,100%);margin:0 auto}.eflcard-page-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:18px;color:#fff}.eflcard-page-head small{color:#ff6863;font-size:9px;font-weight:950;letter-spacing:.12em}.eflcard-page-head h1{margin:3px 0 4px;color:#fff;font-size:34px}.eflcard-page-head p{margin:0;color:#8c949f;font-size:11px}.eflcard-page-actions{display:flex;gap:8px}.eflcard-page-actions a{padding:10px 12px;border:1px solid #30353d;border-radius:10px;color:#d8dce2;font-size:9px;font-weight:900}.eflcard-page-stage{max-width:880px;margin:0 auto}.eflcard-page-stage .eflcard-card{min-height:480px}.eflcard-page-wrapped{margin-top:20px}.eflcard-empty{padding:16px;border:1px dashed #343943;border-radius:14px;color:#8e96a2}
@media(max-width:850px){.eflcard-showcase-grid{grid-template-columns:1fr}.eflcard-showcase-grid>:only-child{grid-column:auto}.eflcard-main{grid-template-columns:90px minmax(0,1fr) 88px;gap:10px}.eflcard-logo{width:90px;height:90px;border-radius:20px}.eflcard-rating>strong{font-size:44px}.eflcard-stats{grid-template-columns:1fr 1fr}.eflcard-page-head{align-items:flex-start;flex-direction:column}.eflcard-page-actions{width:100%}.eflcard-page-actions a{flex:1;text-align:center}}
@media(max-width:560px){.eflcard-showcase{padding:12px;border-radius:16px}.eflcard-showcase-head{flex-direction:row;align-items:flex-start}.eflcard-showcase-head h2{font-size:19px}.eflcard-showcase-head>a{width:auto;text-align:center;margin-left:auto}.eflcard-card,.eflcard-card.is-compact{min-height:0;padding:12px;border-radius:16px}.eflcard-head{align-items:flex-start}.eflcard-brand img,.eflcard-card.is-compact .eflcard-brand img{width:34px;height:34px}.eflcard-main,.eflcard-card.is-compact .eflcard-main{grid-template-columns:66px minmax(0,1fr) 70px;gap:8px;margin:16px 0}.eflcard-logo,.eflcard-card.is-compact .eflcard-logo{width:66px;height:66px;border-radius:15px}.eflcard-copy h3,.eflcard-card.is-compact .eflcard-copy h3{font-size:18px}.eflcard-copy p{font-size:8px}.eflcard-rating>strong,.eflcard-card.is-compact .eflcard-rating>strong{font-size:34px}.eflcard-form i{width:20px;height:20px;font-size:8px}.eflcard-stats{gap:5px;padding-top:11px}.eflcard-stats>div,.eflcard-card.is-compact .eflcard-stats>div{padding:7px}.eflcard-stats strong{font-size:11px}.eflcard-page{padding:16px 8px 40px}.eflcard-page-head h1{font-size:26px}.eflcard-page-stage .eflcard-card{min-height:0}}

/* v1.1 — EFL Showcase: player profile + entity architecture */
.eflcard-user-card{background:radial-gradient(circle at 84% 16%,rgba(239,68,68,.24),transparent 28%),radial-gradient(circle at 12% 90%,rgba(65,105,225,.10),transparent 30%),linear-gradient(145deg,#151820,#090a0d 70%)}
.eflcard-logo.is-avatar img{object-fit:cover;padding:0;width:100%;height:100%}
.eflcard-mode-pills{display:flex;gap:5px;flex-wrap:wrap;margin-top:11px}.eflcard-mode-pills span{padding:5px 8px;border:1px solid #313641;border-radius:999px;background:rgba(255,255,255,.025);color:#d8dce3;font-size:8px;font-weight:950;letter-spacing:.08em}
.eflcard-best-mode{color:#7f8792;font-size:8px;font-weight:950;letter-spacing:.08em}
.eflcard-wrapped-slot.is-coming{display:flex;min-height:315px;flex-direction:column;justify-content:center;align-items:flex-start;padding:24px;border:1px dashed #363b45;border-radius:18px;background:radial-gradient(circle at 90% 10%,rgba(239,68,68,.10),transparent 30%),#0b0d10;color:#fff}.eflcard-wrapped-slot.is-coming small{color:#ff6863;font-size:8px;font-weight:950;letter-spacing:.14em}.eflcard-wrapped-slot.is-coming strong{margin-top:7px;font-size:20px}.eflcard-wrapped-slot.is-coming p{max-width:420px;margin:7px 0 14px;color:#858d99;font-size:10px;line-height:1.55}.eflcard-wrapped-slot.is-coming span{padding:6px 9px;border:1px solid rgba(239,68,68,.3);border-radius:999px;color:#ff7b76;font-size:8px;font-weight:950}
.eflcard-page-actions button{appearance:none;cursor:pointer;padding:10px 12px;border:1px solid #30353d;border-radius:10px;background:#15181e;color:#d8dce2;font:inherit;font-size:9px;font-weight:900}.eflcard-page-actions button:hover{border-color:rgba(239,68,68,.55);color:#fff}
.eflcard-profile-modes{margin-top:20px;padding:18px;border:1px solid #262a31;border-radius:18px;background:linear-gradient(145deg,#0e1014,#090a0d);color:#fff}.eflcard-profile-mode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.eflcard-profile-mode-grid>a{display:flex;min-width:0;flex-direction:column;gap:4px;padding:14px;border:1px solid #2b3038;border-radius:13px;background:#0b0d11;color:#fff;text-decoration:none!important}.eflcard-profile-mode-grid>a:hover{border-color:rgba(239,68,68,.5)}.eflcard-profile-mode-grid span{color:#ff6f69;font-size:8px;font-weight:950;letter-spacing:.11em}.eflcard-profile-mode-grid b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.eflcard-profile-mode-grid em{color:#838b96;font-size:9px;font-style:normal}
.eflcard-wrapped-placeholder{position:relative;overflow:hidden;display:flex;min-height:160px;flex-direction:column;justify-content:center;padding:22px;border:1px dashed #343a44;border-radius:17px;background:radial-gradient(circle at 82% 10%,rgba(239,68,68,.13),transparent 30%),#0b0d10}.eflcard-wrapped-placeholder b{position:absolute;right:12px;bottom:-20px;color:rgba(255,255,255,.025);font-size:88px;letter-spacing:-.06em}.eflcard-wrapped-placeholder span{position:relative;color:#fff;font-size:15px;font-weight:900}.eflcard-wrapped-placeholder em{position:relative;margin-top:5px;color:#7f8792;font-size:10px;font-style:normal}
@media(max-width:850px){.eflcard-profile-mode-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.eflcard-profile-mode-grid{grid-template-columns:1fr}.eflcard-page-actions{flex-wrap:wrap}.eflcard-page-actions a,.eflcard-page-actions button{min-width:calc(50% - 4px);flex:1}.eflcard-wrapped-slot.is-coming{min-height:180px}.eflcard-mode-pills span{font-size:7px;padding:4px 6px}}

/* v1.2 — collectible EFL Card + share/download polish */
.eflcard-card{position:relative;isolation:isolate;box-shadow:0 26px 70px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.025)}
.eflcard-card:before{content:"";position:absolute;z-index:-1;inset:0;border-radius:inherit;padding:1px;background:linear-gradient(135deg,rgba(255,255,255,.15),rgba(239,68,68,.45) 38%,rgba(255,255,255,.03) 64%);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
.eflcard-card:after{content:"";position:absolute;z-index:-2;right:-80px;top:84px;width:250px;height:48px;transform:rotate(-31deg);background:linear-gradient(90deg,transparent,rgba(239,68,68,.13),transparent);pointer-events:none}
.eflcard-head-badges{display:flex;align-items:center;gap:6px}.eflcard-top-badge{padding:6px 9px;border:1px solid rgba(255,92,86,.58);border-radius:999px;background:rgba(239,68,68,.14);color:#ff8a85;font-size:8px;font-weight:1000;letter-spacing:.1em;box-shadow:0 0 22px rgba(239,68,68,.12)}
.eflcard-collector-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:13px;padding:8px 10px;border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.06);background:linear-gradient(90deg,rgba(239,68,68,.08),rgba(255,255,255,.012),transparent)}
.eflcard-collector-bar span{color:#ff716c;font-size:7px;font-weight:1000;letter-spacing:.18em}.eflcard-collector-bar b{color:#8d95a1;font-size:8px;letter-spacing:.08em}
.eflcard-logo{box-shadow:0 14px 30px rgba(0,0,0,.28),inset 0 0 28px rgba(255,255,255,.025)}
.eflcard-copy h3{text-shadow:0 8px 22px rgba(0,0,0,.3)}
.eflcard-rating{position:relative;padding-left:8px}.eflcard-rating:before{content:"";position:absolute;left:-4px;top:3px;bottom:3px;width:1px;background:linear-gradient(transparent,rgba(239,68,68,.55),transparent)}
.eflcard-rating>strong{background:linear-gradient(180deg,#fff,#b8bec8 80%);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:none}
.eflcard-stats{grid-template-columns:repeat(5,1fr)}.eflcard-stats>div{position:relative;overflow:hidden}.eflcard-stats>div:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:linear-gradient(90deg,transparent,rgba(239,68,68,.52),transparent);opacity:.5}.eflcard-stats>div:nth-child(2){background:linear-gradient(145deg,rgba(239,68,68,.065),rgba(255,255,255,.012))}.eflcard-stats strong{font-variant-numeric:tabular-nums}
.eflcard-showcase-actions{display:flex;align-items:center;gap:7px}.eflcard-showcase-actions a,.eflcard-showcase-actions button{appearance:none;cursor:pointer;padding:9px 11px;border:1px solid #30353d;border-radius:10px;background:#12151a;color:#dce0e6;font:inherit;font-size:8px;font-weight:950;text-decoration:none!important}.eflcard-showcase-actions button{border-color:rgba(239,68,68,.38);color:#ff817c}.eflcard-showcase-actions a:hover,.eflcard-showcase-actions button:hover{border-color:rgba(239,68,68,.62);color:#fff}
.eflcard-download.is-working{opacity:.65;pointer-events:none}.eflcard-download.is-done{border-color:rgba(77,197,117,.45)!important;color:#8de2a8!important}
.eflcard-card.is-top10 .eflcard-rating>strong{background:linear-gradient(180deg,#fff3db,#ffb85c 85%);-webkit-background-clip:text;background-clip:text;color:transparent}.eflcard-card.is-top10:after{background:linear-gradient(90deg,transparent,rgba(255,178,72,.18),transparent)}
.eflcard-user-card .eflcard-collector-bar{background:linear-gradient(90deg,rgba(85,112,255,.08),rgba(239,68,68,.07),transparent)}
@media(max-width:850px){.eflcard-stats{grid-template-columns:repeat(2,1fr)}.eflcard-stats>div:last-child{grid-column:1/-1}.eflcard-showcase-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}}
@media(max-width:560px){.eflcard-collector-bar{margin-top:9px;padding:6px 8px}.eflcard-collector-bar span,.eflcard-collector-bar b{font-size:6px}.eflcard-head-badges{gap:4px}.eflcard-top-badge{padding:5px 7px;font-size:7px}.eflcard-showcase-actions{display:grid;grid-template-columns:1fr 1fr}.eflcard-showcase-actions a,.eflcard-showcase-actions button{width:100%;text-align:center}.eflcard-stats{grid-template-columns:1fr 1fr}.eflcard-stats>div:last-child{grid-column:1/-1}}


/* v1.3 — export presets + share sheet + stronger stat typography */
.eflcard-stats strong{display:flex;align-items:baseline;gap:4px;flex-wrap:wrap;line-height:1.08;font-size:18px;font-weight:1000;letter-spacing:-.03em;white-space:normal;overflow:visible;text-overflow:clip}
.eflcard-stats em{font-size:.72em;font-weight:900;letter-spacing:.06em}
.eflcard-stats > div:nth-child(4) strong{font-size:16px}
.eflcard-page-actions,.eflcard-showcase-actions{flex-wrap:wrap}
.eflcard-export-toggle{border-color:rgba(239,68,68,.45)!important;color:#ff8a84!important}
.eflcard-export-toggle:hover{border-color:rgba(239,68,68,.68)!important;color:#fff!important}
.eflcard-export-backdrop{position:fixed;inset:0;z-index:99998;background:rgba(3,5,8,.72);backdrop-filter:blur(6px)}
.eflcard-export-modal{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:99999;width:min(760px,calc(100vw - 22px));padding:18px;border:1px solid #2f343d;border-radius:20px;background:linear-gradient(145deg,#0f1217,#090a0d);box-shadow:0 35px 80px rgba(0,0,0,.55);color:#fff}
.eflcard-export-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.eflcard-export-head small{display:block;color:#ff6c67;font-size:9px;font-weight:950;letter-spacing:.12em}.eflcard-export-head h3{margin:3px 0 5px;font-size:24px;color:#fff}.eflcard-export-head p{margin:0;color:#8d96a2;font-size:11px}
.eflcard-export-close{appearance:none;cursor:pointer;width:38px;height:38px;border:1px solid #313740;border-radius:12px;background:#14171d;color:#d8dde3;font:inherit;font-size:20px;line-height:1}
.eflcard-export-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}
.eflcard-export-preset{appearance:none;cursor:pointer;text-align:left;padding:14px;border:1px solid #2f343c;border-radius:15px;background:#111419;color:#fff;font:inherit}.eflcard-export-preset b{display:block;font-size:14px}.eflcard-export-preset span{display:block;margin-top:4px;color:#8b94a0;font-size:10px}.eflcard-export-preset.is-active{border-color:rgba(239,68,68,.58);background:linear-gradient(145deg,rgba(239,68,68,.13),rgba(255,255,255,.02));box-shadow:0 0 0 1px rgba(239,68,68,.12) inset}
.eflcard-export-actions,.eflcard-export-links{display:flex;flex-wrap:wrap;gap:8px}
.eflcard-export-actions{margin-bottom:12px}.eflcard-export-actions button,.eflcard-export-links button,.eflcard-export-links a{appearance:none;cursor:pointer;padding:10px 12px;border:1px solid #313740;border-radius:12px;background:#14171d;color:#dce1e7;font:inherit;font-size:10px;font-weight:900;text-decoration:none!important}.eflcard-export-actions button:hover,.eflcard-export-links button:hover,.eflcard-export-links a:hover{border-color:rgba(239,68,68,.55);color:#fff}
.eflcard-export-actions .is-primary{border-color:rgba(239,68,68,.48);color:#ff8a84}
.eflcard-export-note{margin-top:10px;padding:10px 12px;border:1px dashed #323842;border-radius:14px;color:#89939f;font-size:10px;line-height:1.6}
@media(max-width:700px){.eflcard-export-grid{grid-template-columns:1fr}.eflcard-export-modal{padding:14px}.eflcard-export-head h3{font-size:20px}}
@media(max-width:560px){.eflcard-stats strong{font-size:13px}.eflcard-stats > div:nth-child(5) strong{font-size:12px}}

/* v1.4 — coherent career stats, clearer typography and export/share studio */
.eflcard-stats{grid-template-columns:1.55fr 1.08fr .68fr 1.2fr;gap:9px}
.eflcard-stats>div{display:flex;min-height:74px;flex-direction:column;justify-content:center;padding:11px 12px}
.eflcard-stats small{margin-bottom:7px;color:#818b98;font-size:7px;line-height:1.25;letter-spacing:.11em}
.eflcard-stats strong{display:flex;align-items:baseline;gap:4px;min-width:0;margin:0;color:#fff;font-size:19px;font-weight:1000;line-height:1.05;letter-spacing:-.035em;white-space:nowrap;overflow:visible;text-overflow:clip}
.eflcard-stats em{color:#8a94a1;font-size:.62em;font-weight:950;letter-spacing:.05em}
.eflcard-record{display:flex!important;align-items:center;gap:8px!important;min-width:0}
.eflcard-record>span{display:inline-flex;align-items:baseline;gap:2px;min-width:0}
.eflcard-record b{font-size:20px;line-height:1;font-weight:1000;font-variant-numeric:tabular-nums}
.eflcard-record em{font-size:9px!important;line-height:1}
.eflcard-record .is-w b,.eflcard-record .is-w em{color:#83dfa1}.eflcard-record .is-r b,.eflcard-record .is-r em{color:#e2c676}.eflcard-record .is-p b,.eflcard-record .is-p em{color:#ff8580}
.eflcard-modes-value{font-size:15px!important;line-height:1.15!important;letter-spacing:-.02em!important}.eflcard-na{color:#717b87}
.eflcard-user-card .eflcard-stats>div:first-child{background:linear-gradient(145deg,rgba(255,255,255,.025),rgba(77,197,117,.025))}
.eflcard-card:not(.eflcard-user-card) .eflcard-stats>div:first-child{background:linear-gradient(145deg,rgba(255,255,255,.025),rgba(77,197,117,.025))}

.eflcard-export-toggle{border-color:rgba(239,68,68,.48)!important;color:#ff8a84!important}
.eflcard-export-backdrop{position:fixed;inset:0;z-index:99998;background:rgba(2,4,7,.78);backdrop-filter:blur(7px)}
.eflcard-export-modal{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:99999;width:min(820px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow:auto;padding:20px;border:1px solid #303640;border-radius:22px;background:radial-gradient(circle at 90% 0,rgba(239,68,68,.13),transparent 28%),linear-gradient(145deg,#101319,#090b0e);box-shadow:0 35px 100px rgba(0,0,0,.65);color:#fff}
.eflcard-export-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.eflcard-export-head small{display:block;color:#ff6c67;font-size:9px;font-weight:950;letter-spacing:.13em}.eflcard-export-head h3{margin:4px 0 5px;color:#fff;font-size:25px}.eflcard-export-head p{margin:0;color:#8d96a2;font-size:11px;line-height:1.5}.eflcard-export-close{appearance:none;cursor:pointer;width:40px;height:40px;border:1px solid #323842;border-radius:12px;background:#15191f;color:#dce1e7;font:inherit;font-size:21px;line-height:1}
.eflcard-export-label{display:block;margin:14px 0 8px;color:#737d8a;font-size:8px;font-weight:950;letter-spacing:.12em}
.eflcard-export-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.eflcard-export-preset{appearance:none;cursor:pointer;text-align:left;padding:14px;border:1px solid #303640;border-radius:15px;background:#11151a;color:#fff;font:inherit}.eflcard-export-preset b{display:block;font-size:14px}.eflcard-export-preset span{display:block;margin-top:4px;color:#8d96a2;font-size:10px}.eflcard-export-preset.is-active{border-color:rgba(239,68,68,.62);background:linear-gradient(145deg,rgba(239,68,68,.14),rgba(255,255,255,.02));box-shadow:0 0 0 1px rgba(239,68,68,.1) inset}
.eflcard-export-actions,.eflcard-app-grid{display:flex;flex-wrap:wrap;gap:8px}.eflcard-export-actions button,.eflcard-app-grid button,.eflcard-link-grid a{appearance:none;cursor:pointer;padding:10px 12px;border:1px solid #303640;border-radius:12px;background:#14181e;color:#dce1e7;font:inherit;font-size:10px;font-weight:900;text-decoration:none!important}.eflcard-export-actions .is-primary{border-color:rgba(239,68,68,.52);color:#ff8d88}.eflcard-export-actions button:hover,.eflcard-app-grid button:hover,.eflcard-link-grid a:hover{border-color:rgba(239,68,68,.6);color:#fff}
.eflcard-app-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.eflcard-app-grid button{display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left}.eflcard-app-grid button span{color:#727c88;font-size:8px;font-weight:800}.eflcard-link-grid{display:flex;flex-wrap:wrap;gap:8px}.eflcard-export-note{margin-top:12px;padding:11px 13px;border:1px dashed #343b45;border-radius:14px;color:#89939f;font-size:10px;line-height:1.6}.eflcard-export-note b{color:#cfd5dd}
.eflcard-export-modal .is-working{opacity:.6;pointer-events:none}.eflcard-export-modal .is-done{border-color:rgba(77,197,117,.5)!important;color:#8de2a8!important}
html.eflcard-export-open{overflow:hidden}
@media(max-width:850px){.eflcard-stats{grid-template-columns:1.2fr 1fr}.eflcard-stats>div:last-child{grid-column:1/-1}.eflcard-app-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.eflcard-stats{grid-template-columns:1fr 1fr}.eflcard-stats>div{min-height:66px;padding:9px}.eflcard-stats small{font-size:6px}.eflcard-stats strong{font-size:14px}.eflcard-record{gap:5px!important}.eflcard-record b{font-size:15px}.eflcard-record em{font-size:7px!important}.eflcard-modes-value{font-size:12px!important}.eflcard-export-modal{padding:14px}.eflcard-export-head h3{font-size:20px}.eflcard-export-grid,.eflcard-app-grid{grid-template-columns:1fr}.eflcard-export-actions button{flex:1 1 calc(50% - 8px)}}


/* v1.4.1 — Polish Z/R/P alignment + stronger eFLeague branding */
.eflcard-form{align-items:center;flex-wrap:nowrap}.eflcard-form i{display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;height:24px;padding:0;line-height:1!important;text-align:center;font-variant-numeric:tabular-nums}
.eflcard-record{display:flex!important;align-items:baseline!important;justify-content:flex-start!important;width:100%;gap:5px!important}.eflcard-record>span{display:inline-grid!important;grid-template-columns:auto 8px;align-items:baseline;column-gap:2px;min-width:0}.eflcard-record b{display:block;min-width:0;text-align:left;font-size:18px!important;line-height:1!important;font-variant-numeric:tabular-nums}.eflcard-record em{display:block;width:8px;text-align:left;font-size:8px!important;line-height:1!important;font-weight:1000!important}
.eflcard-card footer{align-items:center;margin-top:15px;font-size:9px}.eflcard-card footer>span:first-child{color:#818b98;font-weight:700}.eflcard-footer-brand{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto}.eflcard-footer-brand img{display:block;width:24px;height:24px;object-fit:contain}.eflcard-footer-brand b{color:#fff!important;font-size:11px!important;font-weight:1000;letter-spacing:.02em!important}
.eflcard-card.is-compact .eflcard-footer-brand img{width:20px;height:20px}.eflcard-card.is-compact .eflcard-footer-brand b{font-size:10px!important}
@media(max-width:560px){.eflcard-record{gap:5px!important}.eflcard-record>span{grid-template-columns:auto 8px;column-gap:2px;min-width:38px}.eflcard-record b{min-width:20px;font-size:15px!important}.eflcard-record em{width:8px;font-size:7px!important}.eflcard-footer-brand{gap:4px}.eflcard-footer-brand img{width:20px;height:20px}.eflcard-footer-brand b{font-size:9px!important}}


/* v1.4.2 — clearer Power state, larger branding, profile actions */
.eflcard-brand img{width:62px;height:62px}.eflcard-card.is-compact .eflcard-brand img{width:50px;height:50px}.eflcard-brand{gap:12px}.eflcard-brand small{font-size:9px}.eflcard-brand b{font-size:12px}
.eflcard-footer-brand{gap:9px}.eflcard-footer-brand img{width:36px;height:36px}.eflcard-footer-brand b{font-size:14px!important}.eflcard-card.is-compact .eflcard-footer-brand img{width:30px;height:30px}.eflcard-card.is-compact .eflcard-footer-brand b{font-size:12px!important}
.eflcard-rank-label.is-status{display:inline-block;max-width:150px;color:#aeb5bf!important;font-size:9px!important;font-weight:900!important;line-height:1.15;text-align:right;text-transform:uppercase;letter-spacing:.04em;white-space:normal}
.eflcard-card.is-compact .eflcard-rank-label.is-status{max-width:105px;font-size:7px!important}
.eflcard-showcase-actions button.eflcard-direct-share{border-color:rgba(104,145,255,.38);color:#aebfff}.eflcard-showcase-actions button.eflcard-share{border-color:#30353d;color:#dce0e6}
@media(max-width:560px){.eflcard-brand img,.eflcard-card.is-compact .eflcard-brand img{width:40px;height:40px}.eflcard-footer-brand img,.eflcard-card.is-compact .eflcard-footer-brand img{width:26px;height:26px}.eflcard-footer-brand b,.eflcard-card.is-compact .eflcard-footer-brand b{font-size:10px!important}.eflcard-showcase-actions{grid-template-columns:1fr 1fr}.eflcard-rank-label.is-status{max-width:72px;font-size:6px!important}}


/* v1.4.3 — final Card polish */
.eflcard-stats strong{font-size:21px}.eflcard-card.is-compact .eflcard-stats strong{font-size:17px}.eflcard-stats>div:nth-child(4) strong{font-size:18px}.eflcard-card.is-compact .eflcard-stats>div:nth-child(4) strong{font-size:16px}
.eflcard-card footer>span:first-child{font-size:10px;line-height:1.35}.eflcard-footer-brand img{width:42px;height:42px}.eflcard-footer-brand b{font-size:15px!important}
@media(max-width:560px){.eflcard-stats strong{font-size:15px}.eflcard-stats>div:nth-child(4) strong{font-size:13px}.eflcard-footer-brand img{width:30px;height:30px}.eflcard-footer-brand b{font-size:11px!important}}


/* v1.4.5 — real mobile layout pass: no 3-column squeeze */
@media(max-width:700px){
  .eflcard-card,.eflcard-card.is-compact{padding:14px!important;border-radius:18px!important}
  .eflcard-main,.eflcard-card.is-compact .eflcard-main{
    display:grid!important;
    grid-template-columns:76px minmax(0,1fr)!important;
    grid-template-areas:"logo copy" "rating rating"!important;
    gap:10px 12px!important;
    align-items:center!important;
    margin:18px 0 16px!important;
  }
  .eflcard-logo,.eflcard-card.is-compact .eflcard-logo{grid-area:logo!important;width:76px!important;height:76px!important;border-radius:17px!important}
  .eflcard-copy{grid-area:copy!important;min-width:0!important}
  .eflcard-copy>small{font-size:7px!important;line-height:1.35!important;white-space:normal!important;overflow:visible!important}
  .eflcard-copy h3,.eflcard-card.is-compact .eflcard-copy h3{margin-top:5px!important;font-size:clamp(21px,6.8vw,30px)!important;line-height:1.02!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;word-break:normal!important}
  .eflcard-copy p{font-size:9px!important;line-height:1.4!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
  .eflcard-form-row{margin-top:9px!important}
  .eflcard-rating{
    grid-area:rating!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:auto auto!important;
    align-items:end!important;
    gap:2px 12px!important;
    min-width:0!important;
    padding:12px 0 0!important;
    border-top:1px solid rgba(255,255,255,.08)!important;
    text-align:left!important;
  }
  .eflcard-rating:before{display:none!important}
  .eflcard-rating>span{grid-column:1!important;grid-row:1!important;font-size:7px!important}
  .eflcard-rating>strong,.eflcard-card.is-compact .eflcard-rating>strong{grid-column:2!important;grid-row:1/3!important;align-self:center!important;margin:0!important;font-size:38px!important;line-height:.95!important;text-align:right!important}
  .eflcard-rating>div{grid-column:1!important;grid-row:2!important;justify-content:flex-start!important;min-width:0!important}
  .eflcard-rank-label.is-status{max-width:none!important;font-size:8px!important;text-align:left!important;white-space:normal!important}
  .eflcard-collector-bar{gap:8px!important}
  .eflcard-collector-bar b{max-width:60%;text-align:right;white-space:normal;line-height:1.25}
  .eflcard-stats{grid-template-columns:1fr 1fr!important;gap:8px!important}
  .eflcard-stats>div{min-height:72px!important;padding:10px!important}
  .eflcard-stats>div:last-child{grid-column:auto!important}
  .eflcard-stats small{font-size:7px!important}
  .eflcard-stats strong{font-size:16px!important}
  .eflcard-stats>div:nth-child(5) strong{font-size:15px!important}
  .eflcard-card footer{align-items:center!important;flex-wrap:wrap!important;row-gap:8px!important}
  .eflcard-card footer>span:first-child{min-width:0;flex:1 1 150px}
  .eflcard-footer-brand{margin-left:auto}
}
@media(max-width:420px){
  .eflcard-main,.eflcard-card.is-compact .eflcard-main{grid-template-columns:68px minmax(0,1fr)!important;gap:9px 10px!important}
  .eflcard-logo,.eflcard-card.is-compact .eflcard-logo{width:68px!important;height:68px!important}
  .eflcard-rating>strong,.eflcard-card.is-compact .eflcard-rating>strong{font-size:34px!important}
  .eflcard-stats strong{font-size:15px!important}
  .eflcard-collector-bar span,.eflcard-collector-bar b{font-size:7px!important}
}


/* v1.4.9 — Showcase actions belong to the Card column */
.eflcard-card-column{min-width:0;display:flex;flex-direction:column}.eflcard-card-column>.eflcard-showcase-actions{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px!important;margin-top:10px;width:100%}.eflcard-card-column>.eflcard-showcase-actions a,.eflcard-card-column>.eflcard-showcase-actions button{width:100%;min-height:38px;text-align:center;justify-content:center}
@media(max-width:1050px){.eflcard-card-column>.eflcard-showcase-actions{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.eflcard-card-column>.eflcard-showcase-actions{grid-template-columns:1fr 1fr;margin-top:8px}}

/* v1.4.10 / EFL Frontend 0.20.66 — Showcase shell parity + full-width card + scroll recovery
 * Card/Showcase uses the same 1600px shell and responsive edge gutters as the approved Home shell.
 * The export overlay no longer locks document scrolling; the modal itself remains fixed and scrollable.
 */
html.eflcard-export-open{overflow:auto!important}
.eflcard-page{padding:30px 0 60px}
.eflcard-page-inner{width:min(calc(100% - 48px),1600px);max-width:none;margin:0 auto}
.eflcard-page-stage{width:100%;max-width:none;margin:0}
.eflcard-page-stage>.eflcard-card,.eflcard-page-stage>.eflcard-card-link{width:100%;max-width:none}
@media(max-width:1320px){.eflcard-page-inner{width:min(calc(100% - 36px),1600px)}}
@media(max-width:760px){.eflcard-page{padding:18px 0 44px}.eflcard-page-inner{width:min(calc(100% - 28px),1600px)}}
@media(max-width:390px){.eflcard-page-inner{width:min(calc(100% - 20px),1600px)}}

/* v1.4.11 / EFL Frontend 0.20.69 — Showcase document scroll hard-fix
 * Export no longer owns document scrolling. Card/Showcase must always use the
 * browser document as its vertical scroll root. This also neutralizes stale
 * overflow/height locks left by theme/plugin/modal code on Chromium browsers.
 */
html{overflow-y:auto!important;height:auto!important;min-height:100%!important}
body.efl3-showcase-port{overflow-y:visible!important;height:auto!important;min-height:100vh!important;touch-action:auto!important;overscroll-behavior-y:auto!important}
body.efl3-showcase-port .efl3-app,body.efl3-showcase-port .efl3-main{height:auto!important;max-height:none!important;overflow:visible!important}
html.eflcard-export-open{overflow-y:auto!important;height:auto!important}


/* GATE 04E — controls OUTSIDE approved Card artwork only. Export frame/content unchanged. */
body.efl3-route :is(button.eflcard-export-toggle,button.eflcard-direct-share,button.eflcard-share){font-size:12px!important;min-height:44px;line-height:1.35}
body.efl3-route :is(button.eflcard-export-toggle,button.eflcard-direct-share,button.eflcard-share):focus-visible{outline:2px solid var(--ds3-accent-hover);outline-offset:2px}
