/* Règles reprises telles quelles de builder/builder.css (cartes de sublimation, grille de sorts,
   barre d'onglets, panneaux). Régénéré par un outil : ne pas éditer à la main. */
header, .tabs-bar, .tab-page { position: relative; z-index: 1; }
.tabs-bar { height: 36px; flex-shrink: 0; display: flex; align-items: flex-end; gap: 2px; padding: 0 24px; background: var(--bg-header); border-bottom: 1px solid var(--border); position: relative; z-index: 15; }
.tab-btn { padding: 7px 16px 8px; background: transparent; border: 1px solid transparent; border-bottom: none; border-radius: 8px 8px 0 0; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text3); cursor: pointer; transition: color .15s, background .15s; }
.tab-btn:hover { color: var(--text2); }
.tab-btn.active { color: var(--accent); background: var(--bg-card); border-color: var(--border2); text-shadow: 0 0 14px rgba(var(--accent-rgb), 0.4); }
.tabs-bar { height: 52px; display: flex; align-items: flex-end; justify-content: center; padding: 0; position: relative; }
.tabs-center { display: flex; gap: 4px; }
.tab-btn { font-size: 15px; padding: 10px 24px 11px; }
.tabs-bar { height: 60px !important; padding: 0 !important; background: transparent !important; border-bottom: none !important; display: flex; align-items: center; justify-content: center; position: relative; z-index: 15; }
.tabs-bar::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.35) 30%, rgba(var(--accent-rgb), 0.55) 50%, rgba(var(--accent-rgb), 0.35) 70%, transparent); }
.tabs-bar, .tabs-bar button, .tabs-bar a, .tabs-bar input { font-family: 'Rajdhani', sans-serif; }
.tabs-center { display: flex; gap: 2px; align-items: flex-end; }
.tab-btn { padding: 9px 14px 11px !important; background: transparent; border: none !important; border-radius: 0; font-size: 15px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text3); position: relative; transition: color .2s; }
.tab-btn:hover { color: var(--text2); }
.tab-btn.active { color: var(--accent); background: transparent; text-shadow: 0 0 16px rgba(var(--accent-rgb), 0.5); }
.tab-btn.active::after { content: ''; position: absolute; bottom: -1px; left: 14px; right: 14px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.7); }
.special-rarities { display: flex; gap: 6px; }
.sr-pill { width: 34px; height: 34px; padding: 0; display: flex; align-items: center; justify-content: center; border-radius: 8px; border: 1.5px solid; cursor: pointer; transition: all .15s; position: relative; }
.sr-pill img { width: 22px; height: 22px; object-fit: contain; transition: filter .15s; }
.sr-pill[data-rarity="souvenir"] { border-color: rgba(136,194,222,.5); background: rgba(136,194,222,.08); }
.sr-pill[data-rarity="relique"] { border-color: rgba(177,148,210,.5); background: rgba(177,148,210,.08); }
.sr-pill[data-rarity="epique"] { border-color: rgba(195,124,167,.5); background: rgba(195,124,167,.08); }
.sr-pill:not(.active) { border-color: var(--border2) !important; background: rgba(255,255,255,.02) !important; }
.sr-pill:not(.active) img { filter: grayscale(1) brightness(.6); }
.sr-pill.active[data-rarity="souvenir"] { box-shadow: 0 0 10px rgba(136,194,222,.4); }
.sr-pill.active[data-rarity="relique"] { box-shadow: 0 0 10px rgba(177,148,210,.4); }
.sr-pill.active[data-rarity="epique"] { box-shadow: 0 0 10px rgba(195,124,167,.4); }
.sr-pill[data-tip]:hover::after { bottom: auto; top: calc(100% + 7px); }
.ench-card-search-row .ench-search-input { flex: 1; min-width: 0; }
.ench-search-input { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid var(--border2); border-radius: 7px; padding: 9px 14px; color: var(--text-white); font-family: 'Inter', sans-serif; font-size: 14px; }
.ench-search-input::placeholder { color: var(--text3); }
.ench-search-input:focus { border-color: var(--accent); outline: none; }
.ench-card-grid { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; display: grid; gap: 12px; align-content: start; }
.ench-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ench-subli-empty { width: 100%; height: 100%; border: 1px dashed var(--border2); border-radius: 8px; background: rgba(255,255,255,0.02); cursor: pointer; transition: border-color .12s, background .12s; }
.ench-subli-empty:hover { border-color: var(--accent); background: rgba(var(--accent-rgb),0.06); }
.ench-objet-subli.ench-compatible .ench-subli-empty { border-color: var(--accent); border-style: solid; background: rgba(var(--accent-rgb),0.12); box-shadow: 0 0 8px rgba(var(--accent-rgb),0.4); }
.ench-objet-subli .ench-subli-empty img { width: 100%; height: 100%; object-fit: contain; }
.ench-subli-card { display: flex; align-items: center; gap: 8px; padding: 7px 9px; min-width: 0; border-radius: 9px; background: linear-gradient(100deg, var(--subli-bg, color-mix(in srgb, var(--subli-c, #888) 30%, var(--bg3))) 0%, var(--bg3) 70%, var(--bg3) 100%); border: 1px solid var(--border2); cursor: pointer; transition: border-color .12s, box-shadow .12s, transform .1s; }
.ench-subli-card:hover { border-color: var(--subli-c, var(--accent)); box-shadow: 0 0 10px color-mix(in srgb, var(--subli-c, var(--accent)) 40%, transparent); transform: translateY(-1px); }
.ench-subli-card.selected { border-color: var(--subli-c, var(--accent)); box-shadow: 0 0 12px color-mix(in srgb, var(--subli-c, var(--accent)) 55%, transparent); }
.ench-subli-spec.selected { border: 2px solid var(--subli-c, var(--accent)); box-shadow: 0 0 16px color-mix(in srgb, var(--subli-c, var(--accent)) 75%, transparent), inset 0 0 14px color-mix(in srgb, var(--subli-c, var(--accent)) 25%, transparent); }
.ench-subli-spec.selected .ench-subli-spec-ico { filter: drop-shadow(0 0 6px var(--subli-c, rgba(255,255,255,.6))); }
.ench-subli-card.dragging { opacity: .5; }
.ench-subli-logo { width: 32px; height: 32px; object-fit: contain; flex-shrink: 0; }
.ench-subli-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.ench-subli-nom { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 14px; color: var(--text-white); line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ench-subli-seq-pills { display: flex; align-items: center; justify-content: space-between; gap: 5px; min-width: 0; }
.ench-subli-seq-pills .ench-subli-seq { flex-shrink: 0; }
.ench-subli-seq-pills .ench-subli-pills { display: flex; gap: 3px; flex-shrink: 0; }
.ench-subli-seq { display: flex; gap: 3px; }
.ench-subli-seq-ico { width: 15px; height: 15px; object-fit: contain; }
.ench-subli-pills { display: flex; gap: 4px; align-items: center; }
.ench-subli-spec { flex-direction: row; align-items: center; gap: 10px; }
.ench-subli-spec-ico { width: 32px; height: 32px; object-fit: contain; flex-shrink: 0; }
.ench-subli-spec .ench-subli-nom { white-space: normal; font-size: 15px; }
.ench-card-grid { overflow-y: auto; overflow-x: hidden; }
.ench-card-grid > * { min-width: 0; }
.ench-card-grid, .results-list { scrollbar-width: auto; scrollbar-color: rgba(var(--accent-rgb), .55) rgba(255,255,255,.05); }
.ench-card-grid::-webkit-scrollbar, .results-list::-webkit-scrollbar { width: 14px; }
.ench-card-grid::-webkit-scrollbar-track, .results-list::-webkit-scrollbar-track { background: rgba(255,255,255,.05); border-radius: 7px; }
.ench-card-grid::-webkit-scrollbar-thumb, .results-list::-webkit-scrollbar-thumb { background: rgba(var(--accent-rgb), .55); border-radius: 7px; border: 3px solid transparent; background-clip: padding-box; }
.ench-card-grid::-webkit-scrollbar-thumb:hover, .results-list::-webkit-scrollbar-thumb:hover { background: rgba(var(--accent-rgb), .85); background-clip: padding-box; }
.ench-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; align-content: start; }
.nav-history { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); display: flex; gap: 6px; z-index: 16; }
.sp-right { flex: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; border-left: 1px solid var(--border2); padding-left: 14px; }
.sp-grid-title { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--text2); margin-bottom: 6px; }
.sp-detail { flex: 1; min-height: 0; overflow-y: auto; background: rgba(0,0,0,0.2); border: 1px solid var(--border2); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.sp-detail-empty { margin: auto; color: var(--text3); font-family: 'Inter',sans-serif; font-size: 14px; text-align: center; }
.sp-detail-head { display: flex; align-items: center; gap: 10px; }
.sp-detail-ico { width: 40px; height: 40px; flex-shrink: 0; }
.sp-detail-ico img { width: 100%; height: 100%; object-fit: contain; }
.sp-detail-name { font-family: 'Inter', sans-serif; font-size: 17px; color: var(--text-white); }
.sp-detail-desc { font-size: 13px; color: var(--text2); line-height: 1.5; }
.sp-class-effects-title { margin-top: 12px; color: rgb(var(--sp-effect-rgb, 240,192,64)); font-weight: 700; font-size: 14px; }
.sp-class-effects { margin: 6px 0 0; padding-left: 20px; color: #e8f0f8; font-size: 17px; line-height: 1.5; }
.sp-class-effects li { margin: 4px 0; }
.sp-class-effects .sp-effect-child-row { position: relative; list-style: none; margin-left: 8px; padding-left: 20px; color: rgb(var(--sp-effect-rgb, 240,192,64)); font-weight: 700; }
.sp-class-effects .sp-effect-child-row::before { content: ''; position: absolute; left: 0; top: -3px; bottom: -3px; width: 2px; border-radius: 2px; background: rgba(var(--sp-effect-rgb, 240,192,64), .72); }
.sp-effect-child-arrow { margin-right: 7px; font-weight: 900; }
.sp-class-description { margin: 13px 0 0; color: #f0ebe0; font-size: 16px; line-height: 1.55; }
.sp-detail .spell-cast-limits, #spPoolTip .spell-cast-limits { display:flex; flex-wrap:wrap; gap:6px; margin-top:12px; padding-top:9px; border-top:1px solid rgba(var(--sp-effect-rgb, 144,144,144), .28); }
.sp-detail .spell-cast-limits span, #spPoolTip .spell-cast-limits span { padding:3px 7px; border:1px solid rgba(var(--sp-effect-rgb, 144,144,144), .42); border-radius:7px; color:rgb(var(--sp-effect-rgb, 210,210,210)); background:rgba(var(--sp-effect-rgb, 144,144,144), .08); font-size:12px; font-weight:700; }
.sp-inline-icon { width: 17px; height: 17px; object-fit: contain; vertical-align: -3px; margin-right: 4px; }
.sp-text-ref, .sp-element-ref, .sp-entity-ref, .sp-rune-ref { display: inline-flex; align-items: baseline; font-weight: 700; white-space: nowrap; }
.sp-state, .sp-text-ref { color: #f0c040; cursor: pointer; border-bottom: 1px dotted rgba(240,192,64,.65); }
.sp-entity-caster { color: #38bdf8; }
.sp-entity-ally { color: #65d68a; }
.sp-entity-enemy { color: #f87171; }
.sp-element-feu { color: #ef5a45; }
.sp-element-eau { color: #4aa8e8; }
.sp-element-terre { color: #8acb45; }
.sp-element-air { color: #bd78e8; }
.sp-element-lumiere { color: #f0d35d; }
.sp-rune-feu { color: #ef5a45; }
.sp-rune-eau { color: #4aa8e8; }
.sp-rune-terre { color: #8acb45; }
.sp-rune-air { color: #bd78e8; }
.sp-tabs { display: flex; gap: 8px; flex-shrink: 0; }
.sp-tab { flex: 1; padding: 8px 14px; border-radius: 8px; cursor: pointer; transition: .15s; background: rgba(255,255,255,0.04); border: 1px solid var(--border2); color: var(--text2); font-family: 'Inter', sans-serif; font-size: 15px; }
.sp-tab:hover { color: var(--text-white); }
.sp-tab.active { background: rgba(240,192,64,0.14); border-color: rgba(240,192,64,0.5); color: #f0c040; }
.sp-pool { flex: 1; min-height: 0; overflow-y: auto; display: block; }
.sp-pool-empty { margin: auto; text-align: center; }
.sp-pool-empty-title { font-family: 'Inter', sans-serif; font-size: 17px; color: var(--text2); }
.sp-pool-empty-sub { font-family: 'Inter',sans-serif; font-size: 13px; color: var(--text3); font-style: italic; margin-top: 4px; }
.sp-pool-item { display: flex; align-items: center; gap: 10px; cursor: grab; background: rgba(255,255,255,0.03); border: 1px solid var(--border2); border-radius: 9px; padding: 8px 10px; transition: .12s; }
.sp-pool-item:hover { border-color: rgba(240,192,64,0.5); background: rgba(240,192,64,0.06); }
.sp-pool-item:active { cursor: grabbing; }
.sp-pool-ico { width: 34px; height: 34px; flex-shrink: 0; }
.sp-pool-ico img { width: 100%; height: 100%; object-fit: contain; }
.sp-pool-name { font-family: 'Inter',sans-serif; font-weight: 700; font-size: 14px; color: var(--text-white); }
.sp-pool-desc { font-size: 12px; color: var(--text2); line-height: 1.3; }
.sp-pool-item.unavailable { opacity: 0.85; cursor: not-allowed; border-color: rgba(239,68,68,0.5); background: rgba(239,68,68,0.07); }
.sp-pool-item.unavailable .sp-pool-name, .sp-pool-item.unavailable .sp-pool-desc { color: #ef4444; }
.sp-pool-item.unavailable .sp-pool-ico img { filter: grayscale(0.6) brightness(0.7); }
.sp-pool-lvl { margin-left: 8px; font-size: 11px; font-weight: 600; color: var(--text3); font-family: 'Inter', sans-serif; }
.sp-pool-item.unavailable .sp-pool-lvl { color: #ef4444; }
.sp-pool-grid { display: grid; grid-template-columns: repeat(auto-fill, 52px); gap: 8px; justify-content: start; align-content: start; }
.sp-pool-ico-btn { position: relative; width: 68px; height: 68px; border-radius: 10px; cursor: grab; background: transparent; border: 2px solid #334155; display: flex; align-items: center; justify-content: center; transition: .12s; }
.sp-pool-ico-btn:hover { box-shadow: 0 0 10px rgba(255,255,255,0.18); }
.sp-pool-ico-btn:active { cursor: grabbing; }
.sp-pool-ico-btn img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.sp-pool-ico-lvl { position: absolute; bottom: -2px; right: -2px; font-size: 10px; font-weight: 700; font-family: 'Inter',sans-serif; background: rgba(0,0,0,0.8); color: #e1cc82; border-radius: 5px; padding: 0 4px; }
.sp-pool-ico-btn.unavailable { cursor: not-allowed; border-color: rgba(239,68,68,0.5); background: linear-gradient(150deg, rgba(239,68,68,0.18), rgba(239,68,68,0.04) 65%, var(--bg-card)); }
.sp-pool-ico-btn.unavailable img { filter: grayscale(0.7) brightness(0.6); }
.sp-pool-ico-btn.unavailable .sp-pool-ico-lvl { color: #ef4444; }
.sp-pool-tip { position: fixed; z-index: 9999; display: none; pointer-events: none; max-width: 280px; padding: 11px 14px; border-radius: 10px; overflow: hidden; background: linear-gradient(180deg, color-mix(in srgb, rgb(225,204,130) 22%, #131519) 0%, color-mix(in srgb, rgb(225,204,130) 8%, #131519) 45%, #131519 100%); border: 1.5px solid rgba(225,204,130,0.65); box-shadow: 0 4px 30px rgba(225,204,130,0.35), 0 0 0 1px rgba(225,204,130,0.12); font-family: 'Inter', sans-serif; color: #e8f0f8; }
.sp-pool-tip-head { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.sp-pool-tip-head img { width: 30px; height: 30px; object-fit: contain; flex-shrink: 0; }
.sp-pool-tip-name { font-weight: 700; color: #ffffff; font-size: 15px; }
.sp-pool-tip-lvl { margin-left: auto; font-size: 12px; color: rgba(255,255,255,0.6); font-weight: 600; }
.sp-pool-tip-lvl.lock { color: #ef4444; }
.sp-pool-tip-desc { font-size: 13px; color: #e8f0f8; line-height: 1.5; }
.sp-pool-tip-locked { margin-top: 6px; font-size: 11.5px; color: #ef4444; font-style: italic; }
.sp-pool { overflow-y: auto; }
.home-nav-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; height: 34px; border-radius: 8px; background: rgba(var(--accent-rgb),0.10); border: 1px solid rgba(var(--accent-rgb),0.30); color: var(--accent); cursor: pointer; transition: all .15s; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 13px; }
.home-nav-btn:hover { background: rgba(var(--accent-rgb),0.18); border-color: var(--accent); }
.home-nav-btn svg { width: 17px; height: 17px; }
.na-subfilters .special-rarities { gap: 6px; }
.ench-subli-warn { display: flex; align-items: center; gap: 10px; width: 165px; height: 44px; flex: 0 0 auto; align-self: center; margin-top: 6px; padding: 0 14px; border-radius: 12px; background: linear-gradient(100deg, rgba(224,80,80,0.30) 0%, rgba(224,80,80,0.14) 38%, #0c0d12 78%, #20212c 100%); border: 1px solid rgba(224,80,80,0.5); box-shadow: 0 0 10px rgba(224,80,80,0.18); cursor: help; }
.ench-subli-warn-ico { flex-shrink: 0; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; font-size: 22px; line-height: 1; color: #ef6b6b; text-shadow: 0 0 5px rgba(239,68,68,0.6); }
.ench-subli-warn-label { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: 0.5px; color: #ef8a8a; text-transform: uppercase; }
#tab-calculateur .dc-fullpage .sp-illus, #tab-calculateur .dc-fullpage .sp-breed-card, #tab-calculateur .dc-fullpage .sp-posture, #tab-calculateur .dc-fullpage .sp-detail { display: none !important; }
#tab-calculateur .dc-fullpage .sp-left, #tab-calculateur .dc-fullpage .sp-right { flex: 0 0 auto; width: 100%; }
.sp-class-effects .sp-effect-child-row.dc-fx-selectable { padding-left: 20px; }
.dc-fx-block .sp-class-effects { font-size: 15px; }
.dc-card .sp-class-effects, .dc-fx-block .sp-class-effects { font-size: 15px; color: #f2f6fb; }
.dc-card-compact .sp-class-effects { display: flex; flex-direction: column; gap: 3px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.dc-card-compact .sp-class-effects li { margin: 0; }
.dc-card .sp-class-effects { font-size: 14px; padding-left: 16px; }
.ench-chasses-card .ench-subli-warn { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); margin: 0; z-index: 5; }
.ench-fusion-card { flex: 3 1 0; min-height: 0; display: flex; gap: 16px; background: var(--bg-card); border: 1px solid var(--border2); border-radius: 12px; padding: 16px; }
.ench-fusion-left { width: 240px; flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.ench-fusion-search { flex-shrink: 0; }
.ench-fusion-pills { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.ench-fusion-right { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.ench-fusion-right .ench-card-grid { flex: 1; min-height: 0; padding: 0; }
.ench-rarity-row { display: flex; align-items: center; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
.ench-rarity-row .rarity-slider { gap: 14px; padding: 6px 16px; }
.ench-rarity-row .special-rarities { gap: 6px; }
.ench-srs .sr-pill { opacity: 1; filter: none; }
.ench-srs .sr-pill:not(.active) img { filter: none !important; }
.ench-srs .sr-pill:not(.active)[data-lvl="epique"] { border-color: #c37ca7 !important; background: rgba(195,124,167,.16) !important; }
.ench-srs .sr-pill:not(.active)[data-lvl="relique"] { border-color: #b194d2 !important; background: rgba(177,148,210,.16) !important; }
.ench-srs .sr-pill[data-lvl="epique"] { border-color: #c37ca7; background: rgba(195,124,167,.16); }
.ench-srs .sr-pill[data-lvl="relique"] { border-color: #b194d2; background: rgba(177,148,210,.16); }
.ench-srs .sr-pill.active[data-lvl="epique"] { border-color: #e0a8cf; animation: ench-gem-shimmer-epique 1.1s ease-in-out infinite; }
.ench-srs .sr-pill.active[data-lvl="relique"] { border-color: #cdb6e8; animation: ench-gem-shimmer-relique 1.1s ease-in-out infinite; }
.ench-srs .sr-pill.active img { animation: ench-gem-glow 1.1s ease-in-out infinite; }
.ench-fusion-pills { display: flex; flex-direction: row; gap: 10px; }
.ench-fusion-pills .ench-eq-pill { flex: 1 1 0; min-width: 0; }
.ench-eq-pill { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 8px; border-radius: 12px; border: 1.5px solid color-mix(in srgb, var(--subli-c, var(--border2)) 55%, var(--border2)); background: linear-gradient(160deg, color-mix(in srgb, var(--subli-c, #888) 14%, var(--bg-card)), var(--bg-card) 70%); cursor: pointer; transition: border-color .15s, box-shadow .15s; min-height: 0; }
.ench-eq-pill.filled { border-color: var(--subli-c); box-shadow: 0 0 12px color-mix(in srgb, var(--subli-c) 30%, transparent); }
.ench-eq-pill.ench-drop-hover { box-shadow: 0 0 0 2px var(--subli-c, var(--accent)) inset; }
.ench-eq-pill-ico { width: 44px; height: 44px; flex-shrink: 0; border-radius: 9px; border: 1px solid color-mix(in srgb, var(--subli-c, var(--border2)) 50%, var(--border2)); background: rgba(0,0,0,.3); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.ench-eq-pill-ico img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.ench-eq-pill-name { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 13px; color: var(--subli-c, var(--text-white)); text-align: center; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.ench-eq-pill.empty { opacity: .5; }
.ench-eq-pill.empty .ench-eq-pill-name { color: var(--text3); }
.ench-eq-pill .ench-spec-cross { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 900; color: #ff5b5b; background: rgba(0,0,0,.45); }
.ench-fusion-right .ench-subli-nom { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ench-subli-spec .ench-subli-info { flex: 1; min-width: 0; }
.ench-subli-spec .ench-subli-nom { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ench-subli-spec .ench-spec-gem { margin-left: auto; flex-shrink: 0; }
.sp-detail-empty { font-size: 16px !important; }
.sp-detail-name { font-size: 24px !important; }
.sp-detail-desc { font-size: 19px !important; line-height: 1.55 !important; }
.sp-detail-ico { width: 72px !important; height: 72px !important; }
.sp-pool-section { margin-bottom: 16px; }
.sp-pool-section:last-child { margin-bottom: 0; }
.sp-pool-section-title { font-family: 'Inter', sans-serif; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--text3); margin: 0 0 8px 2px; font-weight: 700; }
.sp-pool-grid { display: flex; flex-direction: row; flex-wrap: wrap; gap: 9px; }
.sp-pool-row { display: flex; flex-direction: row; flex-wrap: nowrap; gap: 9px; margin-bottom: 9px; }
.sp-pool-row:last-child { margin-bottom: 0; }
.sp-pool-ico-lvl { position: absolute; bottom: 3px; right: 3px; font-size: 10px; font-weight: 700; font-family: 'Inter',sans-serif; background: rgba(0,0,0,0.8); color: #f1f5f9; border-radius: 4px; padding: 0 4px; z-index: 2; }
.sp-pool-ico-btn.el-feu { border-color:#ef4444; box-shadow:0 0 7px rgba(239,68,68,.6); }
.sp-pool-ico-btn.el-eau { border-color:#3b82f6; box-shadow:0 0 7px rgba(59,130,246,.6); }
.sp-pool-ico-btn.el-terre { border-color:#84cc16; box-shadow:0 0 7px rgba(132,204,22,.6); }
.sp-pool-ico-btn.el-air { border-color:#a855f7; box-shadow:0 0 7px rgba(168,85,247,.6); }
.sp-pool-ico-btn.el-lumiere { border-color:#f0c040; box-shadow:0 0 7px rgba(240,192,64,.6); }
.sp-pool-ico-btn.el-feu:hover { box-shadow:0 0 13px rgba(239,68,68,.9); }
.sp-pool-ico-btn.el-eau:hover { box-shadow:0 0 13px rgba(59,130,246,.9); }
.sp-pool-ico-btn.el-terre:hover { box-shadow:0 0 13px rgba(132,204,22,.9); }
.sp-pool-ico-btn.el-air:hover { box-shadow:0 0 13px rgba(168,85,247,.9); }
.sp-pool-ico-btn.el-lumiere:hover { box-shadow:0 0 13px rgba(240,192,64,.9); }
.sp-pool-ico-btn.is-equipped { filter: brightness(.45) saturate(.6); }
.sp-pool-ico-btn.is-equipped::after { content: "\2713"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; color: #fff; text-shadow: 0 0 8px rgba(0,0,0,.9); border-radius: 10px; box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 0 16px rgba(255,255,255,.55); z-index: 3; pointer-events: none; }
.sp-pool-tip { position: fixed; z-index: 9999; max-width: 260px; display: none; background: #1a2332; border: 1px solid #1e293b; border-radius: 8px; padding: 8px 10px; box-shadow: 0 8px 24px rgba(0,0,0,.45); pointer-events: none; }
.sp-pool-tip-head { display: flex; align-items: center; gap: 8px; }
.sp-pool-tip-head img { width: 34px; height: 34px; border-radius: 5px; object-fit: cover; }
.sp-pool-tip-name { font-weight: 600; color: #f1f5f9; font-size: 16px; }
.sp-pool-tip-lvl { margin-left: auto; font-size: 10px; color: #64748b; }
.sp-pool-tip-desc { margin-top: 6px; font-size: 15px; color: #94a3b8; line-height: 1.45; }
.ench-footer-warn .ench-subli-warn { position: static; transform: none; margin: 0; }
html.guide-embed-mode .account,html.guide-embed-mode .tipeee-btn, html.guide-embed-mode .nav-history {visibility:hidden!important;pointer-events:none!important}
.variant-spell-picker .sp-pool-section { margin-bottom: 11px; }
.variant-spell-picker .sp-pool-section-title { margin-bottom: 6px; }
.variant-spell-picker .sp-pool-grid, .variant-spell-picker .sp-pool-row { flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.variant-spell-picker .sp-pool-ico-btn { width: 38px; height: 38px; padding: 0; flex: 0 0 38px; }
.variant-spell-picker .sp-pool-ico-btn.on { outline: 2px solid #fff; outline-offset: 2px; filter: none; }
.variant-spell-damage-card .sp-class-effects { margin-top: 7px; padding-left: 18px; font-size: 14px; }
.variant-spell-damage-card .sp-class-effects li { margin: 0; }
#tab-calculateur .sp-pool-ico-btn.ar-ko { opacity: .35; filter: grayscale(1); }
