/* Inazuma Manager V1.85 — consolidated styles, source order preserved */


*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;width:100%;height:100%;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#15386b;background:#8bd5ff}button{font:inherit}.rotate{display:none;position:fixed;inset:0;z-index:999;background:linear-gradient(135deg,#169bf0,#0c64ca);color:#fff;align-items:center;justify-content:center;text-align:center}.rotate b{font-size:65px}.app{height:100dvh;display:flex;flex-direction:column;background:linear-gradient(145deg,#3fb7ff,#dff5ff 45%,#9edcff);position:relative}.app:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 60% 30%,#ffffff77,transparent 30%),linear-gradient(120deg,transparent 0 18%,#ffffff22 18% 20%,transparent 20% 100%);pointer-events:none}
.top{height:58px;flex:none;display:flex;align-items:center;padding:6px 14px;gap:12px;z-index:5;background:linear-gradient(90deg,#0874d8dd,#2db3f1dd);box-shadow:0 3px 10px #064d8b66}.logo{font-size:22px;font-weight:950;color:#fff;line-height:.8;width:170px;text-shadow:0 2px 2px #0755a4}.logo i{color:#ffe13a;font-style:normal}.dock,.resource,.day{height:44px;border-radius:17px;background:#f8fcffdd;box-shadow:0 4px 10px #09579744;display:flex;align-items:center}.dock{padding:4px 13px;min-width:280px}.crest{width:35px;height:35px;border-radius:10px;background:#f7aa1e;display:grid;place-items:center;margin-right:8px}.dock small{font-size:8px;color:#8093a8}.dock b{display:block;font-size:14px;color:#173c71}.teamlv{margin-left:auto;color:#009c94;font-size:10px;font-weight:900}.teamlv strong{font-size:24px}.resource{padding:0 15px;background:#1769c8;color:#fff;font-weight:900;font-size:12px}.resource em{font-style:normal;color:#ffd83b;margin-right:6px}.day{margin-left:auto;padding:0 14px;background:#1959aa;color:white;font-size:10px;text-align:center}
.body{flex:1;min-height:0;display:flex;z-index:2;padding:9px 12px 7px;gap:10px}.sidebar{width:150px;display:flex;flex-direction:column;gap:7px;justify-content:center}.sidebtn{height:48px;border:0;border-radius:0 24px 24px 0;background:#eaf7ffdd;color:#164b8c;font-weight:900;text-align:left;padding-left:23px;box-shadow:0 4px 8px #0d559d3d;position:relative}.sidebtn.on{background:linear-gradient(90deg,#ff9d13,#ffd42d);color:#173764;transform:scale(1.05);box-shadow:0 0 13px #ffe56b}.sidebtn .ico{font-size:17px;margin-right:8px}.main{flex:1;min-width:0;display:flex;gap:10px}.fieldPanel,.detailPanel{background:#f7fbffdd;border-radius:26px;box-shadow:0 6px 18px #07518c4d;border:3px solid #ffffffaa;overflow:hidden}.fieldPanel{width:53%;display:flex;flex-direction:column}.panelTitle{height:43px;background:linear-gradient(90deg,#117ce0,#255ac5);color:white;font-weight:950;font-size:19px;display:flex;align-items:center;padding:0 18px;border-radius:22px 22px 0 0}.panelTitle span{font-size:12px;margin-left:auto}.pitch{flex:1;position:relative;margin:0;background:linear-gradient(#5fca7d,#41b968);overflow:hidden}.pitch:before{content:"";position:absolute;inset:5%;border:2px solid #dfffe6}.pitch:after{content:"";position:absolute;width:82px;height:82px;border:2px solid #dfffe6;border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%)}.midline{position:absolute;left:5%;right:5%;top:50%;border-top:2px solid #dfffe6}
.card{position:absolute;transform:translate(-50%,-50%);width:78px;height:58px;border:0;border-radius:10px;padding:0;color:white;background:linear-gradient(145deg,var(--c1),var(--c2));box-shadow:0 4px 7px #12462c88;border:2px solid #ffffffbb;overflow:hidden;text-align:left;z-index:3}.card.sel{box-shadow:0 0 0 3px #14f4d0,0 0 14px #d9ff4a}.portrait{position:absolute;left:4px;bottom:13px;width:35px;height:35px;border-radius:8px;background:#ffffff40;display:grid;place-items:center;font-size:22px}.num{position:absolute;right:5px;top:2px;font-size:18px;font-weight:950}.lv{position:absolute;left:5px;top:3px;font-size:8px}.pos{position:absolute;right:5px;top:23px;border-radius:5px;background:#fff;color:#19406e;padding:1px 4px;font-size:8px;font-weight:950}.name{position:absolute;left:3px;right:3px;bottom:2px;background:#0d2e59dd;border-radius:4px;text-align:center;font-size:7px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.detailPanel{width:47%;display:flex;flex-direction:column;background:#f8fcff}.profile{height:120px;display:flex;align-items:center;padding:8px 14px;background:linear-gradient(120deg,#ffd64b,#ffb528);border-radius:22px 22px 0 0;position:relative;overflow:hidden}.profile:after{content:"";position:absolute;width:170px;height:170px;border-radius:50%;background:#fff3;right:-50px;top:-75px}.bigportrait{width:105px;height:105px;border-radius:24px;background:#fff5;display:grid;place-items:center;font-size:63px;margin-right:13px;border:3px solid #fff7;z-index:1}.profileText{z-index:1}.profile h2{margin:2px 0;font-size:25px;color:#17417a;background:#fffde8;padding:2px 12px;border-radius:9px}.profile small{font-size:10px;font-weight:850}.tags{display:flex;gap:5px;margin-top:4px}.tag{padding:3px 7px;border-radius:6px;background:#f39a12;color:#fff;font-size:9px;font-weight:950}.plevel{margin-left:auto;text-align:right;z-index:1;color:#fff}.plevel strong{font-size:42px;font-weight:500}.xp{font-size:8px}
.tabs{height:42px;display:flex;padding:5px 9px 0;gap:4px}.tab{flex:1;border:0;border-radius:12px 12px 0 0;background:#dce9f4;color:#23518a;font-weight:900;font-size:11px}.tab.on{background:#168ff0;color:white}.info{flex:1;min-height:0;padding:8px 12px;overflow:hidden}.stats{display:grid;grid-template-columns:1fr 1fr;gap:7px 15px}.stat{background:#edf6fb;border-radius:11px;padding:6px 8px;display:grid;grid-template-columns:48px 1fr 24px;align-items:center;gap:5px;font-size:9px;font-weight:800}.bar{height:7px;border-radius:10px;background:#d5e1e8;overflow:hidden}.bar i{display:block;height:100%;background:linear-gradient(90deg,#10c99f,#59d883)}.sect{font-size:10px;font-weight:950;margin:7px 0 4px}.techs{display:flex;gap:7px}.tech{flex:1;min-height:44px;border-radius:10px;background:linear-gradient(90deg,#f4a718,#f6d060);padding:6px 8px;color:white;font-size:8px;box-shadow:0 2px 5px #ba791844}.tech b{display:block;font-size:10px}.tech.fire{background:linear-gradient(100deg,#d4523f,#e75b43)}.tech.wind{background:linear-gradient(100deg,#4f9fd0,#65b3dc)}.tech.mountain{background:linear-gradient(100deg,#c76b27,#e79336)}.tech.wood{background:linear-gradient(100deg,#4f9138,#78c479)}.passive{border-radius:11px;background:linear-gradient(90deg,#bff4ee,#eafaf8);padding:7px 10px;font-size:8px;border-left:9px solid #13bca7}.passive b{display:block;color:#079a89;font-size:10px}
.commands{height:38px;flex:none;background:#0b4f9bd9;color:white;display:flex;align-items:center;justify-content:center;gap:32px;font-size:11px;font-weight:800;z-index:4}.key{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#fff;color:#153c75;margin-right:5px}
.homePage{flex:1;display:none}.homePage.active{display:flex}.homeHero{flex:1;border-radius:27px;background:linear-gradient(130deg,#f6fdffdd,#bcecffdd);box-shadow:0 6px 18px #07518c44;border:3px solid #fff8;position:relative;overflow:hidden;padding:30px}.homeHero:after{content:"⚡";position:absolute;font-size:230px;right:30px;bottom:-80px;color:#168ff01c;transform:rotate(-12deg)}.homeHero h1{font-size:35px;line-height:.95;margin:8px 0;color:#16477f}.homeHero p{width:52%;font-size:12px;color:#54718d}.play{margin-top:30px;border:0;border-radius:20px;background:linear-gradient(90deg,#ff9e13,#ffd12a);color:#173b70;font-weight:950;padding:12px 22px;box-shadow:0 5px 10px #b7772455}.homeSide{width:34%;display:flex;flex-direction:column;gap:8px}.widget{flex:1;border-radius:22px;background:#f8fcffdd;border:3px solid #fff8;box-shadow:0 5px 13px #07518c35;padding:13px}.widget b{font-size:18px}.widget small{color:#7890a8}
.placeholder{display:none;flex:1;align-items:center;justify-content:center;background:#f8fcffcc;border-radius:28px;color:#1761a9;font-weight:900;font-size:24px}
@media(orientation:portrait){.rotate{display:flex}.app{display:none}}
@media(max-height:420px){.top{height:50px}.body{padding-top:6px}.sidebtn{height:42px}.profile{height:105px}.bigportrait{width:88px;height:88px;font-size:52px}.commands{height:34px}}

/* ===== V0.6 — approved console visual direction ===== */
.app{
 background:
 linear-gradient(90deg,rgba(20,126,225,.08),transparent 35%),
 radial-gradient(circle at 77% 14%,rgba(255,255,255,.85),transparent 26%),
 linear-gradient(145deg,#62c8ff 0%,#e7f8ff 49%,#87d6ff 100%);
}
.top{height:50px;padding:4px 12px;background:linear-gradient(90deg,#0875dc,#25adee);border-bottom:1px solid #ffffff70;box-shadow:0 4px 13px #074b8850}
.logo{width:155px;font-size:19px;line-height:.85}.dock{height:40px;min-width:270px;border-radius:15px;background:#f8fcfff2}.dock b{font-size:15px}.resource,.day{height:39px;border-radius:15px}.day{min-width:105px;justify-content:center}
.body{padding:7px 10px 7px;gap:8px}.sidebar{width:136px;gap:6px}.sidebtn{height:43px;border-radius:8px 22px 22px 8px;padding-left:15px;font-size:13px;background:#eff9ffed;border:1px solid #fff;box-shadow:0 4px 10px #0d57953d}.sidebtn.on{background:linear-gradient(100deg,#ff9c12,#ffdc3b);box-shadow:0 0 0 2px #fff,0 5px 14px #d9951750;transform:translateX(4px)}
.main{gap:8px}.fieldPanel,.detailPanel{border-radius:24px;border:2px solid #fff;box-shadow:0 8px 20px #07518c40}.fieldPanel{width:54%}.detailPanel{width:46%}
.panelTitle{height:40px;border-radius:21px 21px 0 0;background:linear-gradient(90deg,#117de3,#2159c5);font-size:18px;padding:0 16px}.panelTitle span{font-size:11px}
.pitch{background:linear-gradient(90deg,rgba(255,255,255,.045) 50%,transparent 50%) 0 0/110px 100%,linear-gradient(#61ce7f,#43b968)}
.pitch:before{inset:6% 7%;border:2px solid #eaffef}.pitch:after{width:66px;height:66px}.midline{left:7%;right:7%}
.card{width:66px;height:49px;border-radius:11px;border:2px solid #fff;box-shadow:0 5px 9px #123b2a70}.card.sel{transform:translate(-50%,-50%) scale(1.08);z-index:10;box-shadow:0 0 0 3px #13efd0,0 0 0 6px #fff,0 7px 14px #0a664d80}.portrait{width:30px;height:30px;border-radius:8px;font-size:18px}.num{font-size:16px}.name{font-size:6.4px}.pos{font-size:7px}
.profile{height:106px;border-radius:21px 21px 0 0;padding:7px 12px;background:linear-gradient(115deg,#ffd448,#ffac1e);box-shadow:inset 0 -1px 0 #d98912}.bigportrait{width:88px;height:88px;border-radius:23px;font-size:52px}.profile h2{font-size:21px;line-height:1;border-radius:10px;padding:3px 10px}.plevel strong{font-size:37px}.tabs{height:40px;padding:5px 8px 0;gap:6px}.tab{border-radius:13px 13px 7px 7px;font-size:11px;background:#dfeaf4;border:1px solid #cadce9}.tab.on{background:linear-gradient(#219cf0,#1487df);color:white;box-shadow:0 4px 9px #0c6ebf42}
.info{padding:8px 10px}.stats{gap:7px 10px}.stat{border-radius:13px;background:linear-gradient(#f7fbfd,#edf6fa);border:1px solid #e2edf3}.sect{font-size:11px}.tech{border-radius:13px;background:linear-gradient(100deg,#f5a719,#ffd65b);box-shadow:0 4px 9px #ad711b3c;padding:8px 10px}
.commands{display:none!important}


/* ===== V0.9 — MOCKUP MATCHING ===== */
.crest.raimonCrest{background:transparent!important;box-shadow:none!important;padding:1px}
.crest.raimonCrest img{width:100%;height:100%;object-fit:contain;display:block}
.portrait.officialPortrait{padding:0;overflow:hidden;background:linear-gradient(#e8f7ff,#b8e4ff)}
.portrait.officialPortrait img{width:100%;height:100%;object-fit:cover;object-position:50% 15%;display:block;transform:scale(1.12)}
.bigportrait{padding:0;overflow:hidden;background:linear-gradient(145deg,#fff6c9,#ffe38b)}
.bigportrait img{width:100%;height:100%;object-fit:contain;object-position:center bottom;display:block}

/* Player-name capsule now grows/shrinks with the actual name. */
.profileText{min-width:0;flex:1}
.profile h2{
 display:inline-flex!important;
 width:auto!important;
 max-width:100%!important;
 min-width:0!important;
 white-space:nowrap!important;
 overflow:visible!important;
 text-overflow:clip!important;
 padding:3px 12px!important;
 font-size:clamp(14px,1.55vw,21px)!important;
 border-radius:11px!important;
}


/* V0.10 */
.card:nth-child(2),.card:nth-child(5){background:linear-gradient(145deg,#149de5,#0873c8)!important}
.card:nth-child(3),.card:nth-child(4){background:linear-gradient(145deg,#9b55df,#6435b8)!important}
.card.sel{box-shadow:0 0 0 3px #13efd0,0 0 0 6px #fff,0 7px 14px #0a664d80!important}
.day{position:relative;padding-right:42px!important;min-width:132px!important}
.day::after{content:"☀";position:absolute;right:12px;top:50%;transform:translateY(-52%);font-size:25px;line-height:1;color:#ffd52b;text-shadow:0 2px 0 #a86e00,0 0 5px #fff3a8}

/* ===== V0.11 — ANIMATED SPIRIT-LIKE CARD AURAS ===== */
.card{
  --aura:#ffffff;
  isolation:isolate;
  overflow:visible;
  animation:spiritPulse 2.35s ease-in-out infinite;
}

/* Role-specific aura colors */
.card:nth-child(1){--aura:#ffd43b;} /* GK */
.card:nth-child(2),.card:nth-child(5){--aura:#39d8ff;} /* fullbacks */
.card:nth-child(3),.card:nth-child(4){--aura:#c97cff;} /* centre backs */
.card:nth-child(6),.card:nth-child(7),.card:nth-child(8){--aura:#8ee84d;} /* midfield */
.card:nth-child(9),.card:nth-child(10),.card:nth-child(11){--aura:#ff6b64;} /* attack */

/* Soft living glow */
.card::before{
  content:"";
  position:absolute;
  inset:-4px;
  border-radius:14px;
  pointer-events:none;
  z-index:-1;
  border:2px solid color-mix(in srgb,var(--aura) 76%,white);
  box-shadow:
    0 0 4px var(--aura),
    0 0 10px color-mix(in srgb,var(--aura) 68%,transparent),
    inset 0 0 5px color-mix(in srgb,var(--aura) 38%,transparent);
  opacity:.48;
  animation:auraBreath 2.35s ease-in-out infinite;
}

/* A small moving highlight around/over the edge */
.card::after{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:13px;
  pointer-events:none;
  z-index:5;
  background:linear-gradient(115deg,
    transparent 0%,
    transparent 35%,
    rgba(255,255,255,0) 42%,
    rgba(255,255,255,.88) 49%,
    rgba(255,255,255,.20) 54%,
    transparent 61%,
    transparent 100%);
  background-size:230% 230%;
  mix-blend-mode:screen;
  opacity:.55;
  animation:spiritSweep 3.1s linear infinite;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  padding:2px;
}

@keyframes auraBreath{
  0%,100%{opacity:.35;filter:brightness(.95)}
  50%{opacity:.88;filter:brightness(1.28)}
}
@keyframes spiritPulse{
  0%,100%{filter:brightness(1)}
  50%{filter:brightness(1.055)}
}
@keyframes spiritSweep{
  0%{background-position:180% 180%}
  100%{background-position:-80% -80%}
}

/* Selected player stays unmistakable */
.card.sel{
  animation:selectedSpiritPulse 1.35s ease-in-out infinite!important;
  box-shadow:
    0 0 0 3px #13efd0,
    0 0 0 6px #fff,
    0 0 15px #13efd0,
    0 8px 15px #0a664d80!important;
}
.card.sel::before{
  --aura:#13efd0;
  opacity:.95;
  animation:auraBreath 1.35s ease-in-out infinite;
}
@keyframes selectedSpiritPulse{
  0%,100%{filter:brightness(1);transform:translate(-50%,-50%) scale(1.08)}
  50%{filter:brightness(1.09);transform:translate(-50%,-50%) scale(1.095)}
}

/* Respect iOS accessibility setting */
@media (prefers-reduced-motion:reduce){
  .card,.card::before,.card::after{animation:none!important}
}


/* V0.12 GLOBAL UI ENERGY */
.app::before,.app::after{content:"";position:absolute;pointer-events:none;z-index:0;width:38vw;height:38vw;border:1px solid #ffffff29;transform:rotate(35deg);border-radius:14%;animation:ambient 14s ease-in-out infinite alternate}
.app::before{left:-16vw;top:14vh;background:linear-gradient(135deg,#ffffff14,transparent 60%)}.app::after{right:-18vw;bottom:-24vw;animation-delay:-6s;background:linear-gradient(135deg,#0078e617,transparent 60%)}.top,.body{position:relative;z-index:1}
@keyframes ambient{to{transform:translate(14px,-8px) rotate(39deg)}}
.fieldPanel,.detailPanel{animation:panelGlow 4.6s ease-in-out infinite}@keyframes panelGlow{50%{box-shadow:0 9px 23px #0878c954,0 0 0 2px #ffffff99}}
.dock,.resource,.day,.sidebtn,.tab,.tech{position:relative;overflow:hidden}
.dock::after,.resource::after,.day::before{content:"";position:absolute;top:-70%;left:-45%;width:28%;height:240%;background:linear-gradient(90deg,transparent,#ffffff55,transparent);transform:rotate(18deg);animation:hudSweep 7.5s ease-in-out infinite;pointer-events:none}.resource:nth-of-type(2)::after{animation-delay:-2s}.day::before{animation-delay:-4s}
@keyframes hudSweep{0%,55%{left:-45%;opacity:0}65%{opacity:.7}82%,100%{left:125%;opacity:0}}
.sidebtn:not(.on)::after,.tab.on::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 25%,#ffffff55 48%,transparent 70%);transform:translateX(-140%);animation:sweep 6.5s ease-in-out infinite;pointer-events:none}
.sidebtn.on{animation:menuGlow 2.4s ease-in-out infinite}.sidebtn.on::after{content:"";position:absolute;inset:-20%;background:linear-gradient(110deg,transparent 30%,#ffffffaa 48%,transparent 63%);animation:sweep 3.2s ease-in-out infinite;pointer-events:none}
@keyframes sweep{0%,35%{transform:translateX(-140%)}75%,100%{transform:translateX(140%)}}@keyframes menuGlow{50%{filter:brightness(1.07);box-shadow:0 0 0 2px #fff,0 5px 18px #ffc9288c}}
.tab.on{animation:tabGlow 2.8s ease-in-out infinite}@keyframes tabGlow{50%{box-shadow:0 4px 13px #0d9cf080,0 0 8px #38beff55}}
.stat i{position:relative;overflow:hidden}.stat i::after{content:"";position:absolute;top:0;bottom:0;width:15px;left:-20px;background:linear-gradient(90deg,transparent,#fff,transparent);animation:statGlow 5.2s ease-in-out infinite}@keyframes statGlow{0%,62%{left:-20px;opacity:0}72%{opacity:.8}90%,100%{left:110%;opacity:0}}
.tech{animation:techGlow 3.2s ease-in-out infinite}.tech::after{content:"";position:absolute;top:-60%;left:-45%;width:30%;height:220%;background:linear-gradient(90deg,transparent,#ffffffaa,transparent);transform:rotate(18deg);animation:techSweep 3.7s ease-in-out infinite;pointer-events:none}@keyframes techGlow{50%{filter:brightness(1.08);box-shadow:0 5px 15px #ffae1477}}@keyframes techSweep{0%,25%{left:-45%;opacity:0}45%{opacity:.9}75%,100%{left:125%;opacity:0}}
.panelTitle,.profile{position:relative;overflow:hidden}.panelTitle::after,.profile::after{content:"";position:absolute;pointer-events:none;width:110px;height:160%;right:-25px;top:-30%;border-left:1px solid #ffffff33;background:linear-gradient(135deg,#ffffff22,transparent 62%);transform:skewX(-22deg)}
@media(prefers-reduced-motion:reduce){.app::before,.app::after,.fieldPanel,.detailPanel,.dock::after,.resource::after,.day::before,.sidebtn,.sidebtn::after,.tab,.tab::after,.stat i::after,.tech,.tech::after{animation:none!important}}

/* ===== V0.13 — FINAL FORMATION VISUAL BALANCE ===== */

/* Softer aura on non-selected players */
.card:not(.sel)::before{
  opacity:.30!important;
  box-shadow:
    0 0 3px var(--aura),
    0 0 7px color-mix(in srgb,var(--aura) 52%,transparent),
    inset 0 0 3px color-mix(in srgb,var(--aura) 25%,transparent)!important;
}
.card:not(.sel)::after{opacity:.38!important}
.card:not(.sel){animation:softSpiritPulse 2.7s ease-in-out infinite!important}
@keyframes softSpiritPulse{
  0%,100%{filter:brightness(1)}
  50%{filter:brightness(1.025)}
}

/* Explicit defensive-role colors: fullbacks blue/cyan, centre-backs purple */
.card:nth-child(2),.card:nth-child(5){
  --aura:#35d8ff!important;
  background:linear-gradient(145deg,#159ee5,#0874c8)!important;
}
.card:nth-child(3),.card:nth-child(4){
  --aura:#c779ff!important;
  background:linear-gradient(145deg,#9c55df,#6335b8)!important;
}

/* Selected card remains intentionally stronger */
.card.sel::before{
  opacity:.92!important;
  box-shadow:0 0 5px #13efd0,0 0 13px #13efd0aa,inset 0 0 5px #13efd066!important;
}

/* Fine animated energy line on the two main panels */
.fieldPanel::after,.detailPanel::after{
  content:"";position:absolute;inset:-2px;border-radius:25px;pointer-events:none;z-index:20;
  padding:2px;
  background:conic-gradient(from var(--panelAngle,0deg),
    transparent 0deg,transparent 255deg,
    rgba(255,255,255,.15) 285deg,
    rgba(255,255,255,.95) 315deg,
    rgba(90,205,255,.65) 335deg,
    transparent 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
  animation:panelTrace 8s linear infinite;
  opacity:.62;
}
.detailPanel::after{animation-delay:-4s}
@property --panelAngle{syntax:"<angle>";initial-value:0deg;inherits:false}
@keyframes panelTrace{to{--panelAngle:360deg}}

/* More life in the yellow player header */
.profile::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    linear-gradient(118deg,transparent 0 52%,rgba(255,255,255,.10) 52% 61%,transparent 61%),
    linear-gradient(118deg,transparent 0 70%,rgba(255,255,255,.16) 70% 76%,transparent 76%);
  background-size:160% 100%;
  animation:profileEnergy 7s ease-in-out infinite;
}
@keyframes profileEnergy{
  0%,20%{background-position:100% 0}
  75%,100%{background-position:-70% 0}
}

/* Tiny luminous accent under the active tab */
.tab.on::before{
  content:"";position:absolute;left:18%;right:18%;bottom:1px;height:2px;border-radius:3px;
  background:#8ce9ff;box-shadow:0 0 6px #6adfff;
  animation:activeLine 2.2s ease-in-out infinite;
}
@keyframes activeLine{50%{left:10%;right:10%;filter:brightness(1.35)}}

@media(prefers-reduced-motion:reduce){
 .fieldPanel::after,.detailPanel::after,.profile::before,.tab.on::before{animation:none!important}
}


/* ===== V0.15 — SAFE MICRO-FIX ONLY ===== */
.xpText{
  font-family:inherit!important;
  font-weight:600!important;
  letter-spacing:0!important;
  text-align:center!important;
}


/* ===== V0.16 — XP BAR + SEASON TYPOGRAPHY ===== */
.seasonText{
  font-family:inherit!important;
  font-size:12px!important;
  font-weight:800!important;
  letter-spacing:0!important;
  color:#fff!important;
  white-space:nowrap!important;
  text-shadow:0 1px 1px rgba(0,35,80,.16);
}

.xpArea{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  width:92px!important;
  margin-top:2px!important;
}
.xpArea .xpText{
  font-family:inherit!important;
  font-size:9px!important;
  font-weight:700!important;
  line-height:1!important;
  letter-spacing:0!important;
  color:#fff!important;
  text-align:center!important;
  white-space:nowrap!important;
}
.xpTrack{
  position:relative!important;
  display:block!important;
  width:86px!important;
  height:6px!important;
  border-radius:999px!important;
  overflow:hidden!important;
  background:rgba(22,79,130,.55)!important;
  box-shadow:inset 0 1px 2px rgba(0,31,70,.32),0 1px 0 rgba(255,255,255,.35)!important;
}
.xpFill{
  display:block!important;
  width:80%!important;
  height:100%!important;
  border-radius:inherit!important;
  background:linear-gradient(90deg,#16cdb0,#55e2b6)!important;
  box-shadow:0 0 6px rgba(45,229,190,.65)!important;
  position:relative!important;
}
.xpFill::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.65),transparent);
  transform:translateX(-120%);
  animation:xpShine 3.4s ease-in-out infinite;
}
@keyframes xpShine{
  0%,48%{transform:translateX(-120%);opacity:0}
  58%{opacity:.8}
  78%,100%{transform:translateX(140%);opacity:0}
}
@media(prefers-reduced-motion:reduce){.xpFill::after{animation:none!important}}


/* V0.17 — XP bar without percentage label */
.xpTrack::before,.xpTrack::after{content:none!important}
.xpFill{width:80%!important}

/* ===== V0.20 — SAFE FIX FROM V0.17 ===== */
#meta{
  position:absolute!important;
  width:1px!important;height:1px!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  clip-path:inset(50%)!important;
  white-space:nowrap!important;
}

/* Use the freed line so the name/tags remain naturally stacked. */
.profileText{
  justify-content:center!important;
}
.profileText h2{
  margin-top:0!important;
}

/* XP is isolated in the lower-right, below the badges and away from CAPITAINE. */
.xpArea{
  position:absolute!important;
  right:17px!important;
  bottom:9px!important;
  width:98px!important;
  margin:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
  z-index:10!important;
}
.xpArea .xpText{
  width:100%!important;
  font-family:inherit!important;
  font-size:8px!important;
  font-weight:700!important;
  line-height:9px!important;
  text-align:center!important;
  white-space:nowrap!important;
}
.xpTrack{width:94px!important;height:5px!important;margin:0!important}

/* Reserve a little horizontal room for XP without changing any parent dimensions. */
.profileText .tags{padding-right:105px!important}

/* Keep reputation compact. */


/* ===== V0.21 — FINAL HUD + INFO CLEANUP ===== */
.teamlv{
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  line-height:1!important;
}
.teamlv strong{
  display:inline-flex!important;
  align-items:center!important;
  line-height:1!important;
  margin:0!important;
}
.day::after{
  content:none!important;
  display:none!important;
}
.day{
  padding-right:16px!important;
  text-align:center!important;
}
.seasonText{
  width:100%!important;
  text-align:center!important;
}


/* ===== V0.22 — HUD ALIGNMENT + CAREER INFO ===== */
.dock{
  flex-wrap:nowrap!important;
  white-space:nowrap!important;
}
.dock>div:nth-child(2){
  display:flex!important;
  align-items:center!important;
  white-space:nowrap!important;
}
.teamlv{
  display:inline-flex!important;
  align-items:center!important;
  align-self:center!important;
  white-space:nowrap!important;
  line-height:1!important;
  margin-top:0!important;
  transform:none!important;
}
.teamlv strong{
  line-height:1!important;
  vertical-align:middle!important;
}
.resource{
  white-space:nowrap!important;
  flex-wrap:nowrap!important;
  line-height:1!important;
}
.resource em{flex:0 0 auto!important}

/* Career section */
.careerTitle{
  margin:13px 4px 8px!important;
  font-size:12px!important;
  font-weight:900!important;
  color:#173f70!important;
  letter-spacing:.2px!important;
}
.careerGrid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
}
.careerItem{
  min-height:42px!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#f8fbfe,#edf5fa)!important;
  border:1px solid #d7e5ee!important;
  box-shadow:inset 0 1px 0 #fff,0 2px 5px #2d6b9630!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  padding:0 14px!important;
  color:#173f70!important;
}
.careerItem span{
  font-size:10px!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
.careerItem b{
  font-size:18px!important;
  font-weight:900!important;
  color:#147fc1!important;
}


/* ===== V0.23 — COMPACT CAREER GRID ===== */
.careerTitle{
  margin:9px 4px 6px!important;
  font-size:11px!important;
  line-height:13px!important;
}
.careerGrid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:6px 8px!important;
}
.careerItem{
  min-height:32px!important;
  height:32px!important;
  border-radius:11px!important;
  padding:0 12px!important;
}
.careerItem span{
  font-size:9px!important;
  line-height:10px!important;
}
.careerItem b{
  font-size:15px!important;
  line-height:1!important;
}


/* ===== V0.24 — TEAM LV BASELINE + PLAYER NAMEPLATES ===== */

/* Same visual baseline as "Collège Raimon" */
.dock>div:nth-child(2),
.teamlv{
  align-self:center!important;
}
.dock>div:nth-child(2) b{
  line-height:24px!important;
}
.teamlv{
  margin-left:auto!important;
  height:24px!important;
  display:flex!important;
  align-items:baseline!important;
  justify-content:flex-end!important;
  gap:4px!important;
  line-height:24px!important;
  padding-top:0!important;
  transform:translateY(1px)!important;
}
.teamlv strong{
  display:inline-block!important;
  line-height:24px!important;
  margin:0!important;
}

/* Softer Victory-Road-like name strip instead of black */
.card .name{
  background:linear-gradient(180deg,rgba(31,104,155,.96),rgba(17,70,118,.96))!important;
  color:#fff!important;
  border:1px solid rgba(139,220,255,.48)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    0 1px 3px rgba(8,50,91,.28)!important;
  text-shadow:0 1px 1px rgba(8,42,75,.5)!important;
}
.card.sel .name{
  background:linear-gradient(180deg,rgba(24,122,166,.98),rgba(13,78,128,.98))!important;
  border-color:rgba(116,255,236,.72)!important;
}


/* ===== V0.25 — TEAM LV VISUAL BASELINE ONLY ===== */
/* Raise only the TEAM LV label while leaving the large 12 untouched. */
.teamlv{
  transform:none!important;
  position:relative!important;
}
.teamlv{
  align-items:baseline!important;
}
.teamlv{
  font-size:0!important;
}
.teamlv::before{
  content:"TEAM LV."!important;
  font-size:10px!important;
  font-weight:900!important;
  color:#009c94!important;
  line-height:14px!important;
  position:relative!important;
  top:-5px!important;
  margin-right:4px!important;
}
.teamlv strong{
  font-size:24px!important;
  line-height:24px!important;
  position:relative!important;
  top:0!important;
}


/* ===== V0.26 — CLEAN TEAM DOCK ROW ===== */
.dock{
  display:flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
}
.dockName{
  display:flex!important;
  align-items:center!important;
  height:35px!important;
  white-space:nowrap!important;
}
.dockName b{
  display:block!important;
  font-size:14px!important;
  line-height:18px!important;
  margin:0!important;
}
.teamLevelRow{
  margin-left:10px!important;
  display:flex!important;
  align-items:center!important;
  height:35px!important;
  gap:5px!important;
  white-space:nowrap!important;
  color:#009c94!important;
  font-weight:900!important;
}
.teamLevelRow span{
  display:block!important;
  font-size:10px!important;
  line-height:18px!important;
  margin:0!important;
}
.teamLevelRow strong{
  display:block!important;
  font-size:24px!important;
  line-height:26px!important;
  margin:0!important;
  color:#009c94!important;
}
/* Neutralize obsolete teamlv pseudo-rules from V0.25 */
.teamlv::before{content:none!important}


/* ===== V0.28 — TEAM HEADER CLEAN ALIGNMENT ===== */
.dockName{
  display:flex!important;
  align-items:center!important;
  height:auto!important;
  white-space:nowrap!important;
}
.dockName b{
  display:block!important;
  margin:0!important;
  line-height:1!important;
}
.teamLevelRow{
  display:flex!important;
  align-items:center!important;
  align-self:center!important;
  gap:5px!important;
  margin-left:12px!important;
  height:auto!important;
  white-space:nowrap!important;
  color:#009c94!important;
  font-weight:900!important;
}
.teamLevelRow span{
  display:block!important;
  margin:0!important;
  padding:0!important;
  position:static!important;
  top:auto!important;
  transform:none!important;
  font-size:10px!important;
  line-height:1!important;
}
.teamLevelRow strong{
  display:block!important;
  margin:0!important;
  padding:0!important;
  position:static!important;
  top:auto!important;
  transform:none!important;
  font-size:24px!important;
  line-height:1!important;
  color:#009c94!important;
}


/* ===== V0.29 — TEAM IDENTITY: ONE REAL TEXT LINE ===== */
.teamIdentity{
  display:grid!important;
  grid-template-columns:max-content max-content max-content!important;
  align-items:center!important;
  column-gap:9px!important;
  white-space:nowrap!important;
  height:100%!important;
  min-width:0!important;
}
.clubName,
.teamLvLabel,
.teamLvNumber{
  display:block!important;
  position:static!important;
  inset:auto!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
  top:auto!important;
  bottom:auto!important;
}
.clubName{
  font-size:14px!important;
  line-height:14px!important;
  font-weight:900!important;
  color:#173f70!important;
}
.teamLvLabel{
  font-size:10px!important;
  line-height:10px!important;
  font-weight:900!important;
  color:#009c94!important;
  /* optical centering against the 14px club-name glyphs, without moving layout */
  padding-top:2px!important;
}
.teamLvNumber{
  font-size:24px!important;
  line-height:24px!important;
  font-weight:900!important;
  color:#009c94!important;
}

/* Retire all old Team LV layout rules from the cascade. */
.teamLevelRow,.teamlv{display:none!important}


/* ===== V0.31 — PNG LOCAL ICONS, SAFARI SAFE ===== */
.gameIcon{width:27px;height:27px;display:inline-block;object-fit:contain;vertical-align:middle;flex:0 0 auto}
.sidebtn .gameIcon{width:30px;height:30px;margin-right:9px}
.panelTitle .gameIcon{width:25px;height:25px;margin-right:5px}
.tab .gameIcon{width:18px;height:18px;margin-right:6px}
.careerTitle .gameIcon{width:18px;height:18px;margin-right:6px}
.resource .gameIcon{width:18px;height:18px;margin-right:7px}
.logoBolt{width:27px;height:32px;object-fit:contain;vertical-align:-7px;margin-right:3px}


/* ===== V0.32 — USER SUPPLIED ICON ART ===== */
.logo{
  position:relative !important;
  padding-left:22px !important;
}
.logo .logoBolt{
  position:absolute !important;
  left:0 !important;
  top:1px !important;
  width:19px !important;
  height:25px !important;
  margin:0 !important;
  object-fit:contain !important;
}
.sidebtn .gameIcon{
  width:34px !important;
  height:34px !important;
  object-fit:contain !important;
  margin-right:10px !important;
}
.panelTitle .gameIcon{width:29px !important;height:29px !important;object-fit:contain !important}
.tab .gameIcon{width:20px !important;height:20px !important;object-fit:contain !important}
.resource .gameIcon{width:20px !important;height:20px !important;object-fit:contain !important}


/* ===== V0.33 PNG TRANSPARENTS ===== */
.gameIcon, .logoBolt {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  mix-blend-mode: normal !important;
}
.sidebtn .gameIcon {
  width: 36px !important;
  height: 36px !important;
  object-fit: contain !important;
}
.panelTitle .gameIcon {
  width: 31px !important;
  height: 31px !important;
}
.tab .gameIcon {
  width: 21px !important;
  height: 21px !important;
}
.resource .gameIcon {
  width: 21px !important;
  height: 21px !important;
}
.logo .logoBolt {
  width: 21px !important;
  height: 29px !important;
  left: 0 !important;
  top: 0 !important;
}


/* ===== V0.34 — détourage propre + sidebar sécurisée iPhone ===== */
.gameIcon,.logoBolt{
  background:none!important;
  border:none!important;
  box-shadow:none!important;
}
.sidebtn{
  min-height:0!important;
  height:76px!important;
  margin-bottom:8px!important;
  overflow:visible!important;
}
.sidebtn .gameIcon{
  width:34px!important;
  height:34px!important;
  flex:0 0 34px!important;
  object-fit:contain!important;
}
.sidebar{
  padding-bottom:8px!important;
  overflow:visible!important;
}
.logo{
  overflow:visible!important;
}
.logo .logoBolt{
  object-fit:contain!important;
}


/* V0.51 — parcours scénarisé, sans championnat */
.storyMatches{gap:10px}.journeyMain{width:64%}.routePanel{width:36%}.storyNext{margin-bottom:7px}.storyNext .versusRow{height:105px}.enemyCrest.occult{background:linear-gradient(145deg,#d9b6ff,#7440a1)}
.journeyLabel{display:flex;align-items:end;justify-content:space-between;margin:3px 17px 7px;color:#17457e}.journeyLabel b{font-size:15px}.journeyLabel span{font-size:8px;font-weight:900;color:#6d8ba7}
.journeyStrip{display:flex;align-items:center;gap:5px;margin:0 12px 12px;min-height:82px}.journeyNode{flex:1;min-width:0;height:76px;border-radius:16px;background:#edf7ff;border:1px solid #d3e3ef;box-shadow:0 3px 7px #18578218;padding:7px 7px 6px;display:grid;grid-template-columns:24px 1fr;grid-template-rows:15px 23px 16px;color:#17457e}.journeyNode i{grid-row:1/4;width:21px;height:21px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#9bb5c9;color:#fff;font-style:normal;font-size:9px;font-weight:950;margin-top:3px}.journeyNode small{font-size:7px;font-weight:950;letter-spacing:.4px;color:#7190aa}.journeyNode b{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.journeyNode em{font-size:7px;font-style:normal;font-weight:850;color:#7e98ad}.journeyNode.current{background:linear-gradient(135deg,#fff6c8,#ffd75d);border:2px solid #ffc638;transform:translateY(-2px)}.journeyNode.current i{background:#1688d6}.journeyNode.done{background:linear-gradient(135deg,#e7fff0,#d9f8e7);border-color:#80d7a5}.journeyNode.done i{background:#28a966}.journeyNode.locked{filter:saturate(.55);opacity:.72}.journeyArrow{font-size:27px;font-weight:1000;color:#72a7cc;margin-top:-2px}
.routePanel{padding-bottom:0}.routeScroll{height:calc(100% - 50px);overflow:hidden;padding:9px 11px 10px}.routeChapter{height:42px;border-radius:13px;background:linear-gradient(90deg,#e9f6ff,#f7fbff);display:flex;align-items:center;gap:9px;padding:0 9px;margin-bottom:5px;color:#17457e;border:1px solid #d7e9f6}.routeChapter.active{background:linear-gradient(90deg,#fff1b8,#fff9df);border-color:#ffd15a}.routeChapter span{width:26px;height:26px;border-radius:9px;background:#1c7fd1;color:#fff;display:flex;align-items:center;justify-content:center;font-size:9px;font-weight:950}.routeChapter div{display:flex;flex-direction:column}.routeChapter small{font-size:7px;font-weight:950;color:#6e8ca7;letter-spacing:.5px}.routeChapter b{font-size:11px}.routeMatch{height:36px;margin:0 4px 5px 14px;border-left:3px solid #c7ddec;background:#eff7fd;border-radius:0 11px 11px 0;display:flex;align-items:center;gap:8px;padding:0 8px;color:#17457e}.routeMatch i{width:20px;height:20px;border-radius:50%;background:#9bb5c9;color:white;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:8px;font-weight:950}.routeMatch div{display:flex;flex-direction:column}.routeMatch b{font-size:10px}.routeMatch small{font-size:7px;font-weight:850;color:#7894aa}.routeMatch.done{border-left-color:#38b46f}.routeMatch.done i{background:#2baa66}.routeMatch.current{background:linear-gradient(90deg,#fff2ba,#fff9e0);border-left-color:#ffb51d;box-shadow:0 2px 7px #c98d2730}.routeMatch.current i{background:#1688d6}.routeMatch.locked{opacity:.68}.routeMatch.boss{border-left-color:#e99b28}.nationalLine{margin:3px 5px 0 14px;border-radius:11px;background:#edf7ff;padding:8px;text-align:center;font-size:8px;font-weight:900;color:#63849e}.nationalLine b{color:#2590d3;margin:0 3px}.nationalLine strong{color:#9a63c4}
@media(max-height:430px){.storyNext .versusRow{height:88px}.journeyStrip{min-height:67px}.journeyNode{height:63px}.routeChapter{height:34px}.routeMatch{height:30px;margin-bottom:3px}.routeScroll{padding-top:6px}.journeyLabel{margin-bottom:4px}}

/* V0.55 — official school emblems */
.enemyCrest.occult{background:#fffbe7!important}
.enemyCrest img{width:55px;height:55px;object-fit:contain}
.journeyLabel{justify-content:flex-start!important}
.journeyNode i,.routeMatch i{background:transparent!important;border-radius:0!important;overflow:visible}
.journeyNode i img{width:25px;height:25px;object-fit:contain;filter:none}
.routeMatch i img{width:23px;height:23px;object-fit:contain;filter:none}
.journeyNode.locked i img,.routeMatch.locked i img{filter:grayscale(.35);opacity:.72}

/* V0.59 — parcours central supprimé : le panneau de droite devient l’unique parcours */
.journeyMain .storyNext{margin-bottom:0;}

/* V0.62 - VS officiel animé */
.vs{display:flex;align-items:center;justify-content:center;position:relative;isolation:isolate;}
.vs::before{content:"";position:absolute;width:104px;height:104px;border-radius:50%;background:radial-gradient(circle,rgba(255,248,145,.72) 0%,rgba(255,195,38,.32) 42%,rgba(255,160,0,0) 72%);filter:blur(5px);z-index:-1;animation:vsHalo 2.2s ease-in-out infinite;pointer-events:none;}
.officialVs{display:block;width:118px;max-width:100%;height:auto;object-fit:contain;position:relative;z-index:1;filter:drop-shadow(0 5px 3px rgba(42,35,35,.22)) drop-shadow(0 0 7px rgba(255,207,47,.52));animation:vsPulse 2.2s ease-in-out infinite;transform-origin:center;}
.vs::after{content:"✦";position:absolute;right:4px;top:8px;color:#fff7bd;font-size:18px;line-height:1;text-shadow:0 0 5px #fff,0 0 9px #ffc928;z-index:2;animation:vsSpark 2.2s ease-in-out infinite;pointer-events:none;}
@keyframes vsPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.045)}}
@keyframes vsHalo{0%,100%{opacity:.48;transform:scale(.9)}50%{opacity:1;transform:scale(1.12)}}
@keyframes vsSpark{0%,30%,100%{opacity:0;transform:scale(.35) rotate(0deg)}43%{opacity:1;transform:scale(1.15) rotate(25deg)}58%{opacity:0;transform:scale(.55) rotate(50deg)}}
@media(prefers-reduced-motion:reduce){.officialVs,.vs::before,.vs::after{animation:none!important}}

/* V0.63 — panneau Parcours défilable au doigt */
.routePanel{display:flex;flex-direction:column;min-height:0;}
.routePanel .standHead{flex:0 0 50px;}
.routePanel .routeScroll{
  flex:1 1 auto;
  height:auto!important;
  min-height:0;
  overflow-y:auto!important;
  overflow-x:hidden;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  touch-action:pan-y;
  scrollbar-width:none;
}
.routePanel .routeScroll::-webkit-scrollbar{display:none;width:0;height:0;}
@media(max-height:430px){.routePanel .standHead{flex-basis:43px;}}

/* ===== V0.66 — Écran Recrutement ===== */
.recruitPage{display:none;flex:1;min-width:0;gap:10px}.recruitPage.active{display:flex!important}.recruitListPanel,.recruitDetailPanel{background:#f7fbffed;border:3px solid #ffffffaa;border-radius:26px;overflow:hidden;box-shadow:0 6px 18px #07518c4d}.recruitListPanel{width:61%;display:flex;flex-direction:column}.recruitDetailPanel{width:39%;display:flex;flex-direction:column}.recruitTitle{height:50px;flex:0 0 50px;background:linear-gradient(90deg,#117ce0,#255ac5);color:#fff;font-weight:950;font-size:22px;display:flex;align-items:center;padding:0 20px;gap:10px}.recruitTitle span:last-child{margin-left:auto;font-size:11px;letter-spacing:.7px}.searchGlyph{font-size:27px;line-height:1}.recruitFilters{display:flex;gap:7px;padding:11px 14px 7px}.rf{border:0;border-radius:13px;background:#e6f2fb;color:#376588;font-weight:950;font-size:10px;padding:8px 15px;box-shadow:inset 0 0 0 1px #c8deed}.rf.on{color:#fff;background:linear-gradient(#22aaf0,#0877d3);box-shadow:0 3px 0 #0864ad}.recruitHint{font-size:8px;font-weight:850;color:#7691a8;padding:0 17px 7px}.recruitGrid{padding:3px 13px 13px;display:grid;grid-template-columns:repeat(2,1fr);gap:10px;overflow-y:auto;scrollbar-width:none}.recruitGrid::-webkit-scrollbar{display:none}.recruitCard{height:104px;border:2px solid #d6e7f2;border-radius:18px;background:linear-gradient(145deg,#f8fcff,#e9f5fd);display:grid;grid-template-columns:76px 1fr;grid-template-rows:25px 1fr;overflow:hidden;text-align:left;color:#17457e;box-shadow:0 4px 9px #18578218;padding:0;position:relative}.recruitCard.selected{border-color:#24a5e9;box-shadow:0 0 0 3px #65d7ff80,0 5px 12px #1680bf35}.recruitCard.element-fire{background:linear-gradient(105deg,#d4523f,#e75b43);border-color:#f3a094}.recruitCard.element-wind{background:linear-gradient(105deg,#4f9fd0,#65b3dc);border-color:#a7d7ee}.recruitCard.element-mountain{background:linear-gradient(105deg,#c76b27,#e79336);border-color:#f2bc7b}.recruitCard.element-wood{background:linear-gradient(105deg,#4f9138,#78c479);border-color:#addcae}.recruitCard[class*="element-"] .recruitCardInfo b,.recruitCard[class*="element-"] .recruitLv{color:#fff;text-shadow:0 1px 2px #174d7240}.recruitCard[class*="element-"] .elementPill{color:#fff!important;text-shadow:0 1px 2px #174d7240}.recruitCard[class*="element-"] .recruitAvatar{background:#ffffffd9;border-color:#fff}.recruitCard[class*="element-"] .recruitPos{background:#ffffffd9;color:#315c76}.recruitCard[class*="element-"].selected{border-color:#24c8ff;box-shadow:0 0 0 3px #65d7ff80,0 5px 12px #1680bf35}.recruitCard.locked{filter:saturate(.45);opacity:.7}.recruitAvatar{grid-row:1/3;margin:8px;width:60px;height:84px;border-radius:14px;background:linear-gradient(150deg,#dff4ff,#fff6ca);display:flex;align-items:center;justify-content:center;overflow:hidden;border:2px solid #fff;box-shadow:0 2px 7px #184a6e25}.recruitAvatar img{width:48px;height:48px;object-fit:contain}.recruitAvatar .fireMark{font-size:39px}.recruitAvatar .lockArt{width:47px;height:47px}.recruitCardTop{display:flex;align-items:center;gap:5px;padding:8px 8px 0 0}.recruitPos{border-radius:8px;padding:3px 7px;background:#1a86d6;color:#fff;font-size:8px;font-weight:950}.recruitLv{font-size:8px;font-weight:900;color:#7993a8}.recruitCardInfo{padding:5px 8px 7px 0;min-width:0}.recruitCardInfo b{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recruitCardInfo small{display:block;font-size:8px;font-weight:850;color:#7894aa;margin-top:3px}.elementPill{display:inline-flex!important;align-items:center;gap:4px;margin-top:5px!important;color:#d76424!important}.elementPill img{width:14px;height:14px;object-fit:contain}.recruitProfile{height:158px;flex:0 0 158px;background:linear-gradient(135deg,#ffb21e,#ffd84d);display:flex;align-items:center;padding:14px 16px;color:#17457e;position:relative;overflow:hidden}.recruitProfile:after{content:"";position:absolute;right:-30px;top:-70px;width:180px;height:260px;background:linear-gradient(110deg,transparent,#ffffff30,transparent);transform:rotate(12deg)}.recruitBigAvatar{width:112px;height:124px;border-radius:22px;background:#fff8df;border:4px solid #fff;box-shadow:0 5px 13px #9b681e30;display:flex;align-items:center;justify-content:center;flex:0 0 auto;position:relative;z-index:1}.recruitBigAvatar img{width:72px;height:72px;object-fit:contain}.recruitBigAvatar .fireMark{font-size:68px}.recruitBigAvatar .lockArt{width:72px;height:72px}.recruitProfileText{margin-left:15px;position:relative;z-index:1}.recruitProfileText h2{font-size:20px;margin:0 0 6px}.recruitProfileText .sub{font-size:10px;font-weight:900}.rTags{display:flex;gap:5px;margin-top:8px}.rTag{background:#f29b16;color:#fff;border-radius:9px;padding:5px 8px;font-size:8px;font-weight:950}.recruitDetailBody{padding:11px 13px 13px;display:flex;flex-direction:column;min-height:0;flex:1}.rSect{font-size:11px;font-weight:950;color:#17457e;margin:0 3px 7px}.rStats{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:10px}.rStat{height:36px;border-radius:14px;background:#edf6fc;display:flex;align-items:center;padding:0 10px;gap:7px;color:#17457e;box-shadow:inset 0 0 0 1px #d8e6ef}.rStat span{font-size:8px;font-weight:950;width:43px}.rStat .bar{height:7px;background:#d3e1e9;border-radius:9px;flex:1;overflow:hidden}.rStat .bar i{display:block;height:100%;background:linear-gradient(90deg,#23bda0,#43d88b)}.rStat b{font-size:10px}.rTech{display:flex;gap:7px;margin-bottom:10px}.rTech span{flex:1;border-radius:13px;background:#eaf5fc;padding:9px;color:#17457e;font-size:9px;font-weight:950}.rTech img{width:16px;height:16px;vertical-align:middle;margin-right:4px}.recruitAction{margin-top:auto;display:flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:17px;padding:12px 15px;background:linear-gradient(#20aaf0,#0876d2);color:#fff;font-weight:950;font-size:15px;box-shadow:0 5px 0 #075ba7,0 8px 15px #0b68aa40}.recruitAction .cost{font-size:10px;background:#ffffff25;border-radius:9px;padding:5px 8px}.recruitLockedNote{text-align:center;margin:auto;color:#7892a7;font-weight:900;font-size:11px}.recruitLockedNote img{width:64px;height:64px;display:block;margin:0 auto 8px}.recruitLockedNote b{display:block;color:#17457e;font-size:18px;margin-bottom:5px}@media(max-height:430px){.recruitTitle{height:43px;flex-basis:43px}.recruitProfile{height:132px;flex-basis:132px}.recruitBigAvatar{width:92px;height:102px}.recruitCard{height:89px}.recruitAvatar{height:70px}.recruitFilters{padding-top:7px}.recruitDetailBody{padding-top:8px}.rStat{height:31px}.recruitAction{padding:9px 12px}}

/* ===== V0.74 — fiche Recrutement identique à Équipe ===== */
.recruitTeamCard{background:#f8fcff!important;display:flex!important;flex-direction:column!important}
.recruitTeamCard .profile{flex:0 0 106px;height:106px;border-radius:21px 21px 0 0}
.recruitTeamCard .bigportrait{overflow:hidden;flex:0 0 88px}
.recruitTeamCard .bigportrait img{width:100%;height:100%;object-fit:cover;object-position:center 22%}
.recruitTeamCard .profileText small{color:#17417a;font-weight:900}
.recruitTeamCard .tabs{height:40px;flex:0 0 40px;width:100%;padding:5px 8px 0;gap:6px;box-sizing:border-box}.recruitTeamCard .tab{border-radius:13px 13px 7px 7px;font-size:11px;background:#dfeaf4;border:1px solid #cadce9}.recruitTeamCard .tab.on{background:linear-gradient(#219cf0,#1487df);color:white;box-shadow:0 4px 9px #0c6ebf42}
.recruitTeamCard .info{flex:1 1 auto;min-height:0;overflow:hidden;padding:8px 10px}
.recruitActionWrap{flex:0 0 52px;padding:0 12px 10px;display:flex;align-items:flex-end}
.recruitActionWrap .recruitAction{width:100%;margin:0;padding:9px 12px;border-radius:15px;font-size:13px}
/* V0.81 — animation subtile du bouton Recruter */
.recruitActionWrap .recruitAction{position:relative;overflow:hidden;isolation:isolate;animation:recruitBreath 2.6s ease-in-out infinite;transform-origin:center;transition:transform .12s ease,filter .12s ease}
.recruitActionWrap .recruitAction::after{content:"";position:absolute;top:-35%;left:-42%;width:30%;height:170%;background:linear-gradient(105deg,transparent,rgba(255,255,255,.18),rgba(255,255,255,.62),rgba(255,255,255,.18),transparent);transform:skewX(-18deg);animation:recruitShine 3.4s ease-in-out infinite;pointer-events:none;z-index:2}
.recruitActionWrap .recruitAction>*{position:relative;z-index:3}
.recruitActionWrap .recruitAction:active{animation:none;transform:translateY(3px) scale(.975);filter:brightness(.96);box-shadow:0 2px 0 #075ba7,0 4px 9px #0b68aa35}
@keyframes recruitBreath{0%,100%{box-shadow:0 5px 0 #075ba7,0 8px 15px #0b68aa40,0 0 0 rgba(46,197,255,0)}50%{box-shadow:0 5px 0 #075ba7,0 9px 18px #0b68aa52,0 0 14px rgba(46,197,255,.42)}}
@keyframes recruitShine{0%,56%{left:-42%;opacity:0}62%{opacity:1}78%{left:118%;opacity:.9}79%,100%{left:118%;opacity:0}}
.recruitTeamCard .careerTitle{margin-top:9px}
.recruitTeamCard .careerGrid{margin-top:6px}
.recruitTeamCard .tech{flex:none;min-height:42px}
.recruitTeamCard .recruitLockedNote{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}
@media(max-height:430px){.recruitTeamCard .profile{height:96px;flex-basis:96px}.recruitTeamCard .bigportrait{width:78px;height:78px;flex-basis:78px}.recruitActionWrap{flex-basis:45px;padding-bottom:7px}.recruitActionWrap .recruitAction{padding:7px 10px}}

/* ===== V0.76 — Recruitment detail alignment fixes ===== */
/* Match the Team tab active state exactly and keep its cyan underline visible. */
.recruitTeamCard .tabs .tab{position:relative;overflow:hidden}
.recruitTeamCard .tabs .tab.on{
  background:linear-gradient(#219cf0,#1487df)!important;
  color:#fff!important;
  border-color:#1487df!important;
  box-shadow:0 4px 9px #0c6ebf42!important;
}
.recruitTeamCard .tabs .tab.on::before{
  content:""!important;position:absolute!important;left:18%!important;right:18%!important;
  bottom:1px!important;height:2px!important;border-radius:3px!important;
  background:#62e7ff!important;z-index:3!important;
}
/* Recruitment header: reserve a clean lower-right lane for XP. */
/* V0.78 — Recruitment header uses the exact Team-card geometry */
.recruitTeamCard .profileText{
  min-width:0!important;
  align-self:auto!important;
  display:block!important;
  padding-bottom:0!important;
  z-index:1!important;
}
.recruitTeamCard .profileText .tags{
  padding-right:105px!important;
  flex-wrap:nowrap!important;
  max-width:none!important;
}
.recruitTeamCard .profileText .tag{white-space:nowrap!important}
.recruitTeamCard .plevel{
  margin-left:auto!important;
  align-self:auto!important;
  padding-top:0!important;
  min-width:0!important;
}
.recruitTeamCard .xpArea{
  /* V0.79 — décale uniquement la zone XP vers la droite pour laisser de l’air après FEU */
  right:5px!important;
  bottom:9px!important;
  width:98px!important;
}
.recruitTeamCard .xpArea .xpText{
  background:transparent!important;
  color:#fff!important;
  border-radius:0!important;
  padding:0!important;
  box-shadow:none!important;
}

/* V0.83 — Histoire simplifiée */
.simpleHistory .historyMain{width:70%;gap:10px}.simpleHistory .historySide{width:30%}
.simpleChapterHero{min-height:0;flex:1;padding:28px 95px 24px 92px;display:flex;align-items:center}.simpleChapterHero .chapterNumber{top:50%;transform:translateY(-50%);width:58px;height:58px;font-size:31px}.simpleChapterHero .chapterCopy small{font-size:13px}.simpleChapterHero .chapterCopy h1{font-size:31px;margin:8px 0 0}.simpleChapterHero .chapterCopy p{max-width:540px;margin:12px 0 0;font-size:13px;line-height:1.35;font-weight:800;color:#174d72}.simpleChapterHero .chapterBolt{width:72px;height:72px;right:28px;bottom:50%;transform:translateY(50%) rotate(7deg)}
.simpleRoute{flex:0 0 112px;padding:10px 20px}.simpleRoute .historyRouteLabel{margin-bottom:4px}.simpleSteps{height:72px;display:flex;align-items:center;justify-content:center}.simpleNode{width:38px;height:38px;flex:0 0 38px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#c9dce8;color:#fff;font-size:21px;font-weight:1000;border:3px solid #fff;box-shadow:0 2px 7px #285f8124}.simpleNode img{width:24px;height:24px;object-fit:contain}.simpleNode.done{background:#38bd67}.simpleNode.current{background:#ffb91c;box-shadow:0 0 0 4px #ffd34b42,0 3px 8px #b17c1b35}.simpleNode.locked{background:#eef4f8}.simpleNode.locked img{width:27px;height:27px}.simpleLine{height:5px;flex:1;max-width:70px;background:#cfdee8}.simpleLine.done{background:#45c96f}.simpleLine.current{background:linear-gradient(90deg,#45c96f,#ffc42b)}.simpleCurrent{display:flex;flex-direction:column;align-items:center;gap:3px;flex:0 0 96px}.simpleCurrent b{font-size:9px;color:#31566f;white-space:nowrap}
.simpleSide .objectiveHead{justify-content:center;font-size:19px}.simpleObjective{align-items:center;justify-content:center;text-align:center;padding:20px}.simpleObjective .objectiveBadge{position:static;width:66px;height:66px;margin-bottom:18px}.simpleObjective .objectiveBadge img{width:39px;height:39px}.simpleObjective h2{font-size:26px;line-height:1.08;margin:0;color:#174d72}.simpleObjective .historyContinue{width:100%;height:46px;margin-top:auto;font-size:12px}
@media(max-height:430px){.simpleChapterHero{padding:18px 82px}.simpleChapterHero .chapterCopy h1{font-size:26px}.simpleRoute{flex-basis:96px}.simpleSteps{height:58px}.simpleNode{width:33px;height:33px;flex-basis:33px}.simpleObjective .objectiveBadge{width:56px;height:56px;margin-bottom:12px}.simpleObjective h2{font-size:22px}.simpleObjective .historyContinue{height:38px}}

/* V0.91 — Club : vue globale de Raimon */
.clubPage{display:none;flex:1;min-width:0;gap:10px;padding:10px;background:linear-gradient(135deg,#dff4ff 0%,#eef9ff 52%,#d9f1ff 100%);overflow:hidden}
.clubPage.active{display:flex}
.clubMain{width:69%;min-width:0;display:flex;flex-direction:column;gap:9px}
.clubSide{width:31%;min-width:220px;display:flex;flex-direction:column;gap:9px}
.clubTitle{height:48px;flex:0 0 48px;border-radius:10px;background:linear-gradient(180deg,#0d66bb,#064d98);color:#fff;display:flex;align-items:center;padding:0 18px;font-size:21px;font-weight:1000;box-shadow:0 3px 0 #083e78,0 5px 10px #174b7130}
.clubTitle img{width:27px;height:27px;object-fit:contain;margin-right:10px}.clubTitle span{margin-left:auto;font-size:11px;letter-spacing:.6px;color:#d9efff}
.clubRoster{flex:1;min-height:0;background:#fff;border:3px solid #fff;border-radius:12px;box-shadow:0 4px 13px #285f8125;display:flex;flex-direction:column;overflow:hidden}
.clubRosterHead{padding:12px 14px 8px;background:linear-gradient(180deg,#f8fcff,#eef8ff)}
.clubRosterHead h2{margin:0;color:#174d72;font-size:20px}.clubRosterHead p{margin:3px 0 0;color:#67859a;font-size:10px;font-weight:800}
.clubTabs{display:flex;gap:7px;padding:0 14px 10px;background:#eef8ff;border-bottom:1px solid #d8e9f4}
.clubTab{border:0;border-radius:8px;background:#dfeaf1;color:#486779;font-weight:1000;font-size:10px;padding:8px 14px;box-shadow:inset 0 -2px 0 #c1d4df}
.clubTab.on{background:linear-gradient(180deg,#147bd3,#0960b2);color:#fff;box-shadow:0 2px 0 #084d91,0 3px 7px #1264a92d}
.clubPlayers{flex:1;min-height:0;padding:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:92px;gap:9px;align-content:start;overflow:auto}
.clubEmpty{grid-column:1/-1;height:100%;min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#6f8da1}
.clubEmpty img{width:58px;height:58px;object-fit:contain;opacity:.42;margin-bottom:10px}.clubEmpty b{font-size:15px;color:#315d79}.clubEmpty span{font-size:10px;font-weight:800;margin-top:4px}
.clubPlayer{border:2px solid #dceaf3;border-radius:11px;background:linear-gradient(180deg,#fff,#f2f9fd);display:flex;align-items:center;padding:7px;gap:8px;box-shadow:0 2px 7px #1c58731b}
.clubPlayer.element-fire{background:linear-gradient(105deg,#d4523f,#e75b43);border-color:#f3a094}.clubPlayer.element-wind{background:linear-gradient(105deg,#4f9fd0,#65b3dc);border-color:#a7d7ee}.clubPlayer.element-mountain{background:linear-gradient(105deg,#c76b27,#e79336);border-color:#f2bc7b}.clubPlayer.element-wood{background:linear-gradient(105deg,#4f9138,#78c479);border-color:#addcae}.clubPlayer[class*="element-"] .clubPlayerText b,.clubPlayer[class*="element-"] .clubPlayerText small{color:#fff;text-shadow:0 1px 2px #174d7240}.clubPlayer[class*="element-"] .clubPlayerTags i{background:#ffffffd9;color:#315c76}.clubPlayer[class*="element-"] .clubPlayerPortrait{background:#ffffffd9;border:2px solid #ffffff;box-sizing:border-box}
.clubPlayerPortrait{width:58px;height:74px;border-radius:9px;background:#d9eef9;overflow:hidden;flex:0 0 58px}.clubPlayerPortrait img{width:100%;height:100%;object-fit:cover;object-position:center 18%}.clubPlayerText{min-width:0}.clubPlayerText b{display:block;color:#174d72;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.clubPlayerText small{display:block;color:#71899a;font-size:9px;font-weight:900;margin-top:4px}.clubPlayerTags{display:flex;gap:4px;margin-top:6px}.clubPlayerTags i{font-style:normal;background:#e5f0f6;color:#315c76;border-radius:5px;padding:3px 5px;font-size:8px;font-weight:1000}
.clubIdentity{background:#fff;border-radius:12px;border:3px solid #fff;box-shadow:0 4px 13px #285f8125;overflow:hidden;flex:0 0 57%}
.clubIdentityHead{height:44px;background:linear-gradient(180deg,#ffc72c,#f0a913);color:#174d72;font-size:18px;font-weight:1000;display:flex;align-items:center;justify-content:center;box-shadow:inset 0 -3px 0 #d9910a}
.clubIdentityBody{padding:12px;height:calc(100% - 44px);box-sizing:border-box;display:flex;flex-direction:column;align-items:center}
.clubBigCrest{width:78px;height:78px;border-radius:50%;background:linear-gradient(180deg,#edf9ff,#d9eef9);display:flex;align-items:center;justify-content:center;box-shadow:inset 0 0 0 3px #fff,0 2px 8px #20587b24}.clubBigCrest img{width:64px;height:64px;object-fit:contain}.clubIdentityBody h2{margin:7px 0 1px;color:#174d72;font-size:18px}.clubIdentityBody>small{color:#7790a0;font-weight:900;font-size:9px}
.clubStats{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:auto}.clubStat{background:#edf6fb;border-radius:8px;padding:7px 8px;display:flex;align-items:center;justify-content:space-between;color:#527184;font-size:9px;font-weight:900}.clubStat b{color:#174d72;font-size:14px}.clubStat.wide{grid-column:1/-1}.clubStat .starMini{color:#f4b315;font-size:14px;margin-right:3px}
.clubHonours{flex:1;min-height:0;background:#fff;border-radius:12px;border:3px solid #fff;box-shadow:0 4px 13px #285f8125;overflow:hidden;display:flex;flex-direction:column}.clubHonoursHead{height:38px;flex:0 0 38px;background:linear-gradient(180deg,#1376ca,#0758a7);color:#fff;display:flex;align-items:center;padding:0 12px;font-weight:1000;font-size:14px}.clubHonoursBody{flex:1;display:flex;align-items:center;justify-content:center;gap:9px;color:#7590a2;font-size:10px;font-weight:900;text-align:center;padding:8px}.clubTrophy{font-size:28px;filter:grayscale(1);opacity:.35}
@media(max-height:430px){.clubPage{padding:7px;gap:7px}.clubMain,.clubSide{gap:7px}.clubTitle{height:40px;flex-basis:40px;font-size:18px}.clubRosterHead{padding:8px 12px 6px}.clubRosterHead h2{font-size:17px}.clubTabs{padding:0 12px 7px}.clubTab{padding:6px 11px}.clubPlayers{grid-auto-rows:78px;padding:8px}.clubIdentity{flex-basis:59%}.clubIdentityHead{height:36px;font-size:16px}.clubIdentityBody{padding:7px;height:calc(100% - 36px)}.clubBigCrest{width:60px;height:60px}.clubBigCrest img{width:50px;height:50px}.clubIdentityBody h2{font-size:15px;margin:4px 0 0}.clubStats{gap:4px}.clubStat{padding:4px 6px}.clubStat b{font-size:12px}.clubHonoursHead{height:31px;flex-basis:31px;font-size:12px}.clubTrophy{font-size:22px}}



/* ===== V0.50 — Écran Matchs ===== */
.matchesPage{display:none;flex:1;min-width:0;gap:10px}.matchesMain,.standingsPanel{background:#f7fbffed;border:3px solid #ffffffaa;border-radius:26px;overflow:hidden;box-shadow:0 6px 18px #07518c4d}.matchesMain{width:64%;display:flex;flex-direction:column}.standingsPanel{width:36%;padding-bottom:10px}.matchTitle,.standHead{height:50px;background:linear-gradient(90deg,#117ce0,#255ac5);color:#fff;font-weight:950;font-size:22px;display:flex;align-items:center;padding:0 20px}.matchTitle .gameIcon{margin-right:10px}.matchTitle span,.standHead span{margin-left:auto;font-size:12px;letter-spacing:.5px}.nextMatch{margin:12px 14px 8px;padding:10px 14px 12px;border-radius:22px;background:linear-gradient(135deg,#fff6c8,#ffd451 58%,#ffae21);box-shadow:0 6px 15px #d58a2840;position:relative}.nextLabel{text-align:center;color:#17457e;font-size:12px;font-weight:950;letter-spacing:1px}.versusRow{height:112px;display:flex;align-items:center;justify-content:center;gap:26px}.teamBlock{width:150px;text-align:center;color:#173f70;font-size:14px}.matchCrest,.enemyCrest{width:64px;height:64px;margin:0 auto 4px;border-radius:18px;background:#fffbe7;border:3px solid #fff;box-shadow:0 4px 10px #775b2635;display:flex;align-items:center;justify-content:center}.matchCrest img{width:55px;height:55px;object-fit:contain}.enemyCrest{font-size:35px;font-weight:1000;color:#692b87;background:linear-gradient(145deg,#d9b6ff,#7440a1);color:white}.vs{text-align:center;color:#17457e;display:flex;flex-direction:column}.vs strong{font-size:34px;line-height:34px;color:#e96722;text-shadow:0 2px #fff}.vs small,.vs span{font-size:10px;font-weight:900}.matchPlay{display:block;margin:-2px auto 0;border:0;border-radius:18px;padding:10px 24px;background:linear-gradient(#20aaf0,#0876d2);color:#fff;font-weight:950;box-shadow:0 5px 0 #075ba7,0 8px 15px #0b68aa40}.matchPlay span{margin-left:12px}.scheduleTitle{font-weight:950;color:#17457e;font-size:15px;margin:5px 18px}.schedule{display:flex;gap:8px;margin:0 14px 12px}.fixture{flex:1;min-width:0;background:#edf7ff;border:1px solid #d3e3ef;border-radius:15px;padding:8px 9px;display:grid;grid-template-columns:24px 1fr 22px 1fr;align-items:center;color:#194776;font-size:10px;box-shadow:0 3px 7px #18578218}.fixture.current{background:#fff7d8;border-color:#ffd05b}.fixture span{font-weight:1000}.fixture b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fixture em{text-align:center;font-style:normal;font-weight:950;color:#e96d24}.fixture small{grid-column:2/5;color:#3994c5;font-weight:900;margin-top:3px}.standHead{background:linear-gradient(100deg,#ffad19,#ffd53d);color:#17457e}.standCols,.standRow{display:grid;grid-template-columns:1fr 36px 44px;align-items:center;margin:0 13px}.standCols{padding:12px 9px 5px;font-size:9px;font-weight:950;color:#6d87a1}.standRow{height:47px;border-radius:13px;padding:0 9px;color:#173f70;background:#eef7fd;margin-bottom:6px;grid-template-columns:26px 1fr 36px 44px;box-shadow:0 3px 7px #18578218}.standRow.raimon{background:linear-gradient(90deg,#dff5ff,#fff5c7);border:2px solid #ffd151}.standRow i{width:21px;height:21px;border-radius:50%;background:#1d80d3;color:#fff;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:10px;font-weight:950}.standRow b{font-size:12px}.standRow span,.standRow strong{text-align:center}.standRow strong{font-size:16px;color:#1381bd}.standNote{margin:10px 18px;text-align:center;color:#7790a7;font-size:10px;font-weight:800}.matchesPage.active{display:flex!important}@media(max-height:430px){.matchTitle,.standHead{height:43px}.nextMatch{margin-top:8px}.versusRow{height:94px}.matchCrest,.enemyCrest{width:54px;height:54px}.matchCrest img{width:47px;height:47px}.standRow{height:39px}.fixture{padding:6px}}

/* V0.55 — official school emblems */
.enemyCrest.occult{background:#fffbe7!important}
.enemyCrest img{width:55px;height:55px;object-fit:contain}
.journeyLabel{justify-content:flex-start!important}
.journeyNode i,.routeMatch i{background:transparent!important;border-radius:0!important;overflow:visible}
.journeyNode i img{width:25px;height:25px;object-fit:contain;filter:none}
.routeMatch i img{width:23px;height:23px;object-fit:contain;filter:none}
.journeyNode.locked i img,.routeMatch.locked i img{filter:grayscale(.35);opacity:.72}



/* ===== V0.60 — rééquilibrage de la zone Prochain match ===== */
.journeyMain .storyNext{
  flex:1;
  margin:12px 14px 14px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:0;
}
.journeyMain .storyNext .nextLabel{margin-bottom:8px;}
.journeyMain .storyNext .versusRow{height:auto;min-height:190px;flex:0 1 auto;}
.journeyMain .storyNext .matchPlay{margin:8px auto 0;}
@media(max-height:430px){
  .journeyMain .storyNext{margin:8px 12px 10px;}
  .journeyMain .storyNext .versusRow{min-height:145px;}
}



.historyPage{display:none;flex:1;min-width:0;height:100%;gap:10px;padding:10px 12px 12px;background:linear-gradient(135deg,#eef8ff 0%,#f8fcff 55%,#eaf6ff 100%);overflow:hidden}.historyPage.active{display:flex}.historyMain{width:68%;min-width:0;display:flex;flex-direction:column;gap:9px}.historyTitle{height:46px;flex:0 0 46px;border-radius:14px;background:linear-gradient(90deg,#0879d8,#21aee9);color:white;display:flex;align-items:center;padding:0 16px;font-weight:1000;font-size:21px;box-shadow:0 5px 0 #075f9f,0 8px 16px #2478a82b}.historyTitle .gameIcon{width:27px;height:27px;margin-right:9px}.historyTitle span{margin-left:auto;font-size:12px;letter-spacing:.5px;opacity:.92}.chapterHero{position:relative;min-height:154px;flex:1;border-radius:18px;overflow:hidden;padding:19px 88px 17px 82px;background:linear-gradient(120deg,#ffc928 0%,#ff9f16 62%,#ff7d18 100%);border:3px solid #fff;box-shadow:0 6px 0 #d98714,0 10px 22px #a96c2830;color:#103c66}.chapterHero:after{content:"";position:absolute;width:190px;height:190px;border:24px solid #ffffff24;border-radius:50%;right:-52px;top:-68px}.chapterNumber{position:absolute;left:18px;top:19px;width:50px;height:50px;border-radius:14px;background:#fff;color:#087bd4;font-size:28px;font-weight:1000;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 0 #d98d16}.chapterCopy small{font-size:12px;font-weight:1000;letter-spacing:1px;color:#fff}.chapterCopy h1{font-size:27px;line-height:1;margin:6px 0 9px;color:#103c66;text-shadow:0 1px #fff4}.chapterCopy p{max-width:430px;margin:0;font-size:13px;line-height:1.35;font-weight:800;color:#174d72}.chapterBolt{position:absolute;right:24px;bottom:18px;width:54px;height:54px;transform:rotate(7deg);opacity:.9}.chapterBolt img{width:100%;height:100%;object-fit:contain}.historyRoute{flex:0 0 122px;border-radius:17px;background:#fff;border:2px solid #cfe4f3;box-shadow:0 5px 14px #3e7ea51b;padding:10px 12px}.historyRouteLabel{font-size:11px;font-weight:1000;color:#2778aa;letter-spacing:.7px;margin-bottom:8px}.historySteps{display:flex;align-items:center;height:76px}.historyStep{height:67px;flex:1;min-width:0;border-radius:13px;background:#f0f7fb;border:2px solid #d4e5ef;display:flex;align-items:center;padding:7px 8px;gap:7px}.historyStep .stepIcon{width:32px;height:32px;flex:0 0 32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:1000;background:#b9cddd;color:white}.historyStep .stepIcon img{width:22px;height:22px;object-fit:contain}.historyStep small{display:block;font-size:8px;font-weight:1000;color:#8ba3b5}.historyStep b{display:block;font-size:11px;color:#31566f;line-height:1.1;margin-top:2px}.historyStep.done{background:#effbf2;border-color:#a9e0b5}.historyStep.done .stepIcon{background:#35bd65}.historyStep.done small{color:#39a85e}.historyStep.current{background:#fff8d9;border-color:#ffc72e;box-shadow:0 0 0 3px #ffcf2c26}.historyStep.current .stepIcon{background:#ffb51b}.historyStep.current small{color:#e89100}.historyStep.locked{opacity:.78}.historyStep.locked .stepIcon{background:transparent}.historyStep.locked .stepIcon img{width:28px;height:28px}.historyLink{height:5px;flex:0 0 14px;background:#c9dce8}.historyLink.done{background:#43c86d}.historyLink.current{background:linear-gradient(90deg,#43c86d,#ffc329)}.historySide{width:32%;min-width:230px;border-radius:18px;background:#fff;border:2px solid #c8e1f0;overflow:hidden;box-shadow:0 6px 16px #337ba526;display:flex;flex-direction:column}.objectiveHead{height:51px;flex:0 0 51px;background:linear-gradient(90deg,#ffcc27,#ffae18);color:#124a72;display:flex;align-items:center;padding:0 15px;font-size:20px;font-weight:1000}.objectiveHead span{margin-left:auto;font-size:10px;background:#fff9;padding:5px 8px;border-radius:8px}.objectiveBody{position:relative;flex:1;padding:16px 16px 13px;display:flex;flex-direction:column;min-height:0}.objectiveBadge{position:absolute;right:15px;top:13px;width:48px;height:48px;border-radius:50%;background:#e9f7ff;border:2px solid #bde2f5;display:flex;align-items:center;justify-content:center}.objectiveBadge img{width:29px;height:29px}.objectiveBody>small{font-size:10px;color:#1686c5;font-weight:1000;letter-spacing:.7px}.objectiveBody h2{font-size:22px;line-height:1.05;color:#174d72;margin:5px 56px 12px 0}.objectiveMeta{display:flex;align-items:center;gap:9px;padding:7px 9px;margin-bottom:7px;border-radius:11px;background:#f2f8fc;border:1px solid #d7e9f3}.objectiveMeta>span{font-size:20px}.objectiveMeta small{display:block;font-size:8px;color:#8ba4b6;font-weight:1000}.objectiveMeta b{display:block;color:#315b76;font-size:11px}.objectiveReward{margin-top:auto;padding:8px 9px;border-radius:11px;background:#eef8ff}.objectiveReward small{font-size:8px;color:#6c91a9;font-weight:1000}.objectiveReward b{float:right;font-size:10px;color:#2878a9}.objectiveReward>div{clear:both;height:7px;border-radius:8px;background:#c8dce8;margin-top:5px;overflow:hidden}.objectiveReward i{display:block;width:50%;height:100%;background:linear-gradient(90deg,#19bce8,#58e2ee);border-radius:8px}.historyContinue{margin-top:9px;height:42px;border:0;border-radius:12px;background:linear-gradient(180deg,#149be7,#0878ce);color:#fff;font-weight:1000;font-size:12px;box-shadow:0 4px 0 #075c9e,0 7px 14px #137fc73b;position:relative;overflow:hidden}.historyContinue span{margin-left:7px}.historyContinue:active{transform:translateY(2px);box-shadow:0 2px 0 #075c9e}.historyContinue:after{content:"";position:absolute;top:-20%;left:-35%;width:22%;height:140%;background:linear-gradient(90deg,transparent,#fff8,transparent);transform:skewX(-18deg);animation:storyShine 3.5s ease-in-out infinite}@keyframes storyShine{0%,58%{left:-35%}82%,100%{left:120%}}@media(max-height:430px){.historyPage{padding:7px 10px 9px}.historyTitle{height:40px;flex-basis:40px;font-size:18px}.chapterHero{min-height:128px;padding-top:13px}.chapterCopy h1{font-size:23px}.historyRoute{flex-basis:103px;padding-top:7px}.historySteps{height:62px}.historyStep{height:56px}.objectiveHead{height:44px;flex-basis:44px;font-size:17px}.objectiveBody{padding:10px 12px 9px}.objectiveBody h2{font-size:18px;margin-bottom:7px}.objectiveMeta{padding:5px 7px;margin-bottom:5px}.historyContinue{height:36px;margin-top:6px}}



.inventoryPage{display:none;flex:1;min-width:0;gap:10px;padding:10px;background:linear-gradient(135deg,#dff4ff 0%,#eef9ff 52%,#d9f1ff 100%);overflow:hidden}.inventoryPage.active{display:flex!important}.inventoryMain{width:68%;min-width:0;display:flex;flex-direction:column;gap:9px}.inventoryTitle{height:48px;flex:0 0 48px;border-radius:10px;background:linear-gradient(90deg,#0879d8,#21aee9);color:#fff;display:flex;align-items:center;padding:0 18px;font-size:21px;font-weight:1000;box-shadow:0 5px 0 #075f9f,0 8px 16px #2478a82b}.inventoryTitle img{width:29px;height:29px;object-fit:contain;margin-right:10px}.inventoryTitle span{margin-left:auto;font-size:11px;letter-spacing:.7px}.inventoryBox{flex:1;min-height:0;background:#fff;border:3px solid #fff;border-radius:12px;box-shadow:0 4px 13px #285f8125;overflow:hidden;display:flex;flex-direction:column}.inventoryTabs{display:flex;gap:8px;padding:12px 14px 7px;background:linear-gradient(180deg,#f8fcff,#edf7fd)}.inventoryTab{border:0;border-radius:12px;padding:9px 22px;background:#e4eff6;color:#42647c;font-size:11px;font-weight:1000;box-shadow:inset 0 0 0 1px #cbdde9,0 2px 0 #c3d4df}.inventoryTab.on{color:#fff;background:linear-gradient(90deg,#0879d8,#21aee9);box-shadow:0 2px 0 #075f9f,0 3px 7px #2478a82b}.inventorySub{padding:0 15px 10px;background:#edf7fd;color:#66859a;font-size:10px;font-weight:800;border-bottom:1px solid #d8e8f2}.itemGrid{padding:13px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;overflow:auto}.itemCard{min-height:92px;border:2px solid #e2edf4;border-radius:14px;background:linear-gradient(145deg,#fff,#f2f8fc);display:flex;align-items:center;gap:10px;padding:10px;text-align:left;color:#174d76;box-shadow:0 3px 8px #174d7615}.itemCard.selected{border-color:#24a9e5;box-shadow:0 0 0 3px #9ee5ff,0 4px 10px #147ba72b}.itemIcon{width:55px;height:55px;flex:0 0 55px;border-radius:13px;background:#fff7d9;display:flex;align-items:center;justify-content:center;font-size:34px;box-shadow:inset 0 0 0 2px #fff,0 2px 7px #40657a20}.itemCard b{display:block;font-size:12px;line-height:1.05}.itemCard small{display:block;margin-top:7px;color:#7590a3;font-weight:900}.itemQty{color:#0786d8!important}.itemPrice{color:#e79008!important}.itemDetail{width:32%;min-width:225px;background:#f8fcff;border:3px solid #fff;border-radius:24px;box-shadow:0 6px 18px #07518c35;overflow:hidden;display:flex;flex-direction:column}.itemDetailHead{height:92px;flex:0 0 92px;background:linear-gradient(135deg,#ffbd22,#ff981b);display:flex;align-items:center;padding:14px;gap:14px;color:#174d76}.detailItemIcon{width:66px;height:66px;border-radius:16px;background:#fff9df;display:flex;align-items:center;justify-content:center;font-size:42px;border:4px solid #fff}.itemDetailHead small{font-size:9px;font-weight:1000;letter-spacing:.5px}.itemDetailHead h2{font-size:20px;margin:3px 0 0}.itemDetailBody{padding:17px;flex:1;color:#315b79}.itemDetailBody h3{font-size:12px;margin:0 0 8px;color:#1c5278}.itemDetailBody p{font-size:11px;line-height:1.45;font-weight:700;margin:0}.detailOwned{margin-top:18px;padding:10px 12px;border-radius:12px;background:#eaf4fa;display:flex;justify-content:space-between;font-size:11px;font-weight:900}.itemAction{margin:0 14px 14px;height:48px;border:0;border-radius:14px;color:#fff;font-size:15px;font-weight:1000;background:linear-gradient(#20aef1,#087bd6);box-shadow:0 5px 0 #075f9f}.itemAction span{margin-left:8px;background:#ffffff25;padding:5px 10px;border-radius:12px}.itemAction.disabled{background:#b9cbd7;box-shadow:0 5px 0 #8fa6b5}.marketTag{font-size:8px;color:#fff;background:#f3a111;border-radius:8px;padding:4px 7px;margin-top:5px;display:inline-block;font-weight:1000}



/* V0.97 — fiche des manuels de supertechniques plus lisible */
.manualDetailBody{padding-top:12px!important;}
.manualDetailBody p{margin-bottom:4px!important;}
.manualInfoRows{margin-top:10px;border-radius:13px;background:#eaf4fa;overflow:hidden;flex:0 0 auto;}
.manualInfoRow{min-height:31px;padding:6px 11px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10.5px;font-weight:900;color:#315b79;}
.manualInfoRow+.manualInfoRow{border-top:1px solid #d4e7f2;}
.manualInfoRow span{color:#55778e;}
.manualInfoRow b{text-align:right;color:#174d76;}
.manualDetailBody>.detailOwned{margin-top:9px!important;}



.manualInfoRow.manualCategoryRow{border-top:1px solid #d4e7f2;}
.manualCategoryValue{display:flex;align-items:center;justify-content:flex-end;gap:7px;}



/* V1.63 — la ligne Catégorie ne doit plus rogner le prix des manuels.
   Correction strictement limitée à la fiche de détail d'un manuel. */
.itemDetailBody.manualDetailBody{
  padding:8px 17px 5px!important;
  overflow:hidden!important;
}
.manualDetailBody .manualInfoRows{
  margin-top:4px!important;
  flex:0 0 auto!important;
}
.manualDetailBody .manualInfoRow{
  min-height:27px!important;
  padding:4px 11px!important;
  line-height:1.08!important;
}
.manualDetailBody>.detailOwned{
  margin-top:6px!important;
  min-height:31px!important;
  padding:6px 11px!important;
  flex:0 0 auto!important;
}



/* ===== V0.37 — étoile Réputation plus lisible ===== */
.resource img.gameIcon[src*="star.png"]{
  width:28px!important;
  height:28px!important;
  flex:0 0 28px!important;
  margin-right:8px!important;
  object-fit:contain!important;
}

/* V0.55 — official school emblems */
.enemyCrest.occult{background:#fffbe7!important}
.enemyCrest img{width:55px;height:55px;object-fit:contain}
.journeyLabel{justify-content:flex-start!important}
.journeyNode i,.routeMatch i{background:transparent!important;border-radius:0!important;overflow:visible}
.journeyNode i img{width:25px;height:25px;object-fit:contain;filter:none}
.routeMatch i img{width:23px;height:23px;object-fit:contain;filter:none}
.journeyNode.locked i img,.routeMatch.locked i img{filter:grayscale(.35);opacity:.72}



/* ===== V0.38 — étoile Réputation : taille d'affichage réelle ===== */
.resource img.gameIcon[src*="star.png"]{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  max-width:none!important;
  flex:0 0 34px!important;
  margin-right:7px!important;
  object-fit:contain!important;
  transform:scale(1.35)!important;
  transform-origin:center!important;
}

/* V0.55 — official school emblems */
.enemyCrest.occult{background:#fffbe7!important}
.enemyCrest img{width:55px;height:55px;object-fit:contain}
.journeyLabel{justify-content:flex-start!important}
.journeyNode i,.routeMatch i{background:transparent!important;border-radius:0!important;overflow:visible}
.journeyNode i img{width:25px;height:25px;object-fit:contain;filter:none}
.routeMatch i img{width:23px;height:23px;object-fit:contain;filter:none}
.journeyNode.locked i img,.routeMatch.locked i img{filter:grayscale(.35);opacity:.72}



/* ===== V0.39 — étoile Réputation équilibrée ===== */
.resource img.gameIcon[src*="star.png"]{
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  max-width:26px!important;
  flex:0 0 26px!important;
  margin-right:8px!important;
  object-fit:contain!important;
  transform:none!important;
}

/* V0.55 — official school emblems */
.enemyCrest.occult{background:#fffbe7!important}
.enemyCrest img{width:55px;height:55px;object-fit:contain}
.journeyLabel{justify-content:flex-start!important}
.journeyNode i,.routeMatch i{background:transparent!important;border-radius:0!important;overflow:visible}
.journeyNode i img{width:25px;height:25px;object-fit:contain;filter:none}
.routeMatch i img{width:23px;height:23px;object-fit:contain;filter:none}
.journeyNode.locked i img,.routeMatch.locked i img{filter:grayscale(.35);opacity:.72}



/* ===== V0.40 — Réputation ===== */
.resource:has(img[src*="star.png"]){
  position:relative!important;
  justify-content:center!important;
  text-align:center!important;
  padding-left:48px!important;
  padding-right:18px!important;
}
.resource img.gameIcon[src*="star.png"]{
  position:absolute!important;
  left:14px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  max-width:30px!important;
  margin:0!important;
  object-fit:contain!important;
}

/* V0.55 — official school emblems */
.enemyCrest.occult{background:#fffbe7!important}
.enemyCrest img{width:55px;height:55px;object-fit:contain}
.journeyLabel{justify-content:flex-start!important}
.journeyNode i,.routeMatch i{background:transparent!important;border-radius:0!important;overflow:visible}
.journeyNode i img{width:25px;height:25px;object-fit:contain;filter:none}
.routeMatch i img{width:23px;height:23px;object-fit:contain;filter:none}
.journeyNode.locked i img,.routeMatch.locked i img{filter:grayscale(.35);opacity:.72}



/* ===== V0.43 — icônes officielles des types de supertechniques ===== */
.tech b{display:flex!important;align-items:center!important;gap:9px!important;}
.techTypeIcon{width:27px!important;height:27px!important;object-fit:contain!important;flex:0 0 27px!important;filter:drop-shadow(0 1px 1px rgba(255,255,255,.25));}

/* V0.55 — official school emblems */
.enemyCrest.occult{background:#fffbe7!important}
.enemyCrest img{width:55px;height:55px;object-fit:contain}
.journeyLabel{justify-content:flex-start!important}
.journeyNode i,.routeMatch i{background:transparent!important;border-radius:0!important;overflow:visible}
.journeyNode i img{width:25px;height:25px;object-fit:contain;filter:none}
.routeMatch i img{width:23px;height:23px;object-fit:contain;filter:none}
.journeyNode.locked i img,.routeMatch.locked i img{filter:grayscale(.35);opacity:.72}



/* ===== V0.45 — badges PT plus compacts ===== */
.techWithPT{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding-right:18px!important;}
.techWithPT>b{min-width:0!important;}
.ptCost{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:58px!important;height:28px!important;padding:0 9px!important;border-radius:15px!important;background:rgba(255,255,255,.88)!important;color:#174d7d!important;font-weight:900!important;font-size:14px!important;line-height:1!important;box-shadow:0 2px 7px rgba(20,73,112,.15)!important;white-space:nowrap!important;flex:0 0 auto!important;}

/* V0.55 — official school emblems */
.enemyCrest.occult{background:#fffbe7!important}
.enemyCrest img{width:55px;height:55px;object-fit:contain}
.journeyLabel{justify-content:flex-start!important}
.journeyNode i,.routeMatch i{background:transparent!important;border-radius:0!important;overflow:visible}
.journeyNode i img{width:25px;height:25px;object-fit:contain;filter:none}
.routeMatch i img{width:23px;height:23px;object-fit:contain;filter:none}
.journeyNode.locked i img,.routeMatch.locked i img{filter:grayscale(.35);opacity:.72}



/* ===== V0.49 — relief PT local, sans impact sur le layout ===== */
.ptCost{
  background:linear-gradient(180deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.90) 52%,rgba(235,244,250,.94) 100%)!important;
  border:1px solid rgba(255,255,255,.82)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,1),inset 0 -1px 2px rgba(28,79,116,.08),0 2px 6px rgba(20,73,112,.18)!important;
  text-shadow:0 1px 0 rgba(255,255,255,.9)!important;
}

/* V0.55 — official school emblems */
.enemyCrest.occult{background:#fffbe7!important}
.enemyCrest img{width:55px;height:55px;object-fit:contain}
.journeyLabel{justify-content:flex-start!important}
.journeyNode i,.routeMatch i{background:transparent!important;border-radius:0!important;overflow:visible}
.journeyNode i img{width:25px;height:25px;object-fit:contain;filter:none}
.routeMatch i img{width:23px;height:23px;object-fit:contain;filter:none}
.journeyNode.locked i img,.routeMatch.locked i img{filter:grayscale(.35);opacity:.72}



/* V0.54 — centrage vertical des contenus du parcours de saison */
.journeyNode{
  grid-template-rows: 16px 24px;
  align-content:center;
  padding-top:6px;
  padding-bottom:6px;
}
.journeyNode i{
  grid-row:1/3;
  align-self:center;
  margin-top:0;
}
.journeyNode small,
.journeyNode b{
  align-self:center;
}

/* V0.55 — official school emblems */
.enemyCrest.occult{background:#fffbe7!important}
.enemyCrest img{width:55px;height:55px;object-fit:contain}
.journeyLabel{justify-content:flex-start!important}
.journeyNode i,.routeMatch i{background:transparent!important;border-radius:0!important;overflow:visible}
.journeyNode i img{width:25px;height:25px;object-fit:contain;filter:none}
.routeMatch i img{width:23px;height:23px;object-fit:contain;filter:none}
.journeyNode.locked i img,.routeMatch.locked i img{filter:grayscale(.35);opacity:.72}



.journeyNode.spoilerHidden i,.routeMatch.spoilerHidden i{filter:none!important;opacity:1!important;background:#9bb5c9!important;color:#fff!important;font-size:12px!important}
.journeyNode.spoilerHidden b,.routeMatch.spoilerHidden b{letter-spacing:1px;color:#7892a8}



/* V0.57 — cadenas illustré */
.journeyNode i.lockIcon,.routeMatch i.lockIcon{background:transparent!important;overflow:visible}
.journeyNode i.lockIcon img{width:23px!important;height:23px!important;object-fit:contain!important;filter:none!important;opacity:1!important}
.routeMatch i.lockIcon img{width:21px!important;height:21px!important;object-fit:contain!important;filter:none!important;opacity:1!important}



/* V0.65 — les fins de phase verrouillées utilisent la même barre grise que les autres matchs */
.routeMatch.locked.boss{border-left-color:#c7ddec!important;}



/* V0.84 — centrage propre du contenu de la carte Objectif actuel */
.simpleObjective{
  padding:18px 20px 14px!important;
  display:grid!important;
  grid-template-rows:1fr auto!important;
  min-height:0!important;
}
.simpleObjective .objectiveBadge,
.simpleObjective h2{
  grid-column:1;
}
.simpleObjective .objectiveBadge{
  grid-row:1;
  align-self:center!important;
  justify-self:center!important;
  position:static!important;
  margin:0 0 78px 0!important;
}
.simpleObjective h2{
  grid-row:1;
  align-self:center!important;
  justify-self:center!important;
  margin:82px 0 0!important;
  text-align:center!important;
  width:100%!important;
}
.simpleObjective .historyContinue{
  grid-column:1;
  grid-row:2;
  width:100%!important;
  margin:0!important;
  align-self:end!important;
}
@media(max-height:430px){
  .simpleObjective{padding:12px 16px 10px!important}
  .simpleObjective .objectiveBadge{margin-bottom:64px!important}
  .simpleObjective h2{margin-top:68px!important}
}



/* V0.85 — centre réellement ballon + objectif dans toute la zone libre au-dessus du bouton */
.simpleObjective{
  display:flex!important;
  flex-direction:column!important;
  padding:18px 20px 14px!important;
  min-height:0!important;
}
.simpleObjective .objectiveCenterGroup{
  flex:1 1 auto!important;
  min-height:0!important;
  width:100%!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  gap:20px!important;
}
.simpleObjective .objectiveCenterGroup .objectiveBadge{
  position:static!important;
  margin:0!important;
  align-self:center!important;
  width:66px!important;
  height:66px!important;
}
.simpleObjective .objectiveCenterGroup .objectiveBadge img{width:39px!important;height:39px!important}
.simpleObjective .objectiveCenterGroup h2{
  margin:0!important;
  width:100%!important;
  align-self:center!important;
  text-align:center!important;
  font-size:26px!important;
  line-height:1.08!important;
}
.simpleObjective .historyContinue{
  flex:0 0 46px!important;
  width:100%!important;
  margin:0!important;
}
@media(max-height:430px){
 .simpleObjective{padding:12px 16px 10px!important}
 .simpleObjective .objectiveCenterGroup{gap:14px!important}
 .simpleObjective .objectiveCenterGroup .objectiveBadge{width:56px!important;height:56px!important}
 .simpleObjective .objectiveCenterGroup .objectiveBadge img{width:34px!important;height:34px!important}
 .simpleObjective .objectiveCenterGroup h2{font-size:22px!important}
 .simpleObjective .historyContinue{flex-basis:38px!important}
}



/* V0.87 — la carte du chapitre reste entièrement dans son encadrement blanc */
.simpleChapterHero{
  box-shadow:0 10px 22px #a96c2830!important;
}



/* V0.90 — résumé narratif plus discret */
.simpleChapterHero .chapterCopy p{
  font-size:10px!important;
  line-height:1.35!important;
  max-width:540px!important;
}
@media(max-height:430px){
  .simpleChapterHero .chapterCopy p{
    font-size:9px!important;
    line-height:1.32!important;
  }
}



/* V0.92 — harmonisation des bleus de l'onglet Club avec Histoire */
.clubTitle,
.clubTab.on,
.clubHonoursHead{
  background:linear-gradient(90deg,#0879d8,#21aee9) !important;
}
.clubTitle{
  box-shadow:0 5px 0 #075f9f,0 8px 16px #2478a82b !important;
}
.clubTab.on{
  box-shadow:0 2px 0 #075f9f,0 3px 7px #2478a82b !important;
}
.clubHonoursHead{
  box-shadow:inset 0 -3px 0 #075f9f !important;
}



/* V0.95 — inventaire en liste verticale façon Inazuma Eleven */
.inventoryBox{min-height:0!important;}
.itemGrid{
  flex:1!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
  padding:10px 13px 14px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch;
}
.itemCard{
  width:100%!important;
  min-height:62px!important;
  height:62px!important;
  flex:0 0 62px!important;
  padding:6px 12px!important;
  border-radius:12px!important;
  gap:12px!important;
}
.itemIcon{
  width:48px!important;
  height:48px!important;
  flex:0 0 48px!important;
  font-size:29px!important;
  border-radius:11px!important;
}
.itemCard>span:last-child{
  min-width:0!important;
  flex:1!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
}
.itemCard b{
  flex:1!important;
  font-size:12px!important;
  line-height:1.08!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.itemCard small{
  margin:0 0 0 auto!important;
  flex:0 0 auto!important;
  font-size:11px!important;
  white-space:nowrap!important;
}
.itemDetail{min-height:0!important;}
.itemDetailBody{
  min-height:0!important;
  overflow-y:auto!important;
  padding:15px 17px 10px!important;
}
.itemAction{
  flex:0 0 43px!important;
  height:43px!important;
  min-height:43px!important;
  margin:0 14px 12px!important;
  font-size:14px!important;
  line-height:43px!important;
  padding:0 10px!important;
  overflow:visible!important;
}
.itemAction span{display:inline-block!important;line-height:1!important;vertical-align:middle!important;}



/* V0.96 — fiche objet : les deux encarts blancs restent visibles au-dessus de l'action */
.itemDetailHead{height:86px!important;flex:0 0 86px!important;padding:10px 14px!important;}
.detailItemIcon{width:62px!important;height:62px!important;flex:0 0 62px!important;}
.itemDetailHead h2{font-size:19px!important;line-height:1.05!important;}
.itemDetailBody{padding:13px 17px 8px!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;}
.itemDetailBody h3{margin:0 0 7px!important;}
.itemDetailBody p{font-size:10.5px!important;line-height:1.35!important;}
.detailOwned{margin-top:10px!important;padding:8px 11px!important;min-height:34px!important;box-sizing:border-box!important;align-items:center!important;}
.itemAction{flex:0 0 42px!important;height:42px!important;min-height:42px!important;margin:6px 14px 12px!important;line-height:42px!important;}



/* V0.99 — type élémentaire des manuels, cohérent avec les supertechniques */
.manualInfoRow.manualElementRow{border-top:1px solid #d4e7f2;overflow:hidden;}
.manualInfoRow.manualElementRow.fire{background:linear-gradient(100deg,#d4523f,#e75b43);color:#fff;}
.manualInfoRow.manualElementRow.wood{background:linear-gradient(100deg,#4f9138,#78c479);color:#fff;}
.manualInfoRow.manualElementRow.mountain{background:linear-gradient(100deg,#c76b27,#e79336);color:#fff;}
.manualInfoRow.manualElementRow.wind{background:linear-gradient(100deg,#4f9fd0,#65b3dc);color:#fff;}
.manualInfoRow.manualElementRow span,.manualInfoRow.manualElementRow b{color:#fff!important;}
.manualElementValue{display:flex;align-items:center;gap:7px;}
.manualElementValue img{width:25px;height:25px;object-fit:contain;filter:drop-shadow(0 1px 1px rgba(0,0,0,.12));}



.itemIcon img{width:50px;height:50px;object-fit:contain;display:block;filter:drop-shadow(0 2px 2px rgba(17,68,104,.18))}
.detailItemIcon img{width:62px;height:62px;object-fit:contain;display:block;filter:drop-shadow(0 3px 3px rgba(17,68,104,.18))}



/* V1.14 — Reflet plus fin et naturel sur les cartes Club/Recrutement */
.clubPlayer,.recruitCard{position:relative;overflow:hidden;isolation:isolate}
.clubPlayer::after,.recruitCard:not(.locked)::after{
  content:"";
  position:absolute;
  pointer-events:none;
  z-index:4;
  top:-38%;
  left:-30%;
  width:14%;
  height:176%;
  opacity:0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.18),rgba(255,255,255,.30),rgba(255,255,255,.18),transparent);
  filter:blur(5px);
  transform:skewX(-16deg);
  animation:softPlayerCardShine 6.8s ease-in-out infinite;
}
.clubPlayer:nth-child(2n)::after,.recruitCard:nth-child(2n)::after{animation-delay:-3.4s}
@keyframes softPlayerCardShine{
  0%,58%{left:-30%;opacity:0}
  64%{opacity:.38}
  78%{opacity:.38}
  86%,100%{left:116%;opacity:0}
}
@media(prefers-reduced-motion:reduce){.clubPlayer::after,.recruitCard::after{animation:none!important;opacity:0!important}}



/* V1.15 — Reflet du bandeau Club adapté : fin, doux et diffus */
.clubTitle{position:relative;overflow:hidden;isolation:isolate}
.clubTitle::after{
  content:"";
  position:absolute;
  pointer-events:none;
  z-index:2;
  top:-42%;
  left:-24%;
  width:9%;
  height:184%;
  opacity:0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.12),rgba(255,255,255,.24),rgba(255,255,255,.12),transparent);
  filter:blur(6px);
  transform:skewX(-17deg);
  animation:softClubTitleShine 7.4s ease-in-out infinite;
}
.clubTitle>img,.clubTitle>span{position:relative;z-index:3}
@keyframes softClubTitleShine{
  0%,60%{left:-24%;opacity:0}
  66%{opacity:.34}
  78%{opacity:.34}
  86%,100%{left:116%;opacity:0}
}
@media(prefers-reduced-motion:reduce){.clubTitle::after{animation:none!important;opacity:0!important}}



/* Menu latéral : aucun balayage, halo ou pulsation lumineuse */
.sidebtn,
.sidebtn.on,
.sidebtn:not(.on){
  animation:none!important;
  filter:none!important;
}
.sidebtn::before,
.sidebtn::after,
.sidebtn.on::before,
.sidebtn.on::after,
.sidebtn:not(.on)::before,
.sidebtn:not(.on)::after{
  content:none!important;
  display:none!important;
  animation:none!important;
  background:none!important;
  opacity:0!important;
}

/* Grands bandeaux bleus uniquement : aucun reflet/balayage */
.panelTitle,
.matchTitle,
.recruitTitle,
.historyTitle,
.clubTitle,
.inventoryTitle{
  animation:none!important;
  filter:none!important;
}
.panelTitle::before,.panelTitle::after,
.matchTitle::before,.matchTitle::after,
.recruitTitle::before,.recruitTitle::after,
.historyTitle::before,.historyTitle::after,
.clubTitle::before,.clubTitle::after,
.inventoryTitle::before,.inventoryTitle::after{
  content:none!important;
  display:none!important;
  animation:none!important;
  background:none!important;
  opacity:0!important;
}



/* V1.58 corrigée — seule la grande ligne d'un manuel dans le MARCHÉ est teintée. */
.itemCard.manualRow.fire{background:linear-gradient(105deg,#d4523f,#e75b43)!important;border-color:#f3a094!important}
.itemCard.manualRow.wood{background:linear-gradient(105deg,#4f9138,#78c479)!important;border-color:#addcae!important}
.itemCard.manualRow.mountain{background:linear-gradient(105deg,#c76b27,#e79336)!important;border-color:#f2bc7b!important}
.itemCard.manualRow.wind{background:linear-gradient(105deg,#4f9fd0,#65b3dc)!important;border-color:#a7d7ee!important}
.itemCard.manualRow>span>b,.itemCard.manualRow .itemPrice{color:#fff!important;text-shadow:0 1px 2px #174d7240!important}
/* La sélection reste clairement visible. */
.itemCard.manualRow.selected{border-color:#24a9e5!important;box-shadow:0 0 0 3px #9ee5ff,0 4px 10px #147ba72b!important}
/* manual.svg et sa petite case conservent leur apparence d'origine. */



.manualInfoRow.manualCategoryRow{border-top:1px solid #d4e7f2!important;}
.manualCategoryValue{display:flex;align-items:center;justify-content:flex-end;gap:7px;}



/* La largeur Formation/fiche joueur reste strictement celle de la V1.65. */
.pitch{--sub-bench-w:68px}
.pitch:before{right:calc(var(--sub-bench-w) + 10px)!important}
.midline{right:calc(var(--sub-bench-w) + 10px)!important}
.pitch:after{left:calc((100% - var(--sub-bench-w))/2)!important}
.subBench{
 position:absolute;z-index:12;right:5px;top:7px;bottom:7px;width:62px;
 display:flex;flex-direction:column;gap:4px;padding:19px 3px 4px;box-sizing:border-box;
 border-radius:12px;background:linear-gradient(180deg,rgba(19,105,188,.94),rgba(9,69,137,.96));
 border:2px solid rgba(255,255,255,.92);box-shadow:0 4px 10px rgba(7,58,107,.28)
}
.subBenchTitle{position:absolute;top:5px;left:1px;right:1px;text-align:center;color:#fff;font-size:5.2px;font-weight:950;letter-spacing:.25px}
.subSlot{flex:1;min-height:0;border:1.4px dashed rgba(255,255,255,.72);border-radius:7px;background:linear-gradient(145deg,rgba(255,255,255,.18),rgba(255,255,255,.07));display:flex;align-items:center;justify-content:center;color:#fff;font-weight:950;overflow:hidden}
.subSlot .plus{font-size:11px;opacity:.9}
@media(max-height:430px){.subBench{gap:2px;padding-top:16px}.subBenchTitle{font-size:4.6px}.subSlot .plus{font-size:9px}}

