/* fc.css — Scoped CSS styles for FC Bridge (#pane-fc)
 * Extracted from views/fc/fcStyles.js
 * See AGENTS.md: CSS-in-JS → отдельный CSS файл
 */

<style>
  #pane-fc .fc-bridge-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  #pane-fc .fc-bridge-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    background: #121620;
    border: 1px solid rgba(224, 129, 20, 0.4);
    border-radius: 8px;
    padding: 14px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  }

  #pane-fc .fc-subnav-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
  }

  #pane-fc .fc-btn-period {
    background: var(--bg-input, #121620);
    color: #c9d1d9;
    border: 1px solid var(--border-col, rgba(255,255,255,0.1));
    border-radius: 20px;
    padding: 7px 18px;
    font-weight: 800;
    font-size: 11.5px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  #pane-fc .fc-btn-period:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
  }

  #pane-fc .fc-btn-period.active {
    background: #e8590c !important;
    color: #ffffff !important;
    border-color: #e8590c !important;
    box-shadow: 0 0 12px rgba(232, 89, 12, 0.4) !important;
  }

  #pane-fc .fc-doctrine-card {
    background: #121620;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  }

  #pane-fc .fc-fleet-table-container {
    background: #121620;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  }

  #pane-fc .fc-table-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 18px;
    background: #161b26;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  #pane-fc .fc-fleet-filter-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }

  #pane-fc .fc-fleet-filter-pill {
    background: #10141d;
    color: #8b949e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 14px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
  }

  #pane-fc .fc-fleet-filter-pill:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
  }

  #pane-fc .fc-fleet-filter-pill.active {
    background: #e08114;
    color: #000000;
    border-color: #e08114;
    box-shadow: 0 0 10px rgba(224, 129, 20, 0.35);
  }

  #pane-fc .fc-fleet-search-input {
    background: #10141d;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 6px;
    outline: none;
    min-width: 220px;
    transition: all 0.15s ease;
  }

  #pane-fc .fc-fleet-search-input:focus {
    border-color: #e08114;
    box-shadow: 0 0 8px rgba(224, 129, 20, 0.3);
  }

  #pane-fc .fc-fleet-damage-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
  }

  #pane-fc .fc-fleet-damage-table thead th {
    padding: 11px 12px;
    background: rgba(0, 0, 0, 0.3);
    color: #8b949e;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
  }

  #pane-fc .fc-th-sortable {
    cursor: pointer;
    user-select: none;
    transition: color 0.15s ease;
  }

  #pane-fc .fc-th-sortable:hover {
    color: #ffffff;
  }

  #pane-fc .fc-th-sortable.sorted {
    color: #e08114;
  }

  #pane-fc .fc-fleet-damage-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.12s ease;
  }

  #pane-fc .fc-fleet-damage-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.035);
  }

  #pane-fc .fc-fleet-damage-table tbody tr.is-user-row {
    background: rgba(0, 230, 118, 0.05);
    border-left: 3px solid #00e676;
  }

  #pane-fc .fc-fleet-damage-table td {
    padding: 9px 12px;
    vertical-align: middle;
  }

  #pane-fc .fc-share-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  #pane-fc .fc-share-bar-container {
    flex: 1;
    min-width: 48px;
    max-width: 65px;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
  }

  #pane-fc .fc-share-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #38bdf8, #00e676);
    border-radius: 3px;
  }

  #pane-fc .fc-esi-badge-live {
    background: rgba(0, 230, 118, 0.12);
    border: 1px solid rgba(0, 230, 118, 0.35);
    color: #00e676;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
  }

  #pane-fc .fc-pilot-damage-card {
    background: linear-gradient(180deg, rgba(20, 30, 42, 0.95) 0%, #121620 100%);
    border: 1px solid rgba(0, 230, 118, 0.35);
    border-radius: 8px;
    padding: 18px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  }

  #pane-fc .fc-pilot-damage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  #pane-fc .fc-ship-pill {
    background: rgba(224, 129, 20, 0.18);
    color: #e08114;
    border: 1px solid rgba(224, 129, 20, 0.4);
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
  }

  #pane-fc .fc-skill-search-input {
    background: #161b26;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 12.5px;
    padding: 7px 14px;
    border-radius: 6px;
    outline: none;
    min-width: 280px;
    transition: all 0.2s;
  }

  #pane-fc .fc-skill-search-input:focus {
    border-color: #e08114;
    box-shadow: 0 0 10px rgba(224, 129, 20, 0.35);
  }

  #pane-fc .fc-skill-cat-pill {
    background: #161b26;
    color: #c9d1d9;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
  }

  #pane-fc .fc-skill-cat-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
  }

  #pane-fc .fc-skill-cat-pill.active {
    background: #e08114;
    color: #000000;
    font-weight: 800;
    border-color: #e08114;
    box-shadow: 0 0 10px rgba(224, 129, 20, 0.35);
  }

  #pane-fc .fc-pips-bar {
    display: inline-flex;
    gap: 3px;
    align-items: center;
  }

  #pane-fc .fc-pip {
    width: 7px;
    height: 11px;
    border-radius: 1px;
    background: rgba(255, 255, 255, 0.1);
  }

  #pane-fc .fc-pip.filled-5 {
    background: #00e676;
    box-shadow: 0 0 4px rgba(0, 230, 118, 0.5);
  }

  #pane-fc .fc-pip.filled-4 {
    background: #38bdf8;
  }

  #pane-fc .fc-pip.filled-3 {
    background: #f1c40f;
  }

  #pane-fc .fc-pip.filled-low {
    background: #8b949e;
  }

  /* ── EVE Native Skills Navigation Tabs ── */
  #pane-fc .eve-skills-nav-tabs {
    display: flex;
    justify-content: center;
    gap: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
    padding-bottom: 2px;
  }

  #pane-fc .eve-nav-tab {
    background: transparent;
    border: none;
    color: #8b949e;
    font-size: 15px;
    font-weight: 600;
    padding: 8px 18px;
    cursor: pointer;
    position: relative;
    transition: color 0.15s ease;
    letter-spacing: 0.2px;
  }

  #pane-fc .eve-nav-tab:hover {
    color: #c9d1d9;
  }

  #pane-fc .eve-nav-tab.active {
    color: #ffffff;
  }

  #pane-fc .eve-nav-tab.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 2px;
    background: #38bdf8;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
  }

  /* ── EVE Skill Catalogue Grid ── */
  #pane-fc .eve-catalogue-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #080b11;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
  }

  #pane-fc .eve-catalogue-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 16px;
  }

  #pane-fc .eve-catalogue-title-box h2 {
    font-size: 26px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 4px 0;
    letter-spacing: -0.3px;
  }

  #pane-fc .eve-catalogue-sp-sub {
    font-size: 13.5px;
    color: #8b949e;
    font-family: var(--font-mono, monospace);
    letter-spacing: 0.2px;
  }

  #pane-fc .eve-catalogue-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  #pane-fc .eve-catalogue-filter-select {
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #c9d1d9;
    font-size: 12.5px;
    padding: 6px 14px;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
  }

  #pane-fc .eve-catalogue-search-box {
    position: relative;
    display: flex;
    align-items: center;
  }

  #pane-fc .eve-catalogue-search-input {
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 12.5px;
    padding: 6px 12px 6px 30px;
    border-radius: 4px;
    outline: none;
    width: 170px;
    transition: all 0.2s ease;
  }

  #pane-fc .eve-catalogue-search-input:focus {
    width: 220px;
    border-color: #38bdf8;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.25);
  }

  #pane-fc .eve-catalogue-search-icon {
    position: absolute;
    left: 10px;
    color: #8b949e;
    pointer-events: none;
    font-size: 12px;
  }

  #pane-fc .eve-catalogue-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 28px;
  }

  @media (max-width: 1100px) {
    #pane-fc .eve-catalogue-grid-3 {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 700px) {
    #pane-fc .eve-catalogue-grid-3 {
      grid-template-columns: 1fr;
    }
  }

  #pane-fc .eve-cat-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  #pane-fc .eve-cat-row {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    transition: transform 0.1s ease;
  }

  #pane-fc .eve-cat-row:hover {
    transform: translateX(2px);
  }

  #pane-fc .eve-cat-icon-box {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: #11161d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9d1d9;
    flex-shrink: 0;
    transition: all 0.15s ease;
  }

  #pane-fc .eve-cat-row:hover .eve-cat-icon-box {
    border-color: #38bdf8;
    color: #ffffff;
    box-shadow: 0 0 6px rgba(56, 189, 248, 0.3);
  }

  #pane-fc .eve-cat-bar-wrapper {
    position: relative;
    flex: 1;
    height: 28px;
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 10px;
  }

  #pane-fc .eve-cat-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(29, 62, 79, 0.85), rgba(22, 48, 62, 0.85));
    transition: width 0.3s ease;
    pointer-events: none;
  }

  #pane-fc .eve-cat-row:hover .eve-cat-bar-fill {
    background: linear-gradient(90deg, rgba(42, 88, 112, 0.95), rgba(30, 68, 88, 0.95));
  }

  #pane-fc .eve-cat-label {
    position: relative;
    z-index: 1;
    font-size: 13px;
    font-weight: 600;
    color: #e6edf3;
    letter-spacing: 0.2px;
  }

  #pane-fc .eve-cat-count {
    font-family: var(--font-mono, monospace);
    font-size: 13px;
    font-weight: 700;
    color: #8b949e;
    min-width: 24px;
    text-align: right;
    flex-shrink: 0;
  }

  #pane-fc .eve-cat-row:hover .eve-cat-count {
    color: #ffffff;
  }

  #pane-fc .eve-cat-detail-card {
    margin-top: 16px;
    background: linear-gradient(180deg, #101520 0%, #0c1017 100%);
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 8px;
    padding: 18px 22px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  #pane-fc .eve-cat-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
    gap: 12px;
  }

  #pane-fc .eve-cat-close-btn {
    background: #161b26;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #c9d1d9;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
  }

  #pane-fc .eve-cat-close-btn:hover {
    background: #212836;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
  }

  #pane-fc .eve-skills-tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 8px;
  }

  #pane-fc .eve-skill-tile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #141923;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 8px 12px;
    gap: 12px;
    cursor: pointer;
    transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  }

  #pane-fc .eve-skill-tile:hover {
    background: #19202e;
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  }

  #pane-fc .eve-skill-tile-name {
    font-size: 12.5px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
  }

  #pane-fc .eve-skill-tile:hover .eve-skill-tile-name {
    color: #38bdf8;
  }

  #pane-fc .eve-skill-roman {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 11px;
    font-weight: 900;
    font-family: var(--font-mono);
    border-radius: 4px;
    flex-shrink: 0;
  }

  #pane-fc .eve-skill-roman.lvl-elite {
    background: rgba(0, 230, 118, 0.15);
    color: #00e676;
    border: 1px solid rgba(0, 230, 118, 0.35);
    text-shadow: 0 0 6px rgba(0, 230, 118, 0.4);
  }

  #pane-fc .eve-skill-roman.lvl-req {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.35);
  }

  #pane-fc .eve-skill-roman.lvl-basic {
    background: rgba(241, 196, 15, 0.15);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.35);
  }

  #pane-fc .eve-skill-roman.lvl-zero {
    background: rgba(255, 71, 87, 0.15);
    color: #ff4757;
    border: 1px solid rgba(255, 71, 87, 0.35);
  }

  #pane-fc .eve-skill-pips {
    display: inline-flex;
    gap: 2px;
    align-items: center;
  }

  #pane-fc .eve-skill-pip {
    width: 6px;
    height: 10px;
    border-radius: 1px;
  }

  #pane-fc .eve-skill-pip.pip-elite {
    background: #00e676;
    box-shadow: 0 0 3px rgba(0, 230, 118, 0.5);
  }

  #pane-fc .eve-skill-pip.pip-req {
    background: #38bdf8;
  }

  #pane-fc .eve-skill-pip.pip-mid {
    background: #f1c40f;
  }

  #pane-fc .eve-skill-pip.pip-empty {
    background: rgba(255, 255, 255, 0.08);
  }

  #pane-fc .eve-skill-sp-badge {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: #8b949e;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 3px 8px;
    border-radius: 4px;
    min-width: 90px;
    text-align: right;
  }

  /* ── TDF Incursion Skills HUD ── */
  #pane-fc .tdf-skills-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #080b11;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
  }

  #pane-fc .tdf-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  #pane-fc .tdf-skills-title {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.3px;
    margin: 0;
  }

  #pane-fc .tdf-ship-bar {
    display: inline-flex;
    align-items: center;
    background: #14171d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 4px;
    gap: 4px;
    flex-wrap: wrap;
  }

  #pane-fc .tdf-ship-btn {
    background: #191d24;
    color: #8b949e;
    border: 1px solid transparent;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
  }

  #pane-fc .tdf-ship-btn:hover {
    background: #21262d;
    color: #e6edf3;
  }

  #pane-fc .tdf-ship-btn.active {
    background: #2b313a;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  }

  #pane-fc .tdf-ship-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 4px;
  }

  #pane-fc .tdf-legend-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #8b949e;
    padding-bottom: 4px;
  }

  #pane-fc .tdf-legend-label {
    font-weight: 600;
    margin-right: 4px;
  }

  #pane-fc .tdf-pill {
    display: inline-block;
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 3px;
    min-width: 28px;
    text-align: center;
    line-height: 1.35;
  }

  #pane-fc .pill-starter {
    background: #c0392b;
    color: #ffffff;
  }

  #pane-fc .pill-basic {
    background: #d68910;
    color: #ffffff;
  }

  #pane-fc .pill-elite {
    background: #27ae60;
    color: #ffffff;
  }

  #pane-fc .pill-gold {
    background: #1e824c;
    color: #ffd32a;
    border: 1px solid #ffd32a;
  }

  #pane-fc .tdf-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: start;
  }

  @media (max-width: 1200px) {
    #pane-fc .tdf-grid-4 {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 768px) {
    #pane-fc .tdf-grid-4 {
      grid-template-columns: 1fr;
    }
  }

  #pane-fc .tdf-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  #pane-fc .tdf-category-card {
    background: #161a21;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 4px;
    overflow: hidden;
  }

  #pane-fc .tdf-cat-header {
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    color: #e6edf3;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  #pane-fc .tdf-cat-skills {
    display: flex;
    flex-direction: column;
  }

  #pane-fc .tdf-skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: background 0.12s ease;
  }

  #pane-fc .tdf-skill-item:last-child {
    border-bottom: none;
  }

  #pane-fc .tdf-skill-item:hover {
    background: rgba(255, 255, 255, 0.04);
  }

  #pane-fc .tdf-skill-name {
    font-size: 12px;
    color: #c9d1d9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 8px;
  }

  #pane-fc .tdf-skill-item:hover .tdf-skill-name {
    color: #ffffff;
  }
</style>
