:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#f5f7ff;background:#0a0e17;font-size:14px;--panel:#141a28;--panel2:#171e2d;--muted:#8892ab;--border:#273046;--violet:#9773ff;--cyan:#54d4ea;--gold:#f8c66c;--shadow:0 20px 60px #0508104a}
*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}a{color:inherit;text-decoration:none}[hidden]{display:none!important}
.layout{min-height:100vh;display:flex;background:radial-gradient(ellipse 70% 60% at 65% 0%,#141b31 0%,transparent 74%),#0a0e17}
.sidebar{width:252px;flex:none;border-right:1px solid #252b3b;background:#101521;position:sticky;top:0;height:100vh;padding:30px 17px 18px;display:flex;flex-direction:column;z-index:12}.brand{display:flex;align-items:center;gap:12px;margin:0 12px 48px}.brand-icon{width:43px;height:43px;display:grid;place-items:center;font-size:30px;border-radius:14px;color:#fff;background:linear-gradient(130deg,#8f55ed,#514bb9);box-shadow:0 8px 25px #8c55ed60}.brand b{font-size:22px;letter-spacing:2px;font-weight:850}.brand-dot{color:#aa91fc}.brand small{display:block;color:#8f96ad;font-size:9px;letter-spacing:2.5px;margin-top:3px}.side-section{font-size:10px;letter-spacing:1.9px;color:#647088;margin:0 12px 17px;font-weight:700}.side-section.second{margin-top:32px}.nav-link{display:flex;align-items:center;gap:15px;text-align:left;width:100%;border:1px solid transparent;border-radius:11px;background:transparent;color:#929bb2;padding:13px 15px;font-weight:600;margin:2px 0}.nav-link>span{font-size:22px;font-weight:300;width:22px;text-align:center}.nav-link:hover{background:#20263a;color:#fff}.nav-link.active{background:#272043;color:#c0a9ff;border-color:#514478}.side-bottom{margin-top:auto}.server-bubble{display:flex;gap:12px;background:#192139;border:1px solid #2a344d;padding:13px;border-radius:14px}.server-bubble b{font-size:11px}.server-bubble small{display:block;color:#818ca6;font-size:10px;line-height:1.6;margin-top:5px}.ping{width:9px;height:9px;background:#43d3ae;border-radius:50%;flex:none;margin-top:3px;box-shadow:0 0 0 4px #43d3ae1e}.side-note{text-align:center;color:#566177;margin-top:24px;font-size:10px}
.content-shell{flex:1;min-width:0}.topbar{height:80px;padding:0 clamp(20px,3.2vw,60px);border-bottom:1px solid #222a3c;display:flex;align-items:center;justify-content:space-between;gap:15px}.topbar-left,.topbar-right{display:flex;align-items:center;gap:18px}.breadcrumb{font-size:11px;letter-spacing:1.8px;color:#7f8ba4}.breadcrumb span{color:#4d5569;margin:0 9px}.breadcrumb b{color:#d2d8e8;font-weight:600}.mode-pill{color:#e8b970;background:#e4a85518;border:1px solid #9c703e4b;padding:8px 11px;border-radius:100px;letter-spacing:.9px;font-size:10px;font-weight:800}.mode-pill.live{color:#4ce5c6;background:#42e8c417;border-color:#42e8c44d}.wallet{padding:10px 14px;background:#1b2232;border:1px solid #30394c;border-radius:10px;display:flex;align-items:center;gap:8px;white-space:nowrap}.wallet span{color:#fbc96b}.wallet b{letter-spacing:.4px}.wallet small{color:#94a0b5;font-size:11px}.user-circle{border:2px solid #4d466d;background:linear-gradient(140deg,#604db3,#9588d9);width:39px;height:39px;border-radius:50%;font-weight:900;color:white}.mobile-menu{display:none}
main{padding:38px clamp(20px,3.2vw,60px) 80px;max-width:1650px;margin:auto}.eyebrow{font-size:10px;font-weight:800;color:#a795f8;letter-spacing:2.4px;text-transform:uppercase}.page-heading{display:flex;justify-content:space-between;align-items:end;gap:18px;flex-wrap:wrap;margin-bottom:27px}.page-heading h1{margin:9px 0;font-size:clamp(27px,3vw,38px);letter-spacing:-1.1px;line-height:1.14}.page-heading p,.muted{color:#9aa5be}.page-heading p{margin:8px 0;font-size:13px}.primary,.secondary,.text-button,.danger,.light{border:none;border-radius:10px;padding:11px 16px;font-weight:750;display:inline-flex;justify-content:center;align-items:center;gap:8px}.primary{background:linear-gradient(115deg,#9b78ff,#7655e2);color:#fff;box-shadow:0 9px 25px #6c42de40}.primary:hover{filter:brightness(1.1)}.secondary{background:#222a3e;color:#e3e7f3;border:1px solid #37405b}.secondary:hover{background:#303950}.danger{background:#492532;color:#ff9a9e;border:1px solid #793c4d}.light{background:#e5d8ff;color:#3b296d}.text-button{padding:9px 0;background:transparent;color:#b7a4ff}.arrow{font-size:18px}
.hero{min-height:235px;display:flex;align-items:center;justify-content:space-between;overflow:hidden;position:relative;border:1px solid #57448f;border-radius:21px;padding:32px 34px;background:linear-gradient(112deg,#241d47 2%,#352057 44%,#171b36 100%);box-shadow:inset 0 0 90px #b66dfd12}.hero::before{content:'';position:absolute;right:4%;top:-180px;width:420px;height:420px;border-radius:50%;border:1px solid #a58af51f;box-shadow:0 0 0 50px #9d6eff0b,0 0 0 100px #9d6eff08}.hero::after{content:'✧  ✦  ✧';position:absolute;right:4%;top:31px;font-size:52px;letter-spacing:45px;color:#ad83ff3b;transform:rotate(-19deg)}.hero-content{position:relative;z-index:1;max-width:570px}.hero h2{font-size:clamp(27px,3vw,39px);letter-spacing:-1.4px;line-height:1.15;margin:12px 0}.hero h2 em{font-style:normal;background:linear-gradient(110deg,#e9c8ff,#92d8ff);color:transparent;background-clip:text}.hero p{max-width:450px;color:#c1bcdb;line-height:1.6;margin-bottom:23px}.hero-illustration{position:relative;margin-right:50px;width:205px;height:190px;flex:none;transform:rotate(12deg);filter:drop-shadow(0 20px 24px #0c071d85)}.hero-illustration .pack-art{height:100%;width:150px}.hero-illustration .pack-art::before{font-size:70px}
.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:22px 0 34px}.stat{background:#161c2b;border:1px solid #263147;border-radius:15px;padding:19px 20px;min-height:113px;display:flex;flex-direction:column;justify-content:space-between}.stat-top{display:flex;align-items:center;justify-content:space-between;color:#97a2b9;font-weight:650;font-size:11px}.stat-icon{width:30px;height:30px;display:grid;place-items:center;background:#292b46;border-radius:9px;color:#b7a4ff;font-size:18px}.stat-value{font-size:25px;font-weight:850;letter-spacing:-.6px}.stat-note{font-size:10px;color:#7d8ba5;margin-top:4px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:33px 0 18px}.section-heading h2{font-size:19px;margin:0;letter-spacing:-.3px}.section-heading small{font-size:12px;color:#8d9ab4}
.pack-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}.pack-tile{background:linear-gradient(170deg,#1b2234,#121827);border:1px solid #2b354e;border-radius:18px;overflow:hidden;position:relative;min-width:0}.pack-info{padding:23px}.pack-display{min-height:235px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 54%,#5d3e8d79,transparent 58%),linear-gradient(135deg,#211d39,#152035)}.pack-tile.weapon .pack-display{background:radial-gradient(ellipse at 50% 45%,#87613360,transparent 58%),linear-gradient(135deg,#302519,#152034)}.pack-display::before{content:'';position:absolute;inset:0;background-image:linear-gradient(45deg,transparent 49%,#ffffff0b 50%,transparent 51%);background-size:42px 42px}.pack-art{width:142px;height:188px;position:relative;display:flex;align-items:center;justify-content:center;isolation:isolate;transform:rotate(-7deg);border:3px solid #c4a1ff;border-radius:10px;background:linear-gradient(135deg,#664cbe,#1c1643 50%,#5c3f9b);box-shadow:0 0 35px #9a69ea78,inset 0 0 29px #b48aff36,15px 18px 22px #0606128a}.pack-art:before{content:'✦';position:absolute;color:#e6d3ff;font-size:68px;text-shadow:0 0 30px #e1bfff}.pack-art:after{content:'NEXUS';position:absolute;bottom:15px;letter-spacing:3px;font-weight:900;font-size:14px;color:#eee6ff}.pack-art.weapon{transform:rotate(7deg);border-color:#ffc678;background:linear-gradient(135deg,#a07437,#392419 50%,#916436);box-shadow:0 0 35px #e7ad5970,inset 0 0 29px #ffca763b,15px 18px 22px #0606128a}.pack-art.weapon:before{content:'⚔';font-size:71px;color:#ffda9a}.pack-ribbon{position:absolute;top:17px;left:18px;z-index:1;border-radius:99px;background:#ffffff19;border:1px solid #ffffff3a;padding:7px 10px;color:#fff;font-size:10px;letter-spacing:1.2px;font-weight:800}.pack-info h3{margin:0 0 7px;font-size:18px}.pack-info p{color:#929eb6;line-height:1.6;font-size:12px;margin:0 0 20px;min-height:37px}.pack-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.price{color:#f7cb79;font-size:14px;font-weight:850}.pack-bot{color:#95a0b7;font-size:11px}.stepper{display:inline-flex;border:1px solid #36405a;background:#131a2a;border-radius:9px;align-items:center;padding:3px;gap:3px}.stepper button{border:none;background:#293249;color:#e9eaff;border-radius:6px;width:30px;height:30px}.stepper output{min-width:35px;text-align:center;font-weight:800}.buy-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}.buy-strip button{min-width:130px}.pack-label{font-size:10px;color:#aa9fc7;letter-spacing:1.5px;font-weight:850}
.odds-board{background:#151c2a;border:1px solid #2d364c;border-radius:16px;padding:20px}.odds-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.odds-title h3{margin:0;font-size:15px}.odds-head{color:#9aa6bf;font-size:11px}.odds-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 22px}.odds-row{display:flex;align-items:center;justify-content:space-between;font-size:11px;gap:11px}.odds-name{display:flex;align-items:center;gap:7px}.rarity-dot{display:inline-block;width:9px;height:9px;border-radius:3px;transform:rotate(45deg);background:var(--rarity,#a6a6b5);box-shadow:0 0 10px var(--rarity,#a6a6b5)}.odds-num{font-variant-numeric:tabular-nums;font-weight:750;color:#e4e8f6}.odds-foot{font-size:11px;line-height:1.55;color:#8794af;margin-top:17px;border-top:1px solid #313a51;padding-top:13px}.store-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,330px);gap:20px;align-items:start}.store-layout .pack-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.store-layout .pack-display{min-height:206px}
.panel{background:#161e2d;border:1px solid #2a344b;border-radius:16px;padding:22px}.panel h3{margin:0 0 15px;font-size:17px}.tiny{font-size:11px;color:#8593ad}.recent-row{display:flex;gap:12px;align-items:center;padding:13px 0;border-top:1px solid #293348}.recent-row:first-of-type{border:0}.mini-badge{width:36px;height:36px;border-radius:10px;background:#2d2855;display:grid;place-items:center;color:#cfb0ff;font-size:22px}.recent-row .details{flex:1}.recent-row b{font-size:12px}.recent-row small{display:block;font-size:10px;color:#8b97ad;margin-top:5px}.recent-row strong{color:#b1a0ff;font-size:10px}.two-column{display:grid;grid-template-columns:1.5fr 1fr;gap:18px}
.tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:20px 0}.search{display:flex;gap:9px;align-items:center;background:#171e2d;border:1px solid #303a52;border-radius:10px;padding:0 13px;flex:1;min-width:180px;max-width:420px}.search input{color:#eff1ff;background:none;border:0;outline:none;padding:12px 0;width:100%;min-width:0}.search span{color:#8490a6}.filter-tabs{display:flex;gap:6px;flex-wrap:wrap}.filter-tabs button{background:#171e2d;color:#98a4ba;border:1px solid #303a52;padding:10px 13px;border-radius:10px;font-size:12px;font-weight:700}.filter-tabs button.selected{background:#2e254f;color:#dbcaff;border-color:#66518b}.collection-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.collectible{background:#171e2d;border:1px solid #303950;border-radius:14px;overflow:hidden;min-width:0;position:relative}.collectible:hover{transform:translateY(-2px);border-color:#6e659e;transition:.2s}.card-visual{height:163px;display:grid;place-items:center;position:relative;background:radial-gradient(ellipse at center,#5047759a,transparent 70%),linear-gradient(150deg,#242640,#141826);overflow:hidden}.card-visual::before{content:'';position:absolute;width:130px;height:130px;border:1px solid #ffffff24;border-radius:50%;box-shadow:0 0 0 20px #ffffff08,0 0 0 43px #ffffff05}.card-visual .sigil{font-size:64px;color:#ffffffbc;position:relative;text-shadow:0 0 45px #9c83ffb0}.card-visual .rarity-top{position:absolute;top:9px;left:9px;font-size:9px;font-weight:850;padding:5px 7px;border-radius:6px;background:#060914af;color:#fff}.card-visual.weapon{background:radial-gradient(ellipse at center,#70543991,transparent 70%),linear-gradient(150deg,#392d25,#141826)}.collectible-info{padding:12px}.collectible-info b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.collectible-info span{font-size:10px;color:#8795b0;display:block;margin-top:7px}.collectible-info .id{font-size:10px;color:#73819a;margin-top:8px}.empty{text-align:center;padding:70px 20px;color:#95a0b6;background:#151c2b;border-radius:16px;border:1px dashed #39435a}.empty .big{font-size:43px;display:block;margin-bottom:13px}.empty h3{color:#e3e5f2}.form-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.field{background:#101724;border:1px solid #36405a;border-radius:9px;padding:11px 12px;color:#fff;min-width:0}.field:focus{outline:2px solid #815de5}.friend-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}.friend-card{display:flex;align-items:center;gap:12px;background:#192133;border:1px solid #303a52;border-radius:12px;padding:13px}.friend-avatar{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#45375e;color:#d6c1ff;font-size:18px;flex:none}.friend-card small{display:block;color:#8b9bb4;font-size:10px;margin-top:4px}.friend-card .secondary{margin-left:auto;padding:8px 11px}.request-row,.trade-row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;border-bottom:1px solid #2a3347;padding:15px 0}.request-row:last-child,.trade-row:last-child{border:0}.request-row strong,.trade-row strong{font-size:12px}.request-row small,.trade-row small{display:block;color:#8a97ad;font-size:11px;margin-top:5px}.request-actions{display:flex;gap:8px}.request-actions button{padding:8px 11px;font-size:11px}.tag{padding:6px 9px;background:#35324b;color:#c3b6e8;border-radius:6px;font-size:10px;font-weight:800}.tag.accepted{color:#68e7b5;background:#174438}.tag.declined,.tag.cancelled{color:#ff9eaa;background:#4a2636}.tag.pending,.tag.processing{color:#ffd58f;background:#473922}.profile-avatar{width:86px;height:86px;border-radius:24px;background:linear-gradient(145deg,#a283f7,#463a90);display:grid;place-items:center;font-size:41px;margin-bottom:16px}.profile-header{display:flex;gap:24px;align-items:center;padding:25px 30px}.profile-header .profile-avatar{margin:0}.profile-header h2{font-size:24px;margin:4px 0}.profile-header p{color:#9aa6ba;margin:0}.profile-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-top:22px}.profile-meta>div{background:#1b2334;border:1px solid #2d364e;padding:20px;border-radius:14px}.profile-meta b{display:block;font-size:24px}.profile-meta span{font-size:11px;color:#8c99b2}.notice{background:#3b2b521f;border:1px solid #67548c73;padding:13px 16px;border-radius:11px;color:#bcb0d5;font-size:12px;line-height:1.55}.notice+.notice{margin-top:10px}
.dialog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:12px;margin:14px 0}.dialog-card{background:#1f2639;border:1px solid #36405b;border-radius:12px;padding:13px;text-align:center}.dialog-card .sigil{font-size:37px;height:66px;display:grid;place-items:center}.dialog-card b{font-size:12px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dialog-card small{display:block;color:#93a2bd;margin-top:7px}dialog{max-width:min(760px,calc(100vw - 20px));width:100%;background:#151c2b;color:#f3f5ff;border:1px solid #514777;box-shadow:0 40px 100px #000a;border-radius:19px;padding:30px;max-height:85vh;overflow:auto}dialog::backdrop{background:#050711c7;backdrop-filter:blur(7px)}.close-dialog{position:absolute;right:18px;top:15px;width:33px;height:33px;border:1px solid #424a62;color:#fff;background:#283047;border-radius:9px}.dialog-title{font-size:23px;margin:0 40px 12px 0}.dialog-description{color:#9aa6ba;font-size:12px;line-height:1.6}.dialog-footer{display:flex;gap:11px;justify-content:flex-end;flex-wrap:wrap;margin-top:25px}.choice-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.choice-list label{display:flex;align-items:center;gap:7px;background:#20283a;padding:9px;border:1px solid #38415b;border-radius:9px;font-size:11px}.choice-list input{accent-color:#a586ef}
#toast{position:fixed;bottom:25px;right:25px;background:#282f44;color:#fff;border:1px solid #64538d;box-shadow:var(--shadow);border-radius:12px;padding:14px 19px;z-index:100;max-width:370px;opacity:0;transform:translateY(16px);transition:.2s;pointer-events:none}#toast.show{opacity:1;transform:translateY(0)}.loading{padding:70px;text-align:center;color:#b1aacd}.mobile-nav{display:none}.icon-button{background:#1d2536;border:1px solid #34405a;border-radius:9px;color:#fff;padding:9px 11px}.status-ok{color:#4ad9b4}.status-warn{color:#f1c175}
@media(max-width:1330px){.collection-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.store-layout{grid-template-columns:1fr}.store-layout .pack-display{min-height:195px}.odds-list{grid-template-columns:repeat(5,1fr);gap:12px}.odds-row{display:flex;flex-direction:column;align-items:flex-start}.hero-illustration{margin-right:12px}}
@media(max-width:1050px){.sidebar{width:205px;padding-left:10px;padding-right:10px}.brand{margin-left:8px}.stat-grid{grid-template-columns:repeat(2,1fr)}.collection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.topbar{padding-left:25px;padding-right:25px}.hero-illustration{width:150px}.hero-illustration .pack-art{width:140px}}
@media(max-width:760px){.sidebar{display:none}.topbar{height:68px;padding:0 15px}.breadcrumb{font-size:10px}.mode-pill{padding:7px 9px;font-size:9px}.topbar-right{gap:8px}.wallet{padding:8px 9px}.wallet small{display:none}.user-circle{width:34px;height:34px}.mobile-menu{display:block}main{padding:24px 16px 105px}.mobile-nav{position:fixed;display:grid;grid-template-columns:repeat(5,1fr);bottom:0;left:0;right:0;z-index:20;background:#151b2af5;border-top:1px solid #36405a;padding:9px 5px max(9px,env(safe-area-inset-bottom));backdrop-filter:blur(12px)}.mobile-tab{display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;border:0;background:none;color:#838eaa;font-size:9px;padding:3px 1px}.mobile-tab span{font-size:21px}.mobile-tab.active{color:#b8a1ff}.hero{min-height:230px;padding:27px 22px}.hero-illustration{opacity:.29;position:absolute;right:6px;top:28px;margin:0;transform:rotate(17deg)}.hero-content{z-index:1}.hero p{max-width:300px}.stat-grid{gap:10px;margin:14px 0 28px}.stat{padding:14px;min-height:102px}.stat-value{font-size:22px}.stat-icon{width:25px;height:25px}.pack-grid,.store-layout .pack-grid{grid-template-columns:1fr}.pack-display{min-height:225px}.collection-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.card-visual{height:125px}.card-visual .sigil{font-size:43px}.collectible-info{padding:10px 8px}.collectible-info b{font-size:11px}.two-column{grid-template-columns:1fr}.odds-list{grid-template-columns:repeat(2,1fr)}.odds-row{flex-direction:row;align-items:center}.profile-header{padding:18px;gap:14px}.profile-header .profile-avatar{width:68px;height:68px}.profile-meta{grid-template-columns:1fr 1fr}dialog{padding:23px}.choice-list{grid-template-columns:1fr}}
@media(max-width:390px){.breadcrumb{letter-spacing:0}.wallet{gap:5px;font-size:12px}.hero h2{font-size:26px}.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-top{font-size:10px}.page-heading h1{font-size:26px}.stat-grid{gap:8px}}
@media(min-width:761px){.mobile-menu{display:none!important}}
@media(max-width:760px){body.menu-open .sidebar{display:flex;position:fixed;inset:0 auto 0 0;width:min(85vw,290px);box-shadow:25px 0 80px #000a;z-index:60}.overlay:not([hidden]){position:fixed;inset:0;background:#060912bb;z-index:50}.mobile-nav{z-index:40}}

/* NEXUS : visuels authentiques du bot (assets), responsive */
.card-visual .art-image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:1;padding:5px;filter:drop-shadow(0 7px 15px #0009)}
.card-visual .rarity-top{z-index:2;display:flex;gap:4px;align-items:center}
.rarity-logo,.odds-icon{width:17px;height:17px;object-fit:contain;flex:none}
.odds-icon{width:19px;height:19px}
.result-art{height:85px;display:grid;place-items:center;overflow:hidden}
.result-art img{max-height:85px;max-width:100%;object-fit:contain;filter:drop-shadow(0 5px 8px #0008)}
.profile-avatar img{width:100%;height:100%;border-radius:inherit;object-fit:cover}
@media(max-width:760px){.rarity-logo{width:13px;height:13px}.card-visual .rarity-top{font-size:8px}.result-art{height:72px}}

.top-avatar{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}.user-circle{overflow:hidden}

/* NEXUS V2.1 : stats visibles + packs gratuits + bot NONONO */
.wallet.wallet-free{min-width:150px}.wallet-stack{display:flex;flex-direction:column;line-height:1.05}.wallet-stack b{letter-spacing:.3px}.wallet-stack small{color:#94a0b5;font-size:10px;margin-top:3px}
.bot-pill{display:flex;align-items:center;gap:10px;padding:6px 10px;background:#1b2232;border:1px solid #30394c;border-radius:12px;color:#fff;cursor:pointer}.bot-pill-avatar{width:30px;height:30px;border-radius:10px;object-fit:cover;display:block}.bot-pill-text{display:flex;flex-direction:column;align-items:flex-start;line-height:1}.bot-pill-text small{font-size:9px;letter-spacing:1px;color:#9ca7bb}.bot-pill-text b{font-size:12px}
.item-stats{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.item-stats.compact{gap:4px;margin-top:7px}.stat-chip{display:inline-flex;align-items:center;gap:4px;padding:4px 6px;border-radius:999px;background:#20283b;border:1px solid #33415d;color:#dfe6ff;font-size:10px;line-height:1}.stat-chip b{font-size:10px;color:#fff}.stat-chip.compact{padding:3px 6px;font-size:9px}
.collectible-info .item-stats{min-height:22px}.dialog-card .item-stats{justify-content:center}.result-meta{font-size:10px;color:#9aa6ba;margin-top:7px}
@media(max-width:760px){.wallet.wallet-free{min-width:unset}.wallet-stack small{display:block;font-size:9px}.bot-pill{padding:5px 7px;gap:7px}.bot-pill-avatar{width:26px;height:26px;border-radius:8px}.bot-pill-text b{font-size:11px}.bot-pill-text small{font-size:8px}.topbar-right{gap:6px}.wallet{padding:8px 8px}.wallet b{font-size:12px}.wallet.wallet-free small{display:block}}
@media(max-width:520px){.bot-pill-text small,.bot-pill-text b{display:none}.bot-pill{padding:5px}.bot-pill-avatar{width:28px;height:28px;border-radius:9px}.wallet.wallet-free{max-width:112px;overflow:hidden}.wallet.wallet-free .wallet-stack small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}

/* NEXUS — ouverture de packs interactive (design propre, PC + mobile) */
.nexus-open-stage{display:flex;flex-direction:column;align-items:center;text-align:center;gap:13px;min-height:410px;padding:7px 4px 14px}
.nexus-open-stage h2{font-weight:900;font-size:clamp(22px,3vw,33px);margin:0;letter-spacing:-.7px;color:#faf6ff}
.nexus-open-stage p{max-width:510px;color:#a7a3c6;font-size:13px;line-height:1.6;margin:0 0 6px}
.nexus-stage-eyebrow{font-size:10px;letter-spacing:2px;font-weight:900;color:#b9a6ff}
.nexus-pack-sealed{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:9px;width:min(245px,62vw);height:328px;border-radius:18px;border:2px solid #d1aeff;background:radial-gradient(ellipse at 50% 25%,#b77efa60,transparent 49%),linear-gradient(140deg,#492a98,#1a1a51 48%,#512376 85%,#110c2a);color:#fff;box-shadow:0 22px 50px #0008,0 0 50px #9955ff55,inset 0 0 25px #c6a6fb35;cursor:pointer;overflow:hidden;transform:rotate(-2deg);transition:transform .3s,box-shadow .3s;animation:nexusPackIn .6s cubic-bezier(.1,.9,.2,1) both}
.nexus-pack-sealed::before,.nexus-pack-sealed::after{content:'';position:absolute;left:0;right:0;height:18px;background:repeating-linear-gradient(100deg,transparent 0 9px,#c99fff50 9px 14px,transparent 14px 22px);opacity:.7}
.nexus-pack-sealed::before{top:0}.nexus-pack-sealed::after{bottom:0}
.nexus-pack-sealed:hover,.nexus-pack-sealed:focus-visible{transform:rotate(0deg) translateY(-7px) scale(1.025);box-shadow:0 35px 55px #0009,0 0 85px #ae63ff75}
.nexus-pack-stars{font-size:20px;letter-spacing:3px;color:#dec8ff}
.nexus-pack-logo{width:118px;height:118px;border:4px solid #a879f5;border-radius:22px;overflow:hidden;box-shadow:0 9px 35px #05031580;transform:rotate(-5deg)}
.nexus-pack-logo img{width:100%;height:100%;object-fit:cover}
.nexus-pack-sealed strong{font-size:29px;letter-spacing:2px;line-height:1;text-shadow:0 0 20px #ca73ff}
.nexus-pack-sealed small{font-size:10px;letter-spacing:2.5px;color:#d1c2ff;font-weight:700}
.nexus-pack-cut{padding:8px 15px;background:#e7d3ff20;border:1px solid #efdeff66;border-radius:99px;font-size:9px;letter-spacing:1px;margin-top:6px}
.reveal-topline{width:min(440px,100%);display:flex;align-items:center;justify-content:space-between;gap:12px}
.reveal-topline h2{font-size:clamp(19px,2.8vw,27px)}.reveal-topline>span{color:#d8c8ff;background:#5d478244;border:1px solid #8a72b477;padding:7px 12px;border-radius:20px;font-size:12px;white-space:nowrap}
.reveal-progress{height:5px;border-radius:99px;background:#353049;width:min(440px,100%);overflow:hidden}.reveal-progress span{height:100%;display:block;background:linear-gradient(90deg,#7b6af9,#cf8dff);transition:width .28s}
.nexus-flip-card{width:min(282px,65vw);height:min(390px,90vw);min-height:265px;max-height:390px;padding:0;border:0;background:none;perspective:1150px;cursor:pointer;touch-action:pan-y;flex-shrink:0}
.nexus-flip-inner{position:relative;display:block;width:100%;height:100%;transform-style:preserve-3d;transition:transform .66s cubic-bezier(.22,.85,.3,1)}.nexus-flip-card.is-flipped .nexus-flip-inner{transform:rotateY(180deg)}
.nexus-flip-back,.nexus-flip-front{position:absolute;inset:0;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;backface-visibility:hidden;-webkit-backface-visibility:hidden;border:2px solid #9182ca;box-shadow:0 14px 45px #03020b99,0 0 27px #8b65d85e}
.nexus-flip-back{background:radial-gradient(circle at 50% 43%,#6646a1,#1b1b41 65%),repeating-linear-gradient(145deg,#43225a 0 4px,#282047 4px 9px);gap:18px}
.nexus-flip-back>span{font-size:76px;color:#f4edff;text-shadow:0 0 40px #a2a6ff;animation:nexusShimmer 2s ease-in-out infinite alternate}
.nexus-flip-back>b{font-size:27px;letter-spacing:4px;color:#e9dcff}.nexus-flip-back>small{font-size:9px;letter-spacing:2px;color:#b5b1e4}
.nexus-flip-front{transform:rotateY(180deg);border-color:var(--reveal-color);background:linear-gradient(170deg,#26203b,#0b0e1e);box-shadow:0 14px 48px #0009,0 0 48px var(--reveal-color)}
.nexus-flip-front img{width:100%;height:100%;object-fit:contain;display:block;padding:5px;filter:drop-shadow(0 8px 15px #0009)}
.nexus-fallback-card{display:flex;flex-direction:column;gap:16px;align-items:center;font-size:72px;color:#ece2ff}.nexus-fallback-card b{font-size:19px;color:#fff}
.reveal-card-label{max-width:580px;min-height:28px;font-size:12px;color:#c0b9d4;line-height:1.5}.reveal-card-label b{font-weight:900}.reveal-card-label .item-stats{justify-content:center;margin-top:6px}
.reveal-mini-list{display:flex;justify-content:center;gap:5px;flex-wrap:wrap;min-height:17px;max-width:530px}.reveal-mini{display:inline-grid;place-items:center;font-size:9px;color:#fff;background:#282338;min-width:20px;height:20px;border:1px solid;border-radius:6px}
.reveal-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin:8px 0 0}.reveal-actions button{min-height:40px}
.nexus-open-stage~.dialog-footer{margin-top:7px}
@keyframes nexusPackIn{from{opacity:0;transform:translateY(30px) rotate(9deg) scale(.88)}to{opacity:1;transform:rotate(-2deg)}}
@keyframes nexusShimmer{from{transform:scale(.94);filter:drop-shadow(0 0 2px #fff)}to{transform:scale(1.06);filter:drop-shadow(0 0 15px #caadff)}}
@media(max-width:760px){.nexus-open-stage{min-height:unset;padding-top:5px;gap:10px}.nexus-pack-sealed{width:min(230px,63vw);height:320px}.nexus-flip-card{height:min(365px,86vw);width:min(265px,64vw)}.nexus-open-stage h2{font-size:23px}}
@media(max-width:420px){.nexus-open-stage{gap:8px}.nexus-stage-eyebrow{letter-spacing:1px;font-size:9px}.nexus-pack-sealed{height:298px;width:218px}.nexus-flip-card{height:325px;width:240px;min-height:245px}.reveal-actions{width:100%}.reveal-actions button{flex:1;max-width:190px}.dialog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.nexus-flip-inner,.nexus-pack-sealed{transition:none;animation:none}}

/* NEXUS V4 — deux packs animés et révélations colorées par rareté */
.nexus-open-stage.is-weapon-pack{--pack-accent:#ffad70}
.nexus-open-stage.is-player-pack{--pack-accent:#b57aff}
.nexus-pack-sealed.is-weapon{border-color:#ffc989;background:radial-gradient(ellipse at 53% 23%,#ffcc8a6a,transparent 48%),linear-gradient(145deg,#652947,#151832 45%,#683426 80%,#1a0f1c);box-shadow:0 22px 55px #000a,0 0 48px #ff9b5070,inset 0 0 25px #ffe7b44d}
.nexus-pack-sealed.is-weapon .nexus-pack-logo{border-color:#ffc989}
.nexus-pack-sealed.is-weapon .nexus-pack-stars{color:#ffe5c3}
.nexus-pack-sealed.is-weapon strong{text-shadow:0 0 20px #ffbc73}
.nexus-pack-sealed.is-weapon small{color:#ffe1bd}
.nexus-pack-rip{position:absolute;inset:0;pointer-events:none;z-index:7;opacity:0;background:linear-gradient(112deg,transparent 44%,#fff 49%,#fff 51%,transparent 56%);filter:drop-shadow(0 0 25px #fff)}
.nexus-pack-sealed.is-tearing{animation:nexusTear .46s ease-in forwards;pointer-events:none}
.nexus-pack-sealed.is-tearing .nexus-pack-rip{animation:nexusRip .46s ease-out forwards}
@keyframes nexusTear{0%{transform:rotate(-2deg) scale(1);opacity:1}38%{transform:rotate(5deg) scale(1.07);opacity:1}68%{transform:rotate(-4deg) scale(1.12);opacity:1;filter:brightness(2.5)}100%{transform:scale(1.52) rotate(13deg);opacity:0;filter:brightness(4)}}
@keyframes nexusRip{0%{opacity:0;transform:translateX(-95%)}35%{opacity:.98}80%{opacity:.9}100%{opacity:0;transform:translateX(105%)}}
.nexus-reveal-frame{position:relative;isolation:isolate;display:grid;place-items:center;border-radius:24px;padding:2px;flex-shrink:0}
.nexus-reveal-frame.is-rare::before,.nexus-reveal-frame.is-superrare::before{content:'';position:absolute;inset:-26px;border-radius:32px;pointer-events:none;z-index:-1;background:radial-gradient(ellipse,var(--reveal-color),transparent 65%);opacity:.30;animation:nexusAura 1.45s ease-in-out infinite alternate}
.nexus-reveal-frame.is-superrare::before{inset:-38px;opacity:.48}
.nexus-reveal-frame.is-superrare::after{content:'';position:absolute;inset:-12px;border:2px solid var(--reveal-color);border-radius:24px;box-shadow:0 0 25px var(--reveal-color),inset 0 0 20px color-mix(in srgb,var(--reveal-color) 30%,transparent);opacity:.5;animation:nexusHalo 2s ease-in-out infinite alternate;pointer-events:none}
.nexus-reveal-frame .nexus-flip-card{z-index:1}
.nexus-reveal-frame.is-superrare .nexus-flip-front{box-shadow:0 12px 55px #000a,0 0 26px var(--reveal-color),0 0 75px var(--reveal-color)}
.nexus-reveal-frame.is-rare .nexus-flip-front{box-shadow:0 12px 46px #000a,0 0 42px var(--reveal-color)}
.nexus-open-stage.is-weapon-pack .nexus-flip-back{background:radial-gradient(circle at 50% 42%,#774831,#171d35 72%);border-color:#b98569}
.nexus-open-stage.is-weapon-pack .nexus-flip-back>span{color:#ffe1c7}
.nexus-open-stage.is-weapon-pack .nexus-flip-back>b{color:#ffe2cc}
.reveal-rarity-tag{display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:900}
.reveal-rarity-tag img{width:20px;height:20px;object-fit:contain}
.reveal-quality{margin-top:4px;color:#dbccac;font-size:11px}
.reveal-burst{position:absolute;inset:0;pointer-events:none;z-index:2}
.reveal-burst i{--angle:calc(var(--i) * 360deg / 14);position:absolute;left:50%;top:50%;width:5px;height:14px;border-radius:10px;background:var(--reveal-color);box-shadow:0 0 14px var(--reveal-color);transform:rotate(var(--angle)) translateY(-120px);opacity:0;animation:nexusBurst .8s ease-out both;animation-delay:calc(var(--i) * 16ms)}
@keyframes nexusBurst{0%{opacity:0;transform:rotate(var(--angle)) translateY(-20px) scale(.4)}25%{opacity:1}100%{opacity:0;transform:rotate(var(--angle)) translateY(-190px) scale(.75)}}
@keyframes nexusAura{from{transform:scale(.86);filter:blur(18px)}to{transform:scale(1.18);filter:blur(24px)}}
@keyframes nexusHalo{from{opacity:.22;transform:scale(.96)}to{opacity:.67;transform:scale(1.04)}}
.collectible-info .item-stats{margin:8px 0;display:flex;flex-wrap:wrap;gap:5px}
.collectible-info .stat-chip{padding:5px 7px;background:#222e47;color:#cad6f7;border:1px solid #324762;font-size:10px}
.collectible-info .stat-chip b{color:#fff}
.missing-stats{font-size:10px;color:#77839c;padding:6px 0}
.dialog-card .missing-stats{margin-top:7px}
.reveal-card-label .item-stats{display:flex;justify-content:center;flex-wrap:wrap}
@media(max-width:760px){.nexus-reveal-frame.is-superrare::after{inset:-7px}.nexus-reveal-frame.is-superrare::before{inset:-17px}.reveal-burst i{height:10px}.collectible-info .stat-chip{font-size:9px;padding:4px 5px}}
@media(prefers-reduced-motion:reduce){.nexus-pack-sealed.is-tearing,.nexus-pack-sealed.is-tearing .nexus-pack-rip,.nexus-reveal-frame::before,.nexus-reveal-frame::after,.reveal-burst i{animation:none!important;transition:none!important}}
/* Les compteurs restent visibles sur tout petit écran, sans défilement horizontal. */
@media(max-width:520px){.topbar{padding:0 10px;gap:7px}.topbar-left{flex:none;min-width:0}.topbar .breadcrumb,.topbar .mode-pill{display:none}.topbar-right{min-width:0;gap:5px;flex:1;justify-content:flex-end}.topbar .wallet{padding:7px 7px}.topbar .wallet.wallet-free{max-width:115px}.bot-pill{flex:none}}

/* NEXUS V5 : la version moteur doit être la même que l'interface. */
.nexus-version-warning{margin:22px auto;max-width:760px;border-color:#d87a48;color:#f6d5c5;background:#4d2e31aa;padding:22px;line-height:1.7}
.nexus-version-warning h2{font-size:23px;margin:0 0 12px}.nexus-version-warning p{margin-bottom:10px}
.dialog-card{position:relative;overflow:hidden;border-width:2px;background:linear-gradient(160deg,#252d43,#161e30);box-shadow:0 0 12px color-mix(in srgb,currentColor 7%, transparent);transition:transform .2s ease,box-shadow .2s ease}
.dialog-card:hover{transform:translateY(-3px)}
.nexus-reveal-frame.is-flipped{box-shadow:0 0 42px var(--reveal-color),0 0 95px color-mix(in srgb,var(--reveal-color) 50%,transparent)}
@media(prefers-reduced-motion:reduce){.dialog-card,.nexus-reveal-frame,.nexus-flip-card{animation:none!important;transition:none!important}}

/* ------------------------------------------------------
   NONONO — Packs cinématiques V5.1 (visuel uniquement)
   Une touche révèle la carte, puis passe automatiquement.
   ------------------------------------------------------ */
dialog:has(.nexus-open-v51){
  width:min(810px,calc(100vw - 22px));
  border-color:#65569b;
  background:radial-gradient(ellipse at 50% -9%,#3b2e6388,transparent 57%),linear-gradient(155deg,#121b31,#111426 78%);
  box-shadow:0 35px 100px #000c,inset 0 0 1px #ded0ff8c;
}
.nexus-open-v51{
  position:relative;isolation:isolate;overflow:visible;
  padding:8px 12px 14px;gap:12px;
  animation:nexusV51StageIn .42s ease-out both;
}
.nexus-open-v51 .nexus-stage-eyebrow{
  color:#c8b9ff;text-shadow:0 0 20px #b591ff80;
}
.nexus-open-v51 .reveal-topline{position:relative;z-index:2}
.nexus-open-v51 .reveal-progress{height:5px;background:#323350;box-shadow:0 0 8px #0007}
.nexus-open-v51 .reveal-progress>span{
  background:linear-gradient(90deg,#625af8,#d6a0ff);box-shadow:0 0 16px #a592ff;
}
.nexus-open-v51 .nexus-reveal-frame{
  padding:10px;border-radius:24px;
  margin:3px 0 0;
  min-height:0;
  background:radial-gradient(ellipse at 50% 54%,#413c6455,transparent 75%);
  animation:nexusV51Arrival .54s cubic-bezier(.19,.89,.36,1.17) both;
}
.nexus-open-v51 .nexus-scene-glow{
  position:absolute;inset:-34px;z-index:-2;pointer-events:none;border-radius:50%;
  opacity:0;transform:scale(.75);filter:blur(28px);
  background:radial-gradient(circle,color-mix(in srgb,var(--reveal-color) 66%,transparent),transparent 70%);
}
.nexus-open-v51 .nexus-scene-rays{
  position:absolute;width:148%;height:110%;z-index:-1;pointer-events:none;
  opacity:0;filter:blur(1px);
  background:repeating-conic-gradient(from 10deg,color-mix(in srgb,var(--reveal-color) 30%,transparent) 0 6deg,transparent 6deg 24deg);
  mask-image:radial-gradient(ellipse,#0002 0%,#000c 28%,transparent 69%);
  -webkit-mask-image:radial-gradient(ellipse,#0002 0%,#000c 28%,transparent 69%);
}
.nexus-open-v51 .nexus-reveal-frame.is-revealing .nexus-scene-glow{
  animation:nexusV51Glow 1.35s ease-out both;
}
.nexus-open-v51 .nexus-reveal-frame.is-revealing .nexus-scene-rays{
  animation:nexusV51Rays 1.55s ease-out both;
}
.nexus-open-v51 .nexus-flip-card{
  position:relative;z-index:3;
  filter:drop-shadow(0 8px 18px #0009);
}
.nexus-open-v51 .nexus-flip-inner{
  transition:transform .67s cubic-bezier(.18,.80,.2,1.03);
}
.nexus-open-v51 .nexus-flip-card.is-flipped{
  animation:nexusV51CardImpact .85s ease-out both;
}
.nexus-open-v51 .nexus-flip-front{
  border-width:3px;
  box-shadow:0 18px 48px #000a,0 0 38px color-mix(in srgb,var(--reveal-color) 65%,transparent),inset 0 0 12px color-mix(in srgb,var(--reveal-color) 30%,transparent);
}
.nexus-open-v51 .nexus-reveal-frame.is-revealing::before{
  opacity:.3;
}
.nexus-open-v51 .nexus-rarity-flare{
  position:absolute;inset:-30px;z-index:4;pointer-events:none;border-radius:42px;
  opacity:0;
  background:radial-gradient(circle at 50% 50%,#fff,#ffffff99 18%,color-mix(in srgb,var(--reveal-color) 55%,transparent) 34%,transparent 69%);
  mix-blend-mode:screen;
}
.nexus-open-v51 .nexus-reveal-frame.is-revealing .nexus-rarity-flare{
  animation:nexusV51Flash .86s ease-out both;
}
.nexus-open-v51 .reveal-burst{z-index:5}
.nexus-open-v51 .reveal-burst i{
  --angle:calc(var(--i) * 360deg / var(--total));
  height:19px;width:6px;box-shadow:0 0 8px var(--reveal-color),0 0 18px var(--reveal-color);
  animation:nexusV51Burst .95s ease-out both;
  animation-delay:calc(var(--i) * 8ms);
}
.nexus-open-v51 .reveal-card-label{min-height:34px;max-width:100%;font-weight:600}
.nexus-open-v51 .nexus-reveal-frame.is-revealing~.reveal-card-label,
.nexus-open-v51 .nexus-reveal-frame.is-revealing + .reveal-card-label{animation:nexusV51TextIn .35s .5s both}
.nexus-open-v51 .reveal-auto-hint{
  color:#b8adc9;font-size:11px;letter-spacing:.25px;min-height:14px;
}
.nexus-open-v51 .reveal-auto-track{
  width:min(300px,75vw);height:3px;border-radius:8px;overflow:hidden;
  background:#ffffff20;
}
.nexus-open-v51 .reveal-auto-track[hidden]{display:none}
.nexus-open-v51 .reveal-auto-track span{
  display:block;height:100%;width:100%;transform-origin:left;
  background:linear-gradient(90deg,var(--scene-color),#fff7);box-shadow:0 0 13px var(--scene-color);
}
.nexus-open-v51 .reveal-auto-track.is-counting span{
  animation:nexusV51Timer var(--reveal-hold,1400ms) linear forwards;
}
.nexus-open-v51 .reveal-actions button[aria-pressed="true"]{
  background:#493369;border-color:#a97bd4;color:#f0d9ff;
}
.nexus-open-v51 .reveal-actions .primary{background:linear-gradient(125deg,#665add,#a77af2)}
.nexus-open-v51 .reveal-mini{background:#302743;border-color:var(--scene-color,#554e82)}
/* Paquet physique : reflets métalliques, flottement, déchirure. */
.nexus-pack-sealed:not(.is-tearing){animation:nexusPackIn .6s cubic-bezier(.15,.8,.2,1) both,nexusV51Hover 3.5s .7s ease-in-out infinite}
.nexus-pack-sealed::after{border-bottom:1px solid #fff4}
.nexus-pack-sealed .nexus-pack-logo{box-shadow:0 8px 36px #0008,0 0 18px #aa79ef80}
.nexus-pack-sealed:not(.is-tearing) .nexus-pack-rip{
  opacity:.45;z-index:1;filter:blur(6px);animation:nexusV51Foil 3s ease-in-out infinite;
}
.nexus-pack-sealed.is-tearing{animation:nexusV51Tear .72s cubic-bezier(.38,.1,.66,1) forwards}
.nexus-pack-sealed.is-tearing .nexus-pack-rip{animation:nexusV51TearFlash .72s ease-out forwards}
.nexus-open-stage.is-weapon-pack .nexus-pack-sealed.is-tearing .nexus-pack-rip{filter:drop-shadow(0 0 18px #ffc888)}
@keyframes nexusV51StageIn{from{opacity:.35;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes nexusV51Arrival{from{opacity:.55;transform:scale(.90) translateY(24px)}to{opacity:1;transform:scale(1) translateY(0)}}
@keyframes nexusV51Glow{0%{opacity:0;transform:scale(.65)}45%{opacity:.94;transform:scale(1.15)}100%{opacity:.36;transform:scale(1)}}
@keyframes nexusV51Rays{0%{opacity:0;transform:rotate(-22deg) scale(.56)}28%{opacity:.7}100%{opacity:.07;transform:rotate(42deg) scale(1.18)}}
@keyframes nexusV51CardImpact{0%{transform:scale(.97)}52%{transform:scale(1.065)}100%{transform:scale(1)}}
@keyframes nexusV51Flash{0%,34%{opacity:0;transform:scale(.75)}53%{opacity:.95;transform:scale(1.14)}100%{opacity:0;transform:scale(1.58)}}
@keyframes nexusV51Burst{0%{opacity:0;transform:rotate(var(--angle)) translateY(-34px) scale(.3)}24%{opacity:1}100%{opacity:0;transform:rotate(var(--angle)) translateY(-220px) scale(.85)}}
@keyframes nexusV51Timer{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes nexusV51TextIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@keyframes nexusV51Hover{0%,100%{filter:drop-shadow(0 12px 13px #0006)}50%{filter:drop-shadow(0 26px 23px #10091c) brightness(1.08)}}
@keyframes nexusV51Foil{0%{transform:translateX(-130%);opacity:0}45%{opacity:.58}100%{transform:translateX(130%);opacity:0}}
@keyframes nexusV51Tear{0%{transform:rotate(-2deg) scale(1);opacity:1}35%{transform:rotate(7deg) scale(1.12);filter:brightness(1.4)}60%{transform:rotate(-5deg) scale(1.27);filter:brightness(2)}100%{transform:rotate(11deg) scale(1.8);opacity:0;filter:brightness(3)}}
@keyframes nexusV51TearFlash{0%{opacity:0;transform:translateX(-100%)}45%{opacity:1;transform:translateX(0)}100%{opacity:0;transform:translateX(110%)}}
@media(max-width:520px){
 dialog:has(.nexus-open-v51){padding:19px 13px;max-height:90vh}
 .nexus-open-v51{padding:2px 0 12px;gap:9px}
 .nexus-open-v51 .nexus-reveal-frame{padding:4px}
 .nexus-open-v51 .nexus-scene-glow{inset:-12px}
 .nexus-open-v51 .reveal-actions{gap:7px}
 .nexus-open-v51 .reveal-actions button{padding:10px 11px;font-size:11px;min-width:0}
 .nexus-open-v51 .reveal-burst i{height:13px;width:4px}
}
@media(prefers-reduced-motion:reduce){
 .nexus-open-v51,.nexus-open-v51 *, .nexus-pack-sealed:not(.is-tearing),
 .nexus-pack-sealed.is-tearing, .nexus-pack-sealed.is-tearing .nexus-pack-rip{
  animation:none!important;transition-duration:.01ms!important;
 }
 .nexus-open-v51 .reveal-auto-track.is-counting span{animation:none!important;transform:scaleX(1)}
}
/* Annonce éclatante, réservée aux raretés ÉPIQUE et supérieures. */
.nexus-open-v51 .nexus-rarity-stamp{
  position:absolute;z-index:6;bottom:22px;left:50%;transform:translateX(-50%) scale(.35) rotate(-9deg);
  max-width:90%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  color:#fff;opacity:0;pointer-events:none;
  font-size:clamp(13px,2vw,23px);font-weight:1000;letter-spacing:1.2px;text-transform:uppercase;
  padding:7px 14px;border:1px solid var(--reveal-color);border-radius:10px;
  background:linear-gradient(115deg,#100e21e8,color-mix(in srgb,var(--reveal-color) 35%,#121328));
  box-shadow:0 0 18px var(--reveal-color),0 0 50px color-mix(in srgb,var(--reveal-color) 50%,transparent);
  text-shadow:0 0 12px var(--reveal-color);
}
.nexus-open-v51 .nexus-reveal-frame.is-flipped:not(.rar-common):not(.rar-uncommon):not(.rar-rare) .nexus-rarity-stamp{
  animation:nexusV51RarityStamp .9s .30s cubic-bezier(.16,.95,.25,1.12) both;
}
@keyframes nexusV51RarityStamp{
  0%{opacity:0;transform:translateX(-50%) scale(.35) rotate(-9deg)}
  45%{opacity:1;transform:translateX(-50%) scale(1.17) rotate(3deg)}
  74%{opacity:1;transform:translateX(-50%) scale(1) rotate(0)}
  100%{opacity:0;transform:translateX(-50%) scale(1.06) rotate(0)}
}
@media(prefers-reduced-motion:reduce){.nexus-open-v51 .nexus-rarity-stamp{animation:none!important;opacity:0!important}}


/* V5.2 — vraie carte sans dos NONONO + bannière de rareté au-dessus */
.nexus-reveal-stack{position:relative;display:grid;place-items:center;padding-top:52px}
.nexus-rarity-overhead{position:absolute;top:0;left:50%;transform:translateX(-50%);z-index:8;pointer-events:none}
.nexus-rarity-banner{display:flex;align-items:center;gap:10px;padding:10px 18px;border-radius:999px;border:1px solid color-mix(in srgb,var(--reveal-color) 80%, white 20%);background:linear-gradient(180deg,color-mix(in srgb,var(--reveal-color) 18%,#fff),rgba(13,16,28,.96));box-shadow:0 0 24px color-mix(in srgb,var(--reveal-color) 45%,transparent),0 8px 20px #0007;color:#fff;font-weight:800;letter-spacing:.8px;text-transform:uppercase;opacity:0;transform:translate(-50%,-8px) scale(.92)}
.nexus-rarity-banner img{width:22px;height:22px;object-fit:contain;filter:drop-shadow(0 0 8px color-mix(in srgb,var(--reveal-color) 60%,transparent))}
.nexus-rarity-banner.is-visible,.nexus-rarity-overhead .nexus-rarity-banner{animation:nexusRarityBannerIn .42s cubic-bezier(.18,.8,.2,1.08) both}
.nexus-flip-back{background:radial-gradient(circle at 50% 35%,rgba(255,255,255,.13),transparent 42%),linear-gradient(160deg,#142856 0%,#1d2670 55%,#13172e 100%);border:2px solid rgba(255,255,255,.25)}
.nexus-flip-back b{font-size:28px;letter-spacing:.6px}
.nexus-flip-back small{font-size:12px;letter-spacing:1.2px;text-transform:uppercase;color:#dfe4ff}
.nexus-hidden-icon{display:inline-flex;align-items:center;justify-content:center;width:70px;height:70px;border-radius:20px;background:rgba(255,255,255,.09);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18),0 0 20px rgba(255,255,255,.12);font-size:30px;margin-bottom:10px}
.nexus-open-v51 .reveal-auto-hint{min-height:16px}
.nexus-open-v51 .reveal-auto-track{width:min(340px,84vw)}
@keyframes nexusRarityBannerIn{0%{opacity:0;transform:translate(-50%,-16px) scale(.84)}60%{opacity:1;transform:translate(-50%,4px) scale(1.06)}100%{opacity:1;transform:translate(-50%,0) scale(1)}}
@media(max-width:520px){.nexus-reveal-stack{padding-top:44px}.nexus-rarity-banner{padding:8px 14px;gap:8px;font-size:11px}.nexus-rarity-banner img{width:18px;height:18px}.nexus-hidden-icon{width:58px;height:58px;border-radius:16px;font-size:26px}.nexus-flip-back b{font-size:23px}}


/* NONONO V5.3 — sans skip, récompense visible immédiatement et sous contrôle du joueur */
.nexus-v53-stage{gap:11px;min-height:unset}
.nexus-v53-reward-stack{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:100%;isolation:isolate}
.nexus-v53-rarity{position:relative;z-index:8;display:flex;align-items:center;gap:10px;padding:11px 22px;border-radius:999px;background:linear-gradient(115deg,color-mix(in srgb,var(--reveal-color) 27%,#151d33),#171c31 82%);border:2px solid var(--reveal-color);box-shadow:0 0 28px color-mix(in srgb,var(--reveal-color) 48%,transparent),inset 0 0 18px color-mix(in srgb,var(--reveal-color) 20%,transparent);color:#fff;font-weight:900;text-transform:uppercase;letter-spacing:1px;animation:nexusV53Rarity .75s cubic-bezier(.2,.83,.24,1.13) both}
.nexus-v53-rarity img{width:32px;height:32px;object-fit:contain;filter:drop-shadow(0 0 12px var(--reveal-color))}
.nexus-v53-frame{position:relative;z-index:1;padding:9px;animation:nexusV53Arrival .72s cubic-bezier(.16,.78,.23,1.1) both}
.nexus-v53-frame .nexus-scene-glow{opacity:.38;transform:scale(1);animation:nexusV51Glow 1.25s ease-out both}
.nexus-v53-frame .nexus-scene-rays{animation:nexusV51Rays 1.5s ease-out both}
.nexus-v53-item{display:flex;align-items:center;justify-content:center;width:min(300px,68vw);height:min(415px,92vw);min-height:250px;border:2px solid var(--reveal-color);border-radius:20px;padding:8px;overflow:hidden;background:linear-gradient(160deg,#1b2440,#111a30);box-shadow:0 15px 55px #000a,0 0 45px color-mix(in srgb,var(--reveal-color) 40%,transparent);cursor:pointer;touch-action:manipulation}
.nexus-v53-item img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 12px 19px #000b)}
.nexus-v53-item:disabled{cursor:default;opacity:1}
.nexus-v53-item:not(:disabled):hover{filter:brightness(1.07)}
.nexus-v53-item:not(:disabled):focus-visible{outline:3px solid #fff;outline-offset:5px}
.nexus-v53-item-meta{display:flex;flex-direction:column;gap:5px;text-align:center;align-items:center;max-width:580px;line-height:1.4}
.nexus-v53-item-meta strong{color:#fff;font-size:clamp(16px,2.8vw,23px);font-weight:900}
.nexus-v53-item-meta>span{color:#bac7da;font-size:12px}
.nexus-v53-item-meta .nexus-direct-stats{justify-content:center;flex-wrap:wrap;max-width:min(480px,100%)}
.nexus-v53-hint{color:#9aa8c2;font-size:11px;text-align:center;max-width:410px}
.nexus-v53-stage .reveal-actions{padding-top:6px;justify-content:center}
.nexus-v53-stage .reveal-actions .primary{min-width:205px}
.nexus-v53-stage .reveal-actions button:disabled{opacity:.55;cursor:default}
.nexus-v53-stage .nexus-fallback-card{display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;color:#fff;font-size:54px}.nexus-v53-stage .nexus-fallback-card b{font-size:16px}
@keyframes nexusV53Rarity{0%{opacity:0;transform:translateY(-22px) scale(.75);filter:brightness(2.4)}70%{opacity:1;transform:translateY(3px) scale(1.07)}100%{opacity:1;transform:translateY(0) scale(1)}}
@keyframes nexusV53Arrival{0%{opacity:.35;transform:translateY(28px) scale(.85)}70%{opacity:1;transform:translateY(-5px) scale(1.025)}100%{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:760px){.nexus-v53-item{width:min(270px,72vw);height:min(365px,94vw);min-height:220px}.nexus-v53-rarity{padding:7px 14px;font-size:12px;gap:8px}.nexus-v53-rarity img{width:25px;height:25px}.nexus-v53-hint{font-size:10px}}
@media(max-width:390px){.nexus-v53-item{width:min(245px,72vw);height:320px}.nexus-v53-stage{gap:8px}.nexus-v53-rarity{padding:7px 10px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.nexus-v53-rarity,.nexus-v53-frame,.nexus-v53-frame .nexus-scene-rays,.nexus-v53-frame .nexus-scene-glow{animation:none!important}}
/* V5.3 : éviter que la navigation disparaisse sous la fenêtre de révélation. */
.nexus-v53-stage{gap:8px;padding:0 4px 8px}
.nexus-v53-item{width:min(265px,62vw);height:min(340px,49vh);min-height:210px}
.nexus-v53-stage .reveal-actions{position:sticky;bottom:-10px;z-index:15;width:100%;padding:12px 0 4px;background:linear-gradient(0deg,#11172c 55%,transparent)}
.nexus-v53-stage .nexus-direct-fallback{display:flex;align-items:center;justify-content:center;gap:8px;flex-direction:column;font-size:42px;color:#eae5ff;text-shadow:0 0 16px var(--reveal-color);text-align:center}
.nexus-v53-stage .nexus-direct-fallback b{font-size:15px;color:#fff;letter-spacing:.3px;text-shadow:0 2px 12px #000a}
@media(max-height:780px) and (min-width:761px){.nexus-v53-item{height:min(255px,35vh);width:min(220px,44vw);min-height:190px}.nexus-v53-rarity{padding:6px 12px}.nexus-v53-rarity img{width:24px;height:24px}.nexus-v53-item-meta strong{font-size:17px}.nexus-v53-hint{font-size:10px}}
@media(max-width:760px){.nexus-v53-item{width:min(245px,72vw);height:min(335px,49vh);min-height:215px}}
@media(max-width:390px){.nexus-v53-item{width:min(225px,70vw);height:min(315px,47vh);min-height:190px}}

/* NEXUS V5.4 — boutique compacte, reveal plein ecran, bonus IDs visuels courts */
.nexus-v54-shop{display:flex;flex-direction:column;gap:18px;margin-top:16px}
.nexus-v54-store-player{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:18px;align-items:stretch}
.nexus-v54-store-player>.pack-tile,.nexus-v54-store-weapon>.pack-tile{min-width:0;max-width:none}
.nexus-v54-store-player>.pack-tile{height:100%}
.nexus-v54-store-weapon>.pack-tile{max-width:640px}
.nexus-v54-label{font-size:10px;color:#9faad2;letter-spacing:1.6px;font-weight:850}
.nexus-v54-odds{min-width:0;border:1px solid #3c4665;border-radius:18px;padding:clamp(14px,1.5vw,24px);background:radial-gradient(ellipse at 95% 0%,#342757 0,transparent 52%),linear-gradient(150deg,#1b2540,#111a2e);box-shadow:0 15px 40px #080a1b55;display:flex;flex-direction:column;gap:16px}
.nexus-v54-odds-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.nexus-v54-odds-head h3{margin:7px 0 0;font-size:clamp(16px,1.45vw,23px);line-height:1.2}
.nexus-v54-luck{background:#28402d;border:1px solid #49684d;padding:8px 10px;border-radius:999px;color:#a4ecc0;font-size:11px;font-weight:800;white-space:nowrap}
.nexus-v54-odds-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;align-content:start}
.nexus-v54-odds-row{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:7px;padding:10px 9px;background:#19243b;border:1px solid #354262;border-radius:11px;min-width:0;box-shadow:inset 3px 0 color-mix(in srgb,var(--odds-color) 80%,transparent)}
.nexus-v54-odds-row img{width:22px;height:22px;object-fit:contain}
.nexus-v54-odds-name{font-size:11px;font-weight:750;color:#e5e9f6;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nexus-v54-odds-row strong{font-size:11px;color:var(--odds-color);white-space:nowrap;font-variant-numeric:tabular-nums}
.nexus-v54-odds-bottom{margin-top:auto;font-size:10px;color:#92a3c2;line-height:1.4}
.nexus-v54-odds-bottom span{display:block;margin-top:5px;color:#e6c99b}
.nexus-display-id{font-variant-numeric:tabular-nums}
/* L'ouverture occupe l'espace disponible, sans barre de progression ni scrollbar. */
dialog:has(.nexus-v54-stage)[open]{display:flex;flex-direction:column;width:min(640px,calc(100vw - 24px));height:min(710px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);min-height:0;padding:clamp(10px,1.6vh,18px);overflow:hidden;box-sizing:border-box;background:radial-gradient(ellipse at 50% 30%,#283c66 0%,#13192e 75%);border:1px solid #485887;border-radius:20px}
dialog:has(.nexus-v54-stage) #dialog-body{height:100%;min-height:0;width:100%;display:flex;flex-direction:column;overflow:hidden}
.nexus-v54-stage{height:100%;min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto;justify-items:center;align-items:stretch;gap:clamp(5px,1vh,10px);overflow:hidden;padding:0 12px 3px;box-sizing:border-box}
.nexus-v54-top{width:100%;display:flex;align-items:center;justify-content:space-between;color:#a9b4d4;font-weight:800;letter-spacing:1.1px;font-size:11px;padding:2px 2px 0}
.nexus-v54-top b{background:#273550;border:1px solid #364e73;border-radius:999px;padding:7px 12px;color:#f0f3ff;font-variant-numeric:tabular-nums;letter-spacing:0}
.nexus-v54-rarity{position:relative;z-index:3;display:flex;align-items:center;justify-content:center;gap:9px;min-height:0;padding:6px 18px;border-radius:999px;border:1px solid var(--reveal-color);box-shadow:0 0 22px color-mix(in srgb,var(--reveal-color) 48%,transparent);background:linear-gradient(120deg,color-mix(in srgb,var(--reveal-color) 24%,#18233a),#1d2542);animation:nexus54RarityIn .45s ease-out both}
.nexus-v54-rarity img{width:clamp(21px,3.8vh,29px);height:clamp(21px,3.8vh,29px);object-fit:contain;filter:drop-shadow(0 0 6px var(--reveal-color))}
.nexus-v54-rarity strong{color:#fff;font-size:clamp(12px,2vh,17px);text-transform:uppercase;letter-spacing:.8px}
.nexus-v54-visual{position:relative;isolation:isolate;display:flex;justify-content:center;align-items:center;min-width:0;width:100%;height:100%;min-height:0;overflow:hidden}
.nexus-v54-orbit{position:absolute;width:min(100%,360px);height:80%;z-index:-1;background:radial-gradient(ellipse,color-mix(in srgb,var(--reveal-color) 45%,transparent) 0%,transparent 65%);filter:blur(12px);animation:nexus54Pulse 2.4s ease-in-out infinite alternate;pointer-events:none}
.nexus-v54-card{position:relative;width:min(100%,330px);height:100%;max-height:100%;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;padding:6px;box-sizing:border-box;border-radius:15px;background:radial-gradient(ellipse at 50% 35%,#283550,#131c31 75%);border:2px solid var(--reveal-color);box-shadow:0 10px 35px #0009,0 0 28px color-mix(in srgb,var(--reveal-color) 50%,transparent);animation:nexus54CardIn .55s cubic-bezier(.18,.75,.26,1.07) both}
.nexus-v54-image{width:100%;height:100%;max-height:100%;object-fit:contain;display:block;pointer-events:none;user-select:none}
.nexus-v54-card .nexus-direct-fallback{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font-size:42px;color:var(--reveal-color)}
.nexus-v54-card .nexus-direct-fallback b{font-size:14px;color:#fff;max-width:190px;overflow:hidden;text-overflow:ellipsis}
.nexus-v54-meta{width:100%;max-width:570px;min-height:0;display:flex;align-items:center;flex-direction:column;text-align:center;gap:4px;justify-content:center}
.nexus-v54-meta>strong{color:#fff;font-size:clamp(16px,2.6vh,23px);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nexus-v54-meta>span{color:#b7c5e1;font-size:11px}
.nexus-v54-meta .item-stats{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px;margin:4px 0 0}
.nexus-v54-meta .stat-chip{font-size:11px;padding:5px 7px;border-radius:9px;color:#c8dcff;background:#223e68;border:1px solid #3b69a4}
.nexus-v54-meta .stat-chip b{font-size:11px}
.nexus-v54-meta .missing-stats{font-size:10px;padding:0}
.nexus-v54-actions{width:100%;display:flex;align-items:center;justify-content:center;flex:none}
.nexus-v54-actions .primary{display:inline-flex;align-items:center;justify-content:center;gap:13px;width:min(100%,320px);min-height:46px;border-radius:12px;font-weight:850;font-size:14px}
.nexus-v54-actions button:disabled{cursor:default;opacity:.6}
@keyframes nexus54RarityIn{0%{opacity:.1;transform:translateY(-10px) scale(.8)}100%{opacity:1;transform:translateY(0) scale(1)}}
@keyframes nexus54CardIn{0%{opacity:.3;transform:translateY(17px) scale(.9)}75%{opacity:1;transform:translateY(-2px) scale(1.025)}100%{opacity:1;transform:translateY(0) scale(1)}}
@keyframes nexus54Pulse{from{opacity:.5;transform:scale(.9)}to{opacity:.95;transform:scale(1.12)}}
@media(max-width:1250px){.nexus-v54-store-player{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.nexus-v54-odds-grid{grid-template-columns:1fr}.nexus-v54-odds-row{padding:8px 9px}}
@media(max-width:900px){.nexus-v54-store-player{grid-template-columns:1fr}.nexus-v54-odds-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nexus-v54-store-weapon>.pack-tile{max-width:none}}
@media(max-width:600px){.nexus-v54-odds{padding:14px}.nexus-v54-odds-grid{gap:6px}.nexus-v54-odds-row{grid-template-columns:20px minmax(0,1fr);gap:4px 6px;padding:8px 6px}.nexus-v54-odds-row img{width:19px;height:19px}.nexus-v54-odds-row strong{grid-column:2;font-size:10px}.nexus-v54-odds-name{font-size:10px}.nexus-v54-stage{padding:0 3px 2px;gap:5px}.nexus-v54-rarity{padding:5px 12px}.nexus-v54-card{width:min(100%,265px)}.nexus-v54-meta .stat-chip{padding:3px 5px;font-size:10px}.nexus-v54-actions .primary{min-height:44px}}
@media(max-height:600px){dialog:has(.nexus-v54-stage)[open]{height:calc(100dvh - 12px);max-height:calc(100dvh - 12px);padding:7px}.nexus-v54-stage{gap:4px}.nexus-v54-top{font-size:10px}.nexus-v54-rarity{padding:3px 10px}.nexus-v54-rarity img{height:20px;width:20px}.nexus-v54-meta>strong{font-size:15px}.nexus-v54-meta .stat-chip{padding:3px 5px}.nexus-v54-actions .primary{min-height:40px}}
@media(prefers-reduced-motion:reduce){.nexus-v54-card,.nexus-v54-rarity,.nexus-v54-orbit{animation:none!important}}
/* Résultats en grand nombre : scroll limité aux objets, actions toujours visibles */
dialog:has(.dialog-grid):not(:has(.nexus-v54-stage))[open]{max-height:calc(100dvh - 24px);overflow:hidden;display:flex;flex-direction:column}
dialog:has(.dialog-grid):not(:has(.nexus-v54-stage)) #dialog-body{min-height:0;display:flex;flex-direction:column;overflow:hidden}
dialog:has(.dialog-grid):not(:has(.nexus-v54-stage)) .dialog-grid{min-height:0;overflow:auto;flex:1;align-content:start}
dialog:has(.dialog-grid):not(:has(.nexus-v54-stage)) .dialog-footer{flex-shrink:0;background:#151c2b;padding-top:8px;margin-top:8px}

/* V5.4 : espacement de la croix de fermeture et scrollbar masquée en récapitulatif */
.nexus-v54-top{padding-right:50px;box-sizing:border-box}
dialog:has(.nexus-v54-stage) .close-dialog{z-index:20;right:12px;top:12px}
dialog:has(.dialog-grid):not(:has(.nexus-v54-stage)) .dialog-grid{scrollbar-width:none}
dialog:has(.dialog-grid):not(:has(.nexus-v54-stage)) .dialog-grid::-webkit-scrollbar{display:none}


/* NONONO V5.6 - real top navigation instead of sidebar, responsive. */
body{background:radial-gradient(ellipse 70% 60% at 65% 0%,#141b31 0%,transparent 74%),#0a0e17}
.layout{display:block;min-height:100vh;background:transparent}
.content-shell{width:100%;min-width:0}
.site-header{
 position:sticky;top:0;z-index:30;
 display:grid;grid-template-columns:max-content minmax(0,1fr) max-content;
 align-items:center;gap:18px;padding:11px clamp(14px,2.4vw,30px);
 border-bottom:1px solid #2c3049;background:#0e1423f5;
 box-shadow:0 9px 30px #04060e88;backdrop-filter:blur(16px)
}
.site-header .brand{display:flex;align-items:center;gap:11px;margin:0;min-width:0}
.site-header .brand-avatar{display:block;flex-shrink:0;width:44px;height:44px;border-radius:14px;object-fit:cover;box-shadow:0 0 0 1px #ffffff2b,0 3px 20px #a15eff50}
.site-header .brand-label{display:flex;flex-direction:column;min-width:0}
.site-header .brand b{font-size:21px;letter-spacing:1.2px;line-height:1.05;font-weight:900;color:#fff}
.site-header .brand small{display:block;color:#acb0cc;font-size:9px;letter-spacing:1.6px;margin-top:5px}
.site-header #mainnav{display:flex;flex-wrap:nowrap;gap:4px;align-items:center;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}
.site-header #mainnav::-webkit-scrollbar{display:none}
.site-header .nav-link{display:inline-flex;align-items:center;width:auto;flex:0 0 auto;min-width:0;gap:7px;padding:11px 13px;margin:0;border-radius:10px;color:#b0bdd4;white-space:nowrap;font-size:12px;font-weight:750;line-height:1.1}
.site-header .nav-link>span{display:inline;font-size:15px;width:auto}
.site-header .nav-link:hover{background:#252f46;color:#fff}
.site-header .nav-link.active{background:linear-gradient(120deg,#4040b5,#6447c2);border-color:#8d73f6;color:#fff;box-shadow:inset 0 0 0 1px #ffffff10,0 5px 24px #5847ea3c}
.site-header .topbar-right{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex:0 0 auto;min-width:0}
.site-header .wallet{padding:8px 10px;gap:5px;border-radius:10px}
.site-header .wallet-free{min-width:95px}
.site-header .wallet-stack{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.site-header .wallet-stack small{font-size:9px;color:#b3bad1}
.site-header .mode-pill{padding:7px 9px;font-size:9px;white-space:nowrap}
.site-header .user-circle{display:grid;place-items:center;flex:0 0 auto;width:36px;height:36px;border-radius:50%}
.site-header .bot-pill{display:none!important}
.site-header #menuButton{display:none!important}
main{padding:27px clamp(14px,2.4vw,30px) 80px;max-width:1670px;margin:auto}
.pack-art::after{content:'NONONO'}
@media(max-width:1480px){
 .site-header{grid-template-columns:minmax(0,1fr) max-content;grid-template-areas:'logo status' 'nav nav';gap:10px 12px;padding-top:10px;padding-bottom:8px}
 .site-header .brand{grid-area:logo}
 .site-header .topbar-right{grid-area:status}
 .site-header #mainnav{grid-area:nav;border-top:1px solid #ffffff12;padding-top:7px}
 .site-header .nav-link{padding:9px 12px}
}
@media(max-width:700px){
 .site-header{padding:8px 10px 6px;gap:8px}
 .site-header .brand{gap:7px}
 .site-header .brand-avatar{width:34px;height:34px;border-radius:10px}
 .site-header .brand b{font-size:16px;letter-spacing:.4px}
 .site-header .brand small{display:none}
 .site-header .mode-pill{display:none}
 .site-header .wallet{padding:5px 6px;gap:4px}
 .site-header .wallet b{font-size:11px}
 .site-header .wallet small{display:none}
 .site-header .wallet-free{min-width:0}
 .site-header .wallet-free .wallet-stack small{display:none}
 .site-header .wallet-free .wallet-stack b{font-size:11px}
 .site-header .user-circle{width:29px;height:29px;font-size:12px}
 .site-header .nav-link{font-size:12px;padding:9px 13px;gap:5px}
 main{padding:18px 12px 75px}
 .mobile-nav{display:none!important}
}
@media(max-width:390px){
 .site-header .brand b{font-size:14px}
 .site-header .topbar-right{gap:4px}
 .site-header .wallet{padding:5px 4px}
 .site-header .wallet span{font-size:12px}
 .site-header .wallet b{font-size:10px}
}


/* NONONO V5.7 — couleurs de rareté plus marquées pendant la révélation */
.nexus-v54-stage{position:relative;isolation:isolate}
.nexus-v54-stage > *{position:relative;z-index:1}
.nexus-v54-stage::before,.nexus-v54-stage::after{content:'';position:absolute;inset:-8px;border-radius:24px;pointer-events:none;z-index:0;opacity:0}
.nexus-v54-stage.tier-rare::before{opacity:.55;background:radial-gradient(circle at 50% 18%,color-mix(in srgb,var(--reveal-color) 18%,transparent) 0%,transparent 60%);filter:blur(10px);animation:nononoStageGlow 2.4s ease-in-out infinite alternate}
.nexus-v54-stage.tier-epic::before,.nexus-v54-stage.tier-legendary::before,.nexus-v54-stage.tier-mythic::before{opacity:.7;background:radial-gradient(circle at 50% 18%,color-mix(in srgb,var(--reveal-color) 28%,transparent) 0%,transparent 60%),radial-gradient(circle at 50% 75%,color-mix(in srgb,var(--reveal-color) 14%,transparent) 0%,transparent 58%);filter:blur(12px);animation:nononoStageGlow 2s ease-in-out infinite alternate}
.nexus-v54-stage.tier-legendary::after,.nexus-v54-stage.tier-mythic::after{opacity:.38;background:conic-gradient(from 0deg at 50% 45%,transparent 0deg 42deg,color-mix(in srgb,var(--reveal-color) 55%,transparent) 70deg,transparent 110deg,transparent 185deg,color-mix(in srgb,var(--reveal-color) 45%,transparent) 220deg,transparent 260deg,transparent 360deg);filter:blur(14px);animation:nononoStageSweep 4.2s linear infinite}
.nexus-v54-color-flare{position:absolute;inset:-16px;pointer-events:none;z-index:0;opacity:0;border-radius:22px}
.nexus-v54-color-flare.tier-rare{opacity:.78;background:radial-gradient(circle at 50% 42%,color-mix(in srgb,var(--reveal-color) 46%,transparent) 0%,transparent 58%);filter:blur(12px);animation:nononoRareFlare 1.7s ease-in-out infinite alternate}
.nexus-v54-color-flare.tier-epic{opacity:.95;background:radial-gradient(circle at 50% 42%,color-mix(in srgb,var(--reveal-color) 56%,transparent) 0%,transparent 55%),conic-gradient(from 0deg at 50% 50%,transparent 0deg 35deg,color-mix(in srgb,var(--reveal-color) 28%,transparent) 70deg,transparent 115deg,transparent 180deg,color-mix(in srgb,var(--reveal-color) 22%,transparent) 250deg,transparent 300deg,transparent 360deg);filter:blur(10px);animation:nononoEpicSpin 4.5s linear infinite,nononoRareFlare 1.5s ease-in-out infinite alternate}
.nexus-v54-color-flare.tier-legendary{opacity:1;background:radial-gradient(circle at 50% 42%,color-mix(in srgb,var(--reveal-color) 62%,transparent) 0%,transparent 54%),conic-gradient(from 0deg at 50% 50%,transparent 0deg 20deg,color-mix(in srgb,var(--reveal-color) 42%,transparent) 55deg,transparent 90deg,transparent 160deg,color-mix(in srgb,var(--reveal-color) 34%,transparent) 220deg,transparent 280deg,transparent 360deg);filter:blur(8px);animation:nononoEpicSpin 3.6s linear infinite,nononoRareFlare 1.15s ease-in-out infinite alternate}
.nexus-v54-color-flare.tier-mythic{opacity:1;background:radial-gradient(circle at 50% 42%,color-mix(in srgb,var(--reveal-color) 75%,transparent) 0%,transparent 51%),conic-gradient(from 0deg at 50% 50%,transparent 0deg 20deg,color-mix(in srgb,var(--reveal-color) 55%,transparent) 45deg,transparent 85deg,transparent 150deg,color-mix(in srgb,var(--reveal-color) 48%,transparent) 215deg,transparent 275deg,transparent 360deg);filter:blur(8px);animation:nononoEpicSpin 2.9s linear infinite,nononoMythicPulse 1.1s ease-in-out infinite alternate}
.nexus-v54-rarity.tier-rare,.nexus-v54-rarity.tier-epic,.nexus-v54-rarity.tier-legendary,.nexus-v54-rarity.tier-mythic{box-shadow:0 0 24px color-mix(in srgb,var(--reveal-color) 56%,transparent),inset 0 0 18px color-mix(in srgb,var(--reveal-color) 12%,transparent)}
.nexus-v54-rarity.tier-epic,.nexus-v54-rarity.tier-legendary,.nexus-v54-rarity.tier-mythic{animation:nexus54RarityIn .45s ease-out both,nononoBadgeGlow 1.8s ease-in-out infinite alternate}
.nexus-v54-card.tier-epic,.nexus-v54-card.tier-legendary,.nexus-v54-card.tier-mythic{overflow:hidden}
.nexus-v54-card.tier-epic::after,.nexus-v54-card.tier-legendary::after,.nexus-v54-card.tier-mythic::after{content:'';position:absolute;inset:-26%;background:linear-gradient(115deg,transparent 30%,color-mix(in srgb,var(--reveal-color) 14%,transparent) 47%,color-mix(in srgb,#ffffff 42%,transparent) 50%,color-mix(in srgb,var(--reveal-color) 18%,transparent) 54%,transparent 68%);transform:translateX(-64%) rotate(10deg);animation:nononoCardShine 2.35s ease-in-out infinite;pointer-events:none}
.nexus-v54-card.tier-legendary,.nexus-v54-card.tier-mythic{box-shadow:0 10px 38px #0009,0 0 30px color-mix(in srgb,var(--reveal-color) 62%,transparent)}
.nexus-v54-card.tier-mythic{box-shadow:0 10px 40px #0009,0 0 36px color-mix(in srgb,var(--reveal-color) 72%,transparent),0 0 85px color-mix(in srgb,var(--reveal-color) 32%,transparent)}
.reveal-burst i{width:6px;height:16px;box-shadow:0 0 16px var(--reveal-color),0 0 26px color-mix(in srgb,var(--reveal-color) 55%,transparent)}
.nexus-v54-card.tier-legendary + .reveal-burst i,.nexus-v54-card.tier-mythic + .reveal-burst i{height:18px}
@keyframes nononoRareFlare{from{transform:scale(.9);opacity:.48}to{transform:scale(1.08);opacity:1}}
@keyframes nononoEpicSpin{from{transform:rotate(0deg) scale(.94)}to{transform:rotate(360deg) scale(1.06)}}
@keyframes nononoMythicPulse{from{transform:scale(.93);opacity:.78;filter:blur(8px)}to{transform:scale(1.11);opacity:1;filter:blur(11px)}}
@keyframes nononoBadgeGlow{from{transform:translateY(0) scale(1);filter:brightness(1)}to{transform:translateY(-1px) scale(1.02);filter:brightness(1.15)}}
@keyframes nononoCardShine{0%{transform:translateX(-82%) rotate(10deg);opacity:0}18%{opacity:.2}42%{opacity:.72}68%{opacity:.12}100%{transform:translateX(82%) rotate(10deg);opacity:0}}
@keyframes nononoStageGlow{from{transform:scale(.96);opacity:.35}to{transform:scale(1.03);opacity:.92}}
@keyframes nononoStageSweep{from{transform:rotate(0deg) scale(.94)}to{transform:rotate(360deg) scale(1.06)}}
@media(max-width:600px){.nexus-v54-color-flare{inset:-10px}.reveal-burst i{width:5px;height:12px}}
@media(prefers-reduced-motion:reduce){.nexus-v54-stage::before,.nexus-v54-stage::after,.nexus-v54-color-flare,.nexus-v54-rarity,.nexus-v54-card::after{animation:none!important}}


/* NONONO V5.7.1 — animation pour les Peu communes */
.nexus-v54-stage.tier-uncommon::before{opacity:.42;background:radial-gradient(circle at 50% 20%,color-mix(in srgb,var(--reveal-color) 14%,transparent) 0%,transparent 62%);filter:blur(10px);animation:nononoStageGlow 2.8s ease-in-out infinite alternate}
.nexus-v54-color-flare.tier-uncommon{opacity:.58;background:radial-gradient(circle at 50% 44%,color-mix(in srgb,var(--reveal-color) 28%,transparent) 0%,transparent 60%);filter:blur(14px);animation:nononoUncommonPulse 2.2s ease-in-out infinite alternate}
.nexus-v54-rarity.tier-uncommon{box-shadow:0 0 18px color-mix(in srgb,var(--reveal-color) 34%,transparent),inset 0 0 12px color-mix(in srgb,var(--reveal-color) 10%,transparent);animation:nexus54RarityIn .35s ease-out both,nononoUncommonBadge 2.2s ease-in-out infinite alternate}
.nexus-v54-card.tier-uncommon{box-shadow:0 10px 26px #0008,0 0 16px color-mix(in srgb,var(--reveal-color) 26%,transparent)}
.nexus-v54-card.tier-uncommon::after{content:'';position:absolute;inset:-24%;background:linear-gradient(115deg,transparent 32%,color-mix(in srgb,#ffffff 18%,transparent) 50%,transparent 68%);transform:translateX(-72%) rotate(10deg);animation:nononoCardShineSoft 2.9s ease-in-out infinite;pointer-events:none}
@keyframes nononoUncommonPulse{from{transform:scale(.95);opacity:.34}to{transform:scale(1.04);opacity:.72}}
@keyframes nononoUncommonBadge{from{transform:translateY(0);filter:brightness(1)}to{transform:translateY(-1px);filter:brightness(1.08)}}
@keyframes nononoCardShineSoft{0%{transform:translateX(-88%) rotate(10deg);opacity:0}22%{opacity:.12}45%{opacity:.34}65%{opacity:.08}100%{transform:translateX(88%) rotate(10deg);opacity:0}}
@media(prefers-reduced-motion:reduce){.nexus-v54-stage.tier-uncommon::before,.nexus-v54-color-flare.tier-uncommon,.nexus-v54-rarity.tier-uncommon,.nexus-v54-card.tier-uncommon::after{animation:none!important}}

/* NONONO 5.7.2 — menu principal véritablement tout en haut ; boutique plus dense */
.site-header{
  grid-template-columns:minmax(0,1fr) max-content;
  grid-template-rows:auto auto;
  grid-template-areas:"nav nav" "brand status";
  column-gap:12px;row-gap:6px;
  padding:6px clamp(12px,2vw,24px) 9px;
}
.site-header #mainnav{
  grid-area:nav;
  width:100%;min-width:0;
  display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;
  gap:5px;overflow-x:auto;scrollbar-width:none;
  padding:1px 0 7px;
  border-top:0;border-bottom:1px solid #ffffff19;
  scroll-snap-type:x proximity;
}
.site-header #mainnav::-webkit-scrollbar{display:none}
.site-header #mainnav .nav-link{
  padding:7px 11px;font-size:12px;line-height:1.3;min-height:30px;
  scroll-snap-align:start;
}
.site-header #mainnav .nav-link>span{font-size:14px}
.site-header .brand{grid-area:brand;min-width:0;margin:0}
.site-header .brand-avatar{width:35px;height:35px;border-radius:10px}
.site-header .brand b{font-size:18px;letter-spacing:.7px}
.site-header .brand small{font-size:8px;margin-top:3px}
.site-header .topbar-right{grid-area:status;min-width:0;gap:6px}
.site-header .mode-pill{font-size:9px;padding:6px 8px}
.site-header .wallet{padding:6px 9px;border-radius:8px}
.site-header .wallet-free{min-width:0}
.site-header .user-circle{width:32px;height:32px}
main{padding:16px clamp(12px,2vw,24px) 65px}
.page-heading{margin-bottom:12px}
.page-heading h1{font-size:clamp(24px,2.6vw,33px);margin:5px 0}
.page-heading p{font-size:12px;margin:4px 0}
.nexus-v54-shop{gap:10px;margin-top:9px}
.nexus-v54-store-player{gap:11px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.nexus-v54-store-weapon>.pack-tile{max-width:590px}
.pack-tile{border-radius:14px}
.pack-display{min-height:146px;height:146px}
.pack-display .pack-art{height:120px;width:94px;border-width:2px;border-radius:8px;box-shadow:0 0 22px #9a69ea50,inset 0 0 18px #b48aff28,8px 11px 14px #06061270}
.pack-display .pack-art:before{font-size:43px}
.pack-display .pack-art:after{font-size:9px;letter-spacing:1.4px;bottom:10px}
.pack-ribbon{top:9px;left:11px;font-size:9px;padding:5px 8px}
.pack-info{padding:12px 15px 13px}
.pack-label{font-size:9px;letter-spacing:1.1px}
.pack-info h3{font-size:17px;margin:3px 0 5px}
.pack-info p{font-size:11px;line-height:1.4;min-height:0;margin:0 0 11px}
.pack-actions{gap:8px}
.price{font-size:13px}
.pack-bot{font-size:10px}
.stepper{padding:2px;gap:2px}
.stepper button{width:26px;height:26px}
.stepper output{min-width:28px}
.buy-strip{margin-top:9px;gap:8px}
.buy-strip button{padding:8px 12px;min-width:105px}
.nexus-v54-odds{padding:12px 14px;border-radius:14px;gap:9px}
.nexus-v54-odds-head{gap:8px}
.nexus-v54-odds-head h3{font-size:16px;margin:4px 0 0}
.nexus-v54-luck{padding:5px 8px;font-size:10px}
.nexus-v54-odds-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px}
.nexus-v54-odds-row{
  display:flex;align-items:center;justify-content:flex-start;
  min-width:0;min-height:27px;
  gap:5px;padding:5px 7px;border-radius:8px;
}
.nexus-v54-odds-row img{width:18px;height:18px;flex:0 0 18px}
.nexus-v54-odds-name{font-size:10.5px;flex:0 1 auto;min-width:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.nexus-v54-odds-row strong{flex:0 0 auto;font-size:10.5px;margin-left:3px}
.nexus-v54-odds-bottom{font-size:10px;margin-top:auto;line-height:1.35}
@media(max-width:1480px){
  .site-header{grid-template-columns:minmax(0,1fr) max-content;grid-template-areas:"nav nav" "brand status";gap:6px 12px;padding:6px 14px 9px}
  .site-header #mainnav{grid-area:nav;border-top:0;border-bottom:1px solid #ffffff19;padding:1px 0 7px}
  .site-header .brand{grid-area:brand}
  .site-header .topbar-right{grid-area:status}
  .nexus-v54-odds-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .nexus-v54-store-player{grid-template-columns:1fr}
  .nexus-v54-store-weapon>.pack-tile{max-width:none}
  .pack-display{min-height:138px;height:138px}
}
@media(max-width:700px){
  .site-header{grid-template-columns:minmax(0,1fr) max-content;grid-template-areas:"nav nav" "brand status";gap:6px 8px;padding:6px 9px 8px}
  .site-header #mainnav{display:flex;grid-area:nav;min-width:0;overflow-x:auto;padding:1px 0 6px;border-bottom:1px solid #ffffff19}
  .site-header #mainnav .nav-link{font-size:11px;padding:7px 9px;min-height:29px}
  .site-header .brand{grid-area:brand}
  .site-header .brand-avatar{width:31px;height:31px}
  .site-header .brand b{font-size:15px}
  .site-header .topbar-right{grid-area:status;gap:4px}
  .site-header .wallet{padding:5px 6px}
  main{padding:13px 10px 55px}
  .nexus-v54-odds-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nexus-v54-odds-row{display:flex;gap:4px;padding:5px 6px;min-height:28px}
  .nexus-v54-odds-row img{width:17px;height:17px;flex-basis:17px}
  .nexus-v54-odds-row strong{grid-column:auto;font-size:10px;margin-left:2px}
  .nexus-v54-odds-name{font-size:10px}
  .pack-display{height:140px;min-height:140px}
}
@media(max-width:420px){
  .site-header .brand small{display:none}
  .site-header .brand b{font-size:14px}
  .nexus-v54-odds-grid{grid-template-columns:1fr;gap:4px}
  .nexus-v54-odds-row{min-height:25px;padding:4px 7px}
  .nexus-v54-odds-row img{height:16px;width:16px;flex-basis:16px}
  .nexus-v54-odds-row strong{font-size:10px}
  .pack-actions{align-items:center}
}
/* Deux colonnes de taux aussi sur les téléphones suffisamment larges. */
@media(max-width:420px) and (min-width:356px){
  .nexus-v54-odds-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
  .nexus-v54-odds{padding:11px}
  .nexus-v54-odds-row{min-width:0;padding:4px 5px;gap:3px}
  .nexus-v54-odds-row img{width:15px;height:15px;flex:0 0 15px}
  .nexus-v54-odds-name{font-size:9px;min-width:0}
  .nexus-v54-odds-row strong{font-size:9px;margin-left:1px}
}

/* ------------------------------------------------------
   NONONO V5.7.3 — cases plus petites / vue packs plus compacte
   ------------------------------------------------------ */
.pack-grid{gap:12px}
.pack-tile{border-radius:15px}
.pack-display{min-height:180px}
.store-layout{gap:14px;grid-template-columns:minmax(0,1fr) minmax(240px,300px)}
.store-layout .pack-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.store-layout .pack-display{min-height:172px}
.pack-ribbon{top:12px;left:13px;padding:5px 8px;font-size:9px;letter-spacing:1px}
.pack-art{width:116px;height:154px;border-width:2px;box-shadow:0 0 24px #9a69ea5c,inset 0 0 21px #b48aff32,10px 12px 18px #06061274}
.pack-art:before{font-size:56px}
.pack-art:after{bottom:12px;font-size:12px;letter-spacing:2px}
.pack-art.weapon{box-shadow:0 0 24px #e7ad5958,inset 0 0 21px #ffca7632,10px 12px 18px #06061274}
.pack-art.weapon:before{font-size:58px}
.pack-info{padding:15px 16px 16px}
.pack-label{font-size:9px;letter-spacing:1.25px}
.pack-info h3{margin:0 0 5px;font-size:16px;line-height:1.1}
.pack-info p{font-size:11px;line-height:1.45;margin:0 0 13px;min-height:auto}
.pack-actions{gap:8px}
.price{font-size:12px}
.pack-bot{font-size:10px;line-height:1.35}
.stepper{padding:2px;gap:2px;border-radius:8px}
.stepper button{width:26px;height:26px;border-radius:5px}
.stepper output{min-width:29px;font-size:13px}
.buy-strip{gap:8px;margin-top:10px}
.buy-strip button{min-width:118px;padding:10px 14px;border-radius:9px}
.odds-board{padding:14px 15px;border-radius:14px}
.odds-title{margin-bottom:10px}
.odds-title h3{font-size:14px}
.odds-head{font-size:10px}
.odds-list{gap:8px 10px}
.odds-row{padding:8px 10px;border:1px solid #2b3550;border-radius:10px;background:#182238;font-size:10px;gap:8px}
.odds-name{gap:6px}
.rarity-dot{width:8px;height:8px}
.odds-num{font-size:11px}
.odds-foot{font-size:10px;line-height:1.45;margin-top:11px;padding-top:9px}

@media(max-width:1180px){
  .store-layout{grid-template-columns:1fr;gap:12px}
  .pack-display,.store-layout .pack-display{min-height:165px}
}

@media(max-width:760px){
  .pack-grid,.store-layout .pack-grid{grid-template-columns:1fr;gap:10px}
  .pack-display,.store-layout .pack-display{min-height:150px}
  .pack-art{width:104px;height:138px}
  .pack-art:before{font-size:48px}
  .pack-art:after{font-size:11px;bottom:10px}
  .pack-ribbon{top:10px;left:10px;font-size:8px;padding:4px 7px}
  .pack-info{padding:13px 13px 14px}
  .pack-info h3{font-size:15px}
  .pack-info p{font-size:10px;margin-bottom:11px}
  .price{font-size:11px}
  .pack-bot{font-size:9px}
  .buy-strip button{min-width:108px;padding:9px 12px}
  .odds-board{padding:12px}
  .odds-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 8px}
  .odds-row{padding:7px 8px;font-size:9px}
  .odds-num{font-size:10px}
}

@media(max-width:430px){
  .odds-list{grid-template-columns:1fr}
  .pack-actions{flex-direction:column;align-items:stretch}
  .stepper{align-self:flex-end}
  .buy-strip{flex-direction:column;align-items:stretch}
  .buy-strip button{width:100%}
}


/* Correctif ciblé : vrais composants packs / raretés utilisés sur NONONO */
.nexus-v54-shop{gap:9px;margin-top:7px}
.nexus-v54-store-player{grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:9px}
.nexus-v54-odds{padding:10px 12px;min-height:0}
.nexus-v54-odds-head{margin-bottom:7px}
.nexus-v54-odds-head h3{font-size:15px;margin:0}
.nexus-v54-odds-grid{gap:5px 6px}
.nexus-v54-odds-row{min-height:0;padding:5px 7px;gap:5px;border-radius:8px}
.nexus-v54-odds-row img{width:16px;height:16px;flex:0 0 16px}
.nexus-v54-odds-name{font-size:10px;white-space:nowrap}
.nexus-v54-odds-row strong{font-size:10px;white-space:nowrap;margin-left:3px}
.nexus-v54-odds-bottom{margin-top:8px;padding-top:7px;font-size:10px;line-height:1.35}
.nexus-v54-store-player .pack-display,
.nexus-v54-store-weapon .pack-display{min-height:120px;height:120px}
.nexus-v54-store-player .pack-art,
.nexus-v54-store-weapon .pack-art{width:82px;height:105px}
.nexus-v54-store-player .pack-info,
.nexus-v54-store-weapon .pack-info{padding:12px 14px 13px}
.nexus-v54-store-player .pack-info p,
.nexus-v54-store-weapon .pack-info p{margin-bottom:8px;min-height:0}
.nexus-v54-store-player .pack-actions,
.nexus-v54-store-weapon .pack-actions{gap:5px}
.nexus-v54-store-player .buy-strip,
.nexus-v54-store-weapon .buy-strip{margin-top:8px}
@media(max-width:900px){
 .nexus-v54-store-player{grid-template-columns:1fr;gap:9px}
 .nexus-v54-odds-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:380px){
 .nexus-v54-odds-grid{grid-template-columns:1fr}
 .nexus-v54-odds-row{padding:5px 8px}
}

/* NONONO : texte sur le dos des packs seulement, pas sur les recompenses */
.pack-art:not(.weapon):after{content:"NONONO"}
.pack-art.weapon:after{content:"NONONO"}
