/* === module: quest_chain === */
      /* ========== Task Progress Panel (Quest Chain) ========== */
      .task-progress-panel {
        border-top: 1px solid #222;
        border-bottom: 1px solid #222;
        padding: 10px 16px;
        max-height: 300px;
        overflow-y: auto;
        flex-shrink: 0;
        background: #10101a;
        font-size: 12px;
      }

      .task-progress-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        user-select: none;
        margin-bottom: 6px;
      }

      .task-progress-panel h4 {
        margin: 0;
        font-size: 12px;
        color: #74c0fc;
        font-weight: 600;
      }

      .task-progress-panel .toggle-arrow {
        font-size: 10px;
        color: #666;
        transition: transform 0.2s;
      }

      .task-progress-panel.collapsed .task-chain-info {
        max-height: 0;
        overflow: hidden;
      }

      .task-progress-panel.collapsed .toggle-arrow {
        transform: rotate(-90deg);
      }

      .task-chain-info {
        max-height: 280px;
        overflow-y: auto;
        transition: max-height 0.3s;
      }

      .task-sponsor {
        font-size: 12px;
        color: #aaa;
        margin-bottom: 8px;
        padding-bottom: 8px;
        border-bottom: 1px solid #3a3a4a;
      }

      .task-item {
        padding: 10px 12px;
        margin: 8px 0;
        background: #0f0f15;
        border-left: 3px solid #4a6fa5;
        border-radius: 6px;
        transition: all 0.2s;
      }

      .task-item.completed {
        opacity: 0.6;
        border-left-color: #51cf66;
      }

      .task-item.current {
        background: #1a2a3a;
        border-left-color: #74c0fc;
      }

      .task-item.locked {
        opacity: 0.4;
        border-left-color: #555;
      }

      .task-title {
        font-size: 13px;
        font-weight: 500;
        color: #ddd;
        margin-bottom: 4px;
      }

      .task-desc {
        font-size: 11px;
        color: #888;
        line-height: 1.4;
      }

      .task-progress-bar {
        height: 6px;
        background: #2a2a3a;
        border-radius: 3px;
        overflow: hidden;
        margin-top: 8px;
      }

      .task-progress-fill {
        height: 100%;
        background: linear-gradient(90deg, #4a6fa5, #74c0fc);
        transition: width 0.3s ease;
      }

      .task-progress-text {
        font-size: 10px;
        color: #aaa;
        margin-top: 4px;
      }

      .task-reward {
        font-size: 11px;
        color: #fcc419;
        margin-top: 6px;
      }
    

/* === end module: quest_chain === */
