/* ========================================================= sotc-battle-show-ability — Styles principaux Thème sombre/industriel, cohérent avec SotC ========================================================= */ /* --- Fenêtre Application --- */ .sotc-bsa-window .window-content { padding: 0; background: #1a1a1e; color: #d4c9b0; font-family: 'Barlow Condensed', 'Signika', sans-serif; overflow-y: auto; } .sotc-bsa-window .window-header { background: #111116; border-bottom: 1px solid #8b0000; color: #e8d5a3; } /* --- Panneau principal --- */ .sotc-bsa-panel { display: flex; flex-direction: column; gap: 6px; padding: 8px; min-width: 300px; } /* --- Header : token image + nom --- */ .bsa-header { display: flex; align-items: center; padding: 6px 4px; border-bottom: 1px solid #3a2a2a; } .bsa-token-info { display: flex; align-items: center; gap: 10px; } .bsa-token-img { width: 48px; height: 48px; border-radius: 4px; border: 2px solid #8b0000; cursor: pointer; object-fit: cover; transition: border-color 0.2s; } .bsa-token-img:hover { border-color: #e8d5a3; } .bsa-token-name { display: flex; flex-direction: column; } .bsa-token-name span:first-child { font-size: 1.1em; font-weight: 600; color: #e8d5a3; letter-spacing: 0.05em; } .bsa-die-index { font-size: 0.8em; color: #c09060; font-style: italic; } /* --- Stats --- */ .bsa-stats { display: flex; flex-direction: column; gap: 4px; padding: 6px 4px; border-bottom: 1px solid #3a2a2a; } .bsa-stat-row { display: flex; align-items: center; gap: 6px; height: 20px; } .bsa-stat-icon { width: 16px; height: 16px; object-fit: contain; flex-shrink: 0; } .bsa-stat-label { width: 55px; font-size: 0.8em; color: #a09080; flex-shrink: 0; text-transform: uppercase; letter-spacing: 0.05em; } .bsa-bar-wrap { flex: 1; height: 10px; background: #2a2a2e; border-radius: 3px; overflow: hidden; border: 1px solid #3a3a3e; } .bsa-bar { height: 100%; border-radius: 3px; transition: width 0.3s ease; } .bsa-bar-hp { background: linear-gradient(90deg, #8b0000, #cc2200); } .bsa-bar-stagger { background: linear-gradient(90deg, #005577, #0088bb); } .bsa-stat-value { font-size: 0.8em; color: #d4c9b0; width: 50px; text-align: right; flex-shrink: 0; } .bsa-stat-simple .bsa-stat-value { flex: 1; } .bsa-light-value { color: #f0e060; } .bsa-emotion-value { color: #a060c0; } /* --- Compétence assignée --- */ .bsa-assigned-section { padding: 6px 4px; border-bottom: 1px solid #3a2a2a; } .bsa-section-title { font-size: 0.75em; text-transform: uppercase; letter-spacing: 0.1em; color: #8b0000; margin-bottom: 5px; font-weight: 600; } .bsa-assigned-skill { display: flex; align-items: center; gap: 8px; background: #252530; border-radius: 4px; padding: 4px 6px; border: 1px solid #4a3a3a; } .bsa-assigned-img { width: 28px; height: 28px; border-radius: 3px; object-fit: cover; } .bsa-assigned-name { flex: 1; font-size: 0.9em; color: #e8d5a3; } .bsa-assigned-none { font-size: 0.85em; color: #5a5a5a; font-style: italic; text-align: center; padding: 4px; } /* --- Onglets --- */ .bsa-tabs { display: flex; gap: 2px; padding: 0 4px; } .bsa-tab { flex: 1; padding: 5px 4px; background: #252530; border: 1px solid #3a3a4a; border-bottom: none; color: #a09080; font-size: 0.8em; cursor: pointer; text-transform: uppercase; letter-spacing: 0.08em; border-radius: 3px 3px 0 0; transition: background 0.15s, color 0.15s; } .bsa-tab:hover { background: #30303a; color: #d4c9b0; } .bsa-tab.active { background: #1a1a2a; color: #e8d5a3; border-color: #8b0000; border-bottom-color: #1a1a2a; } /* --- Contenu d'onglet --- */ .bsa-tab-content { display: none; flex-direction: column; gap: 3px; max-height: 200px; overflow-y: auto; padding: 4px; background: #1a1a2a; border: 1px solid #8b0000; border-top: none; border-radius: 0 0 3px 3px; } .bsa-tab-content.active { display: flex; } .bsa-tab-content::-webkit-scrollbar { width: 4px; } .bsa-tab-content::-webkit-scrollbar-track { background: #1a1a2a; } .bsa-tab-content::-webkit-scrollbar-thumb { background: #8b0000; border-radius: 2px; } /* --- Ligne de compétence --- */ .bsa-skill-row { display: flex; align-items: center; gap: 6px; padding: 4px 6px; border-radius: 3px; background: #22222c; border: 1px solid transparent; cursor: pointer; transition: background 0.15s, border-color 0.15s; } .bsa-skill-row:hover { background: #2e2e3a; border-color: #4a3a3a; } .bsa-skill-row.bsa-skill-selected { background: #2a1a1a; border-color: #8b0000; } .bsa-skill-img { width: 28px; height: 28px; border-radius: 3px; object-fit: cover; flex-shrink: 0; } /* Zone centrale : nom + coûts empilés verticalement */ .bsa-skill-info { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; } .bsa-skill-name { font-size: 0.85em; color: #d4c9b0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* Coûts sous le nom, pas écrasés par le bouton */ .bsa-skill-costs { display: flex; gap: 5px; flex-wrap: wrap; } .bsa-cost { font-size: 0.75em; padding: 1px 5px; border-radius: 2px; font-weight: 600; } .bsa-cost-light { color: #f0e060; background: #2a2800; } .bsa-cost-emotion { color: #c080ff; background: #1a0028; } .bsa-cost-insufficient { color: #ff4040 !important; background: #280000 !important; text-decoration: line-through; } /* --- Boutons --- */ .bsa-btn { padding: 3px 8px; border-radius: 3px; font-size: 0.75em; cursor: pointer; border: 1px solid; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; transition: background 0.15s, color 0.15s; white-space: nowrap; flex-shrink: 0; } .bsa-btn-assign { background: #1a0a0a !important; border-color: #8b0000 !important; color: #e8d5a3 !important; padding: 4px 7px !important; font-size: 0.7em !important; width: auto !important; min-width: unset !important; max-width: 36px !important; flex-shrink: 0 !important; flex-grow: 0 !important; align-self: center !important; } .bsa-btn-assign:hover { background: #8b0000; color: #fff; } .bsa-btn-unassign { background: #1a0a0a !important; border-color: #8b0000 !important; color: #e8d5a3 !important; padding: 4px 7px !important; font-size: 0.7em !important; width: auto !important; min-width: unset !important; max-width: 36px !important; flex-shrink: 0 !important; flex-grow: 0 !important; align-self: center !important; } .bsa-btn-unassign:hover { background: #8b0000 !important; color: #fff !important; } /* --- Aperçu des dés de la compétence --- */ .bsa-dice-preview { padding: 6px 4px; border-bottom: 1px solid #3a2a2a; } .bsa-dice-list { display: flex; flex-direction: column; gap: 4px; } .bsa-die-entry { display: flex; align-items: center; gap: 8px; padding: 3px 6px; background: #22222c; border-radius: 3px; border: 1px solid #3a3a4a; } .bsa-die-type-img { width: 20px; height: 20px; object-fit: contain; } .bsa-die-formula { font-size: 0.9em; color: #e8d5a3; font-family: monospace; font-weight: 600; } .bsa-die-tags { font-size: 0.75em; color: #a0a0c0; font-style: italic; } .bsa-skill-modules { margin-top: 4px; font-size: 0.78em; color: #8090a0; font-style: italic; padding: 2px 6px; border-left: 2px solid #3a3a5a; } /* --- État du dé --- */ .bsa-state-section { padding: 6px 4px; } .bsa-state-buttons { display: flex; gap: 4px; } .bsa-state-btn { flex: 1; padding: 5px 4px; border-radius: 3px; font-size: 0.72em; cursor: pointer; border: 1px solid #3a3a4a; background: #22222c; color: #a09080; text-transform: uppercase; letter-spacing: 0.05em; transition: all 0.15s; text-align: center; line-height: 1.2; } .bsa-state-btn:hover { background: #2e2e3a; color: #d4c9b0; border-color: #5a5a6a; } .bsa-state-btn.active { background: #8b0000; color: #fff; border-color: #cc2200; font-weight: 600; } .bsa-state-btn:disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; } .bsa-state-btn.active:disabled { opacity: 1; background: #1a6b2a; border-color: #2ecc71; color: #fff; } /* --- Vide --- */ .bsa-empty { font-size: 0.82em; color: #5a5a5a; font-style: italic; text-align: center; padding: 12px 4px; } /* --- Scrollbar globale du panneau --- */ .sotc-bsa-panel::-webkit-scrollbar { width: 4px; } .sotc-bsa-panel::-webkit-scrollbar-track { background: #1a1a1e; } .sotc-bsa-panel::-webkit-scrollbar-thumb { background: #8b0000; border-radius: 2px; } /* ── Badge Attack Weight ── */ .bsa-cost-weight { background: rgba(180, 140, 20, 0.18); border: 1px solid #b8860b; color: #f0c040; font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 3px; letter-spacing: 0.04em; } /* ── Bouton retirer les flèches ── */ .bsa-btn-remove-arrows { width: 100%; margin-top: 5px; background: rgba(100, 30, 30, 0.25); border: 1px solid #7a3030; color: #c07070; font-size: 11px; padding: 3px 6px; border-radius: 3px; cursor: pointer; text-align: center; transition: background .15s; } .bsa-btn-remove-arrows:hover { background: rgba(140, 40, 40, 0.4); color: #e08080; }